[asterisk-dev] IMAP crashes

Matthew McAughan matt.mcaughan at gmail.com
Tue Feb 17 12:10:44 CST 2009


Using the commercial version of Asterisk from DRUID. It craters left and
right but not getting support we need. I need help from the group here to
keep asterisk in the organization. Here is interesting output from the log
file right before crashes involving IMAP.


/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: Not an atom:
/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: Bogus string list member:
/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: Bogus header field list: (NEWSGROUPS
/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: Unknown message property: (NEWSGROUPS
/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: IMAP server sent a blank line
/tmp/imap_warnings.txt:[Feb  2 15:13:43] WARNING[30210] app_voicemail.c:
IMAP Warning: Missing IMAP reply key: )
/tmp/imap_warnings.txt:[Feb  9 15:48:18] WARNING[26062] app_voicemail.c:
IMAP Warning: Missing IMAP reply key: *
Bå¾:|MDã>ZX×¾°ß¾§QQRìÕ>EÕ.§Fξ÷
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Unknown message property:
Ö}?âô]ÕJ2>(c)>
ìÒ'É>´@(c)(;F7¿#°Ö>±Ô
S?8ÐÀXÑI¿½Ñ§={?U(c)ûÍM¿HÆT<?X¥
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Unknown message property: ûFHÿ C


äÉ?MTD-E7?]XE1VÅÎV+

?FúâïF¿LÙÝè
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Unknown message property:
%KÂÉ?ùN?VA1ZÎ^¿U|ó0V]?YÛTÿ_¿¯P(c)ÆÀ^?ñ«¢KX¿W¹¤NO?-'ëâ*ÍA¿=S_í5K2]±
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: IMAP server sent a blank line
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Missing IMAP reply key: )
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Unknown message property: K
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: IMAP server sent a blank line
/tmp/imap_warnings.txt:[Feb 10 16:12:34] WARNING[15889] app_voicemail.c:
IMAP Warning: Missing IMAP reply key: )
/tmp/imap_warnings.txt:[Feb 12 03:37:01] WARNING[8728] app_voicemail.c: IMAP
Warning: Not an envelope: ETCH
/tmp/imap_warnings.txt:[Feb 12 03:37:01] WARNING[8728] app_voicemail.c: IMAP
Warning: Unknown message property: ª

Also here is a back trace of the two threads involved on one the crahses.
Pattern repeats on other crashes. Any ideas where to start?

