Hi folks,<br><br>there seems to be a problem with siptrace module enabled in kamailio 3.1.0 (21a375).<br><br>Module parameters:<br><br>modparam("siptrace", "db_url", "mysql://openser:123@[kamailio]localhost/openser") # Database URL<br>
modparam("siptrace", "trace_on", 1)<br>modparam("siptrace", "trace_flag", 22)<br><br>We are using the function siptrace() after setflag(22);<br><br>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]<br>
<br>#0 0xb735b13f in ?? ()<br>#1 0xb735b6b8 in ?? ()<br>#2 0x080fd4a7 in exec_pre_script_cb (msg=0x2, type=REQUEST_CB_TYPE) at script_cb.c:173<br>#3 0x080d5733 in receive_msg ( buf=0x827e8a0 "ACK sip:12345@test.sipserver.test SIP/2.0\r\nVia: SIP/2.0/UDP<br>
192.168.28.210:5070;rport;branch=z9hG4bK1812616\r\nTo: <sip:12345@test.sipserver.test>;tag=b65c93bd0cbe55eef7f81a058b21e2ca.3137\r\nFrom:<br> \"Janko"..., len=396, rcv_info=0xbfceee4c) at receive.c:197<br>
#4 0x0815b532 in udp_rcv_loop () at udp_server.c:532<br>#5 0x080a2917 in main_loop () at main.c:1554<br>#6 0x080a5142 in main (argc=2, argv=0xbfcef0e4) at main.c:2398<br><br>print pre_script_db<br><br>$5 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}<br>
<br>after up, up:<br><br>print msg<br>$2 = (struct sip_msg *) 0x2<br>print flags<br>$3 = 3073786356<br>print cb<br>$4 = (struct script_cb *) 0x0<br><br><br>