Script started on Wed 10 Sep 2008 10:34:09 AM EDT ]0;root@mg0:/home/remi[root@mg0 remi]# exitvi gdbcore_2008-09-10.txt [root@mg0 remi]# exitvi gdbcore_2008-09-10.txt [root@mg0 remi]# gdb /usr/asterisk-1.4.20.1/sbin/asterisk core.mg0.monmouth.com-20 008-09-10T01\:17\:48-0400 asterisk -r  [root@mg0 remi]# asterisk -rgdb /usr/asterisk-1.4.20.1/sbin/asterisk core.mg0.monmouth.com-20 008-09-10T01\:17\:48-0400 GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) Copyright (C) 2006 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libtermcap.so.2...done. Loaded symbols for /lib/libtermcap.so.2 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 warning: Can't read pathname for load map: Input/output error. Core was generated by `/usr/asterisk-1.4.20.1/sbin/asterisk -f -C /etc/asterisk-1.4.20.1/asterisk.conf'. Program terminated with signal 11, Segmentation fault. #0 0x001a51bd in memmove () from /lib/libc.so.6 (gdb) bt #0 0x001a51bd in memmove () from /lib/libc.so.6 #1 0x0812688c in __bt_dleaf (t=0x926bac0, key=0xb646ca54, h=0x959cac4, index=0) at btree/bt_delete.c:504 #2 0x0812019f in __bt_put (dbp=0x926b2c8, key=0xb646ca54, data=0xb646ca4c, flags=0) at btree/bt_put.c:190 #3 0x080955e7 in ast_db_put (family=0xb646cc03 "CHANID", keys=0xb646cc0a "fsa-mg0-0960e1b0", value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at db.c:164 #4 0x00511a29 in ?? () #5 0xb646cc03 in ?? () #6 0xb646cc0a in ?? () #7 0xb646ccbc in ?? () #8 0x00000002 in ?? () #9 0x0815bc08 in acf_root () #10 0x00000029 in ?? () #11 0xb646cba8 in ?? () #12 0x080bee3e in ast_custom_function_find (name=0x95360e0 "@8") at pbx.c:1463 #13 0x080bf36a in ast_func_write (chan=0x95360e0, function=0xb646cc00 "DB", value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at pbx.c:1568 #14 0x080c9dad in pbx_builtin_setvar_helper (chan=0x95360e0, name=0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)", ---Type to continue, or q to quit--- value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at pbx.c:5869 #15 0x080ca1c4 in pbx_builtin_setvar (chan=0x95360e0, data=0xb646eed8) at pbx.c:5942 #16 0x080bcbe0 in pbx_exec (c=0x95360e0, app=0x926b938, data=0xb646eed8) at pbx.c:537 #17 0x080c0084 in pbx_extension_helper (c=0x95360e0, con=0x0, context=0x9536260 "", exten=0x95362b0 "macro-savesipcallid", priority=1, label=0x0, callerid=0x935c690 "", action=E_SPAWN) at pbx.c:1862 #18 0x080c1137 in ast_spawn_extension (c=0x95360e0, context=0x9536260 "", exten=0x95362b0 "macro-savesipcallid", priority=1, callerid=0x935c690 "") at pbx.c:2317 #19 0x004fbf4d in ?? () #20 0x095360e0 in ?? () #21 0x09536260 in ?? () #22 0x095362b0 in ?? () #23 0x00000001 in ?? () #24 0x0935c690 in ?? () #25 0x0814b7f1 in __ast_string_field_empty () #26 0xb6471e68 in ?? () #27 0x004fb617 in ?? () #28 0x095360e0 in ?? () #29 0x004fd9a7 in ?? () ---Type to continue, or q to quit--- #30 0xb6471640 in ?? () #31 0x00000001 in ?? () #32 0x65766173 in ?? () #33 0x63706973 in ?? () #34 0x696c6c61 in ?? () #35 0xb6470064 in ?? () #36 0x10624dd3 in ?? () #37 0x00000002 in ?? () #38 0x00000000 in ?? () (gdb) (gdb) (gdb) bt full #0 0x001a51bd in memmove () from /lib/libc.so.6 No symbol table info available. #1 0x0812688c in __bt_dleaf (t=0x926bac0, key=0xb646ca54, h=0x959cac4, index=0) at btree/bt_delete.c:504 bl = (BLEAF *) 0x959da74 cnt = 2342 ip = (indx_t *) 0x92846dc offset = 0 nbytes = 80 to = (void *) 0x959da74 from = 0x959dac4 "Ñ\033\004" #2 0x0812019f in __bt_put (dbp=0x926b2c8, key=0xb646ca54, data=0xb646ca4c, flags=0) at btree/bt_put.c:190 t = (BTREE *) 0x926bac0 tkey = {data = 0x272ff4, size = 3058093244} tdata = {data = 0x926bce8, size = 3058092552} e = (EPG *) 0x926bac8 h = (PAGE *) 0x959cac4 index = 0 nxtindex = 46662 pg = 6161548 nbytes = 256 dflags = 0 ---Type to continue, or q to quit--- exact = 1 status = -1236874724 dest = 0xb646ca1c "" db = "\221ó]\000\004\000\000" kb = "b1\005\000\000\000\000" #3 0x080955e7 in ast_db_put (family=0xb646cc03 "CHANID", keys=0xb646cc0a "fsa-mg0-0960e1b0", value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at db.c:164 fullkey = "/CHANID/fsa-mg0-0960e1b0", '\0' , "\221ó]\000\000\000\000\000\002\000\000\000/\004^\000\002\000\000\000\nÌF¶" key = {data = 0xb646ca5c, size = 25} data = {data = 0xb646ccbc, size = 46} res = 0 fullkeylen = 24 __PRETTY_FUNCTION__ = "ast_db_put" #4 0x00511a29 in ?? () No symbol table info available. #5 0xb646cc03 in ?? () No symbol table info available. #6 0xb646cc0a in ?? () No symbol table info available. #7 0xb646ccbc in ?? () ---Type to continue, or q to quit--- No symbol table info available. #8 0x00000002 in ?? () No symbol table info available. #9 0x0815bc08 in acf_root () No symbol table info available. #10 0x00000029 in ?? () No symbol table info available. #11 0xb646cba8 in ?? () No symbol table info available. #12 0x080bee3e in ast_custom_function_find (name=0x95360e0 "@8") at pbx.c:1463 acf = (struct ast_custom_function *) 0x1 #13 0x080bf36a in ast_func_write (chan=0x95360e0, function=0xb646cc00 "DB", value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at pbx.c:1568 args = 0xb646cc03 "CHANID" acfptr = (struct ast_custom_function *) 0x5138c0 __PRETTY_FUNCTION__ = "ast_func_write" #14 0x080c9dad in pbx_builtin_setvar_helper (chan=0x95360e0, name=0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)", value=0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11") at pbx.c:5869 function = 0xb646cc00 "DB" newvariable = (struct ast_var_t *) 0x0 ---Type to continue, or q to quit--- headp = (struct varshead *) 0x0 nametail = 0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)" #15 0x080ca1c4 in pbx_builtin_setvar (chan=0x95360e0, data=0xb646eed8) at pbx.c:5942 name = 0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)" value = 0xb646ccbc "35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11" mydata = 0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)" argc = 1 argv = {0xb646cca0 "DB(CHANID/fsa-mg0-0960e1b0)", 0x0 } global = 0 x = 0 __PRETTY_FUNCTION__ = "pbx_builtin_setvar" #16 0x080bcbe0 in pbx_exec (c=0x95360e0, app=0x926b938, data=0xb646eed8) at pbx.c:537 res = -1236865320 saved_c_appl = 0x935a75c "pp_macro.so" saved_c_data = 0xb6471f3a "savesipcallid" #17 0x080c0084 in pbx_extension_helper (c=0x95360e0, con=0x0, context=0x9536260 "", exten=0x95362b0 "macro-savesipcallid", priority=1, label=0x0, callerid=0x935c690 "", action=E_SPAWN) at pbx.c:1862 e = (struct ast_exten *) 0x927dd08 app = (struct ast_app *) 0x926b938 ---Type to continue, or q to quit--- res = 0 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x9536260 ""} passdata = "DB(CHANID/fsa-mg0-0960e1b0)=35b69c0a0f357f6b6b4ed4de00e775c9@64.19.145.11", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #18 0x080c1137 in ast_spawn_extension (c=0x95360e0, context=0x9536260 "", exten=0x95362b0 "macro-savesipcallid", priority=1, callerid=0x935c690 "") at pbx.c:2317 No locals. #19 0x004fbf4d in ?? () No symbol table info available. #20 0x095360e0 in ?? () No symbol table info available. #21 0x09536260 in ?? () No symbol table info available. #22 0x095362b0 in ?? () No symbol table info available. #23 0x00000001 in ?? () No symbol table info available. #24 0x0935c690 in ?? () No symbol table info available. ---Type to continue, or q to quit--- #25 0x0814b7f1 in __ast_string_field_empty () No symbol table info available. #26 0xb6471e68 in ?? () No symbol table info available. #27 0x004fb617 in ?? () No symbol table info available. #28 0x095360e0 in ?? () No symbol table info available. #29 0x004fd9a7 in ?? () No symbol table info available. #30 0xb6471640 in ?? () No symbol table info available. #31 0x00000001 in ?? () No symbol table info available. #32 0x65766173 in ?? () No symbol table info available. #33 0x63706973 in ?? () No symbol table info available. #34 0x696c6c61 in ?? () No symbol table info available. #35 0xb6470064 in ?? () No symbol table info available. #36 0x10624dd3 in ?? () ---Type to continue, or q to quit--- No symbol table info available. #37 0x00000002 in ?? () No symbol table info available. #38 0x00000000 in ?? () No symbol table info available. (gdb) exit Undefined command: "exit". Try "help". (gdb) equit ]0;root@mg0:/home/remi[root@mg0 remi]# exit exit Script done on Wed 10 Sep 2008 10:34:27 AM EDT