[SR-Users] After upgrade from openser 1.3.4 to kamailio 1.5.5 the same crash set

Daniel-Constantin Mierla miconda at gmail.com
Sat Feb 12 07:50:40 CET 2011



On 2/11/11 6:23 PM, Andrew O. Zhukov wrote:
> Here is it with MEMDBG=1
Did you get in syslog any error (bug) message mentioning overwriting 
tail/head for memory operations? If yes, send the syslog messages here.

I will try to look over it soon, being offline for some traveling...

Cheers,
Daniel
>
>
> ------------------------------------------------------------------------------------------------------ 
>
> Core was generated by `/usr/local/sbin/kamailio -P 
> /var/run/openser/openser.pid -m 32 -u openser -g op'.
> Program terminated with signal 6, Aborted.
> #0  0x00000039d8c30265 in raise () from /lib64/libc.so.6
> (gdb) backtrace
> #0  0x00000039d8c30265 in raise () from /lib64/libc.so.6
> #1  0x00000039d8c31d10 in abort () from /lib64/libc.so.6
> #2  0x000000000046c397 in qm_debug_frag (qm=0x733c00, f=0x7ca950) at 
> mem/q_malloc.c:137
> #3  0x000000000046d99a in qm_free (qm=0x733c00, p=0x7ca980, 
> file=0x4e4d30 "parser/digest/digest.c", func=0x4e4da0 
> "free_credentials", line=95)
>     at mem/q_malloc.c:439
> #4  0x0000000000495fac in free_credentials (_b=0x2ba07046a7b8) at 
> parser/digest/digest.c:95
> #5  0x0000000000471a36 in clean_hdr_field (hf=0x2ba07046a788) at 
> parser/hf.c:116
> #6  0x00002ba06cec58de in clean_msg_clone (msg=0x2ba0704697b8, 
> min=0x2ba0704697b8, max=0x2ba07046add0) at sip_msg.h:54
> #7  0x00002ba06cec57b7 in run_trans_callbacks (type=2, 
> trans=0x2ba07045b3f0, req=0x2ba0704697b8, rpl=0x7c0eb8, code=200) at 
> t_hooks.c:245
> #8  0x00002ba06cecc39d in t_reply_matching (p_msg=0x7c0eb8, 
> p_branch=0x7fff8a7202c8) at t_lookup.c:888
> #9  0x00002ba06cecc997 in t_check (p_msg=0x7c0eb8, 
> param_branch=0x7fff8a7202c8) at t_lookup.c:964
> #10 0x00002ba06cedb79b in reply_received (p_msg=0x7c0eb8) at 
> t_reply.c:1395
> #11 0x000000000041c6db in forward_reply (msg=0x7c0eb8) at forward.c:576
> #12 0x000000000043ccf0 in receive_msg (
>     buf=0x712980 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
> XXX.XX.XXX.13;branch=z9hG4bKb01c.8ffe0f62.0;received=XXX.XX.XXX.13\r\nVia: 
> SIP/2.0/UDP 
> XXX.XX.XXX.236:5060;received=XXX.XX.XXX.236;branch=z9hG4bK20b12a8d;rport=5060\r\nRec"..., 
> len=576, rcv_info=0x7fff8a720420) at receive.c:212
> #13 0x00000000004692e3 in udp_rcv_loop () at udp_server.c:449
> #14 0x0000000000420ecb in main_loop () at main.c:774
> #15 0x0000000000422e0f in main (argc=11, argv=0x7fff8a7206a8) at 
> main.c:1321
> -------------------------------------------------------------------------------------------------------------- 
>
> Core was generated by `/usr/local/sbin/kamailio -P 
> /var/run/openser/openser.pid -m 32 -u openser -g op'.
> Program terminated with signal 6, Aborted.
> #0  0x00000039d8c30265 in raise () from /lib64/libc.so.6
> (gdb) backtrace
> #0  0x00000039d8c30265 in raise () from /lib64/libc.so.6
> #1  0x00000039d8c31d10 in abort () from /lib64/libc.so.6
> #2  0x000000000046c397 in qm_debug_frag (qm=0x733c00, f=0x83a818) at 
> mem/q_malloc.c:137
> #3  0x000000000046d99a in qm_free (qm=0x733c00, p=0x83a848, 
> file=0x4e4d30 "parser/digest/digest.c", func=0x4e4da0 
> "free_credentials", line=95)
>     at mem/q_malloc.c:439
> #4  0x0000000000495fac in free_credentials (_b=0x2b95e9de8758) at 
> parser/digest/digest.c:95
> #5  0x0000000000471a36 in clean_hdr_field (hf=0x2b95e9de8728) at 
> parser/hf.c:116
> #6  0x00002b95e687e8de in clean_msg_clone (msg=0x2b95e9de7758, 
> min=0x2b95e9de7758, max=0x2b95e9de8d70) at sip_msg.h:54
> #7  0x00002b95e687e7b7 in run_trans_callbacks (type=2, 
> trans=0x2b95e9fe5150, req=0x2b95e9de7758, rpl=0x7c0eb8, code=200) at 
> t_hooks.c:245
> #8  0x00002b95e688539d in t_reply_matching (p_msg=0x7c0eb8, 
> p_branch=0x7fff77e144b8) at t_lookup.c:888
> #9  0x00002b95e6885997 in t_check (p_msg=0x7c0eb8, 
> param_branch=0x7fff77e144b8) at t_lookup.c:964
> #10 0x00002b95e689479b in reply_received (p_msg=0x7c0eb8) at 
> t_reply.c:1395
> #11 0x000000000041c6db in forward_reply (msg=0x7c0eb8) at forward.c:576
> #12 0x000000000043ccf0 in receive_msg (
>     buf=0x712980 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
> XXX.XX.XXX.13;branch=z9hG4bK2cb3.224aa3e4.0;received=XXX.XX.XXX.13\r\nVia: 
> SIP/2.0/UDP 
> XXX.XX.XXX.236:5060;received=XXX.XX.XXX.236;branch=z9hG4bK3ca41325;rport=5060\r\nRec"..., 
> len=576, rcv_info=0x7fff77e14610) at receive.c:212
> #13 0x00000000004692e3 in udp_rcv_loop () at udp_server.c:449
> #14 0x0000000000420ecb in main_loop () at main.c:774
> #15 0x0000000000422e0f in main (argc=11, argv=0x7fff77e14898) at 
> main.c:1321
> --------------------------------
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> Core was generated by `/usr/local/sbin/kamailio -P 
> /var/run/openser/openser.pid -m 32 -u openser -g op'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x000000000046bf7b in add_avp_galias_str 
> (alias_definition=0x46de56 "") at usr_avp.c:680
> 680        LM_ERR("parse error in <%s> around pos %ld\n",
> (gdb) backtrace
> #0  0x000000000046bf7b in add_avp_galias_str 
> (alias_definition=0x46de56 "") at usr_avp.c:680
> #1  0x0000000000000000 in ?? ()
>
>
>
>
> On 02/10/2011 09:14 AM, Daniel-Constantin Mierla wrote:
>>
>>
>> On 2/10/11 8:12 AM, Andrew O. Zhukov wrote:
>>> Couple month ago I sent whole set of crash-es from 1.3.4 to this
>>> maillist. Nobody respond me.
>> Probably they were forgotten in the history, if most of devs were
>> offline at the moment you sent. Do you have a link to the thread, it may
>> help reading what you sent at that time, as well.
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list