[asterisk-bugs] [Asterisk 0013671]: asterisk random crashes: IMAP toolkit crash: Unlock when not locked

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 19 15:47:07 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13671 
====================================================================== 
Reported By:                Perry The Cynic
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13671
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-10 18:33 CDT
Last Modified:              2008-10-19 15:47 CDT
====================================================================== 
Summary:                    asterisk random crashes: IMAP toolkit crash: Unlock
when not locked
Description: 
Asterisk crashes randomly. The system log always contains this message:

Oct 10 13:23:47 hermod asterisk: IMAP toolkit crash: Unlock when not
locked

Needless to say, this makes my wife very unhappy. :)

Asterisk-1.4.22 with zaptel-1.4.12.1. No local hacks.
Debian GNU/Linux 4.0 (fully updated); Linux kernel 2.6.21.5 (custom); on a
custom VIA Esther-based mini-box.
IMAP server is Mac OS X Server 10.5.5 (Cyrus IMAP).

Please let me know what else I should be providing. This IMAP library
error supposedly indicates a re-entry of threading bug in the caller, which
in this case would be asterisk...

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

---------------------------------------------------------------------- 
 (0093950) Perry The Cynic (reporter) - 2008-10-19 15:47
 http://bugs.digium.com/view.php?id=13671#c93950 
---------------------------------------------------------------------- 
And another IMAP abort, with a somewhat different traceback. This was
leaving an about 2:10 long message and letting it time out (5 seconds
quiet). See asterisk-2.gdb. Note that I just switched from imap-2006i to
imap-2007a (the new abort is with the 2007a version). Sadly, that doesn't
seem to have helped.

 The debug log leading up to this was

    -- Zap/2-1 is ringing
    -- Nobody picked up in 27000 ms
    -- Hungup 'Zap/2-1'
    -- Hungup 'Zap/1-1'
    -- Executing [s at incoming-pots:29] NoOp("Zap/3-1", "Local ring =>
NOANSWER") in new stack
    -- Executing [s at incoming-pots:30] Goto("Zap/3-1", "sw-6-NOANSWER|10")
in new stack
    -- Goto (incoming-pots,sw-6-NOANSWER,10)
    -- Executing [sw-6-NOANSWER at incoming-pots:10] Macro("Zap/3-1",
"voicemail") in new stack
    -- Executing [s at macro-voicemail:1] Wait("Zap/3-1", "0.5") in new
stack
    -- Executing [s at macro-voicemail:2] Playback("Zap/3-1", "sorry2") in
new stack
    -- <Zap/3-1> Playing 'sorry2' (language 'en')
    -- Executing [s at macro-voicemail:3] VoiceMail("Zap/3-1",
"main at vm-cynics") in new stack
    -- <Zap/3-1> Playing 'vm-intro' (language 'en')
    -- <Zap/3-1> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing: 
/var/spool/asterisk/voicemail/vm-cynics/main/tmp/z5Wp56 format: wav,
0x81e8508
    -- x=1, open writing: 
/var/spool/asterisk/voicemail/vm-cynics/main/tmp/z5Wp56 format: gsm,
0x81e8720
    -- Recording automatically stopped after a silence of 5 seconds
    -- <Zap/3-1> Playing 'auth-thankyou' (language 'en')
[Oct 19 13:49:59] WARNING[25759]: app_voicemail.c:1710 mm_log: IMAP
Warning: Unexpected tagged response: 00005a2b OK [APPENDUID 1218413773 86]
Completed
[Oct 19 13:50:58] ERROR[25778]: app_voicemail.c:1773 mm_fatal: IMAP access
FATAL error: Unlock when not locked 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-19 15:47 Perry The CynicNote Added: 0093950                          
======================================================================




More information about the asterisk-bugs mailing list