[asterisk-bugs] [Asterisk 0013653]: [patch] Shared IMAP mailboxes can cause the server to crash

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 12 18:22:05 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13653 
====================================================================== 
Reported By:                howardwilkinson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13653
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-09 09:02 CDT
Last Modified:              2008-12-12 18:22 CST
====================================================================== 
Summary:                    [patch] Shared IMAP mailboxes can cause the server
to crash
Description: 
If the IMAP mailbox used to hold the voice messages is shared amongst a
number of users then the server can crash with problems inside the UW-IMAP
C-Client code. This is caused by multiple threads trying to use the shared
structure that the c-client code produces for the mailbox stream.

The particular installation is using Cyrus Imap server, with
authuser/authpassword set and multiple users having the same imapuser
setting.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013671 asterisk random crashes: IMAP toolkit c...
parent of           0013673 [patch] Addition of a Mailbox id facili...
related to          0013214 Asterisk crashes or locks up when leavi...
====================================================================== 

---------------------------------------------------------------------- 
 (0096347) jpeeler (administrator) - 2008-12-12 18:22
 http://bugs.digium.com/view.php?id=13653#c96347 
---------------------------------------------------------------------- 
BlargMan: if you run asterisk in gdb and trace the code back up into
Asterisk, is the c-client call protected by a lock? It's possible that some
calls were missed.

I'm beginning to think this might be the best we can do here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-12 18:22 jpeeler        Note Added: 0096347                          
======================================================================




More information about the asterisk-bugs mailing list