[asterisk-bugs] [JIRA] (ASTERISK-23348) Allocation failure in ast_unreal_new_channels causes core dump

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Feb 24 00:32:03 CST 2014


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

Corey Farrell commented on ASTERISK-23348:
------------------------------------------

You are right, {{ast_channel_internal_alertpipe_init}} failed.  I found this by adding abort() to the error conditions of {{__ast_channel_alloc_ap}}.  Also, ulimit -n is 1024.

As for the limit, I'm not sure how many channels are being created but the backtrace only shows 225 threads.  I would guess this is due to my using timerfd, and the fix for ASTERISK-16783 (extra fd's from ast_channel_internal_alertpipe_init).
                
> Allocation failure in ast_unreal_new_channels causes core dump
> --------------------------------------------------------------
>
>                 Key: ASTERISK-23348
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23348
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: SVN, 12.0.0
>            Reporter: Corey Farrell
>         Attachments: backtrace_2414.txt, testsuite-error.txt
>
>
> Testsuite crashed on tests/masquerade.  Backtrace and testsuite error messages attached.

--
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