[SR-Users] Core dumps/crash handlers

Alex Balashov abalashov at evaristesys.com
Sun Mar 7 19:37:24 CET 2021


For memory bugs like this ...

[mem/f_malloc.c:599]: fm_free(): BUG: fm_free: bad pointer 0x1 (out of 
memory block!), called from tm: h_table.c: free_cell_helper(185) - aborting

... I'd love to see a core dump, but unfortunately the SIGCHLD from the 
SIGABRT-terminated child is intercepted and leads to a graceful shutdown:

[main.c:743]: handle_sigs(): child process 16037 exited by a signal 6

Is there any way Kamailio can be set to dump core when this happens?

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list