[asterisk-bugs] [Asterisk 0016891]: IAX2 crash's randomly

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 25 01:26:38 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16891 
====================================================================== 
Reported By:                potsboy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16891
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-24 07:04 CST
Last Modified:              2010-02-25 01:26 CST
====================================================================== 
Summary:                    IAX2 crash's randomly
Description: 
Asterisk crashes, last info in the logs are realtime related. Time's appear
totally random. Possibly related to issue 0015241. 
====================================================================== 

---------------------------------------------------------------------- 
 (0118532) potsboy (reporter) - 2010-02-25 01:26
 https://issues.asterisk.org/view.php?id=16891#c118532 
---------------------------------------------------------------------- 
[Feb 24 18:04:18] ERROR[32550]:
/usr/local/src/asterisk-1.4.26.2/include/asterisk/lock.h:319
__ast_pthread_mutex_destroy: astobj2.c line 231 (ao2_ref): Error: attempt
to destroy invalid mutex '&obj->priv_data.lock'.

I start getting this after running for 24 hours odd. And a lot of noise
from valgrind.

==32525== Invalid write of size 4
==32525==    at 0xA958283: iax2_poke_peer (chan_iax2.c:10249)
==32525==    by 0xA947154: __iax2_poke_peer_s (chan_iax2.c:7740)
==32525==    by 0xA955F4C: iax2_process_thread (chan_iax2.c:9944)
==32525==    by 0x4E434B: dummy_start (utils.c:856)
==32525==    by 0x3EBDE064A6: start_thread (in /lib64/libpthread-2.5.so)
==32525==    by 0x3EBD6D3C2C: clone (in /lib64/libc-2.5.so)
==32525==  Address 0x10542E44 is 708 bytes inside a block of size 760
free'd
==32525==    at 0x4A0541E: free (vg_replace_malloc.c:233)
==32525==    by 0x430AF8: ao2_ref (astobj2.c:240)
==32525==    by 0xA928309: peer_unref (chan_iax2.c:1285)
==32525==    by 0xA9503AF: socket_process (chan_iax2.c:9245)
==32525==    by 0xA955F13: iax2_process_thread (chan_iax2.c:9937)
==32525==    by 0x4E434B: dummy_start (utils.c:856)
==32525==    by 0x3EBDE064A6: start_thread (in /lib64/libpthread-2.5.so)
==32525==    by 0x3EBD6D3C2C: clone (in /lib64/libc-2.5.so)
==32525== 
==32525== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==32525==  General Protection Fault
==32525==    at 0xA959970: peer_destructor (chan_iax2.c:10636)
==32525==    by 0x430ABC: ao2_ref (astobj2.c:229)
==32525==    by 0xA928309: peer_unref (chan_iax2.c:1285)
==32525==    by 0xA9503AF: socket_process (chan_iax2.c:9245)
==32525==    by 0xA955F13: iax2_process_thread (chan_iax2.c:9937)
==32525==    by 0x4E434B: dummy_start (utils.c:856)
==32525==    by 0x3EBDE064A6: start_thread (in /lib64/libpthread-2.5.so)
==32525==    by 0x3EBD6D3C2C: clone (in /lib64/libc-2.5.so)
==32525== 
==32525== ERROR SUMMARY: 16038 errors from 126 contexts (suppressed: 469
from 1)
==32525== malloc/free: in use at exit: 16,881,129 bytes in 73,175 blocks.
==32525== malloc/free: 1,064,950 allocs, 991,801 frees, 512,672,863 bytes
allocated.
==32525== For counts of detected errors, rerun with: -v
==32525== searching for pointers to 73,175 not-freed blocks.
==32525== checked 47,858,960 bytes. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-25 01:26 potsboy        Note Added: 0118532                          
======================================================================




More information about the asterisk-bugs mailing list