[asterisk-bugs] [JIRA] (ASTERISK-25384) Regular Asterisk crashes when using Page application. "user_data is NULL"

Chet Stevens (JIRA) noreply at issues.asterisk.org
Wed Sep 9 09:37:32 CDT 2015


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

Chet Stevens commented on ASTERISK-25384:
-----------------------------------------

Just a brief description of the dialplan for this example.

1. [globals] has page group defined with list (page_group_ns_south) of extension numbers.
2. User presses key on extension which dials "Page_NS_South" in [features].
3. GoSub to [sub_page] passing "NS_South" as argument.
4. Iterate through list of extensions and build dial string excluding extensions that are INVALID, UNAVAILABLE, or the extension performing the page. (ex.  PJSIP/5830_line&PJSIP/5896_line).
5. Page using the 'b' option to call [sub_add_headers] passing "Alert-Info" and "intercom" as arguments.
6. [sub_add_headers] adds in the SIP header to make the extensions auto off-hook.

We had previously been using similar dialplan with Chan_SIP with the exception of the "b" option.

> Regular Asterisk crashes when using Page application. "user_data is NULL"
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-25384
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25384
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_page
>    Affects Versions: 13.1.0, 13.5.0
>         Environment: Asterisk certified/13.1-cert3-rc1 (snapshot 88ee3b3 dated 8/31/15)
> PJSIP with PJProject 2.4.5
> DAHDI 2.10.2
> libpri version: 1.4.15
> Digium Phone Module for Asterisk Version 13.0_2.2.0
> Digium Phone firmware 2_0_1_0_74452
> Ubuntu Server 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) 
> HP ProLiant DL380p Gen8 with 16 GB memory 
> Wildcard AEX2400: wctdm24xxp+ 
> Wildcard TE420 (5th Gen): wct4xxp+
>            Reporter: Chet Stevens
>         Attachments: backtrace.txt, debug.zip, extensions_excerpt.conf
>
>
> We have been experiencing crashes/segfaults in Asterisk on a regular basis on multiple servers when attempting to use the Page application. This happens roughly half the times the application is used. Normally the last thing seen in the log is one or more lines of:
> {noformat}
> [Sep  9 06:31:21] ERROR[637][C-0000001a] astobj2.c: user_data is NULL
> {noformat}
> A backtrace, debug for the minute of the crash with previous 100k lines, and an excerpt of the dialplan used for the Page will be attached. For reference the time of the crash is:
> {noformat}
> Sep  9 06:31:21 0099-Education-Center kernel: [ 4194.978848] asterisk[637]: segfault at 95c ip 0000000000466220 sp 00007fa4578321a0 error 4 in asterisk[400000+2ab000]
> {noformat}



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



More information about the asterisk-bugs mailing list