[asterisk-bugs] [Asterisk 0012987]: IMAP (apparently) causing system crash

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 7 10:21:31 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12987 
====================================================================== 
Reported By:                mthomasslo
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12987
Category:                   Applications/app_voicemail
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-03-2008 14:47 CDT
Last Modified:              07-07-2008 10:21 CDT
====================================================================== 
Summary:                    IMAP (apparently) causing system crash
Description: 
Intermittently, and without any apparent pattern, the system will stop
responding.  For each failure (3 within the past 3 days) the message log
has two IMAP warnings immediately prior to the crash:

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ad5d OK SEARCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000cb22f OK [APPENDUID 1 287] APPEND completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000cb420 OK [READ-WRITE]SELECT completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000ad5d OK SEARCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ee4c OK FETCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ad66 OK NOOP completed


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

---------------------------------------------------------------------- 
 mthomasslo - 07-07-08 10:21  
---------------------------------------------------------------------- 
First I tried to use the trunk version of app_voicemail in a make of
1.4.20.1, but this resulted in many compile errors (undeclared variables
etc.) so I abandoned that idea.
Second I installed svn trunk in it's entireity, but this didn't work very
well.  System would crash on segmentation errors about once a minute.
Third, I noticed that 1.6.0 beta 9 uses a similar version of voicemail so
I installed that, and observed the following four problems:
1. the "new" prompt is called by the app with vm-Inbox.gsm at times and
vm-INBOX.gsm at others.  The make only installs vm-INBOX.gsm.  (I copied
the file with the other name to correct this).
2. When the gain is set to anything other than zero, the "volumne"
increases (or decreases) each time the message is forwarded.
3. When attempting to forward a message with appended comments, it fails
with the logged entry "Warning{xxxxx]: app_voicemail.c: 1860 copy: Unable
to open /var/spool/asterisk/voicemail/default/<box number>//msg0000.txt in
read-only mode"
4. Comedian Mail hangs-up call after saving a message to the "old"
folder.

Then the major problem, after working properly for about 5 minutes, the
system crashed completely with the logged entry "ERROR{xxxxx}:
app_voicemail.c:9592 mm_fatal: IMAP access FATAL error: Unlock when not
locked Aborted"

I gave up and have temporarily gone back to 1.4.20.1 using the traditional
message storage. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-08 10:21  mthomasslo     Note Added: 0089827                          
======================================================================




More information about the asterisk-bugs mailing list