#0 0x0017eba8 in __ast_pthread_mutex_trylock (filename=0x1814f3 "chan_local.c", lineno=176, func=0x1815aa "local_queue_frame", mutex_name=0x1815c5 "&other->lock", t=0xafa8c20) at /usr/src/asterisk-test/1.4.9/asterisk-1.4.9/include/asterisk/lock.h:302 302 t->thread[t->reentrancy] = pthread_self(); (gdb) bt #0 0x0017eba8 in __ast_pthread_mutex_trylock (filename=0x1814f3 "chan_local.c", lineno=176, func=0x1815aa "local_queue_frame", mutex_name=0x1815c5 "&other->lock", t=0xafa8c20) at /usr/src/asterisk-test/1.4.9/asterisk-1.4.9/include/asterisk/lock.h:302 #1 0x0017e772 in local_queue_frame (p=0xa68c538, isoutbound=1, f=0xa07773c, us=0xa5e5080) at chan_local.c:176 #2 0x0017f767 in local_write (ast=0xa5e5080, f=0xa07773c) at chan_local.c:292 #3 0x080855d5 in ast_write (chan=0xa5e5080, fr=0x9516460) at channel.c:2920 #4 0x080a3ecb in ast_readaudio_callback (data=0x9516430) at file.c:624 #5 0x08082cda in __ast_read (chan=0xa5e5080, dropaudio=0) at channel.c:2247 #6 0x08083ec3 in ast_read (chan=0xa5e5080) at channel.c:2528 #7 0x080a51c8 in waitstream_core (c=0xa5e5080, breakon=0x8131884 "0123456789#*ABCD", forward=0x814235c "", rewind=0x814235c "", skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1039 #8 0x080a5501 in ast_waitstream (c=0xa5e5080, breakon=0x8131884 "0123456789#*ABCD") at file.c:1104 #9 0x0805e881 in ast_play_and_wait (chan=0xa5e5080, fn=0x31ed92 "vm-savefolder") at app.c:463 #10 0x0030c738 in get_folder2 (chan=0xa5e5080, fn=0x31ed92 "vm-savefolder", start=1) at app_voicemail.c:3804 #11 0x00315dd4 in vm_execmain (chan=0xa5e5080, data=0x6f8cf70) at app_voicemail.c:6710 #12 0x080c280f in pbx_exec (c=0xa5e5080, app=0xb7d66048, data=0x6f8cf70) at pbx.c:532 #13 0x080c623b in pbx_extension_helper (c=0xa5e5080, con=0x0, context=0xa5e52a4 "home-auto-main", exten=0xa5e52f4 "999", priority=3, label=0x0, callerid=0x92af870 "DID REMOVED", action=E_SPAWN) at pbx.c:1833 #14 0x080c7607 in ast_spawn_extension (c=0xa5e5080, context=0xa5e52a4 "home-auto-main", exten=0xa5e52f4 "999", priority=3, callerid=0x92af870 "DID REMOVED") at pbx.c:2288 #15 0x080c7af5 in __ast_pbx_run (c=0xa5e5080) at pbx.c:2388 #16 0x080c88b2 in pbx_thread (data=0xa5e5080) at pbx.c:2603 #17 0x08105e0c in dummy_start (data=0x9151520) at utils.c:545 #18 0x006c13cc in start_thread () from /lib/tls/libpthread.so.0 #19 0x005c4c3e in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x0017eba8 in __ast_pthread_mutex_trylock (filename=0x1814f3 "chan_local.c", lineno=176, func=0x1815aa "local_queue_frame", mutex_name=0x1815c5 "&other->lock", t=0xafa8c20) at /usr/src/asterisk-test/1.4.9/asterisk-1.4.9/include/asterisk/lock.h:302 res = 0 canlog = -1 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_trylock" #1 0x0017e772 in local_queue_frame (p=0xa68c538, isoutbound=1, f=0xa07773c, us=0xa5e5080) at chan_local.c:176 other = (struct ast_channel *) 0xafa8ba8 __PRETTY_FUNCTION__ = "local_queue_frame" #2 0x0017f767 in local_write (ast=0xa5e5080, f=0xa07773c) at chan_local.c:292 p = (struct local_pvt *) 0xa68c538 res = -1 isoutbound = 1 __PRETTY_FUNCTION__ = "local_write" #3 0x080855d5 in ast_write (chan=0xa5e5080, fr=0x9516460) at channel.c:2920 res = -1 f = (struct ast_frame *) 0xa07773c __PRETTY_FUNCTION__ = "ast_write" #4 0x080a3ecb in ast_readaudio_callback (data=0x9516430) at file.c:624 fr = (struct ast_frame *) 0x9516460 s = (struct ast_filestream *) 0x9516430 whennext = 160 __PRETTY_FUNCTION__ = "ast_readaudio_callback" #5 0x08082cda in __ast_read (chan=0xa5e5080, dropaudio=0) at channel.c:2247 func = (int (*)(void *)) 0x80a3e76 data = (void *) 0x9516430 res = 0 f = (struct ast_frame *) 0x0 blah = 15 prestate = 6 __PRETTY_FUNCTION__ = "__ast_read" #6 0x08083ec3 in ast_read (chan=0xa5e5080) at channel.c:2528 No locals. #7 0x080a51c8 in waitstream_core (c=0xa5e5080, breakon=0x8131884 "0123456789#*ABCD", forward=0x814235c "", rewind=0x814235c "", skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1039 fr = (struct ast_frame *) 0xa3679d8 res = 983 ms = 1000 __PRETTY_FUNCTION__ = "waitstream_core" #8 0x080a5501 in ast_waitstream (c=0xa5e5080, breakon=0x8131884 "0123456789#*ABCD") at file.c:1104 No locals. #9 0x0805e881 in ast_play_and_wait (chan=0xa5e5080, fn=0x31ed92 "vm-savefolder") at app.c:463 d = 0 #10 0x0030c738 in get_folder2 (chan=0xa5e5080, fn=0x31ed92 "vm-savefolder", start=1) at app_voicemail.c:3804 res = 0 #11 0x00315dd4 in vm_execmain (chan=0xa5e5080, data=0x6f8cf70) at app_voicemail.c:6710 res = 0 ---Type to continue, or q to quit--- cmd = 57 valid = 1 u = (struct ast_module_user *) 0x9482e08 prefixstr = '\0' ext_context = '\0' box = 1 useadsi = 0 skipuser = 0 vms = {curbox = "Old\000X", '\0' , username = "4318", '\0' , curdir = "/var/spool/asterisk/voicemail/home/4318/Old\000X", '\0' , vmbox = "vm-Old\000X", '\0' , fn = "/var/spool/asterisk/voicemail/home/4318/Old/msg0000", '\0' , fn2 = "/var/spool/asterisk/voicemail/home/4318/Old/msg0000", '\0' , deleted = 0x92f1e00, heard = 0xa573c68, curmsg = 0, lastmsg = 7, newmessages = 0, oldmessages = 6, starting = 0, repeats = 0} vmu = (struct ast_vm_user *) 0x6f846d0 vmus = {context = "home", '\0' , mailbox = "4318", '\0' , password = "0756", '\0' , fullname = "Joyce Brickerton", '\0' , email = '\0' , pager = '\0' , serveremail = '\0' , mailcmd = '\0' , language = '\0' , zonetag = "eastern", '\0' , callback = "home", '\0' , dialout = "home", '\0' , uniqueid = '\0' , exit = "home", '\0' , attachfmt = '\0' , flags = 947, saydurationm = 2, maxmsg = 100, volgain = 0, list = {next = 0x0}} context = 0x6f84621 "home" silentexit = 0 flags = {flags = 0} record_gain = 0 '\0' play_auto = 0 play_folder = 1 __PRETTY_FUNCTION__ = "vm_execmain" #12 0x080c280f in pbx_exec (c=0xa5e5080, app=0xb7d66048, data=0x6f8cf70) at pbx.c:532 res = 116952576 saved_c_appl = 0x0 saved_c_data = 0x0 #13 0x080c623b in pbx_extension_helper (c=0xa5e5080, con=0x0, context=0xa5e52a4 "home-auto-main", exten=0xa5e52f4 "999", priority=3, label=0x0, callerid=0x92af870 "DID REMOVED", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xb4f62098 app = (struct ast_app *) 0xb7d66048 res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xa5e52a4 "home-auto-main"} passdata = "@home", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #14 0x080c7607 in ast_spawn_extension (c=0xa5e5080, context=0xa5e52a4 "home-auto-main", exten=0xa5e52f4 "999", priority=3, callerid=0x92af870 "DID REMOVED") at pbx.c:2288 No locals. ---Type to continue, or q to quit--- #15 0x080c7af5 in __ast_pbx_run (c=0xa5e5080) at pbx.c:2388 dst_exten = "ES-p3000-1465\000¤\000è\237O\tü«Ø·\020\000\000\000dÑ¥\000Agent/000000010\0000óh\tü«Ø·\020\000\000\000DÝU\000Agent/000000011\000HÕ\017\nü«Ø·\020\000\000\000dÑ¥\000Agent/00xD¹µ012\000h\\b\tü«Ø·\020\000\000\000dÑ¥\000AgenHXb\000DÝU\000\020\000\000\000\b÷\035\n°ÓU\000'.l\000\f\000\000\000ô?b\000\f\000\000\000@Xb\000\bóø\006V\004V\000'.l\000\f\000\000\000 \025\025\t\000\000\000\000\000\000\000\000"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #16 0x080c88b2 in pbx_thread (data=0xa5e5080) at pbx.c:2603 c = (struct ast_channel *) 0xa5e5080 #17 0x08105e0c in dummy_start (data=0x9151520) at utils.c:545 _buffer = {__routine = 0x806961a , __arg = 0x6f8fba0, __canceltype = 116978632, __prev = 0x0} ret = (void *) 0x6226f4 a = {start_routine = 0x80c889b , data = 0xa5e5080, name = 0xa1ebf30 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} #18 0x006c13cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #19 0x005c4c3e in clone () from /lib/tls/libc.so.6 No symbol table info available.