Thread 4 (process 16797):
#0  0x0090e402 in __kernel_vsyscall ()
#1  0x0049c7c2 in alarm () from /lib/libc.so.6
#2  0x021c028b in mm_blocknotify (reason=1, data=0x0) at env_unix.c:1631
#3  0x021b7234 in fs_give (block=0x1969a44) at fs_unix.c:59
#4  0x021f05f2 in imap_parse_unsolicited (stream=0xb7a002c8,
reply=0xb7a0e9a4) at imap4r1.c:3637
#5  0x021f21cd in imap_reply (stream=0xb7a002c8, tag=0x1969f86 "0000101a")
at imap4r1.c:3453
#6  0x021f2248 in imap_sout (stream=0xb7a002c8, tag=0x1969f86 "0000101a",
base=0xb7a0e9f8 "", s=0x1969f98) at imap4r1.c:3411
#7  0x021f3c5c in imap_send (stream=0xb7a002c8, cmd=0x2264ad7 "FETCH",
args=0x1969fd8) at imap4r1.c:3045
#8  0x021f401c in imap_fetch (stream=0xb7a002c8, sequence=0xc362680 "1:17",
flags=<value optimized out>) at imap4r1.c:5427
#9  0x021f5e08 in imap_search (stream=0xb7a002c8, charset=0x0,
pgm=0xc2b35f0, flags=<value optimized out>) at imap4r1.c:2076
#10 0x021c8db3 in mail_search_full (stream=0xb7a002c8, charset=0x0,
pgm=0xc2b35f0, flags=<value optimized out>) at mail.c:2237
#11 0x01515bb5 in messagecount (context=0x196a6bd "druid-default",
mailbox=0x196a6b8 "2904", folder=0x0) at app_voicemail.c:1232
#12 0x0151613a in has_voicemail (mailbox=0x196c850 "2904 at druid-default",
folder=0x0) at app_voicemail.c:1413
#13 0x0151c65b in notify_new_message (chan=0xacf4d4c0, vmu=0x1979ee0,
msgnum=16, duration=50, fmt=0x196a850
"/var/spool/asterisk/voicemail/druid-default/2904/INBOX/msg0016.txt",
cidnum=0xacc92bc0 "9797318500", cidname=0xacc92e20 "DOCUMATION E TX") at
app_voicemail.c:4896
#14 0x0151e66f in leave_voicemail (chan=0xacf4d4c0, ext=0x197ac50
"2904 at druid-default", options=0x197adac) at app_voicemail.c:4085
#15 0x0151f419 in vm_exec (chan=0xacf4d4c0, data=0x197ce38) at
app_voicemail.c:7644
#16 0x080ccbeb in pbx_extension_helper (c=0xacf4d4c0, con=0x0,
context=0xacf4d640 "macro-ael-myvoicemail", exten=0xacf4d690
"sw-43-NOANSWER", priority=10, label=0x0, callerid=0xacc92bc0 "9797318500",
action=E_SPAWN) at pbx.c:537
#17 0x01444069 in _macro_exec (chan=0xacf4d4c0, data=<value optimized out>,
exclusive=0) at app_macro.c:308
#18 0x080ccbeb in pbx_extension_helper (c=0xacf4d4c0, con=0x0,
context=0xacf4d640 "macro-ael-myvoicemail", exten=0xacf4d690
"sw-43-NOANSWER", priority=126, label=0x0, callerid=0xacc92bc0 "9797318500",
action=E_SPAWN) at pbx.c:537
#19 0x01444069 in _macro_exec (chan=0xacf4d4c0, data=<value optimized out>,
exclusive=0) at app_macro.c:308
#20 0x080ccbeb in pbx_extension_helper (c=0xacf4d4c0, con=0x0,
context=0xacf4d640 "macro-ael-myvoicemail", exten=0xacf4d690
"sw-43-NOANSWER", priority=1, label=0x0, callerid=0xacf37cb0 "",
action=E_SPAWN) at pbx.c:537
#21 0x080cebf1 in __ast_pbx_run (c=0xacf4d4c0) at pbx.c:2317
#22 0x080cfc1e in pbx_thread (data=0xacf4d4c0) at pbx.c:2621
#23 0x080fe5cb in dummy_start (data=0xacf51978) at utils.c:912
#24 0x0015c45b in start_thread () from /lib/libpthread.so.0
#25 0x004dce5e in clone () from /lib/libc.so.6

Thread 1 (process 26598):
#0  ucase (s=0x0) at misc.c:43
#1  0x021efbc5 in imap_parse_unsolicited (stream=0xb7b12df8,
reply=0xb7b19da4) at imap4r1.c:3596
#2  0x021f21cd in imap_reply (stream=0xb7b12df8, tag=0x35e6236 "00001030")
at imap4r1.c:3453
#3  0x021f2248 in imap_sout (stream=0xb7b12df8, tag=0x35e6236 "00001030",
base=0xb7b19df8 "PERMANENTFLAGS", s=0x35e6248) at imap4r1.c:3411
#4  0x021f3c5c in imap_send (stream=0xb7b12df8, cmd=0x226447f "SELECT",
args=0x35e6e64) at imap4r1.c:3045
#5  0x021fa6d7 in imap_open (stream=0xb7b12df8) at imap4r1.c:957
#6  0x021d3de5 in mail_open (stream=0xb7b12df8, name=0x35e76aa
"{localhost:143/imap/authuser=cyrus/notls/user=aking}INBOX", options=0) at
mail.c:1220
#7  0x01509ca0 in init_mailstream (vms=0xb7b15808, box=1) at
app_voicemail.c:1526
#8  0x01515b04 in messagecount (context=0x35e7db5 "druid-default",
mailbox=0x35e7db0 "2934", folder=0x1526102 "Old") at app_voicemail.c:1205
#9  0x01516612 in inboxcount (mailbox_context=0xb7b12b20 "2934 at druid-default",
newmsgs=0x35ea298, oldmsgs=0x35ea294) at app_voicemail.c:1389
#10 0x0633b69b in sip_send_mwi_to_peer (peer=0xb7b125d8) at chan_sip.c:16019
#11 0x0633c12e in do_monitor (data=0x0) at chan_sip.c:16236
#12 0x080fe5cb in dummy_start (data=0xa521db0) at utils.c:912
#13 0x0015c45b in start_thread () from /lib/libpthread.so.0
#14 0x004dce5e in clone () from /lib/libc.so.6
(gdb) quit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090217/91756d62/attachment.htm 


More information about the asterisk-dev mailing list