[asterisk-bugs] [Asterisk 0017994]: [patch] crash in __ast_manager_event_multichan

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 12 11:00:07 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17994 
====================================================================== 
Reported By:                vrban
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17994
Category:                   Core/ManagerInterface
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
Target Version:             1.8.0
Asterisk Version:           1.8.0-beta5 
JIRA:                       SWP-2244 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-09-15 02:59 CDT
Last Modified:              2010-10-12 11:00 CDT
====================================================================== 
Summary:                    [patch] crash in __ast_manager_event_multichan
Description: 
Hello, today i got this core. See gdb output in gdb.txt
====================================================================== 

---------------------------------------------------------------------- 
 (0127876) svnbot (reporter) - 2010-10-12 11:00
 https://issues.asterisk.org/view.php?id=17994#c127876 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 291228

_U  trunk/
U   trunk/main/manager.c

------------------------------------------------------------------------
r291228 | dvossel | 2010-10-12 11:00:06 -0500 (Tue, 12 Oct 2010) | 23
lines

Merged revisions 291227 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291227 | dvossel | 2010-10-12 10:58:56 -0500 (Tue, 12 Oct 2010) | 16
lines
  
  Fixes manager.c crash.
  
  This issue was caused by improper use of the mansession lock and
  manession_session lock.  These two structures are confusing to begin
  with so I'm not surprised this occurred.  I fixed this by consistently
  making sure we use each of these locks only to protect the data
  in the corresponding structure.  We had mismatched usage of these
  locks which resulted in no mutual exclusivity occurring at all.
  
  
  (closes issue https://issues.asterisk.org/view.php?id=17994)
  Reported by: vrban
  Patches:
        mansession_locking_fix.diff uploaded by dvossel (license 671)
  Tested by: vrban
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=291228 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-12 11:00 svnbot         Checkin                                      
2010-10-12 11:00 svnbot         Note Added: 0127876                          
======================================================================




More information about the asterisk-bugs mailing list