[sr-dev] [kamailio/kamailio] Kamailio 4.1 Segfault on qm_detach_free (#898)

MayamaTakeshi notifications at github.com
Fri Dec 23 00:22:40 CET 2016


The kamailio logs at the time of the crash:

2016-12-21T16:59:06.281803+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11158]: : <core> [msg_translator.c:2316]: build_res_buf_from_sip_req(): BUG:build_res_from_sip_req: diff len=420 p-buf=415
2016-12-21T16:59:07.269816+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11158]: : <core> [msg_translator.c:2316]: build_res_buf_from_sip_req(): BUG:build_res_from_sip_req: diff len=420 p-buf=415
2016-12-21T16:59:09.268711+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11156]: : <core> [msg_translator.c:2316]: build_res_buf_from_sip_req(): BUG:build_res_from_sip_req: diff len=420 p-buf=415
2016-12-21T16:59:13.266974+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11157]: : <core> [msg_translator.c:2316]: build_res_buf_from_sip_req(): BUG:build_res_from_sip_req: diff len=420 p-buf=415
2016-12-21T16:59:27.500692+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11154]: ALERT: <core> [main.c:775]: handle_sigs(): child process 11157 exited by a signal 11
2016-12-21T16:59:27.500826+09:00 IPX182 /usr/local/src/git/kamailio-4.1/kamailio[11154]: ALERT: <core> [main.c:778]: handle_sigs(): core was generated

That build_res_buf_from_sip_req BUG happens about 6 thousand times a day so I don't think it directly caused the crash unless by cumulative effect (we are running without issues for almost one year).

About parameter -x, I checked the code (main.c) and I understand this was not backported to previous versions. So I need to upgrade to 4.4 anyway.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/898#issuecomment-268912737
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161222/edca4b06/attachment.html>


More information about the sr-dev mailing list