[osol-discuss] Fire!! core dumped!

2007-03-18 Thread eric wang
Hi, All,

A coredumped problem occured some time in a multi-thread as the following:
-  lwp# 1 / thread# 1  
 fd90b258 _lock_try_adaptive (0, fd91c000, 10018, 8, 0, 0)
 fe4912bc bool cmgCall::sendEventIn(unsigned long,unsigned char*,unsigned 
short) (1f3f010, 2, 213c9bb, 8, 10018, 6e1b50) + 3c
 fe50d060 bool cmgSs7Adapter::inputNetMsg(unsigned char*) (fe50db20, 213c9a0, 
fe5f677c, 8, 14d53f0, fe5b85c4) + 160
 fe4a6c40 void cmgCallMgr::forwardNetEvent(XEEvent*) (28b010, 162c970, 100a, 
100b, fe5526eb, 0) + 300
 fe1f4a7c int engIOS_EvtHdlr::handleEvent(XEEvent*) (2571f0, 162c970, 0, bd07c, 
5, 2) + 55c
 fe96bac4 int XEEvtDispatcher::run() (1b9010, dc8650, 1b9124, 1b9078, 1, 2b32) 
+ 224
 fe991ce8 int XEProcShell::run() (1b69a0, 800, 9a8, fea06630, 1bb610, 1) + 2a8
 00026238 main (3, ffbefb54, ffbefb64, 1617d0, 0, 0) + 1d8
 00025308 _start   (0, 0, 0, 0, 0, 0) + 108
-  lwp# 2 / thread# 2  
 fcf9ed7c _signotifywait (fd91c000, 0, fec47a8c, 1000, fec34124, fec47fe8) + 8
 fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 3 / thread# 3  
 fcf9f42c _lwp_sema_wait (fcb0de60, fd91c000, 0, fcb0dd98, ffe0, 0) + c
 fd8f93a4 _swtch   (fcb0dd98, fcb0dd98, fd91c000, 5, 1000, 1) + 424
 fd8fd9b8 _reap_wait (fd920980, fd91c000, 0, 18, 0, 18) + 38
 fd8fd710 _reaper  (fd91ce00, fd922708, fd920980, fd91cdd8, 1, fe40) + 38
 fd90b01c _thread_start (0, 0, 0, 0, 0, 0) + 40
-  lwp# 26  
 fd909200 private___lwp_cond_wait (fe153d98, fd91cd6c, fd91c000, 3, fd91c000, 
1) + 8
 fd8fa358 _lwp_start (fe153d98, 0, 4000, ffbeea04, 0, 0) + 18
 fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 27 / thread# 25  
 fcf9f42c _lwp_sema_wait (f5109e60, fd91c000, 0, f5109d98, fe552627, 0) + c
 fd8f90d8 _swtch   (f5109d98, 0, fd91c000, 5, 1000, 0) + 158
 fd8f81ac cond_wait (f5109d98, 0, 0, fd91c000, 0, 0) + 11c
 fd8f8070 pthread_cond_wait (1ec658, 1ec638, f5109ab0, 0, 0, 0) + 8
 fe8559b8 int ACE_Condition_Thread_Mutex::wait(const ACE_Time_Value*) (1ec658, 
0, 0, febe1d60, 0, 0) + 4c
 feb9d0b0 int 
ACE_Message_Queue::wait_not_empty_cond(ACE_Guard&,ACE_Time_Value*)
 (0, f5109b90, 0, 0, 19fdc, 0) + 30
 feb9ba0c int 
ACE_Message_Queue::dequeue_head(ACE_Message_Block*&,ACE_Time_Value*)
 (1ec610, f5109bfc, 0, 1, 2, 2) + ac
 fe478b2c int XEQueue::dequeue_head(cmgCall*&) (1ec610, f5109ccc, 518, 
2, fe49b500, fe5b85c4) + c
 fe4a3ff8 void*cmgCallMgr::enterCPTLoop(void*) (fe49cda0, fe5c6540, 1, c44010, 
fe552627, ) + d8
 fe85d988 void*ACE_Thread_Adapter::invoke() (c19430, fd91d658, fe85d918, 1, 
fd91c000, 0) + 70
 fd90b01c _thread_start (c19430, 0, 0, 0, 0, 0) + 40
