(gdb) bt #0 0x00179402 in __kernel_vsyscall () #1 0x00d23d20 in raise () from /lib/libc.so.6 #2 0x00d25631 in abort () from /lib/libc.so.6 #3 0x00d5be6b in __libc_message () from /lib/libc.so.6 #4 0x00d63b16 in _int_free () from /lib/libc.so.6 #5 0x00d67070 in free () from /lib/libc.so.6 #6 0x0807af87 in ao2_ref (user_data=0x992a5a8, delta=-1) at astobj2.c:238 #7 0x0047349b in handle_cli_moh_show_classes (e=0x4753f4, cmd=-4, a=0xb7106d64) at res_musiconhold.c:1613 #8 0x0809befc in ast_cli_command (fd=16, s=0xb7106eac "moh show classes ") at cli.c:1888 #9 0x0809c0c2 in ast_cli_command_multiple (fd=16, size=18, s=0xb71070fc "moh show classes ") at cli.c:1921 #10 0x08072ff7 in netconsole (vconsole=0x81b8c00) at asterisk.c:1025 #11 0x0813472e in dummy_start (data=0x9801268) at utils.c:861 #12 0x0021a46b in start_thread () from /lib/libpthread.so.0 #13 0x00dcbdbe in clone () from /lib/libc.so.6 Previous frame inner to this frame (corrupt stack?) (gdb) (gdb) bt full #0 0x00179402 in __kernel_vsyscall () No symbol table info available. #1 0x00d23d20 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x00d25631 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x00d5be6b in __libc_message () from /lib/libc.so.6 No symbol table info available. #4 0x00d63b16 in _int_free () from /lib/libc.so.6 No symbol table info available. #5 0x00d67070 in free () from /lib/libc.so.6 No symbol table info available. #6 0x0807af87 in ao2_ref (user_data=0x992a5a8, delta=-1) at astobj2.c:238 current_value = 0 ret = 1 obj = (struct astobj2 *) 0x992a580 __PRETTY_FUNCTION__ = "ao2_ref" #7 0x0047349b in handle_cli_moh_show_classes (e=0x4753f4, cmd=-4, a=0xb7106d64) at res_musiconhold.c:1613 class = (struct mohclass *) 0x992a5a8 i = {c = 0x9873848, flags = 0, bucket = 33, c_version = 4, obj = 0x98187c8, version = 3} #8 0x0809befc in ast_cli_command (fd=16, s=0xb7106eac "moh show classes ") at cli.c:1888 args = {0x4753f4 "\210\030\204\t\214\030\204\t\221\030\204\t", 0x9825ac0 "moh", 0x9825ac4 "show", 0x9825ac9 "classes", 0x0 } e = (struct ast_cli_entry *) 0x4753f4 x = 3 dup = 0x9825ac0 "moh" retval = 0x0 a = {fd = 16, argc = 3, argv = 0xb7106d88, line = 0x0, word = 0x0, pos = 0, n = 0} #9 0x0809c0c2 in ast_cli_command_multiple (fd=16, size=18, s=0xb71070fc "moh show classes ") at cli.c:1921 cmd = "moh show classes \000RAY \"moh show cl\" \"cl\"\000\"", '\0' , "H\025󷤱Ï\000\000\000\000\0003375\024o\020·4p\020·Pµ¨\0204\000\000\000\024ìÏ\000¸êÏ\000Pµ¨\020\022³Ø\000\000\000\000\000\000\000\000\000\005\000\000\000\\\b\000\000\230ãò·H\025ó·\224\025\005\bDwÐ\000\030¯\004\b\001\000\000\000À¯¨\000\020¸¨\000(p\020·Dp\020·Ð\232§\000\030¯\004\b(p\020·´·¨\000\003\000\000\000\230ãò·\005\000\000\000\000\000\000\000\001\000\000\000üp\020·ûr\020·"... x = 17 y = 18 count = 0 #10 0x08072ff7 in netconsole (vconsole=0x81b8c00) at asterisk.c:1025 con = (struct console *) 0x81b8c00 hostname = "localhost.localdomain", '\0' tmp = "moh show classes \000\000AY \"moh show cl\" \"cl\"\000\000exited non-zero on 'SIP/1001-098cf9a0'\n,,CTI,,\") in new stack\n9ea2b59954\") in new stack\n ERROR[3414]: func_odbc.c:320 acf_odbc_read: Unable to execute query ["... res = 18 fds = {{fd = 16, events = 1, revents = 1}, {fd = 17, events = 1, revents = 0}} ---Type to continue, or q to quit--- __PRETTY_FUNCTION__ = "netconsole" #11 0x0813472e in dummy_start (data=0x9801268) at utils.c:861 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {2265076, 0, -1223656560, -1223658568, -725774150, 1807656212}, __mask_was_saved = 0}}, __pad = {0xb7107470, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8070ed7 __cancel_arg = (void *) 0xb7107b90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x8072e37 , data = 0x81b8c00, name = 0x97d6378 "netconsole", ' ' , "started at [ 1086] asterisk.c listener()"} #12 0x0021a46b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #13 0x00dcbdbe in clone () from /lib/libc.so.6 No symbol table info available.