(gdb) bt #0 0x080f3ecc in ast_copy_string (dst=0x0, src=0xb74bb795 "INBOX", size=80) at /home/patrick/asterisk-1.4.4/include/asterisk/strings.h:160 #1 0xb743f16d in imap_mailbox_name (spec=0xb6cc1d90 "o?È·¬#̶\"Ä\022\b\022", vms=0x0, box=0, use_folder=1) at app_voicemail.c:4614 #2 0xb743746a in imap_store_file (dir=0xb6cc30cc "/var/spool/asterisk/voicemail/default/2500/unavail", mailboxuser=0xb6cc42d4 "2500", mailboxcontext=0xb6cc4284 "default", msgnum=-1, chan=0x82246b8, vmu=0xb6cc4284, fmt=0xb6cc1cc0 "gsm", duration=2, vms=0x0) at app_voicemail.c:2426 #3 0xb744b936 in play_record_review (chan=0x82246b8, playfile=0xb74bce60 "vm-rec-unv", recordfile=0xb6cc30cc "/var/spool/asterisk/voicemail/default/2500/unavail", maxtime=0, fmt=0xb752bc60 "gsm", outsidecaller=0, vmu=0xb6cc4284, duration=0xb6cc416c, unlockdir=0x0, record_gain=0 '\0', vms=0x0) at app_voicemail.c:8018 #4 0xb744374d in vm_options (chan=0x82246b8, vmu=0xb6cc4284, vms=0xb6cc4788, fmtc=0xb752bc60 "gsm", record_gain=0 '\0') at app_voicemail.c:5833 #5 0xb74467e5 in vm_execmain (chan=0x82246b8, data=0xb6ccb008) at app_voicemail.c:6668 #6 0x080b5ee1 in pbx_exec (c=0x82246b8, app=0x81d61a8, data=0xb6ccb008) at pbx.c:532 #7 0x080b9327 in pbx_extension_helper (c=0x82246b8, con=0x0, context=0x8224838 "sip-internal", exten=0x8224888 "7777", priority=1, label=0x0, callerid=0x8202180 "2400", action=E_SPAWN) at pbx.c:1833 #8 0x080ba3f5 in ast_spawn_extension (c=0x82246b8, context=0x8224838 "sip-internal", exten=0x8224888 "7777", priority=1, callerid=0x8202180 "2400") at pbx.c:2288 #9 0x080ba8c5 in __ast_pbx_run (c=0x82246b8) at pbx.c:2388 #10 0x080bb61f in pbx_thread (data=0x82246b8) at pbx.c:2601 #11 0x080f50b9 in dummy_start (data=0x8225060) at utils.c:545 #12 0xb7ee8240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0xb7d133de in clone () from /lib/tls/i686/cmov/libc.so.6