-  lwp# 24  
 fcf9c920 _door_return (10, fd91d658, fd91d670, 3, fd91c000, 1) + 10
 fd8fa358 _lwp_start (fddf5d98, 0, 6000, fdff5b9c, 0, 0) + 18
 fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 28  
 fd909200 private___lwp_cond_wait (fdb23d98, fd91cd6c, fd91c000, 3, fd91c000, 
1) + 8
 fd8fa358 _lwp_start (fdb23d98, 0, 4000, ffbeea04, 0, 10003) + 18
 fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 29 / thread# 26  
 fcf9f42c _lwp_sema_wait (fc603e60, fd91c000, 0, fc603d98, fe552627, 0) + c
 fd8f90d8 _swtch   (fc603d98, 0, fd91c000, 5, 1000, 0) + 158
 fd8f81ac cond_wait (fc603d98, 0, 0, fd91c000, 0, 0) + 11c
 fd8f8070 pthread_cond_wait (1ec9d8, 1ec9b8, fc603ab0, 26a14, 192400, 0) + 8
 fe8559b8 int ACE_Condition_Thread_Mutex::wait(const ACE_Time_Value*) (1ec9d8, 
0, 0, febe1d60, 19fdc, 0) + 4c
 feb9d0b0 int 
ACE_Message_Queue::wait_not_empty_cond(ACE_Guard&,ACE_Time_Value*)
 (0, fc603b90, 0, 0, 19fdc, 0) + 30
 feb9ba0c int 
ACE_Message_Queue::dequeue_head(ACE_Message_Block*&,ACE_Time_Value*)
 (1ec990, fc603bfc, 0, 1, 1, 2) + ac
 fe478b2c int XEQueue::dequeue_head(cmgCall*&) (1ec990, fc603ccc, 518, 
2, fe49b500, fe5b85c4) + c
 fe4a3ff8 void*cmgCallMgr::enterCPTLoop(void*) (1a0df00, fe5c6540, 1, c47010, 
fe552627, ) + d8
 fe85d988 void*ACE_Thread_Adapter::invoke() (c19460, fd91d658, fe85d918, 1, 
fd91c000, 0) + 70
 fd90b01c _thread_start (c19460, 0, 0, 0, 0, 0) + 40

Please help investigate it!

BR,
Eric
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Fire!! core dumped!

2007-03-19 Thread Frank Hofmann

On Sun, 18 Mar 2007, eric wang wrote:


Hi, All,

A coredumped problem occured some time in a multi-thread as the following:
-  lwp# 1 / thread# 1  
fd90b258 _lock_try_adaptive (0, fd91c000, 10018, 8, 0, 0)

   ^


From the stacktrace only:


Check your application whether/why cmgCall::sendEventIn() passed a NULL 
pointer into a locking primitive.


For any more detailed statements, are you willing to share the coredump ?

Btw, this looks like an older Solaris OS. Which one ? Solaris 10 and 
OpenSolaris no longer have the above function. Are you running this on 
OpenSolaris ?


FrankH.



fe4912bc bool cmgCall::sendEventIn(unsigned long,unsigned char*,unsigned short) 
(1f3f010, 2, 213c9bb, 8, 10018, 6e1b50) + 3c
fe50d060 bool cmgSs7Adapter::inputNetMsg(unsigned char*) (fe50db20, 213c9a0, 
fe5f677c, 8, 14d53f0, fe5b85c4) + 160
fe4a6c40 void cmgCallMgr::forwardNetEvent(XEEvent*) (28b010, 162c970, 100a, 
100b, fe5526eb, 0) + 300
fe1f4a7c int engIOS_EvtHdlr::handleEvent(XEEvent*) (2571f0, 162c970, 0, bd07c, 
5, 2) + 55c
fe96bac4 int XEEvtDispatcher::run() (1b9010, dc8650, 1b9124, 1b9078, 1, 2b32) + 
224
fe991ce8 int XEProcShell::run() (1b69a0, 800, 9a8, fea06630, 1bb610, 1) + 2a8
00026238 main (3, ffbefb54, ffbefb64, 1617d0, 0, 0) + 1d8
00025308 _start   (0, 0, 0, 0, 0, 0) + 108
-  lwp# 2 / thread# 2  
fcf9ed7c _signotifywait (fd91c000, 0, fec47a8c, 1000, fec34124, fec47fe8) + 8
fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 3 / thread# 3  
fcf9f42c _lwp_sema_wait (fcb0de60, fd91c000, 0, fcb0dd98, ffe0, 0) + c
fd8f93a4 _swtch   (fcb0dd98, fcb0dd98, fd91c000, 5, 1000, 1) + 424
fd8fd9b8 _reap_wait (fd920980, fd91c000, 0, 18, 0, 18) + 38
fd8fd710 _reaper  (fd91ce00, fd922708, fd920980, fd91cdd8, 1, fe40) + 38
fd90b01c _thread_start (0, 0, 0, 0, 0, 0) + 40
-  lwp# 26  
fd909200 private___lwp_cond_wait (fe153d98, fd91cd6c, fd91c000, 3, fd91c000, 1) 
+ 8
fd8fa358 _lwp_start (fe153d98, 0, 4000, ffbeea04, 0, 0) + 18
fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 27 / thread# 25  
fcf9f42c _lwp_sema_wait (f5109e60, fd91c000, 0, f5109d98, fe552627, 0) + c
fd8f90d8 _swtch   (f5109d98, 0, fd91c000, 5, 1000, 0) + 158
fd8f81ac cond_wait (f5109d98, 0, 0, fd91c000, 0, 0) + 11c
fd8f8070 pthread_cond_wait (1ec658, 1ec638, f5109ab0, 0, 0, 0) + 8
fe8559b8 int ACE_Condition_Thread_Mutex::wait(const ACE_Time_Value*) (1ec658, 
0, 0, febe1d60, 0, 0) + 4c
feb9d0b0 int 
ACE_Message_Queue::wait_not_empty_cond(ACE_Guard&,ACE_Time_Value*)
 (0, f5109b90, 0, 0, 19fdc, 0) + 30
