[asterisk-bugs] [Asterisk 0010316]: Crash on ast_openstream on disconnected (at that moment) channel

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 29 14:56:19 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10316 
====================================================================== 
Reported By:                datacompboy
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10316
Category:                   Core-General
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             07-26-2007 23:52 CDT
Last Modified:              10-29-2007 14:56 CDT
====================================================================== 
Summary:                    Crash on ast_openstream on disconnected (at that
moment) channel
Description: 

(gdb) backtrace
http://bugs.digium.com/view.php?id=0  0x000000000044bb0d in ast_closestream ()
http://bugs.digium.com/view.php?id=1  0x000000000044be75 in ast_stopstream ()
http://bugs.digium.com/view.php?id=2  0x000000000044dbb5 in ast_openstream_full
()
http://bugs.digium.com/view.php?id=3  0x00002aaac3a64c45 in basic_play_sound
(member=0x8075b0, file=0x8242c0
"ps/default/client-leave", mute=0)
    at conference.c:2807
http://bugs.digium.com/view.php?id=4  0x00002aaac3a61b54 in remove_member
(member=0x824580, conf=0x8063e0)
at conference.c:985
http://bugs.digium.com/view.php?id=5  0x00002aaac3a6aa09 in
member_process_spoken_frames (conf=0x8063e0,
member=0x824580, spoken_frames=0x4086f038,
    time_diff=23, listener_count=0x4086f030, speaker_count=0x4086f034) at
member.c:3249
http://bugs.digium.com/view.php?id=6  0x00002aaac3a606c4 in conference_exec
(conf=0x8063e0) at
conference.c:206
http://bugs.digium.com/view.php?id=7  0x000000000049221c in ?? ()
http://bugs.digium.com/view.php?id=8  0x00002b8300296317 in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=9  0x00002b8300c6faad in clone () from
/lib/libc.so.6

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

---------------------------------------------------------------------- 
 file - 10-29-07 14:56  
---------------------------------------------------------------------- 
Like I said, this is an underlying issue in app_conference. It should not
be calling ast_openstream on a channel like this without holding the
channel lock (which would prevent the channel from going away while
ast_openstream is being called on it). Simply checking for the presence of
f->fmt is not the fix as it is not being protected. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-29-07 14:56  file           Status                   new => resolved     
10-29-07 14:56  file           Resolution               reopened => not fixable
10-29-07 14:56  file           Assigned To               => file            
10-29-07 14:56  file           Note Added: 0072681                          
======================================================================




More information about the asterisk-bugs mailing list