(gdb) bt #0 CC_clear_error (self=0x0) at connection.c:413 #1 0xb7761b5a in SC_clear_error (self=0x824da00) at statement.c:934 #2 0xb7764674 in SC_Destructor (self=0x824da00) at statement.c:426 #3 0xb773d1dd in CC_cleanup (self=0x820eae8) at connection.c:519 #4 0xb773d91d in PGAPI_Disconnect (hdbc=0x820eae8) at connection.c:197 #5 0xb776b153 in SQLDisconnect (ConnectionHandle=0x820eae8) at odbcapi.c:298 #6 0xb7799d10 in SQLDisconnect (connection_handle=0x81e0d38) at SQLDisconnect.c:313 #7 0xb79e0ef9 in odbc_obj_disconnect (obj=0x81e0b30) at res_odbc.c:795 #8 0xb79de8cc in odbc_obj_destructor (data=0x81e0b30) at res_odbc.c:104 #9 0x0807cf3d in __ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:279 #10 0x0807ce8c in _ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:252 #11 0xb79e153c in reload () at res_odbc.c:916 #12 0x080d926e in ast_module_reload (name=0x82ab29e "res_odbc.so") at loader.c:599 #13 0x08099ff6 in handle_reload (e=0x81a5598, cmd=-4, a=0xb67f4d54) at cli.c:198 #14 0x0809f359 in ast_cli_command (fd=24, s=0xb67f4e9c "module reload res_odbc.so ") at cli.c:1888 #15 0x0809f51e in ast_cli_command_multiple (fd=24, size=27, s=0xb67f50f8 "module reload res_odbc.so ") at cli.c:1921 #16 0x08074df0 in netconsole (vconsole=0x81c63e0) at asterisk.c:1043 #17 0x08144514 in dummy_start (data=0x8250780) at utils.c:968 #18 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #19 0xb7cea03e in clone () from /lib/libc.so.6 (gdb) bt full #0 CC_clear_error (self=0x0) at connection.c:413 No locals. #1 0xb7761b5a in SC_clear_error (self=0x824da00) at statement.c:934 res = (QResultClass *) 0x0 #2 0xb7764674 in SC_Destructor (self=0x824da00) at statement.c:426 res = (QResultClass *) 0x0 #3 0xb773d1dd in CC_cleanup (self=0x820eae8) at connection.c:519 i = 0 stmt = (StatementClass *) 0x82abcb0 desc = #4 0xb773d91d in PGAPI_Disconnect (hdbc=0x820eae8) at connection.c:197 No locals. #5 0xb776b153 in SQLDisconnect (ConnectionHandle=0x820eae8) at odbcapi.c:298 ret = #6 0xb7799d10 in SQLDisconnect (connection_handle=0x81e0d38) at SQLDisconnect.c:313 ret = s1 = "�\177�\000\214I\177�\000\000\000\000\000\000\000\000\237�s\b\000\000\000\000�\001\000\000�\001\000\000\030J\177�ZU\023\b�\a\000\0001\035ȷxJ\177�\221\215Ƿ\214I\177�\211\210\210\210\000\000\000\000\003\000\000\000\003\000\000\000,J\177�\000\000\000\000\b\000\000\000\004�*\b\004�*\b����\002\000\000\0004�*\b\020\000\000\000(\221շ\000\000\000\000\000\000\000\0001\035ȷ�\233x�\b�\035\b\001\000\000\000d�E\002�?��p�\035\b\001\000\000\000\020J\177�Yb��(�\035\b\000\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000\210�\235�T\000\000\000\000�\235��d\000\000"... #7 0xb79e0ef9 in odbc_obj_disconnect (obj=0x81e0b30) at res_odbc.c:795 res = -1233170183 err = -1214368828 mlen = -18817 msg = "\000\000\000\000\000\000�F����\235��\036\005\b\024�\235�\001\000\000\000\020\000\000\000(�\035\b\\\034Է\204K\177��\035���W\000\000\b\v\036\b�J\177���\a\b,f�����\000\000\000\000\001\000\000\000�J\177��\177շ\bL\177�@L\177��J\177��i��J\177�fmϷ�\003\036\b�3\236��J\177�\223�\a\b�\003\036\b�\003\036\b\bK\177�z�\a\b�\003\036\b\000\000\000\000�FnA�3\236�\bL\177��\003\036\b\210K\177���\a\b�\003\036\b����\v\000\000\000��*\b�P\177�\023�\026\b8K" stat = "\021\024ȷ\001\000\000\000O\002" __PRETTY_FUNCTION__ = "odbc_obj_disconnect" #8 0xb79de8cc in odbc_obj_destructor (data=0x81e0b30) at res_odbc.c:104 obj = (struct odbc_obj *) 0x81e0b30 class = (struct odbc_class *) 0x81e02f0 #9 0x0807cf3d in __ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:279 obj = (struct astobj2 *) 0x81e0b08 current_value = 0 ret = 1 __PRETTY_FUNCTION__ = "__ao2_ref" #10 0x0807ce8c in _ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:252 obj = (struct astobj2 *) 0x81e0b08 #11 0xb79e153c in reload () at res_odbc.c:916 aoi2 = {c = 0x81e03e8, flags = 0, bucket = 0, c_version = 2, obj = 0x81e0c40, version = 1} table = (struct odbc_cache_tables *) 0xb67f4c00 class = (struct odbc_class *) 0x81e02f0 current = (struct odbc_obj *) 0x81e0b30 aoi = {c = 0x81df960, flags = 0, bucket = 0, c_version = 3, obj = 0x81d97e8, version = 1} #12 0x080d926e in ast_module_reload (name=0x82ab29e "res_odbc.so") at loader.c:599 info = (const struct ast_module_info *) 0xb79e35a0 cur = (struct ast_module *) 0x81df850 res = 2 i = 11 __PRETTY_FUNCTION__ = "ast_module_reload" ---Type to continue, or q to quit--- #13 0x08099ff6 in handle_reload (e=0x81a5598, cmd=-4, a=0xb67f4d54) at cli.c:198 res = 134847607 x = 2 #14 0x0809f359 in ast_cli_command (fd=24, s=0xb67f4e9c "module reload res_odbc.so ") at cli.c:1888 args = {0x81a5598 "", 0x82ab290 "module", 0x82ab297 "reload", 0x82ab29e "res_odbc.so", 0x0 } e = (struct ast_cli_entry *) 0x81a5598 x = 3 duplicate = 0x82ab290 "module" retval = 0x0 a = {fd = 24, argc = 3, argv = 0xb67f4d78, line = 0x0, word = 0x0, pos = 0, n = 0} #15 0x0809f51e in ast_cli_command_multiple (fd=24, size=27, s=0xb67f50f8 "module reload res_odbc.so ") at cli.c:1921 cmd = "module reload res_odbc.so \000le reload res_o\" \"res_o\"\000�B\000\000\004O\177�\004O\177�$P\177�P��\020\020y�� \000\000\000\024�����\221 \005\bP��\020�P\177�\225 \005\b\000\000\000\000\000\000\000\000\001\000\000\000\\\b\000\000�[�\020y��\221 \005\bDg· �\004\b\001\000\000\000�?��\220H��\030P\177�4P\177��\035�� �\004\b\030P\177�4H��\000\000\000\000�[�\001\000\000\000\000\000\000\000\001\000\000\000�R\177�"... x = 26 y = 27 count = 0 #16 0x08074df0 in netconsole (vconsole=0x81c63e0) at asterisk.c:1043 con = (struct console *) 0x81c63e0 hostname = "omware_epabx", '\0' tmp = "module reload res_odbc.so \000\000e reload res_o\" \"res_o\"\000\000ogger mute silent", '\0' , "1\035ȷ", '\0' , "\223R\177�X\221շX\221շP\221շ", '\0' , "\020\000\000\000(\221շP\221շ", '\0' , "�\006%\b\002\000\000\000\000\000\000\000\f", '\0' , "\021\024ȷ�\177շ \221շQD\001\000�R\177�\0358ȷ \221շ\f\000\000\000\000\000\000"... res = 27 fds = {{fd = 24, events = 1, revents = 1}, {fd = 25, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "netconsole" #17 0x08144514 in dummy_start (data=0x8250780) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1212080140, 0, 4001536, -1233169480, 1232425808, -149011228}, __mask_was_saved = 0}}, __pad = {0xb67f5480, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8072c1d __cancel_arg = (void *) 0xb67f5b90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x8074bbc , data = 0x81c63e0, name = 0x82ab248 "netconsole", ' ' , "started at [ 1104] asterisk.c listener()"} #18 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #19 0xb7cea03e in clone () from /lib/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 35 (process 22445): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x0807a7ef in monitor_sig_flags (unused=0x0) at asterisk.c:2876 #2 0x0807ca4b in main (argc=2, argv=0xbfd65be4) at asterisk.c:3533 #3 0xb7c2fdf8 in __libc_start_main () from /lib/libc.so.6 #4 0x0805c631 in ?? () Thread 34 (process 22446): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x081373fc in ast_cond_wait (cond=0x81cd11c, t=0x81cd150) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x08137286 in tps_processing_function (data=0x81cd118) at taskprocessor.c:293 #4 0x08144514 in dummy_start (data=0x81cd1b8) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 33 (process 22447): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x08074f82 in listener (unused=0x0) at asterisk.c:1078 #2 0x08144514 in dummy_start (data=0x81cd2e0) at utils.c:968 #3 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7cea03e in clone () from /lib/libc.so.6 Thread 32 (process 22448): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x080dcc06 in ast_cond_wait (cond=0x81bfba0, t=0x81a8668) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x080dcb4e in logger_thread (data=0x0) at logger.c:976 #4 0x08144514 in dummy_start (data=0x81cd3e8) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 31 (process 22449): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x08144889 in ast_wait_for_input (fd=8, ms=-1) at utils.c:1057 #2 0x081384a6 in ast_tcptls_server_root (data=0x81a7be0) at tcptls.c:238 #3 0x08144514 in dummy_start (data=0x81d5170) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 30 (process 22450): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x080a8ffd in ast_cond_wait (cond=0x81bf300, t=0x81a5ce8) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x080a8f89 in do_devstate_changes (data=0x0) at devicestate.c:568 #4 0x08144514 in dummy_start (data=0x81d5190) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- Thread 29 (process 22451): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x081373fc in ast_cond_wait (cond=0x81d57dc, t=0x81d5810) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x08137286 in tps_processing_function (data=0x81d57d8) at taskprocessor.c:293 #4 0x08144514 in dummy_start (data=0x81d5098) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 28 (process 22452): #0 0xb7ce2ef7 in ?? () from /lib/libc.so.6 #1 0x080c19f8 in ast_select (nfds=0, rfds=0xb7a55298, wfds=0x0, efds=0xb7a55218, tvp=0x0) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/channel.h:1681 #2 0x080c19c1 in do_parking_thread (ignore=0x0) at features.c:3117 #3 0x08144514 in dummy_start (data=0x81d6908) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 27 (process 22454): #0 0xb7c07622 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6c14 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb7661a8c in ast_cond_timedwait (cond=0xb76634bc, t=0xb76634a4, abstime=0xb765f330) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1718 #3 0xb7661a1e in do_timing (arg=0x0) at res_timing_pthread.c:454 #4 0x08144514 in dummy_start (data=0x821aa18) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 26 (process 22455): #0 0xb7ceac3e in accept () from /lib/libc.so.6 #1 0xb73ebc9c in accept_thread (ignore=0x0) at chan_skinny.c:6031 #2 0x08144514 in dummy_start (data=0x823fc50) at utils.c:968 #3 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7cea03e in clone () from /lib/libc.so.6 Thread 25 (process 22456): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x8240120, howlong=1000) at io.c:275 #2 0xb73ebeef in do_monitor (data=0x0) at chan_skinny.c:6076 #3 0x08144514 in dummy_start (data=0x823fee0) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 24 (process 22457): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x82419b8, howlong=1000) at io.c:275 #2 0xb734956f in network_thread (ignore=0x0) at pbx_dundi.c:2102 #3 0x08144514 in dummy_start (data=0x8242ed8) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 23 (process 22458): ---Type to continue, or q to quit--- #0 0xb7caa83c in ?? () from /lib/libc.so.6 #1 0xb7caa66e in sleep () from /lib/libc.so.6 #2 0xb734989b in process_precache (ign=0x0) at pbx_dundi.c:2179 #3 0x08144514 in dummy_start (data=0x8242ee8) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 22 (process 22459): #0 0xb7caa83c in ?? () from /lib/libc.so.6 #1 0xb7caa66e in sleep () from /lib/libc.so.6 #2 0xb734973f in process_clearcache (ignore=0x0) at pbx_dundi.c:2142 #3 0x08144514 in dummy_start (data=0x8242ef8) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 21 (process 22460): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x8249968, howlong=1000) at io.c:275 #2 0xb7241cad in do_monitor (data=0x0) at chan_sip.c:20404 #3 0x08144514 in dummy_start (data=0x8250798) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 20 (process 22461): #0 0xb7caa83c in ?? () from /lib/libc.so.6 #1 0xb704cbd5 in scan_thread (unused=0x0) at pbx_spool.c:444 #2 0x08144514 in dummy_start (data=0x824dc90) at utils.c:968 #3 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7cea03e in clone () from /lib/libc.so.6 Thread 19 (process 22462): #0 0xb7ce2ef7 in ?? () from /lib/libc.so.6 #1 0xb7006dd7 in ast_select (nfds=0, rfds=0xb700129c, wfds=0x0, efds=0xb700121c, tvp=0x0) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/channel.h:1681 #2 0xb7006ba2 in do_monitor (data=0x0) at chan_phone.c:1076 #3 0x08144514 in dummy_start (data=0x824e070) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 18 (process 22463): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x826fec4, t=0x826feac) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x826ee18) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826c7a0) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 17 (process 22464): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 ---Type to continue, or q to quit--- #2 0xb6e28939 in ast_cond_wait (cond=0x827100c, t=0x8270ff4) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x826ff60) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826c7b0) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 16 (process 22465): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x8272154, t=0x827213c) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x82710a8) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826d030) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 15 (process 22466): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x827329c, t=0x8273284) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x82721f0) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826e480) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 14 (process 22467): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x82743e4, t=0x82743cc) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x8273338) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826e578) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 13 (process 22468): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x827552c, t=0x8275514) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x8274480) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826e670) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 12 (process 22469): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x8276674, t=0x827665c) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x82755c8) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826e578) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- Thread 11 (process 22470): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x82777bc, t=0x82777a4) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x8276710) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826e480) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 10 (process 22471): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x8278904, t=0x82788ec) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x8277858) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826d030) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 9 (process 22472): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e28939 in ast_cond_wait (cond=0x8279a4c, t=0x8279a34) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0xb6e51f53 in iax2_process_thread (data=0x82789a0) at chan_iax2.c:9914 #4 0x08144514 in dummy_start (data=0x826d7e8) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 8 (process 22473): #0 0xb7c07622 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6c14 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb6e522c2 in ast_cond_timedwait (cond=0xb6e6fa40, t=0xb6e6e8b4, abstime=0xb6b47320) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1718 #3 0xb6e53de6 in sched_thread (ignore=0x0) at chan_iax2.c:10371 #4 0x08144514 in dummy_start (data=0x826d488) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 7 (process 22474): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x826ad70, howlong=-1) at io.c:275 #2 0xb6e54172 in network_thread (ignore=0x0) at chan_iax2.c:10439 #3 0x08144514 in dummy_start (data=0x826d590) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 6 (process 22475): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x081373fc in ast_cond_wait (cond=0x827c624, t=0x827c658) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x08137286 in tps_processing_function (data=0x827c620) at taskprocessor.c:293 ---Type to continue, or q to quit--- #4 0x08144514 in dummy_start (data=0x827c690) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 5 (process 22476): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x827e038, howlong=1000) at io.c:275 #2 0xb6a1bda2 in do_monitor (data=0x0) at chan_mgcp.c:3484 #3 0x08144514 in dummy_start (data=0x827f958) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 4 (process 22477): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x080d62be in ast_io_wait (ioc=0x81da770, howlong=1000) at io.c:275 #2 0xb69a8b37 in do_monitor (data=0x0) at chan_unistim.c:4568 #3 0x08144514 in dummy_start (data=0x8284a18) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 3 (process 22478): #0 0xb7c073b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb7cf6bcd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0x081373fc in ast_cond_wait (cond=0x8285c7c, t=0x8285cb0) at /home/asterisk/asterisk-1.6.1.1/include/asterisk/lock.h:1713 #3 0x08137286 in tps_processing_function (data=0x8285c78) at taskprocessor.c:293 #4 0x08144514 in dummy_start (data=0x8284bc8) at utils.c:968 #5 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7cea03e in clone () from /lib/libc.so.6 Thread 2 (process 22479): #0 0xb7ce0529 in poll () from /lib/libc.so.6 #1 0x08144889 in ast_wait_for_input (fd=21, ms=5000) at utils.c:1057 #2 0x081384a6 in ast_tcptls_server_root (data=0x81ab020) at tcptls.c:238 #3 0x08144514 in dummy_start (data=0x821a080) at utils.c:968 #4 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7cea03e in clone () from /lib/libc.so.6 Thread 1 (process 22483): #0 CC_clear_error (self=0x0) at connection.c:413 #1 0xb7761b5a in SC_clear_error (self=0x824da00) at statement.c:934 #2 0xb7764674 in SC_Destructor (self=0x824da00) at statement.c:426 #3 0xb773d1dd in CC_cleanup (self=0x820eae8) at connection.c:519 #4 0xb773d91d in PGAPI_Disconnect (hdbc=0x820eae8) at connection.c:197 #5 0xb776b153 in SQLDisconnect (ConnectionHandle=0x820eae8) at odbcapi.c:298 #6 0xb7799d10 in SQLDisconnect (connection_handle=0x81e0d38) at SQLDisconnect.c:313 #7 0xb79e0ef9 in odbc_obj_disconnect (obj=0x81e0b30) at res_odbc.c:795 #8 0xb79de8cc in odbc_obj_destructor (data=0x81e0b30) at res_odbc.c:104 #9 0x0807cf3d in __ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:279 #10 0x0807ce8c in _ao2_ref (user_data=0x81e0b30, delta=-1) at astobj2.c:252 #11 0xb79e153c in reload () at res_odbc.c:916 ---Type to continue, or q to quit--- #12 0x080d926e in ast_module_reload (name=0x82ab29e "res_odbc.so") at loader.c:599 #13 0x08099ff6 in handle_reload (e=0x81a5598, cmd=-4, a=0xb67f4d54) at cli.c:198 #14 0x0809f359 in ast_cli_command (fd=24, s=0xb67f4e9c "module reload res_odbc.so ") at cli.c:1888 #15 0x0809f51e in ast_cli_command_multiple (fd=24, size=27, s=0xb67f50f8 "module reload res_odbc.so ") at cli.c:1921 #16 0x08074df0 in netconsole (vconsole=0x81c63e0) at asterisk.c:1043 #17 0x08144514 in dummy_start (data=0x8250780) at utils.c:968 #18 0xb7c031b3 in start_thread () from /lib/libpthread.so.0 #19 0xb7cea03e in clone () from /lib/libc.so.6