[asterisk-bugs] [JIRA] (ASTERISK-28337) Regular segmentation faults

Jeroen Hermans (JIRA) noreply at issues.asterisk.org
Fri Mar 15 16:05:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246579#comment-246579 ] 

Jeroen Hermans commented on ASTERISK-28337:
-------------------------------------------

Hello Benjamin, Asterisk was compiled with:
Build Options:               DONT_OPTIMIZE, COMPILE_DOUBLE, BETTER_BACKTRACES, OPTIONAL_API

The crashes occur at moment with moderate traffic (~30 calls). There is no error in the logs. The problems started when because of queue-problems we switched to pjsip. So there are two main items that are changed: queuing from ringall to leastcalled and from chan_sip to chan_pjsip. Now i donnot believe either of them is the real cause of the problems.
Now i am looking at the logfiles and i see a lot of:
[2019-03-15 21:57:00] ERROR[22319][C-00000012]: pbx_functions.c:610 ast_func_read: Function SIP_HEADER not registered
[2019-03-15 21:57:00] ERROR[22319][C-00000012]: pbx_functions.c:653 ast_func_read2: Function SIP_HEADER not registered
[2019-03-15 21:57:00] ERROR[22319][C-00000012]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-15 21:57:00] ERROR[22319][C-00000012]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.

Surely this should not be there (dialplan problems probably), but i also donnot believe this can cause a segmentation fault in Asterisk.

The error in the logs that i am a little concerned about is:
[2019-03-15 21:56:59] WARNING[22306][C-00000012]: taskprocessor.c:895 taskprocessor_push: The 'subp:ast_channel_topic_all-000003fd' task processor queue reached 500 scheduled tasks again.
[2019-03-15 21:56:59] WARNING[22302][C-00000012]: taskprocessor.c:895 taskprocessor_push: The 'subm:ast_channel_topic_all-cached-000000ce' task processor queue reached 500 scheduled tasks again.

Not sure what these queues are and why they are filling up.
I really hope you can help me with this as this is actually a reinstalled PBX after the first one had exactly the same problems.

> Regular segmentation faults
> ---------------------------
>
>                 Key: ASTERISK-28337
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28337
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.22.0
>         Environment: OS: Red Hat Enterprise Linux 7.5-0.11
> Asterisk 13.22.0
> PJSIP: 2.7.2
> RAM: 6Gb
> VMware 4 cores
>            Reporter: Jeroen Hermans
>            Assignee: Jeroen Hermans
>              Labels: pjsip
>         Attachments: core.plusovpbx3.danego.net-2019-03-15T09-15-29+0100-brief.txt, core.plusovpbx3.danego.net-2019-03-15T09-15-29+0100-full.txt, core.plusovpbx3.danego.net-2019-03-15T09-15-29+0100-locks.txt, core.plusovpbx3.danego.net-2019-03-15T09-15-29+0100-thread1.txt
>
>
> The Asterisk process keeps producing a segmentation fault a few times a day. I have attached the coredump information of one of the segmentation faults.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list