http://defect.opensolaris.org/bz/show_bug.cgi?id=11393
Summary: state and object action events seem to be in wrong
order.
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwamu1-build:2009-09-10
Severity: major
Priority: P2
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: dkenny at opensolaris.org
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from Darren Kenny <dkenny at opensolaris.org> 2009-09-16
10:35:56 UTC ---
When I unplug my USB wireless device, I'm getting the events:
LINK_ACTION urtw0 -> action remove
OBJECT_ACTION ncu link:urtw0 -> action destroy
OBJECT_ACTION ncu interface:urtw0 -> action destroy
OBJECT_STATE ncu interface:urtw0 -> state online*, conditions for
ac
It seems to be wrong to send a state event after destroying the objects.
It also seems to be wrong to send the link action event before the object
action events too.
Inserting the device I get:
LINK_ACTION urtw0 -> action add
OBJECT_ACTION ncu link:urtw0 -> action add
OBJECT_ACTION ncu interface:urtw0 -> action add
I would be more correct if the removal of the device generated the events in
reverse order to how they are now.
The current ordering can some times cause a crash (due to assertion) in the GUI
since it's getting events on something it thinks doesn't exist.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.