http://defect.opensolaris.org/bz/show_bug.cgi?id=8925

           Summary: nwamd locked up after switching ncps
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-05-12
          Severity: major
          Priority: P2
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: dkenny at opensolaris.org
         QAContact: nwam-dev at opensolaris.org


Created an attachment (id=1941)
 --> (http://defect.opensolaris.org/bz/attachment.cgi?id=1941)
Gzipped core file.

I did a switch of ncps, and noticed that nwamd didn't bring up my wired
interface.

Looking at the debug log it did look like nwamd was in a state that it wanted
to ask the user for a wifi network selection.

I tried running nwam interact -v, but didn't see any events.

Then I did a pstack on nwamd and found that it was locked up as in the stack
trace at the end of this description.

The last message in the logs were:

nwamd[659]: [ID 440216 daemon.debug] 28: wlan_scan_thread: no known WLANs - ask
user
nwamd[659]: [ID 383679 daemon.debug] 28: ncu iwh0 change state from
WIFI_WLAN_NEED_CHOICE (2) to WIFI_WLAN_NEED_CHOICE (2)
nwamd[659]: [ID 926539 daemon.debug] 28: enqueueing event 7 (WLAN_NEED_CHOICE)
for object (8125448) link:iwh0
nwamd[659]: [ID 596678 daemon.debug] 1: dequeueing event of type 7
(WLAN_NEED_CHOICE) for object link:iwh0
nwamd[659]: [ID 952326 daemon.debug] 1: (8125448) link:iwh0: no matching method
for event 7 (WLAN_NEED_CHOICE)

I'm attaching a core file and log.


--- Stack Trace ---

core 'core.659' of 659: /lib/inet/nwamd
-----------------  lwp# 1 / thread# 1  --------------------
 feefd069 lwp_park (0, 0, 0)
 feef67ad cond_wait_queue (807d778, 807d7a0, 0, feef6c76) + 60
 feef6cee __cond_wait (807d778, 807d7a0, 8047de8, feef6d33) + 86
 feef6d41 cond_wait (807d778, 807d7a0, 8047e18, feef6d74) + 24
 feef6d89 pthread_cond_wait (807d778) + 21
 0805c66a nwamd_event_dequeue (8047e40, 1, 8047e58, 805e717, 29, fef8800c) + 2e
 0805c7d0 nwamd_event_handler (29, fef8800c, 8065f9f, 0, 8047e40, feffb7dc) + c
 0805e717 main     (1, 8047e84, 8047e8c, 8058dcf) + 1df
 08058e2d _start   (1, 8047f18, 0, 8047f28, 8047f39, 8047f51) + 7d
-----------------  lwp# 2 / thread# 2  --------------------
 fef010e5 sigtimedwait (fed8efb4, fed8eee4, 0)
 feeee9ed sigwait  (fed8efb4) + 22
 0805e15d sighandler (0, fef80000, fed8efec, feefcd4e) + 2d
 feefcd86 _thrp_setup (feb60200) + 7e
 feefd010 _lwp_start (feb60200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 3 / thread# 3  --------------------
 fef02bdf door     (fe5fe9f4, 40c, 0, fe5fee00, f5f00, a)
 0805ac55 door_switch (0, fe5fe9f4, 40c, 0, 0, 8059f24) + d31
 fef02c10 __door_return () + 60
-----------------  lwp# 4 / thread# 4  --------------------
 fef01e95 read     (8, fe4ff654, 954)
 080643fd routing_events_v4 (0, fef80000, fe4fffec, feefcd4e) + 4d
 feefcd86 _thrp_setup (feb61a00) + 7e
 feefd010 _lwp_start (feb61a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 5 / thread# 5  --------------------
 fef01e95 read     (9, fe400664, 954)
 0806470b routing_events_v6 (0, fef80000, fe400fec, feefcd4e) + 4b
 feefcd86 _thrp_setup (feb62200) + 7e
 feefd010 _lwp_start (feb62200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 7 / thread# 7  --------------------
 feefd069 lwp_park (0, 0, 0)
 feef67ad cond_wait_queue (80d8d90, 80d8da0, 0, feef6c76) + 60
 feef6cee __cond_wait (80d8d90, 80d8da0, fe202f8c, feef6d33) + 86
 feef6d41 cond_wait (80d8d90, 80d8da0, 200, fe9e3772) + 24
 fe9e37b2 subscriber_event_handler (80bfa08, fef80000, fe202fec, feefcd4e) + 4e
 feefcd86 _thrp_setup (feb63200) + 7e
 feefd010 _lwp_start (feb63200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 8 / thread# 8  --------------------
 fef02bdf door     (fe3019f4, 40c, 0, fe301e00, f5f00, a)
 0805ac55 door_switch (0, fe3019f4, 40c, 0, 0, 8059f24) + d31
 fef02c10 __door_return () + 60
-----------------  lwp# 9 / thread# 9  --------------------
 feefd069 lwp_park (0, fe103f3c, 0)
 feef67ad cond_wait_queue (fea927e0, fea92800, fe103f3c, feef6996) + 60
 feef6b73 cond_wait_common (fea927e0, fea92800, fe103f3c, feef6db6) + 1eb
 feef6e6c __cond_timedwait (fea927e0, fea92800, fe103fac, feef6ea0) + c4
 feef6eb1 cond_timedwait (fea927e0, fea92800) + 27
 fea68165 umem_update_thread (0, fef80000, fe103fec, feefcd4e) + 191
 feefcd86 _thrp_setup (feb63a00) + 7e
 feefd010 _lwp_start (feb63a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 13 / thread# 13  --------------------
 fef01d35 pollsys  (fdc9ad78, 1, 0, 0)
 feea7834 poll     (fdc9ad78, 1, ffffffff, fdc9ad74) + 4c
 fe9c38fa i_dlpi_strgetmsg (8123c08, ffffffff, fdc9eecc, 8, 8, 18) + 196
 fe9c2b15 dlpi_recv (8123c08, 0, 0, fdc9ef24, fdc9ef20, ffffffff) + b9
 08059c35 dlpi_thread (81149f8, fef80000, fdc9efec, feefcd4e) + 3d
 feefcd86 _thrp_setup (feb65a00) + 7e
 feefd010 _lwp_start (feb65a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 18 / thread# 18  --------------------
 fef01d35 pollsys  (fda9cd78, 1, 0, 0)
 feea7834 poll     (fda9cd78, 1, ffffffff, fda9cd74) + 4c
 fe9c38fa i_dlpi_strgetmsg (8123a08, ffffffff, fdaa0ecc, 8, 8, 18) + 196
 fe9c2b15 dlpi_recv (8123a08, 0, 0, fdaa0f24, fdaa0f20, ffffffff) + b9
 08059c35 dlpi_thread (8096b78, fef80000, fdaa0fec, feefcd4e) + 3d
 feefcd86 _thrp_setup (feb66a00) + 7e
 feefd010 _lwp_start (feb66a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 20 / thread# 20  --------------------
 fef01d35 pollsys  (fe004ebc, 1, 0, 0)
 feea7834 poll     (fe004ebc, 1, ffffffff, fdcc37d4) + 4c
 fdcc37ea dhcp_ipc_timed_read (11, fe004f00, 4, fe004f20) + 66
 fdcc28ea dhcp_ipc_recv_msg (11, fe004fb0, 1b, ffffffff, 11, fdcd5000) + 26
 fdcc29e1 dhcp_ipc_recv_reply (11, fe004fb0, 10, fdcc2ab2) + 15
 fdcc2b89 dhcp_ipc_make_request (80d89d0, fe004fb0, ffffffff, 8063914) + e5
 0806394e start_dhcp_thread (80a8e48, fef80000, fe004fec, feefcd4e) + 76
 feefcd86 _thrp_setup (feb64200) + 7e
 feefd010 _lwp_start (feb64200, 0, 0, feefcd4e, 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.

Reply via email to