*** glibc detected *** asterisk: free(): invalid pointer: 0x0000000000706b38 *** ======= Backtrace: ========= /lib64/libc.so.6[0x2b78e247e31e] /lib64/libc.so.6(__libc_free+0x6c)[0x2b78e247fd7c] asterisk[0x4c71d0] asterisk[0x4d1ccd] asterisk(ast_merge_contexts_and_delete+0x783)[0x4cd7a2] /usr/lib/asterisk/modules/pbx_config.so[0x2aaab2c26917] /usr/lib/asterisk/modules/pbx_config.so[0x2aaab2c2698f] asterisk[0x4a6382] asterisk(load_modules+0x7e5)[0x4a6e6e] asterisk(main+0x1c86)[0x437bc0] /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b78e2430184] asterisk[0x418729] ======= Memory map: ======== 00400000-005a2000 r-xp 00000000 ca:02 276902 /usr/sbin/asterisk 006a1000-006b4000 rw-p 001a1000 ca:02 276902 /usr/sbin/asterisk 006b4000-00780000 rw-p 006b4000 00:00 0 [heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-4003c000 rw-p 40001000 00:00 0 4003c000-4003d000 ---p 4003c000 00:00 0 4003d000-40078000 rw-p 4003d000 00:00 0 40078000-40079000 ---p 40078000 00:00 0 40079000-400b4000 rw-p 40079000 00:00 0 400b4000-400b5000 ---p 400b4000 00:00 0 400b5000-400f0000 rw-p 400b5000 00:00 0 400f0000-400f1000 ---p 400f0000 00:00 0 400f1000-4012c000 rw-p 400f1000 00:00 0 4012c000-4012d000 ---p 4012c000 00:00 0 4012d000-40168000 rw-p 4012d000 00:00 0 40168000-40169000 ---p 40168000 00:00 0 40169000-401a4000 rw-p 40169000 00:00 0 401a4000-401a5000 ---p 401a4000 00:00 0 401a5000-401e0000 rw-p 401a5000 00:00 0 401e0000-401e1000 ---p 401e0000 00:00 0 401e1000-4021c000 rw-p 401e1000 00:00 0 4021c000-4021d000 ---p 4021c000 00:00 0 4021d000-40258000 rw-p 4021d000 00:00 0 40258000-40259000 ---p 40258000 00:00 0 40259000-40294000 rw-p 40259000 00:00 0 40294000-40295000 ---p 40294000 00:00 0 40295000-402d0000 rw-p 40295000 00:00 0 402d0000-402d1000 ---p 402d0000 00:00 0 402d1000-4030c000 rw-p 402d1000 00:00 0 4030c000-4030d000 ---p 4030c000 00:00 0 4030d000-40348000 rw-p 4030d000 00:00 0 40348000-40349000 ---p 40348000 00:00 0 40349000-40384000 rw-p 40349000 00:00 0 40384000-40385000 ---p 40384000 00:00 0 40385000-403c0000 rw-p 40385000 00:00 0 403c0000-403c1000 ---p 403c0000 00:00 0 403c1000-403fc000 rw-p 403c1000 00:00 0 403fc000-403fd000 ---p 403fc000 00:00 0 403fd000-40438000 rw-p 403fd000 00:00 0 40438000-40439000 ---p 40438000 00:00 0 40439000-40474000 rw-p 40439000 00:00 0 40474000-40475000 ---p 40474000 00:00 0 40475000-404b0000 rw-p 40475000 00:00 0 404b0000-404b1000 ---p 404b0000 00:00 0 404b1000-404ec000 rw-p 404b1000 00:00 0 404ec000-404ed000 ---p 404ec000 00:00 0 404ed000-40528000 rw-p 404ed000 00:00 0 40528000-40529000 ---p 40528000 00:00 0 40529000-40564000 rw-p 40529000 00:00 0 40564000-40565000 ---p 40564000 00:00 0 40565000-405a0000 rw-p 40565000 00:00 0 405a0000-405a1000 ---p 405a0000 00:00 0 405a1000-405dc000 rw-p 405a1000 00:00 0 405dc000-405dd000 ---p 405dc000 00:00 0 405dd000-4061d000 rw-p 405dd000 00:00 0 4061d000-4061e000 ---p 4061d000 00:00 0 4061e000-4065e000 rw-p 4061e000 00:00 0 4065e000-4065f000 ---p 4065e000 00:00 0 4065f000-4069a000 rw-p 4065f000 00:00 0 4069a000-4069b000 ---p 4069a000 00:00 0 4069b000-406d6000 rw-p 4069b000 00:00 0 2aaaaaaac000-2aaaaaaae000 rw-p 2aaaaaaac000 00:00 0 2aaaaaaae000-2aaaaaab5000 r-xp 00000000 ca:02 289960 /usr/lib/asterisk/modules/res_odbc.so 2aaaaaab5000-2aaaaabb4000 ---p 00007000 ca:02 289960 /usr/lib/asterisk/modules/res_odbc.so 2aaaaabb4000-2aaaaabb5000 rw-p 00006000 ca:02 289960 /usr/lib/asterisk/modules/res_odbc.so 2aaaaabb5000-2aaaaabea000 r--s 00000000 ca:02 87506 /var/run/nscd/passwd 2aaaaabea000-2aaaaabf1000 r--s 00000000 ca:02 27791 /usr/lib64/gconv/gconv-modules.cache 2aaaaabf1000-2aaaaabf3000 r-xp 00000000 ca:02 27739 /usr/lib64/gconv/ISO8859-1.so 2aaaaabf3000-2aaa == Setting global variable 'C207.182.96.105' to '102' Aborted (core dumped) Loaded symbols for /usr/lib/asterisk/modules/pbx_config.so Core was generated by `asterisk -vvvvvvvvvvvvvvvvgc'. Program terminated with signal 6, Aborted. #0 0x00002b78e2442bb5 in raise () from /lib64/libc.so.6 (gdb) bt full #0 0x00002b78e2442bb5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00002b78e2443fb0 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00002b78e247932b in __libc_message () from /lib64/libc.so.6 No symbol table info available. #3 0x00002b78e247e31e in malloc_printerr () from /lib64/libc.so.6 No symbol table info available. #4 0x00002b78e247fd7c in free () from /lib64/libc.so.6 No symbol table info available. #5 0x00000000004c71d0 in destroy_exten (e=0x707b38) at pbx.c:3960 __PRETTY_FUNCTION__ = "destroy_exten" #6 0x00000000004d1ccd in __ast_internal_context_destroy (con=0x707728) at pbx.c:7411 tmpi = (struct ast_include *) 0x0 sw = (struct ast_sw *) 0x0 e = (struct ast_exten *) 0x708248 el = (struct ast_exten *) 0x707b38 en = (struct ast_exten *) 0x0 ipi = (struct ast_ignorepat *) 0x0 tmp = (struct ast_context *) 0x707728 __PRETTY_FUNCTION__ = "__ast_internal_context_destroy" #7 0x00000000004cd7a2 in ast_merge_contexts_and_delete (extcontexts=0x2aaab2d29db8, exttable=0x2aaaab47ed88, registrar=0x2aaab2c26aeb "pbx_config") at pbx.c:5958 next = (struct ast_context *) 0x0 ft = 0 tmp = (struct ast_context *) 0x707728 oldcontextslist = (struct ast_context *) 0x707728 oldtable = (struct ast_hashtab *) 0x706fd8 store = {first = 0x0, last = 0x0, lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\0' , "\001", '\0' , __align = 0}} this = (struct store_hint *) 0x0 hint = (struct ast_hint *) 0x0 exten = (struct ast_exten *) 0x0 length = 10922 thiscb = (struct ast_state_cb *) 0x2aaab2c26aeb iter = (struct ast_hashtab_iter *) 0x2aaab2e41e28 begintime = {tv_sec = 1217469285, tv_usec = 829743} writelocktime = {tv_sec = 1217469285, tv_usec = 829784} endlocktime = {tv_sec = 1217469285, tv_usec = 829785} enddeltime = {tv_sec = 46912631863166, tv_usec = 4425081} wrlock_ver = 1 __PRETTY_FUNCTION__ = "ast_merge_contexts_and_delete" #8 0x00002aaab2c26917 in pbx_load_module () from /usr/lib/asterisk/modules/pbx_config.so con = (struct ast_context *) 0x2aaaab47e5f8 #9 0x00002aaab2c2698f in load_module () from /usr/lib/asterisk/modules/pbx_config.so ---Type to continue, or q to quit--- No locals. #10 0x00000000004a6382 in load_resource (resource_name=0x71b008 "pbx_config.so", global_symbols_only=0) at loader.c:694 mod = (struct ast_module *) 0x2aaaab47e5f8 res = AST_MODULE_LOAD_SUCCESS tmp = "\033[33;40mSHA-1 computation dialplan function\033[0;37;40m\000m\00037;40m\0000m\000\033[0;37dx+\000\000p\033E\177", '\0' , "$E\177", '\0' , "|Gx+\000\000\000\000\202Y\000\000\000\000\204\202C\000\000\000\000\000\217\035EX\001\000\000\000\000\000\000\202WV\000\000\000\000\000p\000\207\003\000\000@V\000\000\000\000\000q\000\000\000\000\000\200\212U\000\001\000\000pq\000\000\000\000\000\000"... __PRETTY_FUNCTION__ = "load_resource" #11 0x00000000004a6e6e in load_modules (preload_only=0) at loader.c:897 __list_head = (struct load_order *) 0x7fffca451c40 __list_next = (struct load_order_entry *) 0x71b0b8 __list_prev = (struct load_order_entry *) 0x0 __new_prev = (struct load_order_entry *) 0x71af58 cfg = (struct ast_config *) 0x70d2c8 mod = (struct ast_module *) 0x0 order = (struct load_order_entry *) 0x71af58 v = (struct ast_variable *) 0x0 load_count = 153 load_order = {first = 0x71af58, last = 0x71f368} res = 0 config_flags = {flags = 0} modulecount = 97 dirent = (struct dirent *) 0x0 dir = (DIR *) 0x712240 __PRETTY_FUNCTION__ = "load_modules" #12 0x0000000000437bc0 in main (argc=2, argv=0x7fffca452408) at asterisk.c:3377 c = -1 filename = "/root/.asterisk_history", '\0' hostname = "sles225", '\0' tmp = "\000\000\000\000\000\000\000\004\024j\000\000\000\000\000 $E\177\000\000\020@!E\177\000\000(\203C\000\000\000\000\000yT\000\000\000\000\000pj\000\000\000\000\000!E\177\000\000y\205C\000\000\000\000" xarg = 0x0 x = 2 f = (FILE *) 0x6e8f30 sigs = {__val = {134238211, 0 }} num = 32767 isroot = 1 buf = 0x6f69736976655224
runuser = 0x0 rungroup = 0x0 remotesock = 0x0 __PRETTY_FUNCTION__ = "main" __func__ = "main" #13 0x00002b78e2430184 in __libc_start_main () from /lib64/libc.so.6 ---Type to continue, or q to quit--- No symbol table info available. #14 0x0000000000418729 in free () No symbol table info available. #15 0x00007fffca4523f8 in ?? () No symbol table info available. #16 0x0000000000000000 in ?? ()