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

Duncan (JIRA) noreply at issues.asterisk.org
Thu Jan 27 15:41:06 CST 2022


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

Duncan commented on ASTERISK-29882:
-----------------------------------

I've obtained a more useful output by running gdb on the docker container that was running Asterisk, I think it may have had something to do with a version mismatch or missing access to shared library files from outside the container but I'm not exactly sure, sorry I'm pretty unfamiliar with gdb etc. Here is the output:

{code}
(gdb) frame 7
#7  0x00007f4039ffbeb5 in publish_chanspy_message (snoop=0x7f408035b688, start=<optimized out>) at res_stasis_snoop.c:138
138	res_stasis_snoop.c: No such file or directory.
(gdb) p snoop->spyee_chan
$1 = (struct ast_channel *) 0x0
(gdb) p *snoop->spyee_chan
Cannot access memory at address 0x0
{code}

> 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