[sr-dev] Kamailio 5.1 nightly (rc2) crashing - udp_rcv_loop(): print buffer building failed

George Diamantopoulos georgediam at gmail.com
Thu Nov 30 00:07:39 CET 2017


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...

Thanks

On 29 November 2017 at 18:10, George Diamantopoulos <georgediam at gmail.com>
wrote:

> Hello,
>
> 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.
>
> Now kamailio crashes after a while, with the following output in the logs:
>
> 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
> Nov 29 15:47:05 modcom-sbc-dev1 kamailio[2497]: 121(2620) CRITICAL: <core>
> [core/pass_fd.c:277]: receive_fd(): EOF on 26
> 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?)
> 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
> 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
> Nov 29 15:47:05 modcom-sbc-dev1 kamailio[2497]:  0(2499) INFO: <core>
> [main.c:771]: handle_sigs(): terminating due to SIGCHLD
> Nov 29 15:47:05 modcom-sbc-dev1 kamailio[2497]:  0(2499) DEBUG: <core>
> [main.c:773]: handle_sigs(): terminating due to SIGCHLD
> Nov 29 15:47:05 modcom-sbc-dev1 kamailio[2497]: 118(2617) INFO: <core>
> [main.c:826]: sig_usr(): signal 15 received
>
> Let me know if I can somehow help dissect this issue, I don't really know
> where to start. Thanks.
>
> BR,
> George
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171130/88bc3b8e/attachment.html>


More information about the sr-dev mailing list