[asterisk-bugs] [JIRA] Commented: (ASTERISK-20305) Asterisk crashing on Page()

Mark Michelson (JIRA) noreply at issues.asterisk.org
Mon Aug 27 14:58:07 CDT 2012


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

Mark Michelson commented on ASTERISK-20305:
-------------------------------------------

There are two things that need to be fixed here.

First, the new config options API needs to be more resilient in the face of unexpected circumstances. In this particular case, the app_confbridge passed in a structure with a NULL component where the config options API expected it to be non-NULL. This is the literal instruction that caused the crash in the first place.

Underlying this, however, is the fact that app_confbridge did not load properly (due to a missing confbridge.conf file) but still registered the CONFBRIDGE function, the CONFBRIDGE_INFO function, and the Confbridge() dialplan application. This will be easy to fix for app_confbridge, but I have a fear that this type of behavior is more widespread than just in app_confbridge though. I'll likely open an issue to get this addressed more thoroughly throughout.

> Asterisk crashing on Page()
> ---------------------------
>
>                 Key: ASTERISK-20305
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20305
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_page
>    Affects Versions: SVN
>         Environment: CentOS 6.3 on a Dell Optiplex 790 - Cisco SPA509G phones
>            Reporter: Noah Engelberth
>            Assignee: Matt Jordan
>         Attachments: backtrace-auto-answer-and-self.txt, backtrace-auto-answer-no-self.txt, backtrace-no-auto-answer.txt, debug-auto-answer-and-self.txt, debug-auto-answer-no-self.txt, debug-no-auto-answer.txt
>
>
> Asterisk crashes whenever I use the Page application to page 1 or more phones from one of my SIP handset.  
> My call to Page is as follows:
> exten => 398,1,Verbose(2,Page all phones)
> same => n,SIPAddHeader(Call-Info: <sip:172.16.19.1>\;answer-after=0)
> same => n,Page(SIP/649EF376C820,s,10)
> same => n,Hangup()
> I have replicated the crash under the following conditions:
> - Paging all phones (including the caller) via a Local/extension channel -- my test environment is a hotdesking environment, so my first attempt was to page by extension
> - Paging all phones (including the caller) via SIP/peer channels without the auto-answer SIP header (case no-auto-answer)
> - Paging all phones (including the caller) via SIP/peer channels with the auto-answer SIP header (case auto-answer-and-self)
> - Paging all phones except the caller via SIP/peer channels with the auto-answer SIP header (case auto-answer-no-self)
> - Paging one phone (as above), not the caller, via SIP/peer channel with the auto-answer SIP header
> Verbose 5 / Debug 5 logs attached as debug-*.txt
> BT attached as backtrace-*.txt

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list