[reSIProcate] Log trace with gdb for B2BUA crash.

Asheesh Joshi asjoshi at varaha.com
Tue Oct 4 08:55:01 CDT 2005


Hi,

 

      In my B2BUA running on a Linux, during load testing, the application
eventually 

crashes with a segmentation fault or sometimes get stuck with 99.9% CPU
usage as shown 

in the top command. I cannot yet describe a pattern as to when the problem
occurs as I 

have seen sometimes happening after 7000 calls, sometimes after 10,000 calls
or sometimes

after 12,000 calls. 

 

      Also the time when the problem occurs is not consistent. Sometimes it
happens 

During Regisration while sometimes during a call. 

 

      The test case that runs repeatedly is
Register->200OK-->INVITE-->100trying, 180 ringing-->200 OK

      -->BYE-->ACK.

 

      Using valgrind slows the system immensely and I cannot keep the system
in load test.

I tried running with a gdb and the trace is captured below when the problem
occurred. 

This time, my application was trying to send out a BYE using a dum instance.


 

Can someone help me in identifying what could potentially be causing such an
issue ?

The B2BUA is multithreaded with various threads ( fMD_dumThread ) being one
such

Thread for the dum interface.

 

0  0x00000061 in ?? ()

#1  0xb745d66b in resip::ParserCategory::clear() (this=0x902a290) at
stl_iterator.h:593

#2  0xb745d840 in ~ParserCategory (this=0x902a290) at ParserCategory.cxx:105

#3  0xb75013e7 in ~Via (this=0x902a290) at Data.hxx:215

#4  0xb74b8f5b in ~ParserContainer (this=0xaf01f570) at stl_iterator.h:593

#5  0xb743b53c in ~HeaderFieldValueList (this=0xaf01f558) at
HeaderFieldValueList.cxx:23

#6  0xb74a478d in resip::SipMessage::cleanUp() (this=0xaec870d8) at
SipMessage.cxx:167

#7  0xb74a43e9 in ~SipMessage (this=0xaec870d8) at SipMessage.cxx:133

#8  0xb733b0ee in ~ServerInviteSession (this=0xaec86648) at
SdpContents.hxx:520

#9  0xb72e451d in resip::DestroyUsage::destroy() (this=0xaf4ba978) at
DestroyUsage.cxx:99

#10 0xb73086e4 in
resip::DialogUsageManager::internalProcess(std::auto_ptr<resip::Message>)
(this=0x84df268, msg=

      {_M_ptr = 0xaf4ba978}) at DialogUsageManager.cxx:935

#11 0xb730b4cc in resip::DialogUsageManager::process() (this=0x84df268) at
memory:346

#12 0x0807e8f9 in fMD_DumThread(void*) ()

#13 0xb7289dac in start_thread () from /lib/tls/libpthread.so.0

#14 0xb71499ea in clone () from /lib/tls/libc.so.6

 

 

-regards

Asheesh.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051004/931fb5e6/attachment.htm>


More information about the resiprocate-devel mailing list