<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>If it is something that it repeats, try to get the core file, the
log message says core was not generated. <br>
</p>
<p>You have to start kamailio as user root in order to have all
privileges, then before starting kamailio, in the terminal, run:</p>
<p>ulimit -c unlimited</p>
<p>Now start kamailio and then reproduce the case. From the corefile
using gdb get the output of "bt full". The corefile can be located
in / folder or where you set the working directory via kamailio's
-w command line options. It would be good to enable core file per
process as well.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 03.04.20 16:42, harneet singh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHTs8D_mhJWwK+db38ToQ5HXxh-39MJe4fELU+Y7MdFvOr9FOg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>As part of our very low cps load at 50 calls per second
through Kamailio Version 5.3.2 (Dispatcher Module used with
Call Load based Routing - Algorithm 10. Machine is a Centos:
7.7 with kernel version 3.10), we are seeing the kamailio
continuously crashing. Please see the data below for 3 types
of segfaults seen:</div>
<div><br>
</div>
<div>Crash-1:<br>
--------<br>
Apr 3 19:32:25 FE-A07-34-VM6 kernel: kamailio[10382]:
segfault at 7ff300000078 ip 00007ff300000078 sp
00007ffe5f2eafc8 error 14 in
libbz2.so.1.0.6[7ff331582000+f000]<br>
Apr 3 19:32:25 FE-A07-34-VM6 mysqld: 2020-04-03 19:32:25 6131
[Warning] Aborted connection 6131 to db: 'kamailio' user:
'kamailio' host: 'localhost' (Got an error reading
communication packets)<br>
Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10423]:
CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF
on 13<br>
Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10381]:
ALERT: <core> [main.c:767]: handle_sigs(): child process
10382 exited by a signal 11<br>
Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10381]:
ALERT: <core> [main.c:770]: handle_sigs(): core was not
generated<br>
===============================<br>
Crash-2: <br>
-------<br>
Apr 3 19:36:11 FE-A07-34-VM6 kernel: kamailio[12838]:
segfault at 7efe00000078 ip 00007efe00000078 sp
00007ffdc876b868 error 15 in zero
(deleted)[7efdc407f000+40000000]<br>
Apr 3 19:36:11 FE-A07-34-VM6 mysqld: 2020-04-03 19:36:11 6175
[Warning] Aborted connection 6175 to db: 'kamailio' user:
'kamailio' host: 'localhost' (Got an error reading
communication packets)<br>
Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12874]:
CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF
on 18<br>
Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12826]:
ALERT: <core> [main.c:767]: handle_sigs(): child process
12838 exited by a signal 11<br>
Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12826]:
ALERT: <core> [main.c:770]: handle_sigs(): core was not
generated<br>
============================<br>
Crash-3:<br>
--------<br>
Apr 3 19:40:53 FE-A07-34-VM6 kernel: kamailio[13542]:
segfault at 80 ip 000000000065e193 sp 00007ffdae10c1f0 error 4
in kamailio[400000+476000]<br>
Apr 3 19:40:53 FE-A07-34-VM6 mysqld: 2020-04-03 19:40:53 6222
[Warning] Aborted connection 6222 to db: 'kamailio' user:
'kamailio' host: 'localhost' (Got an error reading
communication packets)<br>
Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13516]:
ALERT: <core> [main.c:767]: handle_sigs(): child process
13542 exited by a signal 11<br>
Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13558]:
CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF
on 38<br>
Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13516]:
ALERT: <core> [main.c:770]: handle_sigs(): core was not
generated</div>
<div><br clear="all">
<div>Any pointers for resolution are most welcome as we need
to quickly resolve this. </div>
<div><br>
</div>
<div>Regards,</div>
<div>Harneet Singh </div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">"Once you eliminate the
impossible, whatever remains, no matter how improbable, must
be the truth" - Sir Arthur Conan Doyle<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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></pre>
</body>
</html>