[asterisk-bugs] [JIRA] (ASTERISK-29289) Asterisk randomly crashes with a segmentation fault

Kevin Godwin (JIRA) noreply at issues.asterisk.org
Thu Feb 11 07:26:15 CST 2021


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

Kevin Godwin commented on ASTERISK-29289:
-----------------------------------------

Hi,

I have attached the files produced when running ast_coredumper

There is no pattern to the crashes it is completely random and so I cannot confirm the steps needed to be taken to reproduce the crash.

Kevin


> Asterisk randomly crashes with a segmentation fault
> ---------------------------------------------------
>
>                 Key: ASTERISK-29289
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29289
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.1.0
>         Environment: Amazon Linux 2, Linux version 4.14.209-160.339.amzn2.x86_64 (mockbuild at ip-10-0-1-32) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-12) (GCC)) #1 SMP Wed Dec 16 22:44:04 UTC 2020. EC2 instance with 16 cores and 64GB ram
>            Reporter: Kevin Godwin
>            Assignee: Unassigned
>            Severity: Major
>         Attachments: core.13204-brief.txt, core.13204-full.txt, core.13204-info.txt, core.13204-locks.txt, core.13204-thread1.txt
>
>
> Asterisk will randomly crash, sometimes a couple of times a week, other times nothing for 2-3 weeks.
> The syslog message is:
> kernel: asterisk\[29725\]: segfault at 7fdf58411858 ip 00007fe23ca6f707 sp 00007fe050d36578 error 4 in res_pjsip.so\[7fe23ca4b000+65000\]
> The gdb back trace frame output is:
> #0  0x00007fe23ca6f707 in ast_str_hash (
>     str=0x7fdf58411858 <error: Cannot access memory at address 0x7fdf58411858>)
>     at /usr/src/asterisk-18.1.0/include/asterisk/strings.h:1210
> 1210		while (*str) {
> A full core dump file can be provided if required.



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



More information about the asterisk-bugs mailing list