[asterisk-bugs] [Asterisk 0014496]: [patch] IMAP crash multiple callers / callers hangup at beep

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 1 09:55:49 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14496 
====================================================================== 
Reported By:                vbcrlfuser
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14496
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-17 22:10 CST
Last Modified:              2009-07-01 09:55 CDT
====================================================================== 
Summary:                    [patch] IMAP crash multiple callers / callers hangup
at beep
Description: 
A multiple CPU machine + asterisk-1.4.22 + imap2004g, with more than one
user in voicemail (not the same mailbox) disconnecting right after or close
to beep + 3 seconds timeout for abandon causes, is a bad combination.  

In same cases IMAP warnings about parsing response and in most cases a
segfault. I'd like to know what the root cause is and what fixes it? I can
produce any backtraces / scenarios anyone needs to lend a hand here.


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

---------------------------------------------------------------------- 
 (0107303) mmichelson (administrator) - 2009-07-01 09:55
 https://issues.asterisk.org/view.php?id=14496#c107303 
---------------------------------------------------------------------- 
The patch looks good with one exception, specifically the section about the
configure script. The documentation is a bit off both before and after your
change.

Currently, the configure script assumes that you have uw-imap toolkit
source installed at .. and that the name of the directory is "imap-2004g"
if you do not specify an argument for --with-imap. The thing is, you could
put imap-2007e or any other source in that directory since all the
configure script is looking for is the directory name.

Now, what we could do is modify the documentation and the configure script
so that things are more generic. Perhaps we can clearly document that we
expect to find a directory called ../imap and that it may have any version
of the imap source in it for the case where --with-imap is given no
argument. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-01 09:55 mmichelson     Note Added: 0107303                          
======================================================================




More information about the asterisk-bugs mailing list