feb9ba0c int 
ACE_Message_Queue::dequeue_head(ACE_Message_Block*&,ACE_Time_Value*)
 (1ec610, f5109bfc, 0, 1, 2, 2) + ac
fe478b2c int XEQueue::dequeue_head(cmgCall*&) (1ec610, f5109ccc, 518, 
2, fe49b500, fe5b85c4) + c
fe4a3ff8 void*cmgCallMgr::enterCPTLoop(void*) (fe49cda0, fe5c6540, 1, c44010, 
fe552627, ) + d8
fe85d988 void*ACE_Thread_Adapter::invoke() (c19430, fd91d658, fe85d918, 1, 
fd91c000, 0) + 70
fd90b01c _thread_start (c19430, 0, 0, 0, 0, 0) + 40
-  lwp# 24  
fcf9c920 _door_return (10, fd91d658, fd91d670, 3, fd91c000, 1) + 10
fd8fa358 _lwp_start (fddf5d98, 0, 6000, fdff5b9c, 0, 0) + 18
fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 28  
fd909200 private___lwp_cond_wait (fdb23d98, fd91cd6c, fd91c000, 3, fd91c000, 1) 
+ 8
fd8fa358 _lwp_start (fdb23d98, 0, 4000, ffbeea04, 0, 10003) + 18
fd901c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
-  lwp# 29 / thread# 26  
fcf9f42c _lwp_sema_wait (fc603e60, fd91c000, 0, fc603d98, fe552627, 0) + c
fd8f90d8 _swtch   (fc603d98, 0, fd91c000, 5, 1000, 0) + 158
fd8f81ac cond_wait (fc603d98, 0, 0, fd91c000, 0, 0) + 11c
fd8f8070 pthread_cond_wait (1ec9d8, 1ec9b8, fc603ab0, 26a14, 192400, 0) + 8
fe8559b8 int ACE_Condition_Thread_Mutex::wait(const ACE_Time_Value*) (1ec9d8, 
0, 0, febe1d60, 19fdc, 0) + 4c
feb9d0b0 int 
ACE_Message_Queue::wait_not_empty_cond(ACE_Guard&,ACE_Time_Value*)
 (0, fc603b90, 0, 0, 19fdc, 0) + 30
feb9ba0c int 
ACE_Message_Queue::dequeue_head(ACE_Message_Block*&,ACE_Time_Value*)
 (1ec990, fc603bfc, 0, 1, 1, 2) + ac
fe478b2c int XEQueue::dequeue_head(cmgCall*&) (1ec990, fc603ccc, 518, 
2, fe49b500, fe5b85c4) + c
fe4a3ff8 void*cmgCallMgr::enterCPTLoop(void*) (1a0df00, fe5c6540, 1, c47010, 
fe552627, ) + d8
fe85d988 void*ACE_Thread_Adapter::invoke() (c19460, fd91d658, fe85d918, 1, 
fd91c000, 0) + 70
fd90b01c _thread_start (c19460, 0, 0, 0, 0, 0) + 40

Please help investigate it!

BR,
Eric


This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


___
opensolaris-discuss mailing list
opensolari