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

           Summary: nwamd locking up when sending a message
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-05-06
          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=1887)
 --> (http://defect.opensolaris.org/bz/attachment.cgi?id=1887)
NWAM Debug messages

I don't know if this is suspend/resume related, but it just happened after I
resumed - although I admit the environment would have changed too since I was
trying to use Wireless on resume, when I was using wired before.

Anyway, what's happened is that nwamd seems to be stuck (as in the stacktrace
below) and as such nothing can interact with it, and it's not getting to the
point where it can start any networks.

One major point is that I've most recently started running the nwam-maanger
daemon all the time - to catch issues with it - so it's crashed too... 

I'm attaching some logs and a core I grabbed - note this is the non-debug
build, sorry.

ipcs -qa output the following:

T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP
CBYTES  QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME 
Message Queues:
q         18   0xb520     -Rrw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:27:46
q         17   0xb355     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:27:02
q         16   0xbb87     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:25:33
q         15   0xb143     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:24:57
q         14   0xb539     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:22:42
q         13   0xb19c     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536     0     0 no-entry no-entry 16:22:07
q         12   0xbc78     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 15:07:29
q         11   0xb77f     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 15:05:26
q         10   0xb47b     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 14:05:02
q          9   0xb1c3     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 12:08:00
q          8   0xb0ef     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 12:05:50
q          7   0xbaf2     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry 11:42:02
q          6   0xb3a9     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry  9:14:48
q          5   0xbbbb     --rw-r--r--   netadm   netadm   netadm   netadm     
0     0  65536 22759 22402 16:13:15 16:13:15  8:28:01
q          4   0xbbb9     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry  8:27:39
q          3   0xbb3d     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry  8:22:13
q          2   0xbe98     --rw-r--r--   netadm   netadm   netadm   netadm  
2064     2  65536 22759     0 16:13:15 no-entry  8:21:40
q          1   0xbc16     --rw-r--r--   netadm   netadm   netadm   netadm 
23928     4  65536 22759     0 16:13:15 no-entry  8:21:05
q          0   0xbe84     S-rw-r--r--   netadm   netadm   netadm   netadm 
65280     8  65536 22759     0 16:13:15 no-entry  8:16:30

pstack provided the following:

pstack core.23896 
core 'core.23896' of 23896:     /lib/inet/nwamd
-----------------  lwp# 1 / thread# 1  --------------------
 fef04263 msgsys   (3, 0, 808d6c8, 408, 0, 0)
 feeed97a msgsnd   (0, 808d6c8, 408, 0) + ce
 fec5888e nwam_event_send (808d6c8, 0, 80c8e08, 8047ec4) + 17a
 0805c64e nwamd_event_send (808d6c8, 1, 8047e48, 805c728) + e
 0805c7ad nwamd_event_handler (29, fef8800c, 8065b53, 1, 8047e58, feffb7dc) +
91
 0805e681 main     (1, 8047e9c, 8047ea4, feffb7dc) + 201
 08058d8d _start   (1, 8047f2c, 0, 8047f3c, 8047f4d, 8047f65) + 7d
-----------------  lwp# 2 / thread# 2  --------------------
 fef010e5 sigtimedwait (fed7efb4, fed7eee4, 0)
 feeee9ed sigwait  (fed7efb4) + 22
 0805e0b1 sighandler (0, fef80000, fed7efec, feefcd4e) + 29
 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)
 0805abad door_switch (0, fe5fe9f4, 40c, 0, 0, 8059e7c) + d31
 fef02c10 __door_return () + 60
-----------------  lwp# 4 / thread# 4  --------------------
 fef01e95 read     (7, fe43e654, 954)
 08063fb9 routing_events_v4 (0, fef80000, fe43efec, feefcd4e) + 4d
 feefcd86 _thrp_setup (feb61a00) + 7e
 feefd010 _lwp_start (feb61a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 5 / thread# 5  --------------------
 fef01e95 read     (8, fe33f664, 954)
 080642c7 routing_events_v6 (0, fef80000, fe33ffec, 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 (80c3ec0, 80c3ed0, 0, feef6c76) + 60
 feef6cee __cond_wait (80c3ec0, 80c3ed0, fe141f8c, feef6d33) + 86
 feef6d41 cond_wait (80c3ec0, 80c3ed0, 200, febb3772) + 24
 febb37b2 subscriber_event_handler (809ed48, fef80000, fe141fec, feefcd4e) + 4e
 feefcd86 _thrp_setup (feb63200) + 7e
 feefd010 _lwp_start (feb63200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 8 / thread# 8  --------------------
 fef02bdf door     (0, 0, 0, fe240e00, f5f00, a)
 feee8d97 door_create_func (0, fef80000, fe240fec, feefcd4e) + 2f
 feefcd86 _thrp_setup (feb62a00) + 7e
 feefd010 _lwp_start (feb62a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 9 / thread# 9  --------------------
 feefd069 lwp_park (0, fe042f3c, 0)
 feef67ad cond_wait_queue (fea927e0, fea92800, fe042f3c, feef6996) + 60
 feef6b73 cond_wait_common (fea927e0, fea92800, fe042f3c, feef6db6) + 1eb
 feef6e6c __cond_timedwait (fea927e0, fea92800, fe042fac, feef6ea0) + c4
 feef6eb1 cond_timedwait (fea927e0, fea92800) + 27
 fea68165 umem_update_thread (0, fef80000, fe042fec, feefcd4e) + 191
 feefcd86 _thrp_setup (feb63a00) + 7e
 feefd010 _lwp_start (feb63a00, 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