<div dir="ltr">Hello,<div><br></div><div>yes, I'm still have the core file. The issue reproduces always with this configuration.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-09 18:08 GMT+02:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
do you still have the core file for inspection? Can the issue be
reproduced?<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div>On 29/05/14 12:18, Andrés Souto wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>Kamailio crashes with this message:</div>
<div>
<div>May 29 12:03:45 kamfree-manager kamailio[8705]: :
<core> [mem/q_malloc.c:159]: qm_debug_frag(): BUG:
qm_*: prev. fragm. tail overwritten(c0c0c000,
abcdefed)[0x7ff5a5031a98:0x7ff5a5031ac8]!</div>
<div>May 29 12:03:45 kamfree-manager kamailio[8697]: ALERT:
<core> [main.c:775]: handle_sigs(): child process 8705
exited by a signal 6</div>
<div>May 29 12:03:45 kamfree-manager kamailio[8697]: ALERT:
<core> [main.c:778]: handle_sigs(): core was generated</div>
</div>
<div><br>
</div>
<div>The problem is produced in this line of the script:</div>
<div>$rU = $dbr(ra=>[0,0]);<br>
</div>
<div><br>
</div>
<div>I'm using last commit in 4.1 branch
(ad5235229f59ba5d1f4216e144291e110fee0211) on Debian wheezy.</div>
<div><br>
</div>
<div>The backtrace:</div>
<div>#0 0x00007ff5a538b475 in raise () from
/lib/x86_64-linux-gnu/libc.so.6</div>
<div>#1 0x00007ff5a538e6f0 in abort () from
/lib/x86_64-linux-gnu/libc.so.6</div>
<div>#2 0x0000000000546a00 in qm_debug_frag (qm=0x7ff5a4f58010,
f=0x7ff5a5031a98) at mem/q_malloc.c:161</div>
<div>#3 0x000000000054796d in qm_malloc (qm=0x7ff5a4f58010,
size=1024, file=0x5c9ec1 "<core>: action.c",
func=0x5cb1d8 "do_action", line=832) at mem/q_malloc.c:386</div>
<div>#4 0x000000000041affa in do_action (h=0x7fff810cd2b0,
a=0x7fff810cd390, msg=0x7ff5a502ed28) at action.c:832</div>
<div>#5 0x00007ff5a2295d88 in pv_set_ruri_user
(msg=0x7ff5a502ed28, param=0x7ff5a4fb3750, op=254,
val=0x7fff810cd4e0) at pv_core.c:2073</div>
<div>#6 0x0000000000467bbf in lval_pvar_assign
(h=0x7fff810d0200, msg=0x7ff5a502ed28, lv=0x7ff5a501ea00,
rv=0x7ff5a501f110) at lvalue.c:362</div>
<div>#7 0x00000000004680a5 in lval_assign (h=0x7fff810d0200,
msg=0x7ff5a502ed28, lv=0x7ff5a501ea00, rve=0x7ff5a501f108) at
lvalue.c:410</div>
<div>#8 0x0000000000423fec in do_action (h=0x7fff810d0200,
a=0x7ff5a501eb68, msg=0x7ff5a502ed28) at action.c:1478</div>
<div>#9 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a5013ee0, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#10 0x000000000041c18d in do_action (h=0x7fff810d0200,
a=0x7ff5a5020a10, msg=0x7ff5a502ed28) at action.c:1090</div>
<div>#11 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a5020a10, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#12 0x000000000041c18d in do_action (h=0x7fff810d0200,
a=0x7ff5a5020e50, msg=0x7ff5a502ed28) at action.c:1090</div>
<div>#13 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a50119b0, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#14 0x000000000041a2b7 in do_action (h=0x7fff810d0200,
a=0x7ff5a4fd3fc0, msg=0x7ff5a502ed28) at action.c:715</div>
<div>#15 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a4fd2800, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#16 0x0000000000422c70 in do_action (h=0x7fff810d0200,
a=0x7ff5a4fd7af0, msg=0x7ff5a502ed28) at action.c:1235</div>
<div>#17 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a4fd1ed8, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#18 0x000000000041c18d in do_action (h=0x7fff810d0200,
a=0x7ff5a4fd7d10, msg=0x7ff5a502ed28) at action.c:1090</div>
<div>#19 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a4fcf1d8, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#20 0x000000000041a2b7 in do_action (h=0x7fff810d0200,
a=0x7ff5a4fb7d88, msg=0x7ff5a502ed28) at action.c:715</div>
<div>#21 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a4fb6b68, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#22 0x000000000041c18d in do_action (h=0x7fff810d0200,
a=0x7ff5a4fb9838, msg=0x7ff5a502ed28) at action.c:1090</div>
<div>#23 0x0000000000424d70 in run_actions (h=0x7fff810d0200,
a=0x7ff5a4faf5a0, msg=0x7ff5a502ed28) at action.c:1599</div>
<div>#24 0x0000000000425524 in run_top_route (a=0x7ff5a4faf5a0,
msg=0x7ff5a502ed28, c=0x0) at action.c:1685</div>
<div>#25 0x00000000004a6fdb in receive_msg (</div>
<div> buf=0x921920 "INVITE <a>sip:2000@vpbx2.ur</a> SIP/2.0\r\nVia:
SIP/2.0/UDP
192.168.0.101;rport;branch=z9hG4bK14cFrXZ0N53jS\r\nMax-Forwards:
67\r\nFrom: \"1000\"
<a><sip:1000@vpbx1.ur></a>;tag=FjmFN79ZrXH0e\r\nTo:
<a><sip:2000@vpbx2.ur></a>\r\nCall-"..., len=1061,
rcv_info=0x7fff810d04b0) at receive.c:212</div>
<div>#26 0x000000000053c544 in udp_rcv_loop () at
udp_server.c:536</div>
<div>---Type <return> to continue, or q <return> to
quit---</div>
<div>#27 0x000000000046ee54 in main_loop () at main.c:1617</div>
<div>#28 0x0000000000471df4 in main (argc=3,
argv=0x7fff810d07e8) at main.c:2533</div>
<div><br>
</div>
<div>Complete log: <a href="http://pastebin.com/YZirUkfe" target="_blank">http://pastebin.com/YZirUkfe</a></div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>
<font color="#3d85c6"><b>Andrés Souto</b></font></div>
<div><font color="#666666">VoIP Engineer @ <a href="http://www.quobis.com/" style="color:rgb(17,85,204)" target="_blank">Quobis</a> |
e: <a href="mailto:andres.souto@quobis.com" style="color:rgb(17,85,204)" target="_blank">andres.souto@quobis.com</a> |
t: <a value="+34902999465" style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font color="#3d85c6"><b>Andrés Souto</b></font></div><div><font color="#666666">VoIP Engineer @ <a href="http://www.quobis.com/" style="color:rgb(17,85,204)" target="_blank">Quobis</a> | e: <a href="mailto:andres.souto@quobis.com" style="color:rgb(17,85,204)" target="_blank">andres.souto@quobis.com</a> | t: <a value="+34902999465" style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div>