[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:57:12 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13653 
====================================================================== 
Reported By:                howardwilkinson
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   13653
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-09 09:02 CDT
Last Modified:              2008-12-18 15:57 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0096681) svnbot (reporter) - 2008-12-18 15:57
 http://bugs.digium.com/view.php?id=13653#c96681 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 165808

_U  branches/1.6.1/
U   branches/1.6.1/apps/app_voicemail.c

------------------------------------------------------------------------
r165808 | tilghman | 2008-12-18 15:57:10 -0600 (Thu, 18 Dec 2008) | 22
lines

Merged revisions 165797 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r165797 | tilghman | 2008-12-18 15:41:02 -0600 (Thu, 18 Dec 2008) | 15
lines
  
  Merged revisions 165767 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r165767 | tilghman | 2008-12-18 15:14:47 -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=165808 

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




More information about the asterisk-bugs mailing list