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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 18 15:14:44 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-18 15:14 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0096663) svnbot (reporter) - 2008-12-18 15:14
 http://bugs.digium.com/view.php?id=13653#c96663 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 165767

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r165767 | tilghman | 2008-12-18 15:14:42 -0600 (Thu, 18 Dec 2008) | 8
lines

Add mutexes around accesses to the IMAP library interface.  This prevents
certain crashes, especially when shared mailboxes are used.
(closes issue http://bugs.digium.com/view.php?id=13653)
 Reported by: howardwilkinson
 Patches: 
       asterisk-1.4.21.2-appvoicemail-sharedimap-lock.patch uploaded by
howardwilkinson (license 590)
 Tested by: jpeeler

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-18 15:14 svnbot         Checkin                                      
2008-12-18 15:14 svnbot         Note Added: 0096663                          
======================================================================




More information about the asterisk-bugs mailing list