http://defect.opensolaris.org/bz/show_bug.cgi?id=9366
Summary: deadlock in nwamd
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-06-04
Severity: minor
Priority: P4
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: renee.danson at sun.com
QAContact: nwam-dev at opensolaris.org
CC: michael.hunter at sun.com
Upon boot, I found nwamd unresponsive ('nwamadm list' just hung); no interfaces
had
been brought up. pstack on the nwamd process showed three different threads
waiting
on locks, two of which seemed to be waiting on the same lock. The pstack
output is
pasted below; the first three threads seem to be the relevant ones. I've also
attached
the core file and the log file from startup through when I realized there was a
problem.
core 'core.100080' of 100080: /lib/inet/nwamd
----------------- lwp# 1 / thread# 1 --------------------
feef0f49 lwp_park (0, 0, 0)
feee7b44 mutex_lock_impl (80707b8, 0, 9, feee7c34, feef6bda) + 144
feee7c67 mutex_lock (80707b8, fef85000, 80478d8, feef66f9) + 3f
0805cfd5 nwamd_event_enqueue (81e7ac8, 80f1398, 80, 80f1398) + 45
0805d19a nwamd_event_enqueue_timed (81e7ac8, 0, 80, 3, 0, 0) + 10e
08066101 nwamd_object_set_state (1, 80f1398, 80, 3) + 19
0806014c nwamd_ncu_state_machine (80f1398, 80c4f28, 80, feee430e) + cc
08061dca nwamd_ncu_handle_state_event (80f1388, 8103ad8) + 18e
08061b4e nwamd_ncu_handle_fini_event (8103ac8, 80f1388, 8047e28, 805d42c) + 3a
0805d4ad nwamd_event_handler (29, fef8d030, 1, 0, 8047e3c, feffb804) + 8d
0805f530 main (1, 8047e80, 8047e88, 8047e3c) + 1c8
0805945d _start (1, 8047f14, 0, 8047f24, 8047f35, 8047f4d) + 7d
----------------- lwp# 2 / thread# 2 --------------------
feef0f49 lwp_park (0, 0, 0)
feee7b44 mutex_lock_impl (80707b8, 0, e5445ffb, feee7c34, feef6bda) + 144
feee7c67 mutex_lock (80707b8, 0, e5445ffb, fea44c62) + 3f
0805cfd5 nwamd_event_enqueue (8103448) + 45
0805d249 nwamd_event_enqueue_expired_events (ffffffff, ffff, 0, 0, fe000,
fef85000) + 7d
0805ef5e sighandler (0, fef85000, fed7efec, feef0c2e) + 5a
feef0c66 _thrp_setup (fec70200) + 7e
feef0ef0 _lwp_start (fec70200, 0, 0, feef0c2e, 0, 0)
----------------- lwp# 3 / thread# 3 --------------------
feef0f49 lwp_park (0, 0, 0)
feee7b44 mutex_lock_impl (80ad7a4, 0, feef69e7, feee7c34, 80ad708) + 144
feee7c67 mutex_lock (80ad7a4, fe5fea04, fe5fe98c, 805eda5) + 3f
08066045 nwamd_object_find (1, fe5fea04, fe5fea04, 0) + 99
0805a7ea door_switch (0, fe5fe9f4, 40c, 0, 0, 805a534) + 2b6
feef6af0 __door_return () + 60
----------------- lwp# 4 / thread# 4 --------------------
feef0f49 lwp_park (0, fe4fff3c, 0)
feee93fd cond_wait_queue (fea927e0, fea92800, fe4fff3c, feee95e6) + 60
feee97c3 cond_wait_common (fea927e0, fea92800, fe4fff3c, feee9a06) + 1eb
feee9abc __cond_timedwait (fea927e0, fea92800, fe4fffac, feee9af0) + c4
feee9b01 cond_timedwait (fea927e0, fea92800) + 27
fea68165 umem_update_thread (0, fef85000, fe4fffec, feef0c2e) + 191
feef0c66 _thrp_setup (fec71200) + 7e
feef0ef0 _lwp_start (fec71200, 0, 0, feef0c2e, 0, 0)
----------------- lwp# 5 / thread# 5 --------------------
feef5d75 read (a, fe400654, 954)
08066371 routing_events_v4 (0, fef85000, fe400fec, feef0c2e) + 4d
feef0c66 _thrp_setup (fec72200) + 7e
feef0ef0 _lwp_start (fec72200, 0, 0, feef0c2e, 0, 0)
----------------- lwp# 6 / thread# 6 --------------------
feef5d75 read (8, fe301654, 954)
080667c9 routing_events_v6 (0, fef85000, fe301fec, feef0c2e) + 4d
feef0c66 _thrp_setup (fec72a00) + 7e
feef0ef0 _lwp_start (fec72a00, 0, 0, feef0c2e, 0, 0)
----------------- lwp# 8 / thread# 8 --------------------
feef6abf door (0, 0, 0, fe103e00, f5f00, a)
feed9f67 door_create_func (0, fef85000, fe103fec, feef0c2e) + 2f
feef0c66 _thrp_setup (fec73a00) + 7e
feef0ef0 _lwp_start (fec73a00, 0, 0, feef0c2e, 0, 0)
----------------- lwp# 10 / thread# 10 --------------------
feef0f49 lwp_park (0, 0, 0)
feee93fd cond_wait_queue (80e7610, 80e7620, 0, feee98c6) + 60
feee993e __cond_wait (80e7610, 80e7620, fdf05f8c, feee9983) + 86
feee9991 cond_wait (80e7610, 80e7620, 200, febc3772) + 24
febc37b2 subscriber_event_handler (80b3208, fef85000, fdf05fec, feef0c2e) + 4e
feef0c66 _thrp_setup (fec74a00) + 7e
feef0ef0 _lwp_start (fec74a00, 0, 0, feef0c2e, 0, 0)
--
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.