[asterisk-bugs] [JIRA] (ASTERISK-21305) Segfault when hanging up channels active in MeetMe with recording

Michael L. Young (JIRA) noreply at issues.asterisk.org
Fri Mar 29 12:27:01 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael L. Young updated ASTERISK-21305:
----------------------------------------

    Attachment: asterisk-21305-meetme_rec_lchan_hangup.diff

Based on a quick look at the code and the backtrace, I think that the listening channel used for recording is being hungup and the recording thread is still trying to access it.  That is why it only happens when the record option is turned on.

I will admit that I am not an expert with the app_meetme code but I think this patch might fix the problem.  It checks to see if the channel has been requested to be hungup before trying to read from it.
                
> Segfault when hanging up channels active in MeetMe with recording
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-21305
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21305
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_meetme
>    Affects Versions: 1.8.15.1, 1.8.20.0, 11.2.1
>         Environment: Asterisk Now 2.0.0
> Asterisk Now 3.0.0
>            Reporter: Pedro Peña
>            Assignee: Rusty Newton
>         Attachments: asterisk-21305-meetme_rec_lchan_hangup.diff, backtrace1.txt, backtrace2.txt, backtrace3.txt, extensions_custom.conf, meetme_segfault.sh, trace-ASTERISK21305.txt
>
>
> The attached bash script (meetme_segfault.sh) causes a segfault in conjunction with the attached dialplan (extensions_custom.conf). The segfault happens in less than 10 seconds almost always.
> Note that if record disabled (comment line 3, uncomment line 4) the segfault not occurs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list