[asterisk-bugs] [JIRA] (ASTERISK-29882) Occasional segfaults in production

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Jan 27 15:41:07 CST 2022


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

Kevin Harwell commented on ASTERISK-29882:
------------------------------------------

Hrm would really like to know if that value is indeed NULL. It appears to be at the correct address, but maybe missing symbols now. Did you perhaps copy the core file to another system, or reinstall Asterisk since obtaining and loading the core in {{gdb}}? If so that might account for it.

Otherwise, maybe next time it crashes load the new core file into {{gdb}}, look for the frame number in the stack trace that matches to the {{publish_chanspy_message}} function, and then see what the output is for that variable on that frame.

How often does it crash? Also, next time it does go ahead and post thread1 again if you can. I'm curious if it crashes in the same place every time.

> Occasional segfaults in production
> ----------------------------------
>
>                 Key: ASTERISK-29882
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29882
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 18.8.0
>         Environment: Debian Stretch in Docker
>            Reporter: Duncan
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: coreFile-thread1.txt, Screenshot from 2021-12-20 09-09-29.png
>
>
> Hi team,
> We are seeing Asterisk instances occasionally segfault in production. This happens in our voicemail handling stasis app, which includes playing media to the caller, and then recording the caller, managed through ARI. We don't know what the steps are to reproduce the issue as we have never reproduced it ourselves, but suspect it is probably some kind of race condition.
> I have attached coreFile-thread1.txt from the core dump. We have all the other core dump *.txt files but would prefer not to post these publicly in case they could contain any sensitive data. I would be happy to provide these directly to a maintainer via email. We’re happy to assist debugging this issue if at all possible, and have some C experience but no experience working on Asterisk. Please get in touch if we can do anything to help troubleshoot further.
> Many thanks



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



More information about the asterisk-bugs mailing list