[SR-Users] kamailio 5.0.6 | segfault bad msg or missing FROM header

Mojtaba mespio at gmail.com
Wed Sep 26 09:17:48 CEST 2018


Hi,
As i see the dump.txt file, Please paste the SIP signalling to check
more. As the log, the From header may be malformed syntax.
because when parsing the From header, the issue is occurred. This
error is raised  when Form header isn't parse properly.
Also check the shared and private memory. May be in while parsing the
sip message, "out of memory"  is occurred to.
Whit Regards.
Mojtaba Esfandiari.S
On Wed, Sep 26, 2018 at 9:58 AM Laurent Schweizer
<laurent.schweizer at peoplefone.com> wrote:
>
> Dear all,
>
>
>
> I have setup few weeks ago a kamailio 5.0.6, was working correctly till last night where 2 time he stop with a segfault error :
>
>
>
>
>
> Sep 25 23:36:19 ch0012 kamailio[18696]: ERROR: <core> [core/parser/parse_from.c:53]: parse_from_header(): bad msg or missing FROM header
>
> Sep 25 23:36:19 ch0012 kernel: kamailio[18696]: segfault at 0 ip 00000000004d7c4f sp 00007fff16135130 error 4 in kamailio[400000+42b000]
>
> Sep 25 23:36:19 ch0012 kernel: kamailio[18682]: segfault at 0 ip 00000000004d7c4f sp 00007fff16135130 error 4 in kamailio[400000+42b000]
>
> Sep 25 23:36:19 ch0012 kamailio[18696]: ERROR: siptrace [siptrace.c:535]: sip_trace_prepare(): cannot parse FROM header
>
> Sep 25 23:36:19 ch0012 kamailio[18682]: ERROR: <core> [core/parser/parse_from.c:53]: parse_from_header(): bad msg or missing FROM header
>
> Sep 25 23:36:19 ch0012 kamailio[18682]: ERROR: siptrace [siptrace.c:535]: sip_trace_prepare(): cannot parse FROM header
>
> Sep 25 23:36:19 ch0012 abrt-hook-ccpp: Process 18696 (kamailio) of user 0 killed by SIGSEGV - ignoring (repeated crash)
>
> Sep 25 23:36:19 ch0012 abrt-hook-ccpp: Process 18682 (kamailio) of user 0 killed by SIGSEGV - dumping core
>
> Sep 25 23:36:20 ch0012 abrt-hook-ccpp: Saved core dump of pid 18696 to core.18696 at / (2294079488 bytes)
>
> Sep 25 23:36:20 ch0012 kamailio[18759]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 31
>
> Sep 25 23:36:20 ch0012 kamailio[18679]: ALERT: <core> [main.c:743]: handle_sigs(): child process 18696 exited by a signal 11
>
> Sep 25 23:36:20 ch0012 kamailio[18679]: ALERT: <core> [main.c:746]: handle_sigs(): core was generated
>
> Sep 25 23:36:20 ch0012 kamailio[18679]: INFO: <core> [main.c:768]: handle_sigs(): terminating due to SIGCHLD
>
> Sep 25 23:36:20 ch0012 kamailio[18759]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18754]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18758]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18757]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18753]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18752]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18756]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18751]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18746]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18747]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
> Sep 25 23:36:20 ch0012 kamailio[18750]: INFO: <core> [main.c:823]: sig_usr(): signal 15 received
>
>
>
> I have exported from the core file some info (file is attached), any idea ?
>
>
>
> BR
>
>
>
> Laurent
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



-- 
--Mojtaba Esfandiari.S



More information about the sr-users mailing list