[asterisk-bugs] [JIRA] (ASTERISK-21696) Assertion error results in crash in pjproject's ICE worker thread

Pedro Howat (JIRA) noreply at issues.asterisk.org
Mon Oct 7 11:31:03 CDT 2013


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

Pedro Howat commented on ASTERISK-21696:
----------------------------------------

This is in no way a fix for this but I was able to prevent these crashes with no apparent side effect by simply commenting the assertion in pjlib. I'm using this patch until I can dig into this code a little deeper and understand the real issue. 

--- /tmp/asterisk-11.5.1/res/pjproject/pjlib/src/pj/timer.c     2012-07-01 14:28:57.000000000 -0300
+++ pjproject/pjlib/src/pj/timer.c      2013-10-02 13:36:26.000000000 -0300
@@ -460,7 +460,7 @@
     pj_time_val expires;
 
     PJ_ASSERT_RETURN(ht && entry && delay, PJ_EINVAL);
-    PJ_ASSERT_RETURN(entry->cb != NULL, PJ_EINVAL);
+    //PJ_ASSERT_RETURN(entry->cb != NULL, PJ_EINVAL);
 
     /* Prevent same entry from being scheduled more than once */
     PJ_ASSERT_RETURN(entry->_timer_id < 1, PJ_EINVALIDOP);

                
> Assertion error results in crash in pjproject's ICE worker thread
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-21696
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21696
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 11.4.0
>         Environment: EC2 - Ubuntu 12.10 - 
> root at ip-10-188-135-200:/opt/asterisk-11.4.0-rc1/sbin# uname -a
> Linux ip-10-188-135-200 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: James Mortensen
>         Attachments: ast-crash-logs.txt, backtrace2.txt, backtrace.txt
>
>
> Asterisk 11.4.0-rc1 crashes on incoming calls. The crash is occasional and doesn't happen for every call.
> Below is the output from obtaining the backtrace as found here: https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
> [Edit by Rusty Newton - removed inline backtrace - please don't paste debug inline. Always attach as a separate file.
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines ]

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