<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 10/06/14 12:47, Andrés Souto wrote:<br>
</div>
<blockquote
cite="mid:CAB+84F3Shd0uakRF5Zh+qX83otydKRZvS=h=i50MBSA+fuNMhQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm not using tel2uri(). I tested it again and I can't
reproduced it with the last commit in 4.1 branch. With version
4.1.3 it reproduces always. The problem seems to be present
after more than one mysql query thus I thought it could be
related with that commit. I try it
at 642428cf8be1c7355f91b14276e888ec505cd69a and it also
reproduces so it seems that it is solve
by 94ebfb5d5973ed59de84ca0e0c87052b4c80f9de.</div>
</div>
</blockquote>
That commit is related to a memleak when re-initializing/looking up
the db connection at time.<br>
<br>
<blockquote
cite="mid:CAB+84F3Shd0uakRF5Zh+qX83otydKRZvS=h=i50MBSA+fuNMhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>The complete log for version 4.1.3 is here: <a
moz-do-not-send="true"
href="https://www.dropbox.com/s/fn1l8lnfkn7o3bk/kamailio.log">https://www.dropbox.com/s/fn1l8lnfkn7o3bk/kamailio.log</a></div>
</div>
</blockquote>
Is the log complete, because it doesn't have the message like:<br>
<br>
... BUG: qm_*: prev. fragm. tail overwritten(c0c0c000, abcdefed)<br>
<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAB+84F3Shd0uakRF5Zh+qX83otydKRZvS=h=i50MBSA+fuNMhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-06-09 21:03 GMT+02:00
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" 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>
the only patch that could fix such situation lately was in
tel2uri() function, are you using it? In the backtrace I
didn't see a tel uri.<br>
<br>
Cheers,<br>
Daniel
<div>
<div class="h5"><br>
<br>
<div>On 09/06/14 20:57, Andrés Souto wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello again,
<div><br>
</div>
<div>I have tested right now if it still
reproduces with the current last branch 4.1 git
version and it seems to work. Tomorrow I'll do
more testing but probably it is already fixed
by 94ebfb5d5973ed59de84ca0e0c87052b4c80f9de.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-06-09 20:46
GMT+02:00 Andrés Souto <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:andres.souto@quobis.com"
target="_blank">andres.souto@quobis.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<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 moz-do-not-send="true"
href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span>:
<div>
<div><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><br>
<br>
<div>On 29/05/14 12:18, Andrés
Souto wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<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
moz-do-not-send="true">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
moz-do-not-send="true"><sip:1000@vpbx1.ur></a>;tag=FjmFN79ZrXH0e\r\nTo:
<a
moz-do-not-send="true"><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
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://www.quobis.com/" style="color:rgb(17,85,204)"
target="_blank">Quobis</a> |
e: <a
moz-do-not-send="true"
href="mailto:andres.souto@quobis.com" style="color:rgb(17,85,204)"
target="_blank">andres.souto@quobis.com</a> |
t: <a
moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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><font color="#888888">
</font></span></pre>
<span><font color="#888888"> </font></span></blockquote>
<span><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
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>
</div>
</div>
<div>
<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
moz-do-not-send="true"
href="http://www.quobis.com/"
style="color:rgb(17,85,204)"
target="_blank">Quobis</a> | e: <a
moz-do-not-send="true"
href="mailto:andres.souto@quobis.com"
style="color:rgb(17,85,204)"
target="_blank">andres.souto@quobis.com</a> |
t: <a moz-do-not-send="true"
value="+34902999465"
style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div>
</div>
</div>
</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
moz-do-not-send="true"
href="http://www.quobis.com/"
style="color:rgb(17,85,204)"
target="_blank">Quobis</a> | e: <a
moz-do-not-send="true"
href="mailto:andres.souto@quobis.com"
style="color:rgb(17,85,204)"
target="_blank">andres.souto@quobis.com</a> |
t: <a moz-do-not-send="true"
value="+34902999465"
style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</div>
</div>
</div>
</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
moz-do-not-send="true" href="http://www.quobis.com/"
style="color:rgb(17,85,204)" target="_blank">Quobis</a> |
e: <a moz-do-not-send="true"
href="mailto:andres.souto@quobis.com"
style="color:rgb(17,85,204)" target="_blank">andres.souto@quobis.com</a> |
t: <a moz-do-not-send="true" value="+34902999465"
style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>