Script started on Wed 08 Oct 2008 11:58:55 AM EDT ]0;root@mg0:/tmp[root@mg0 tmp]# gdb /usr/sasterisk-1.4.20.1/sbin/asterisk core.mg0.monmouth.com-20 008-10-07T01\:00\:25-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 0x004741bd in memmove () from /lib/libc.so.6 (gdb) bt #0 0x004741bd in memmove () from /lib/libc.so.6 #1 0x0812688c in __bt_dleaf (t=0x8dc5000, key=0xb554fa54, h=0x8edcefc, index=0) at btree/bt_delete.c:504 #2 0x0812019f in __bt_put (dbp=0x8dc4b10, key=0xb554fa54, data=0xb554fa4c, flags=0) at btree/bt_put.c:190 #3 0x080955e7 in ast_db_put (family=0xb554fc03 "CHANID", keys=0xb554fc0a "fsa-mg0-08f33910", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at db.c:164 #4 0x005d1a29 in ?? () #5 0xb554fc03 in ?? () #6 0xb554fc0a in ?? () #7 0xb554fcbc in ?? () #8 0x00000002 in ?? () #9 0x0815bc08 in acf_root () #10 0x00000029 in ?? () #11 0xb554fba8 in ?? () #12 0x080bee3e in ast_custom_function_find ( name=0x8ed8758 "ice_run started at [ 212] autoservice.c ast_autoservice_start()") at pbx.c:1463 #13 0x080bf36a in ast_func_write (chan=0x8ed8758, function=0xb554fc00 "DB", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at pbx.c:1568 ---Type to continue, or q to quit--- #14 0x080c9dad in pbx_builtin_setvar_helper (chan=0x8ed8758, name=0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at pbx.c:5869 #15 0x080ca1c4 in pbx_builtin_setvar (chan=0x8ed8758, data=0xb5551ed8) at pbx.c:5942 #16 0x080bcbe0 in pbx_exec (c=0x8ed8758, app=0x8dc4e78, data=0xb5551ed8) at pbx.c:537 #17 0x080c0084 in pbx_extension_helper (c=0x8ed8758, con=0x0, context=0x8ed88d8 "", exten=0x8ed8928 "macro-savesipcallid", priority=1, label=0x0, callerid=0x8df0310 "", action=E_SPAWN) at pbx.c:1862 #18 0x080c1137 in ast_spawn_extension (c=0x8ed8758, context=0x8ed88d8 "", exten=0x8ed8928 "macro-savesipcallid", priority=1, callerid=0x8df0310 "") at pbx.c:2317 #19 0x005c9f4d in ?? () #20 0x08ed8758 in ?? () #21 0x08ed88d8 in ?? () #22 0x08ed8928 in ?? () #23 0x00000001 in ?? () #24 0x08df0310 in ?? () #25 0x0814b7f1 in __ast_string_field_empty () #26 0xb5554e68 in ?? () #27 0x005c9617 in ?? () ---Type to continue, or q to quit--- #28 0x08ed8758 in ?? () #29 0x005cb9a7 in ?? () #30 0xb5554640 in ?? () #31 0x00000001 in ?? () #32 0x65766173 in ?? () #33 0x63706973 in ?? () #34 0x696c6c61 in ?? () #35 0x00000064 in ?? () #36 0x00000000 in ?? () (gdb) (gdb) bt full #0 0x004741bd in memmove () from /lib/libc.so.6 No symbol table info available. #1 0x0812688c in __bt_dleaf (t=0x8dc5000, key=0xb554fa54, h=0x8edcefc, index=0) at btree/bt_delete.c:504 bl = (BLEAF *) 0x8eddeac cnt = 2268 ip = (indx_t *) 0x8df60b4 offset = 0 nbytes = 80 to = (void *) 0x8eddeac from = 0x8eddefc "Ik" #2 0x0812019f in __bt_put (dbp=0x8dc4b10, key=0xb554fa54, data=0xb554fa4c, flags=0) at btree/bt_put.c:190 t = (BTREE *) 0x8dc5000 tkey = {data = 0x541ff4, size = 3042245820} tdata = {data = 0x8dc5228, size = 3042245128} e = (EPG *) 0x8dc5008 h = (PAGE *) 0x8edcefc index = 0 nxtindex = 46420 pg = 6161548 nbytes = 256 dflags = 0 ---Type to continue, or q to quit--- exact = 1 status = -1252722148 dest = 0xb554fa1c "" db = "\221ó]\000\005\000\000" kb = "b1\005\000\000\000\000" #3 0x080955e7 in ast_db_put (family=0xb554fc03 "CHANID", keys=0xb554fc0a "fsa-mg0-08f33910", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at db.c:164 fullkey = "/CHANID/fsa-mg0-08f33910", '\0' , "\221ó]\000\000\000\000\000\002\000\000\000/\004^\000\002\000\000\000\nüTµ" key = {data = 0xb554fa5c, size = 25} data = {data = 0xb554fcbc, size = 46} res = 0 fullkeylen = 24 __PRETTY_FUNCTION__ = "ast_db_put" #4 0x005d1a29 in ?? () No symbol table info available. #5 0xb554fc03 in ?? () No symbol table info available. #6 0xb554fc0a in ?? () No symbol table info available. #7 0xb554fcbc 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 0xb554fba8 in ?? () No symbol table info available. #12 0x080bee3e in ast_custom_function_find ( name=0x8ed8758 "ice_run started at [ 212] autoservice.c ast_autoservice_start()") at pbx.c:1463 acf = (struct ast_custom_function *) 0x1 #13 0x080bf36a in ast_func_write (chan=0x8ed8758, function=0xb554fc00 "DB", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at pbx.c:1568 args = 0xb554fc03 "CHANID" acfptr = (struct ast_custom_function *) 0x5d38c0 __PRETTY_FUNCTION__ = "ast_func_write" #14 0x080c9dad in pbx_builtin_setvar_helper (chan=0x8ed8758, name=0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)", value=0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11") at pbx.c:5869 ---Type to continue, or q to quit--- function = 0xb554fc00 "DB" newvariable = (struct ast_var_t *) 0x0 headp = (struct varshead *) 0x0 nametail = 0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)" #15 0x080ca1c4 in pbx_builtin_setvar (chan=0x8ed8758, data=0xb5551ed8) at pbx.c:5942 name = 0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)" value = 0xb554fcbc "22537cc428c263cc12d0ee4a412a2215@64.19.145.11" mydata = 0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)" argc = 1 argv = {0xb554fca0 "DB(CHANID/fsa-mg0-08f33910)", 0x0 } global = 0 x = 0 __PRETTY_FUNCTION__ = "pbx_builtin_setvar" #16 0x080bcbe0 in pbx_exec (c=0x8ed8758, app=0x8dc4e78, data=0xb5551ed8) at pbx.c:537 res = -1252712744 saved_c_appl = 0x8dea764 "" saved_c_data = 0xb5554f3a "savesipcallid" #17 0x080c0084 in pbx_extension_helper (c=0x8ed8758, con=0x0, context=0x8ed88d8 "", exten=0x8ed8928 "macro-savesipcallid", priority=1, label=0x0, callerid=0x8df0310 "", action=E_SPAWN) at pbx.c:1862 ---Type to continue, or q to quit--- e = (struct ast_exten *) 0x8deee78 app = (struct ast_app *) 0x8dc4e78 res = 0 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x8ed88d8 ""} passdata = "DB(CHANID/fsa-mg0-08f33910)=22537cc428c263cc12d0ee4a412a2215@64.19.145.11", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #18 0x080c1137 in ast_spawn_extension (c=0x8ed8758, context=0x8ed88d8 "", exten=0x8ed8928 "macro-savesipcallid", priority=1, callerid=0x8df0310 "") at pbx.c:2317 No locals. #19 0x005c9f4d in ?? () No symbol table info available. #20 0x08ed8758 in ?? () No symbol table info available. #21 0x08ed88d8 in ?? () No symbol table info available. #22 0x08ed8928 in ?? () No symbol table info available. #23 0x00000001 in ?? () No symbol table info available. ---Type to continue, or q to quit--- #24 0x08df0310 in ?? () No symbol table info available. #25 0x0814b7f1 in __ast_string_field_empty () No symbol table info available. #26 0xb5554e68 in ?? () No symbol table info available. #27 0x005c9617 in ?? () No symbol table info available. #28 0x08ed8758 in ?? () No symbol table info available. #29 0x005cb9a7 in ?? () No symbol table info available. #30 0xb5554640 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 0x00000064 in ?? () ---Type to continue, or q to quit--- No symbol table info available. #36 0x00000000 in ?? () No symbol table info available. (gdb) exit Undefined command: "exit". Try "help". (gdb) quit ]0;root@mg0:/tmp[root@mg0 tmp]# exit exit Script done on Wed 08 Oct 2008 11:59:34 AM EDT