[reSIProcate] repro crash during load test
Mohammed Sameer Momin
sameer at sonimtech.com
Mon Jul 2 08:12:24 CDT 2007
Hi,
The revision is approximately 1 year back. I don't remember the exact
version. The crash can be replicated. It is a load of 20000 subscribers.
In some cases it crashes and few other it hangs in malloc consolidate.
This case occurs after running server for 2 or 3 days under load
conditions.
Thread 5 (Thread 270109616 (LWP 13388)):
#0 0x00d064f0 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0x00d05ad9 in _int_malloc () from /lib/tls/libc.so.6
#2 0x00d04e7d in malloc () from /lib/tls/libc.so.6
#3 0x00aea40e in operator new () from /usr/lib/libstdc++.so.5
#4 0x0825bd96 in resip::Helper::makeResponse (request=@0x9b585160,
responseCode=401, reason=@0x84afee0,
hostname=@0x84afee0, warning=@0x84afee0) at Helper.cxx:457
---Type <return> to continue, or q <return> to quit---
Regards
Sameer
_____
From: Byron Campen [mailto:bcampen at estacado.net]
Sent: Monday, July 02, 2007 6:33 PM
To: Mohammed Sameer Momin
Cc: resiprocate-devel at list.resiprocate.org
Subject: Re: [reSIProcate] repro crash during load test
What revision are you using here? Also, can you replicate
this crash?
Best regards,
Byron Campen
Hi,
Iam running load test on repro. Its seems to crash with following trace.
Any suggestions in this regard are welcomed.
Regards
Sameer
#0 0x0059aac0 in _int_malloc () from /lib/tls/libc.so.6
#1 0x00599e7d in malloc () from /lib/tls/libc.so.6
#2 0x0023a40e in operator new () from /usr/lib/libstdc++.so.5
#3 0x082d6c3d in resip::SipMessage::addHeader (this=0xb11f9b00,
header=To,
headerName=0xb624aee9 "t: <sip:load1095 at di.com>;tag=xyQFL5aEvJ\r\ni:
43186972102290publish at 10.yy.xx.8\r\nCSeq
<mailto:43186972102290publish at 10.yy.xx.8%5Cr%5CnCSeq> : 315648
PUBLISH\r\nl: 0\r\nServer: PoC-serv/2.0 \r\nv: SIP/2.0/UDP
178.16.25.1:5065 <http://178.16.25.1:5065/>
;branch=z9hG4bK-d87543-cc5"..., headerLen=1,
start=0xb624aeec "< sip:load1095 at di.com <mailto:sip:load1095 at di.com>
>;tag=xyQFL5aEvJ\r\ni: 43186972102290publish at 10.yy.xx.8\r\nCSeq
<mailto:43186972102290publish at 10.yy.xx.8%5Cr%5CnCSeq> : 315648
PUBLISH\r\nl: 0\r\nServer: PoC-serv/2.0 \r\nv: SIP/2.0/UDP
178.16.25.1:5065 <http://178.16.25.1:5065/>
;branch=z9hG4bK-d87543-cc522b"..., len=36) at SipMessage.cxx:957
#4 0x083a78a8 in processMsgHeaderFieldNameAndValue (msg=0xb11f9b00,
fieldKind=12,
fieldName=0xb624aee9 "t: < sip:load1095 at di.com
<mailto:sip:load1095 at di.com> >;tag=xyQFL5aEvJ\r\ni:
43186972102290publish at 10.yy.xx.8\r\nCSeq
<mailto:43186972102290publish at 10.15.23.8%5Cr%5CnCSeq> : 315648
PUBLISH\r\nl: 0\r\nServer: PoC-serv/2.0 \r\nv: SIP/2.0/UDP
178.16.25.1:5065 <http://178.16.25.1:5065/>
;branch=z9hG4bK-d87543-cc5"..., fieldNameLength=1,
valueText=0xb624aeec "<sip:load1095 at di.com>;tag=xyQFL5aEvJ\r\ni:
43186972102290publish at 10.yy.xx.8\r\nCSeq
<mailto:43186972102290publish at 10.15.23.8%5Cr%5CnCSeq> : 315648
PUBLISH\r\nl: 0\r\nServer: PoC-serv/2.0 Sonim-Presence\r\nv: SIP/2.0/UDP
178.16.25.1:5065 <http://178.16.25.1:5065/>
;branch=z9hG4bK-d87543-cc522b"..., valueTextLength=36,
valueTextPropBitMask=17 '\021')
at MsgHeaderScanner.cxx:860
#5 0x083a75bc in resip::MsgHeaderScanner::scanChunk (this=0x8b2c130,
chunk=0xb624aea0 "SIP/2.0 412 Precondition Failure\r\nf:
<sip:load1095 at di.com>;tag=55fef9cc\r\nt: <sip:load1095 at di.com
>;tag=xyQFL5aEvJ\r\ni: 43186972102290publish at 10.yy.xx.8\r\nCSeq
<mailto:43186972102290publish at 10.15.23.8%5Cr%5CnCSeq> : 315648
PUBLISH\r\nl: 0\r\nServer: PoC-serv/2.0 "..., chunkLength=381,
unprocessedCharPtr=0xbd3012c)
at MsgHeaderScanner.cxx:988
#6 0x0832bdd6 in resip::UdpTransport::process (this=0x8b2bfd8,
fdset=@0xbd368e0) at UdpTransport.cxx:617
#7 0x083396a4 in resip::TransportSelector::process (this=0xbffd7e70,
fdset=@0xbd368e0) at TransportSelector.cxx:201
#8 0x082f92a1 in resip::TransactionController::process
(this=0xbffd7de0, fdset=@0xbd368e0) at TransactionController.cxx:80
#9 0x082ec3d2 in resip::SipStack::process (this=0xbffb4270,
fdset=@0xbd368e0) at SipStack.cxx:421
#10 0x082ed83a in resip::StackThread::thread (this=0xbffb4120) at
StackThread.cxx:35
#11 0x082360aa in threadWrapper (threadParm=0xbffb4120) at
os/ThreadIf.cxx:34
#12 0x0012adec in start_thread () from /lib/tls/libpthread.so.0
#13 0x0060519a in clone () from /lib/tls/libc.so.6
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070702/a50f4988/attachment.htm>
More information about the resiprocate-devel
mailing list