Core was generated by `/usr/sbin/asterisk -f -vvvg -c'. Program terminated with signal 11, Segmentation fault. #0 0xb79129a0 in ast_odbc_sanity_check (obj=0x81ef788) at res_odbc.c:212 212 if (!ast_strlen_zero(obj->parent->sanitysql)) (gdb) bt #0 0xb79129a0 in ast_odbc_sanity_check (obj=0x81ef788) at res_odbc.c:212 #1 0xb7913f29 in ast_odbc_request_obj (name=0xb66c5be8 "customer-a", check=1) at res_odbc.c:556 #2 0xb6e6b2d4 in load_config () at cdr_adaptive_odbc.c:114 #3 0xb6e6e68b in reload () at cdr_adaptive_odbc.c:652 #4 0x080d738d in ast_module_reload (name=0x0) at loader.c:616 #5 0x080974f3 in handle_reload (e=0x81a70a0, cmd=-4, a=0xb66c5e28) at cli.c:194 #6 0x080975d5 in handle_reload_deprecated (e=0x81a70a0, cmd=-4, a=0xb66c5e28) at cli.c:214 #7 0x0809d999 in ast_cli_command (fd=24, s=0xb66c5f7c "reload") at cli.c:1887 #8 0x0809dbb3 in ast_cli_command_multiple (fd=24, size=7, s=0xb66c61cc "reload") at cli.c:1920 #9 0x0806ff3f in netconsole (vconsole=0x81c80a0) at asterisk.c:1004 #10 0x0813fb88 in dummy_start (data=0x8300d90) at utils.c:928 #11 0xb7cc5267 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #12 0xb7da460e in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt full #0 0xb79129a0 in ast_odbc_sanity_check (obj=0x81ef788) at res_odbc.c:212 test_sql = 0xb79148b2 "select 1" stmt = (SQLHSTMT) 0x81dc3e8 res = 0 __PRETTY_FUNCTION__ = "ast_odbc_sanity_check" #1 0xb7913f29 in ast_odbc_request_obj (name=0xb66c5be8 "customer-a", check=1) at res_odbc.c:556 obj = (struct odbc_obj *) 0x81ef788 class = (struct odbc_class *) 0x81ebaa0 aoi = {c = 0x81ebb90, flags = 0, bucket = 0, c_version = 2, obj = 0x81dc3e8, version = 1} __PRETTY_FUNCTION__ = "ast_odbc_request_obj" #2 0xb6e6b2d4 in load_config () at cdr_adaptive_odbc.c:114 cfg = (struct ast_config *) 0x82d4480 var = (struct ast_variable *) 0x8302718 tmp = 0x830274b "customer-a" catg = 0x82eee50 "customer-a" tableptr = (struct tables *) 0xb6e83d07 entry = (struct columns *) 0xb66c5c20 obj = (struct odbc_obj *) 0xb66c5c88 columnname = "4\220\030\bI\0350\b\200D-\b8\\l�\177 -- Reloadin\021�ӷdule '%s' (%s)\n\000\000\001\000\000��@z\032\b\000\000\000\000)\000\000\000\210\\l�k5\n\b" connection = "customer-a\000\bK\000\000\000\030]l�O�\r\bȨ\032\bP\216\030\b�\004\000\000�\030\b" table = "\004\000\000\000l\000\000\000\003\000\000\000�o�\000\000\000\000 \\l��[l��\026۷Ȩ\032\b��̷" lenconnection = 10 lentable = 137184384 sqlptr = 28 res = 0 stmt = (SQLHSTMT) 0x0 config_flags = {flags = 0} __PRETTY_FUNCTION__ = "load_config" #3 0xb6e6e68b in reload () at cdr_adaptive_odbc.c:652 __PRETTY_FUNCTION__ = "reload" #4 0x080d738d in ast_module_reload (name=0x0) at loader.c:616 info = (const struct ast_module_info *) 0xb6e706e0 cur = (struct ast_module *) 0x8287398 res = 2 i = 11 __PRETTY_FUNCTION__ = "ast_module_reload" #5 0x080974f3 in handle_reload (e=0x81a70a0, cmd=-4, a=0xb66c5e28) at cli.c:194 x = 135773700 #6 0x080975d5 in handle_reload_deprecated (e=0x81a70a0, cmd=-4, a=0xb66c5e28) at cli.c:214 s = 0xb66c640c "�\200\034\b\a" #7 0x0809d999 in ast_cli_command (fd=24, s=0xb66c5f7c "reload") at cli.c:1887 args = {0x81a70a0 "\210�\034\b", 0x82ea920 "reload", 0x0, 0x0, 0x8313b39 "", 0x0, 0x0, 0xfffff894
, 0x0, 0xb7e06ff4 "<�\022", 0xb7d3d654 "\201à\231\f", 0x51eb851f
, 0x0, 0xb66c5ebc "`a�\b", 0xb66c6020 "\024�ӷ", 0x8296e2b "", 0x1 "", 0x8 "", 0xb66c5ebc "`a�\b", 0x8296d2c "ael ael ael ael _EOF_", 0xb66c5fa8 "`�\032\b�o�9\203̷\220`l��_l��\026�20803��̷�_l�t�\r\bȨ\032\b\220`l�h`l�\022�\r\b\022Sַ��ٷ�cl�7`l�\026", 0xb7d34b01 "\211�\213\205\f���;\2050���t\t\213\205(����", 0xb66c5ebc "`a�\b", 0x8189034 "%s", 0xb7e084f8 "", 0x10 "", 0xb7e084c8 "�=0\b�O2\b�/\b\200\207(\bx\"'\bد(\b", 0xb66c5f5c "�o��o��\204�\210al���\t\b\030", 0x3 "", 0xb7e06160 "A)߷", 0x8 "", 0x0, 0x13 "", 0x82c7e6d "ak", 0x0, 0x0, 0x8296d2c "ael ael ael ael _EOF_", 0x7d8 "", 0xb7dfa141 "%H:%M:%S", 0xffffffff
, 0x0, 0x8 "", 0xb7d3cc11 "\201��\f", 0x819be90 "\037", 0x0, 0x0, 0xffffffff
, 0xc31e00
, 0x26 "", 0xb7e06ff4 "<�\022", 0xb7e084c0 "", 0x11 "", 0xb66c5f48 "\210_l��p\032\b �.\b", 0xf5 "", 0xb7dfd894 "double free or corruption (fasttop)", 0x6 "", 0x81d53e8 "/etc/localtime", 0x82c7e68 "VanBaak", 0x16889
, 0x8327778 "", 0x6 "", 0xb7ccfff4 "��", 0x0, 0x81aa566 "%T", 0xb66c5f88 "CHESARRAY \"ae\" \"ae\""} e = (struct ast_cli_entry *) 0x81a70a0 x = 1 dup = 0x82ea920 "reload" retval = 0x0 a = {fd = 24, argc = 1, argv = 0xb66c5e4c, line = 0x0, word = 0x0, pos = 0, n = 0} __PRETTY_FUNCTION__ = "ast_cli_command" #8 0x0809dbb3 in ast_cli_command_multiple (fd=24, size=7, s=0xb66c61cc "reload") at cli.c:1920 cmd = "reload\000oad\000TCHESARRAY \"ae\" \"ae\"\000 `l�P�\031\bP`l�`�\032\b�o�9\203̷\220`l��_l��\026�20803��̷�_l�t�\r\bȨ\032\b\220`l�h`l�\022�\r\b\022Sַ��ٷ�cl�7`l�\026\000\000\000\211hLinux", '\0' , "\024�ӷ\000\000\000\000\000\000\000\000�o�\000\000\000\000\000\000\000\000\r�ӷ|`l��al��cl�\234al��o�|`l��al�hal�\001K�"... x = 6 y = 7 count = 0 #9 0x0806ff3f in netconsole (vconsole=0x81c80a0) at asterisk.c:1004 con = (struct console *) 0x81c80a0 hostname = "asterisk.vanbaak.info", '\0' tmp = "reload\000\000nager 'michiel' logged on from 192.168.2.2\n\000\177 == Manager 'michiel' logged off from 192.168.2.2\n\000\033[1;35;40m~~EXTEN~~=6060\033[0;37;40m\") in new stack\n\000\177 -- Executing [6060@internal:2] \033[1;36;4"... res = 7 fds = {{fd = 24, events = 1, revents = 1}, {fd = 25, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "netconsole" #10 0x0813fb88 in dummy_start (data=0x8300d90) at utils.c:928 _buffer = {__routine = 0x806df11 , __arg = 0xb66c6bb0, __canceltype = -1210164690, __prev = 0x0} ret = (void *) 0xb66c6468 a = {start_routine = 0x806fd83 , data = 0x81c80a0, name = 0x8313e28 "netconsole", ' ' , "started at [ 1065] asterisk.c listener()"} #11 0xb7cc5267 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #12 0xb7da460e in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available.