rendered paste body(gdb) bt full
#0 0x00b89402 in __kernel_vsyscall ()
No symbol table info available.
#1 0x008dde1b in read () from /lib/libpthread.so.0
No symbol table info available.
#2 0x0810ab8c in read_char (el=0x83874c8, cp=0xbfbe311e "\006") at read.c:296
num_read = 9200832
tried = 0
#3 0x0810ac90 in el_getc (el=0x83874c8, cp=0xbfbe311e "\006") at read.c:347
num_read = 0
ma = (c_macro_t *) 0x8387754
#4 0x0810aa36 in read_getcmd (el=0x83874c8, cmdnum=0xbfbe311f "", ch=0xbfbe311e "\006") at read.c:243
cmd = 34 '"'
num = -1078053312
#5 0x0810aedd in el_gets (el=0x83874c8, nread=0xbfbe3450) at read.c:443
retval = 9200832
cmdnum = 0 '\0'
num = -1
ch = 6 '\006'
#6 0x080724af in main (argc=4, argv=0xbfbe36c4) at asterisk.c:3011
title = "Asterisk Console on 'victor.myco.co.uk' (pid 13404)\000\000ÔÆx\000VÛ\223\034¸[w\000\000\000\000\000\000\000\000\000\001\000\000\000c\003\000\000Ðöþ·\000ðþ·KB\215\000Dgy\000h0\215\000\001\000\000\000À\037x\000ð\006ÿ·ø2¾¿\0243¾¿à\031w\000h0\215\000ø2¾¿´'x\000\a\000\000\000Ðöþ·\001\000\000\000\000\000\000\000\001\000\000\000\200\000\000\0004\000\000\000\000\207v\000\210", '\0' <repeats 15 times>, "\0043¾¿Â\rw\000\000\020ÿ·9Ò\000\000À"...
attr = {
__size = "\000\000\000\000\000\000\000\000\001\000\000\000\000\020\000\000\000\000\000\000\000À\003", '\0' <repeats 12 times>, __align = 0}
dont_care = 31140752
c = -1
filename = "/root/.asterisk_history", '\0' <repeats 56 times>
hostname = "victor.myco.co.uk", '\0' <repeats 43 times>
tmp = "\033[1;37;40mAsterisk Ready.\n\033[0;37;40m\000c\025\b\001\000\000\000«XÏèc\000\000\000h^8\bÐ^8\bì^8\b\221\223\215\000X5¾¿l)\a\b\214¤\215"
xarg = 0x0
x = 4
f = (FILE *) 0x8389138
sigs = {__val = {134238211, 0 <repeats 31 times>}}
num = 135168
isroot = 1
buf = 0x13 <Address 0x13 out of bounds>
runuser = 0x0
rungroup = 0x0
__PRETTY_FUNCTION__ = "main"
__FUNCTION__ = "main"
#7 0x0079fdec in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#8 0x08057e01 in ?? ()
No symbol table info available.