[sr-dev] Siptrace with kamailio 3.1.0 segfault

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 13 13:26:26 CEST 2010


  Hello,

I just committed a fix related to ack and siptrace. Please pull last 
version of branch 3.1 and try again. Let me know if it fixed for you - 
trace is different but might corrupted.

Thanks,
Daniel

On 10/13/10 11:40 AM, Mino Haluz wrote:
> Hi folks,
>
> there seems to be a problem with siptrace module enabled in kamailio 
> 3.1.0 (21a375).
>
> Module parameters:
>
> modparam("siptrace", "db_url", 
> "mysql://openser:123@[kamailio]localhost/openser")           # 
> Database URL
> modparam("siptrace", "trace_on",        1)
> modparam("siptrace", "trace_flag",      22)
>
> We are using the function siptrace() after setflag(22);
>
> Oct 13 11:06:30 nod2 kernel: [765048.446793] kamailio[30762]: segfault 
> at 0 ip b728413f sp bfede9f0 error 4 in sl.so[b7281000+c000]
>
> #0  0xb735b13f in ?? ()
> #1  0xb735b6b8 in ?? ()
> #2  0x080fd4a7 in exec_pre_script_cb (msg=0x2, type=REQUEST_CB_TYPE) 
> at script_cb.c:173
> #3  0x080d5733 in receive_msg ( buf=0x827e8a0 "ACK 
> sip:12345 at test.sipserver.test SIP/2.0\r\nVia: SIP/2.0/UDP
>                 192.168.28.210:5070;rport;branch=z9hG4bK1812616\r\nTo: 
> <sip:12345 at test.sipserver.test>;tag=b65c93bd0cbe55eef7f81a058b21e2ca.3137\r\nFrom:
>                 \"Janko"..., len=396, rcv_info=0xbfceee4c) at 
> receive.c:197
> #4  0x0815b532 in udp_rcv_loop () at udp_server.c:532
> #5  0x080a2917 in main_loop () at main.c:1554
> #6  0x080a5142 in main (argc=2, argv=0xbfcef0e4) at main.c:2398
>
> print pre_script_db
>
> $5 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
>
> after up, up:
>
> print msg
> $2 = (struct sip_msg *) 0x2
> print flags
> $3 = 3073786356
> print cb
> $4 = (struct script_cb *) 0x0
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20101013/f0879da4/attachment.htm>


More information about the sr-dev mailing list