[SR-Users] Kamailio 5.3.2 crashing continuously

Daniel-Constantin Mierla miconda at gmail.com
Fri Apr 3 19:36:39 CEST 2020


Hello,

If it is something that it repeats, try to get the core file, the log
message says core was not generated.

You have to start kamailio as user root in order to have all privileges,
then before starting kamailio, in the terminal, run:

ulimit -c unlimited

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.

Cheers,
Daniel

On 03.04.20 16:42, harneet singh wrote:
> Hi All,
>
> 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:
>
> Crash-1:
> --------
> 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]
> 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)
> 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
> 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
> Apr  3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10381]: ALERT: <core>
> [main.c:770]: handle_sigs(): core was not generated
> ===============================
> Crash-2:
> -------
> 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]
> 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)
> 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
> 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
> Apr  3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12826]: ALERT: <core>
> [main.c:770]: handle_sigs(): core was not generated
> ============================
> Crash-3:
> --------
> 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]
> 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)
> 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
> 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
> Apr  3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13516]: ALERT: <core>
> [main.c:770]: handle_sigs(): core was not generated
>
> Any pointers for resolution are most welcome as we need to quickly
> resolve this. 
>
> Regards,
> Harneet Singh 
> -- 
> "Once you eliminate the impossible, whatever remains, no matter how
> improbable, must be the truth" - Sir Arthur Conan Doyle
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200403/d41dab93/attachment.html>


More information about the sr-users mailing list