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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 30 11:43:26 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14496 
====================================================================== 
Reported By:                vbcrlfuser
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   14496
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
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-03-30 11:43 CDT
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 (0102401) vbcrlfuser (reporter) - 2009-03-30 11:43
 http://bugs.digium.com/view.php?id=14496#c102401 
---------------------------------------------------------------------- 
Will cut the patch eventually. The job that puts food on the table has been
taking all of my time, what is left is for the family, then Asterisk. Sorry
folks!

To reproduce this you have to disconnect from multiple calls in voicemail
at exactly the same time. The timing for duration in to voice mail does not
seem to be important but you do have to mind the short message detection.

This was happening on a production system in a SIP environment using
polycom handsets and SIP trunking from Paetec. And a stock 1.4.22 install
as well.

I was able to reproduce it using a custom PJSUA SIP client application
that simply called voicemail and left a 30 second message. Send a SIG KILL
to that process to get all calls to die on the client side simultaneously.
And whamo segfaults in Asterisk.

This would happen on our production system ohh about once a week I would
say. Company takes 500-700 calls a day, around lunch time typically two or
more users would be leaving voice mail, hang up right around the same time
and cause this segfault. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-30 11:43 vbcrlfuser     Note Added: 0102401                          
======================================================================




More information about the asterisk-bugs mailing list