GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:20:28 GMT 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries ......... done Attaching to program: `/usr/sbin/asterisk', process 22841. Reading symbols for shared libraries . done 0x90032484 in wait4 () (gdb) bt #0 0x90032484 in wait4 () #1 0x000203b0 in op_compl (a=0x3e) at ast_expr2.y:1417 #2 0x0001f560 in op_lt (a=0x14, b=0x90002f90) at ast_expr2.y:1155 #3 0x000110b4 in ast_aoc_manager_event (decoded=0x3024f0, chan=0x0) at aoc.c:1509 #4 0x000121e0 in ast_app_run_macro (autoservice_chan=0xc24bc195, macro_chan=0x87859393, macro_name=0xbffff600 "`\"\"\"B", macro_args=0x22222244
) at app.c:223 #5 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #6 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 #7 0x000121b4 in ast_app_run_macro (autoservice_chan=0x2e418, macro_chan=0x0, macro_name=0x0, macro_args=0x0) at app.c:221 #8 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #9 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 #10 0x00013358 in ast_control_streamfile (chan=0x0, file=0x302ab0 "", fwd=0xbffff440 "p$\"B", rev=0x44224242
, stop=0x1078c "/", suspend=0x1 "", restart=0x302e80 "( while true; do\n ( sleep 10; eval \"renice -20 \\$(cat /var/run/asterisk.pid)\" ) & /usr/sbin/asterisk -f; while true; do\n foo=($(ps -x | grep mpg\\[1]23)); if [ ${#foo[*]} -le 0 ]; then\n "..., skipms=255, offsetms=0x90000) at app.c:545 #11 0x0001120c in ast_aoc_manager_event (decoded=0x302a30, chan=0x0) at aoc.c:1526 #12 0x00011d40 in ast_app_getdata (c=0xc24bc195, prompt=0x87859393
, s=0xc24bc195
, maxlen=-2021289069, timeout=-1035222635) at app.c:152 #13 0x00010d2c in aoc_d_event (decoded=0x12118, chan=0x90002f90, msg=0xbffff680) at aoc.c:1438 #14 0x00012118 in ast_app_run_macro (autoservice_chan=0xbffffcb3, macro_chan=0xbffffcc3, macro_name=0xbffffcd0 "SSH_CONNECTION=192.168.0.3 63615 192.168.0.100 22", macro_args=0xbffffd02 "INFOPATH=/sw/share/info:/sw/info:/usr/share/info") at app.c:217 #15 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #16 0x000109e0 in aoc_s_event (decoded=0x17000, owner=0x8c614, msg=0x2f) at aoc.c:1373 #17 0x000051a4 in __adsi_transmit_messages (chan=) at res_adsi.c:302 #18 0x00003284 in adsi_generate (buf=0x0, msgtype=0, msg=0x0, msglen=0, msgnum=0, last=0, codec=-4446247359130266733) at res_adsi.c:90 #19 0x00002220 in xmlTextReaderRead () #20 0x000020c8 in xmlTextReaderRead () (gdb) bt full #0 0x90032484 in wait4 () No symbol table info available. #1 0x000203b0 in op_compl (a=0x3e) at ast_expr2.y:1417 v1 = 3153504 r = (struct val *) 0x8e9d4 #2 0x0001f560 in op_lt (a=0x14, b=0x90002f90) at ast_expr2.y:1155 r = (struct val *) 0x90000 #3 0x000110b4 in ast_aoc_manager_event (decoded=0x3024f0, chan=0x0) at aoc.c:1509 msg = (struct ast_str *) 0x0 __PRETTY_FUNCTION__ = '\0' #4 0x000121e0 in ast_app_run_macro (autoservice_chan=0xc24bc195, macro_chan=0x87859393, macro_name=0xbffff600 "`\"\"\"B", macro_args=0x22222244
) at app.c:223 macro_app = (struct ast_app *) 0xffffffff res = -1 buf = "\000\000\000\000\000\000\000\000\000\bc\000\000\000\000\0000%$\"B(\000\001\022\0000\036P\000\000\000\000\000\000\000\000\000\t\000\000\0000\022 ", '\0' , "\bh@\000\000\000\000\000\b\000\000\000\000\000\002\030\000\000\000\024\000/\000\t\000\000\000\t", '\0' , "0\022 \0000%\0000\036P\000\000\000\000\000\b\020D\"B$\000\001\t\000\000\000 \000/\001\000\000\000\t\000\000\000/\000/\000\000\000 \000\000\000\000\0000+\000"... __PRETTY_FUNCTION__ = '\0' #5 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 No locals. #6 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 rate_str = 0x90000 "" prefix = "\0000)\000\000\000\000\000\000\000\000\000\bp\000\000\000\000\000\001!\000\000\000" idx = -1 #7 0x000121b4 in ast_app_run_macro (autoservice_chan=0x2e418, macro_chan=0x0, macro_name=0x0, macro_args=0x0) at app.c:221 macro_app = (struct ast_app *) 0xffffffff res = -1 buf = "\000\000\000\000\000\000\000\000\000\bc\000\000\000\000\0000)п\000$\"B(\000\001\022\000\t", '\0' , "\000\000\t\000\000\000\000\000\000\000\bh@\0000)\000\b\000D\"B\"\000\002\030", '\0' , "\t\000\000\000\t", '\0' , "0+\000\000\t\000\000\0000)\0000\022 \0000)\000\bPD\"B$\000\001\t\000d", '\0' , "\001\000\000\000\001\001\002\b\000^\000\000\000\000\000"... __PRETTY_FUNCTION__ = '\0' #8 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 No locals. #9 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 rate_str = 0x90000 "" prefix = "\000\000\000\000\000\000\000\000\0000)\000\b\000\000\000\000\000\0013X\000\000\000" idx = -1 #10 0x00013358 in ast_control_streamfile (chan=0x0, file=0x302ab0 "", fwd=0xbffff440 "p$\"B", rev=0x44224242
, stop=0x1078c "/", suspend=0x1 "", restart=0x302e80 "( while true; do\n ( sleep 10; eval \"renice -20 \\$(cat /var/run/asterisk.pid)\" ) & /usr/sbin/asterisk -f; while true; do\n foo=($(ps -x | grep mpg\\[1]23)); if [ ${#foo[*]} -le 0 ]; then\n "..., skipms=255, offsetms=0x90000) at app.c:545 breaks = 0x0 end = 0xffffffff
blen = -1 res = -1 pause_restart_point = 1 offset = -1879023812 __PRETTY_FUNCTION__ = '\0' #11 0x0001120c in ast_aoc_manager_event (decoded=0x302a30, chan=0x0) at aoc.c:1526 _chans = {0x302e80} msg = (struct ast_str *) 0x1078c __PRETTY_FUNCTION__ = '\0' #12 0x00011d40 in ast_app_getdata (c=0xc24bc195, prompt=0x87859393
, s=0xc24bc195
, maxlen=-2021289069, timeout=-1035222635) at app.c:152 res = 0 to = 0 fto = 0 front = 0xbffff500 "KKKKKKKKKKKKKK" filename = 0x0 #13 0x00010d2c in aoc_d_event (decoded=0x12118, chan=0x90002f90, msg=0xbffff680) at aoc.c:1438 charge_str = 0x0 idx = -1881078444 prefix = '\0' , " \000/\000\000\000\000\000\t\000\000\000\t\000" #14 0x00012118 in ast_app_run_macro (autoservice_chan=0xbffffcb3, macro_chan=0xbffffcc3, macro_name=0xbffffcd0 "SSH_CONNECTION=192.168.0.3 63615 192.168.0.100 22", macro_args=0xbffffd02 "INFOPATH=/sw/share/info:/sw/info:/usr/share/info") at app.c:217 __x = 0xc "" macro_app = (struct ast_app *) 0xffffffff res = -1 buf = "\000\000\000\000\000\000\000\000\000\bc\000\000\000\000\0000*\"\"\002H\000\001\022", '\0' , "T\000\t", '\0' , "\t", '\0' , "\bh@d\000\000\000\000\000/\000\002\030", '\0' , "T\000\000\000\f\0000*\0000+\000d\000\000\000\000@B\000\002D\000\001\t", '\0' , "T\000\000\000\f\000\000\000\002\000\000\001\001\000\000\000", '\0' , "\f\000\000\000\002\000\b\024d\000\000\000\000p"... __PRETTY_FUNCTION__ = '\0' #15 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 No locals. #16 0x000109e0 in aoc_s_event (decoded=0x17000, owner=0x8c614, msg=0x2f) at aoc.c:1373 rate_str = 0xc "" prefix = "\000\000\000\002\000\b\024d\000\000\000\000p\000/\000\000Q\000/" idx = 0 #17 0x000051a4 in __adsi_transmit_messages (chan=) at res_adsi.c:302 buf = (gdb) thread apply all bt Thread 1 (process 22841 thread 0x203): #0 0x90032484 in wait4 () #1 0x000203b0 in op_compl (a=0x3e) at ast_expr2.y:1417 #2 0x0001f560 in op_lt (a=0x14, b=0x90002f90) at ast_expr2.y:1155 #3 0x000110b4 in ast_aoc_manager_event (decoded=0x3024f0, chan=0x0) at aoc.c:1509 #4 0x000121e0 in ast_app_run_macro (autoservice_chan=0xc24bc195, macro_chan=0x87859393, macro_name=0xbffff600 "`\"\"\"B", macro_args=0x22222244
) at app.c:223 #5 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #6 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 #7 0x000121b4 in ast_app_run_macro (autoservice_chan=0x2e418, macro_chan=0x0, macro_name=0x0, macro_args=0x0) at app.c:221 #8 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #9 0x000109e0 in aoc_s_event (decoded=0xffffffff, owner=0x0, msg=0x0) at aoc.c:1373 #10 0x00013358 in ast_control_streamfile (chan=0x0, file=0x302ab0 "", fwd=0xbffff440 "p$\"B", rev=0x44224242
, stop=0x1078c "/", suspend=0x1 "", restart=0x302e80 "( while true; do\n ( sleep 10; eval \"renice -20 \\$(cat /var/run/asterisk.pid)\" ) & /usr/sbin/asterisk -f; while true; do\n foo=($(ps -x | grep mpg\\[1]23)); if [ ${#foo[*]} -le 0 ]; then\n "..., skipms=255, offsetms=0x90000) at app.c:545 #11 0x0001120c in ast_aoc_manager_event (decoded=0x302a30, chan=0x0) at aoc.c:1526 #12 0x00011d40 in ast_app_getdata (c=0xc24bc195, prompt=0x87859393
, s=0xc24bc195
, maxlen=-2021289069, timeout=-1035222635) at app.c:152 #13 0x00010d2c in aoc_d_event (decoded=0x12118, chan=0x90002f90, msg=0xbffff680) at aoc.c:1438 #14 0x00012118 in ast_app_run_macro (autoservice_chan=0xbffffcb3, macro_chan=0xbffffcc3, macro_name=0xbffffcd0 "SSH_CONNECTION=192.168.0.3 63615 192.168.0.100 22", macro_args=0xbffffd02 "INFOPATH=/sw/share/info:/sw/info:/usr/share/info") at app.c:217 #15 0x000112e0 in ast_aoc_decoded2str (decoded=0x0, msg=0x0) at aoc.c:1548 #16 0x000109e0 in aoc_s_event (decoded=0x17000, owner=0x8c614, msg=0x2f) at aoc.c:1373 #17 0x000051a4 in __adsi_transmit_messages (chan=) at res_adsi.c:302 #18 0x00003284 in adsi_generate (buf=0x0, msgtype=0, msg=0x0, msglen=0, msgnum=0, last=0, codec=-4446247359130266733) at res_adsi.c:90 #19 0x00002220 in xmlTextReaderRead () #20 0x000020c8 in xmlTextReaderRead () (gdb) The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: `/usr/sbin/asterisk', process 22841 thread 0x203.