<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>did you run with debug=3 in kamailio.cfg? That piece of code is
new in 5.1, but executed only when debug is at least 3 (which is
for troubleshooting purposes, not for production). Anyhow, I will
check a bit that part to see if anything is wrong there...</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 30.11.17 18:52, George
Diamantopoulos wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPcKEYMBUirqUdRYabjD3V9j6ua+CXxT2e55cRB=8psaqTYeBw@mail.gmail.com">
<div dir="ltr">
<div>OK, so I performed a clean installation on a new debian
stretch instance I haven't been able to reproduce the issue so
far. Either something changed in the latest nightly, or the
fact that I upgraded from 5.0.4 was causing the issue.<br>
<br>
</div>
The deployment is automated with ansible, so there shouldn't be
any deviations in the configuration of the host. Only other
difference (apart from the clean kamailio install) should be
rtpengine's building, which was performed anew. However, I don't
see how that might have affected things (after all, I don't
believe kamailio is a build time dependency for rtpengine)...<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 30 November 2017 at 01:08, George
Diamantopoulos <span dir="ltr"><<a
href="mailto:georgediam@gmail.com" target="_blank"
moz-do-not-send="true">georgediam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Oh, I also tried with 5.2.0-dev1 nightly and
it also crashes in the same way...<br>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 30 November 2017 at 01:07,
George Diamantopoulos <span dir="ltr"><<a
href="mailto:georgediam@gmail.com"
target="_blank" moz-do-not-send="true">georgediam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I've been trying to get a core dump on this
for hours now, but I just can't get one! Is
there anything special needed with this build
on debian stretch? Checked ulimits,
disable_core_dump, /etc/default/kamailio,
started it as root (-u root -g root), from
systemd with user kamailio, with working
directory set in command line and in config
file, I just can't get a core dump...<br>
<br>
</div>
Thanks<br>
</div>
<div class="m_3315713652689971458HOEnZb">
<div class="m_3315713652689971458h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 29 November 2017
at 18:10, George Diamantopoulos <span
dir="ltr"><<a
href="mailto:georgediam@gmail.com"
target="_blank" moz-do-not-send="true">georgediam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
I've just installed kamailio
5.1 nightly from the debian
repo for stretch. I didn't
change anything in the
configuration compared to
5.0.4 (which I was testing
previously), apart from the
database structure as found
in the wiki for upgrading
from 5.0.x.<br>
<br>
</div>
Now kamailio crashes after a
while, with the following
output in the logs:<br>
<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 3(2502)
ERROR: <core>
[core/udp_server.c:481]:
udp_rcv_loop(): print buffer
building failed<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 121(2620)
CRITICAL: <core>
[core/pass_fd.c:277]:
receive_fd(): EOF on 26<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 121(2620)
DEBUG: <core>
[core/tcp_main.c:3512]:
handle_ser_child(): dead child
3, pid 2502 (shutting down?)<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 121(2620)
DEBUG: <core>
[core/io_wait.h:602]:
io_watch_del(): DBG:
io_watch_del (0x55ae7132ffc0,
26, -1, 0x0) fd_no=126 called<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 0(2499)
ALERT: <core>
[main.c:741]: handle_sigs():
child process 2502 exited
normally, status=255<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 0(2499) INFO:
<core> [main.c:771]:
handle_sigs(): terminating due
to SIGCHLD<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 0(2499)
DEBUG: <core>
[main.c:773]: handle_sigs():
terminating due to SIGCHLD<br>
Nov 29 15:47:05
modcom-sbc-dev1
kamailio[2497]: 118(2617)
INFO: <core>
[main.c:826]: sig_usr():
signal 15 received<br>
<br>
</div>
Let me know if I can somehow
help dissect this issue, I don't
really know where to start.
Thanks.<br>
</div>
<br>
</div>
BR,<br>
</div>
George<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Development Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>