[Serdev] SER crashing at random locations
Durgani, Prakash B.
PBDurgani at west.com
Mon Mar 21 21:38:55 UTC 2005
I wrote a module in SER that would probe (using the OPTIONS message) the
capabilities of our in-house SIP user agents for their capabilities
every configurable amount of seconds. Anywhere between 1-48 hours SER
would crash due to a Segmentation fault in SER's core modules. I have
tried this on different Linux boxes with 2.4.xx kernels and it typically
crashes at different parts of SER's code files for example:
1. Ut.h:224 - pointer overwrite. This is called in sl_send_reply
function as a response to a REGISTER message, and the function is trying
to add a To tag.
2. msg_translator.c:277. Called again by sl_send_reply in response to a
REGISTER message.
3. pkg_malloc causes SIGSEGV when called by the parse_msg from the
receive_msg function.
4. fm_malloc.c:232 - similar to 3.
5. parser/parse_uri.c:320 - address out of bounds when parsing this
message:
REGISTER sip:prx429 SIP/2.0
i:3f02-1-421cd447 at 172.30.114.145
CSeq:12165 REGISTER
Expires:180
f:<sip:mix428 at wic.west.com>
t:<sip:mix428 at wic.west.com>
v:SIP/2.0/UDP 172.30.114.145
m:<sip:172.30.114.145>;q=1.000
Max-Forwards:69
l:0
X-Vail-Load:0/240;id=3ef8
if prx429 is not a valid host name though.
I don't want to overwhelm with more details in this message, let me know
what the support team needs to look to into this further. Any help
would be greatly appreciated.
Regards,
Prakash
More information about the Serdev
mailing list