Re: 6.1 crashes

Daniel-Constantin Mierla via sr-users <[email protected]> Sun, 19 Apr 2026 16:42:33 +0200
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
You have to install the package with the debugging symbols for getting
proper details in the backtrace.

However, as it looks now, the corefile is written at Kamailio shutdown,
either as an effect to another crash which has the core file overwritten
if you didn't enabled core files per pid, or during a stop/restart
command. To be sure the core files are not overwritten, enable core
files per pid or define core file name pattern to be individual per
running process. Kamailio wiki has an article about troubleshooting with
corefile where more details are provided on these options.

Cheers,
Daniel


On 19.04.26 16:27, Juha Heinanen via sr-users wrote:
> After updating my sip proxy to latest kamailio 6.1 branch running on
> Debian Trixie , I have noticed several crashes.
>
> syslog has this:
>
> 2026-04-19T16:41:19.664532+03:00 box kernel: kamailio[944355]: segfault at 0 ip 0000558b1c9ea97e sp 00007fffa1deb610 er\
> ror 6 in kamailio[f297e,558b1c926000+3b0000] likely on CPU 2 (core 0, socket 4)                                         
> 2026-04-19T16:41:19.664633+03:00 box kernel: Code: 00 00 00 48 8b 57 08 48 8b 07 f3 0f 7e 0d 8a 72 3f 00 48 8b 4f 10 64\
>  4c 8b 24 25 28 00 00 00 4c 89 a4 24 88 00 00 00 41 89 f4 <48> 89 02 66 0f 6c ca 48 89 50 08 0f 11 07 48 83 c3 10 74 13\
>  48 39                                                                                                                  
> 2026-04-19T16:41:19.936157+03:00 box /usr/sbin/kamailio[944455]: CRITICAL: <core> [core/pass_fd.c:284]: receive_fd(): E\
> OF on 34                                                                                                                
> 2026-04-19T16:41:20.435008+03:00 box /usr/sbin/kamailio[944292]: ALERT: <core> [main.c:824]: handle_sigs(): child proce\
> ss 944355 exited by a signal 11                                                                                         
> 2026-04-19T16:41:20.435143+03:00 box /usr/sbin/kamailio[944292]: ALERT: <core> [main.c:828]: handle_sigs(): core was ge\
> nerated                                                                                                                 
> 2026-04-19T16:41:20.435191+03:00 box /usr/sbin/kamailio[944292]: INFO: <core> [main.c:851]: handle_sigs(): terminating \
> due to SIGCHLD
> 2026-04-19T16:41:20.435613+03:00 box /usr/sbin/kamailio[944405]: INFO: <core> [main.c:907]: sig_usr(): signal 15 receiv\
> ed
> ...
>
> and core dump shows this:
>
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
>     at ./nptl/pthread_kill.c:44
>
> warning: 44	./nptl/pthread_kill.c: No such file or directory
> (gdb) where
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
>     at ./nptl/pthread_kill.c:44
> #1  0x00007f7f7ef509ff in __pthread_kill_internal (threadid=<optimized out>, signo=6)
>     at ./nptl/pthread_kill.c:89
> #2  0x00007f7f7eefbcc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
> #3  0x00007f7f7eee44ac in __GI_abort () at ./stdlib/abort.c:77
> #4  0x0000558b1c926d45 in ?? ()
> #5  <signal handler called>
> #6  0x00007f7f7efb4907 in __GI_sched_yield () at ../sysdeps/unix/syscall-template.S:120
> #7  0x0000558b1cc6c7ed in timer_del_safe ()
> #8  0x0000558b1c9f8899 in destroy_dns_cache ()
> #9  0x0000558b1c932537 in cleanup ()
> #10 0x0000558b1c9332ed in ?? ()
> #11 0x0000558b1c933fd3 in handle_sigs ()
> #12 0x0000558b1c9395fd in main_loop ()
> #13 0x0000558b1c92ae91 in main ()
>
> Any ideas?
>
> -- Juha
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the sender!


-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Kamailio World Conference, May 7-8, 2026 - Berlin, Germany -- kamailioworld.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!