[asterisk-bugs] [Asterisk 0017118]: Random crashes

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 25 14:40:20 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17118 
====================================================================== 
Reported By:                erikje
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17118
Category:                   Resources/res_timing_pthread
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1.18 
JIRA:                       SWP-1182 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-30 10:16 CDT
Last Modified:              2010-05-25 14:40 CDT
====================================================================== 
Summary:                    Random crashes
Description: 
Asterisk randomly crashes on me
I'm running Ubuntu Server and have tried asterisk 1.6.1.17 and 1.6.1.18

Asterisk randomly crashes, my first bt's pointed at 
https://issues.asterisk.org/view.php?id=0  0xb7f6d410 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1  0xb7e42085 in raise () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=2  0xb7e43a01 in abort () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=3  0xb7e7ab7c in ?? () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=4  0xb7f04138 in __fortify_fail () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=5  0xb7f040f0 in __stack_chk_fail ()
from /lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=6  0xb7af5d24 in
__ast_pthread_mutex_unlock (filename=0x2449 <Address
0x2449 out of bounds>, lineno=-1239132680, func=0x1 <Address 0x1 out of
bounds>,
    mutex_name=0x0, t=0xb62455f0) at
/usr/src/asterisk-1.6.1.18/include/asterisk/lock.h:731

But that is because of the stack protector, so i recompiled asterisk
without optimize and disabled the stack protector to generate the attached
backtrace


====================================================================== 

---------------------------------------------------------------------- 
 (0122430) lmadsen (administrator) - 2010-05-25 14:40
 https://issues.asterisk.org/view.php?id=17118#c122430 
---------------------------------------------------------------------- 
The information for how to use valgrind is available in doc/backtrace.txt
of your Asterisk source. Since switching away from res_timing_pthread seems
to have resolved your issue, unless you are able to reproduce the problem
and provide the valgrind information there isn't much point in leaving this
issue open.

I'm going to close this issue for now, but if you are able to provide the
information please reopen this issue. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-25 14:40 lmadsen        Note Added: 0122430                          
======================================================================




More information about the asterisk-bugs mailing list