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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 24 17:10:23 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14496 
====================================================================== 
Reported By:                vbcrlfuser
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14496
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
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-02-24 17:10 CST
====================================================================== 
Summary:                    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.


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

---------------------------------------------------------------------- 
 (0100668) vbcrlfuser (reporter) - 2009-02-24 17:10
 http://bugs.digium.com/view.php?id=14496#c100668 
---------------------------------------------------------------------- 
Thanks for the status update lmadsen. Will look for more info from
putnopvut as it becomes available.

Update from this end. Going on five days now no crashes. No complaints of
vmail performance using single threaded access either.

One clarification I want to make is it does not seem to matter when you
hung up so much as you hung up multiple calls in the process of leaving a
voice mail at the exact same time. 

That was the secret sauce to causing the segfaults. Placing locks around
every libc-client call has apparently fixed it. So I've concluded it is a
thread safety issue with libc-client. But that may not be the case when
someone looks deep enough in to it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-24 17:10 vbcrlfuser     Note Added: 0100668                          
======================================================================




More information about the asterisk-bugs mailing list