Thread 24 (process 7728): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071de2b in read () from /lib/libpthread.so.0 #2 0x08125521 in read_char (el=0x876f7c8, cp=0xbf8ed63b "▒") at read.c:298 #3 0x08120585 in el_getc (el=0x876f7c8, cp=0xbf8ed63b "▒") at read.c:350 #4 0x08120998 in el_gets (el=0x876f7c8, nread=0xbf8eda3c) at read.c:243 #5 0x080737ba in main (argc=4, argv=0xbf8edcb4) at asterisk.c:3194 #6 0x005b3dec in __libc_start_main () from /lib/libc.so.6 #7 0x08058401 in free () Thread 23 (process 7735): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x0806cc0a in listener (unused=0x0) at asterisk.c:1000 #3 0x0811b4c5 in dummy_start (data=0x8774bf0) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 22 (process 7737): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x0811b741 in ast_wait_for_input (fd=9, ms=-1) at utils.c:919 #3 0x080b7b46 in http_root (data=0x0) at http.c:533 #4 0x0811b4c5 in dummy_start (data=0x8776138) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 21 (process 7738): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071b266 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x080a1e76 in __ast_cond_wait (filename=0x8152574 "devicestate.c", lineno=352, func=0x81529cc "do_devstate_changes", cond_name=0x81529bc "&change_pending", mutex_name=0x81529e0 "&state_changes.lock", cond=0x8180480, t=0x8177808) at /usr/local/src/asterisk-1.4.23.2-HostedPBX-svn/include/asterisk/lock.h:605 #3 0x080a1b6f in do_devstate_changes (data=0x0) at devicestate.c:352 #4 0x0811b4c5 in dummy_start (data=0x877a8c8) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 20 (process 7739): #0 0x004b5402 in __kernel_vsyscall () #1 0x00667bc1 in select () from /lib/libc.so.6 #2 0x00908a01 in ast_select (nfds=0, rfds=0xb7e6c24c, wfds=0x0, efds=0xb7e6c1cc, tvp=0x0) at /usr/local/src/asterisk-1.4.23.2-HostedPBX-svn/include/asterisk/channel.h:1352 #3 0x009089be in do_parking_thread (ignore=0x0) at res_features.c:2079 #4 0x0811b4c5 in dummy_start (data=0x8781238) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 19 (process 7741): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080bba89 in ast_io_wait (ioc=0x87b60f0, howlong=100) at io.c:266 #3 0x00287401 in do_monitor (data=0x0) at chan_sip.c:16378 #4 0x0811b4c5 in dummy_start (data=0x87b9148) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 18 (process 7742): #0 0x004b5402 in __kernel_vsyscall () #1 0x00667bc1 in select () from /lib/libc.so.6 #2 0x003855b4 in ast_select (nfds=0, rfds=0xb7dac29c, wfds=0x0, efds=0xb7dac21c, tvp=0x0) at /usr/local/src/asterisk-1.4.23.2-HostedPBX-svn/include/asterisk/channel.h:1352 #3 0x00385386 in do_monitor (data=0x0) at chan_phone.c:1061 #4 0x0811b4c5 in dummy_start (data=0x87fbbf8) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 17 (process 7743): #0 0x004b5402 in __kernel_vsyscall () #1 0x00667bc1 in select () from /lib/libc.so.6 #2 0x00327146 in ast_select (nfds=16, rfds=0xb7d6f29c, wfds=0xb7d6f21c, efds=0x0, tvp=0x0) at /usr/local/src/asterisk-1.4.23.2-HostedPBX-svn/include/asterisk/channel.h:1352 #3 0x00326eb5 in sound_thread (arg=0x87fd6a8) at chan_oss.c:629 #4 0x0811b4c5 in dummy_start (data=0x87f9bc0) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 16 (process 7744): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080bba89 in ast_io_wait (ioc=0x88026a8, howlong=1000) at io.c:266 #3 0x0036342b in network_thread (ignore=0x0) at pbx_dundi.c:2161 #4 0x0811b4c5 in dummy_start (data=0x8803c00) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 15 (process 7745): #0 0x004b5402 in __kernel_vsyscall () #1 0x0062e956 in nanosleep () from /lib/libc.so.6 #2 0x0062e77f in sleep () from /lib/libc.so.6 #3 0x003637b6 in process_precache (ign=0x0) at pbx_dundi.c:2239 #4 0x0811b4c5 in dummy_start (data=0x8803bf0) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 14 (process 7746): #0 0x004b5402 in __kernel_vsyscall () #1 0x0062e956 in nanosleep () from /lib/libc.so.6 #2 0x0062e77f in sleep () from /lib/libc.so.6 #3 0x0036360e in process_clearcache (ignore=0x0) at pbx_dundi.c:2202 #4 0x0811b4c5 in dummy_start (data=0x8803d98) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 13 (process 7747): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071e048 in accept () from /lib/libpthread.so.0 #2 0x00452852 in accept_thread (ignore=0x0) at chan_skinny.c:4585 #3 0x0811b4c5 in dummy_start (data=0x8821978) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 12 (process 7748): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080bba89 in ast_io_wait (ioc=0x8809bf0, howlong=1000) at io.c:266 #3 0x00452b11 in do_monitor (data=0x0) at chan_skinny.c:4632 #4 0x0811b4c5 in dummy_start (data=0x88301b8) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 11 (process 7749): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x008b9fa5 in do_monitor (data=0x0) at chan_dahdi.c:7002 #3 0x0811b4c5 in dummy_start (data=0xb7b01880) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 10 (process 7750): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080bba89 in ast_io_wait (ioc=0xb7b01e38, howlong=1000) at io.c:266 #3 0x009cb761 in do_monitor (data=0x0) at chan_mgcp.c:3514 #4 0x0811b4c5 in dummy_start (data=0xb7b01ed0) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 9 (process 7751): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071b266 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x004e3f89 in __ast_cond_wait (filename=0x4f56b4 "app_queue.c", lineno=712, func=0x4f738b "device_state_thread", cond_name=0x4f73b2 "&device_state.cond", mutex_name=0x4f739f "&device_state.lock", cond=0x4fb660, t=0x4fb588) at /usr/local/src/asterisk-1.4.23.2-HostedPBX-svn/include/asterisk/lock.h:605 #3 0x004e3b3a in device_state_thread (data=0x0) at app_queue.c:712 #4 0x0811b4c5 in dummy_start (data=0xb7b07ae0) at utils.c:856 #5 0x0071746b in start_thread () from /lib/libpthread.so.0 #6 0x0066edbe in clone () from /lib/libc.so.6 Thread 8 (process 7752): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071e626 in nanosleep () from /lib/libpthread.so.0 #2 0x00e13aab in scan_thread (unused=0x0) at pbx_spool.c:458 #3 0x0811b4c5 in dummy_start (data=0xb7b07d20) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 7 (process 7754): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x0806c9e6 in netconsole (vconsole=0x8187e00) at asterisk.c:949 #3 0x0811b4c5 in dummy_start (data=0x8780638) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 6 (process 7755): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080cbef0 in accept_thread (ignore=0x0) at manager.c:2419 #3 0x0811b4c5 in dummy_start (data=0x883d750) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 5 (process 7756): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x08071ab1 in monitor_sig_flags (unused=0x0) at asterisk.c:2661 #3 0x0811b4c5 in dummy_start (data=0x883a5a8) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 4 (process 7758): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x0806c9e6 in netconsole (vconsole=0x8187e14) at asterisk.c:949 #3 0x0811b4c5 in dummy_start (data=0x883a400) at utils.c:856 #4 0x0071746b in start_thread () from /lib/libpthread.so.0 #5 0x0066edbe in clone () from /lib/libc.so.6 Thread 3 (process 7760): #0 0x004b5402 in __kernel_vsyscall () #1 0x006651c3 in poll () from /lib/libc.so.6 #2 0x080898bc in ast_waitfor_nandfds (c=0xb78e1b74, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb78e3324) at channel.c:1756 #3 0x08089bf0 in ast_waitfor_n (c=0xb78e1b74, n=1, ms=0xb78e3324) at channel.c:1818 #4 0x08078e82 in autoservice_run (ign=0x0) at autoservice.c:116 #5 0x0811b4c5 in dummy_start (data=0x883a3e0) at utils.c:856 #6 0x0071746b in start_thread () from /lib/libpthread.so.0 #7 0x0066edbe in clone () from /lib/libc.so.6 Thread 2 (process 7771): #0 0x004b5402 in __kernel_vsyscall () #1 0x0071da4e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x007198a0 in _L_mutex_lock_85 () from /lib/libpthread.so.0 #3 0x007193ed in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x001a0cda in SQLTablesW () from /usr/lib/libodbc.so.1 #5 0x00174de8 in SQLFreeEnv () from /usr/lib/libodbc.so.1 #6 0x00175715 in SQLFreeHandle () from /usr/lib/libodbc.so.1 #7 0x001ce5e6 in odbc_obj_disconnect (obj=0x8794598) at res_odbc.c:504 #8 0x001cc35b in ast_odbc_prepare_and_execute (obj=0x8794598, prepare_cb=0xb770b8 , data=0xb78a22f8) at res_odbc.c:123 #9 0x00b77855 in acf_odbc_write (chan=0x8856b90, cmd=0xb78a2b90 "RT_FAIL_SQL", s=0xb78a2b9c "", value=0xb78a2c1e "1") at func_odbc.c:188 #10 0x080d4351 in ast_func_write (chan=0x8856b90, function=0xb78a2b90 "RT_FAIL_SQL", value=0xb78a2c1e "1") at pbx.c:1569 #11 0x080e01ce in pbx_builtin_setvar_helper (chan=0x8856b90, name=0xb78a2c10 "RT_FAIL_SQL()", value=0xb78a2c1e "1") at pbx.c:5870 #12 0x080e0665 in pbx_builtin_setvar (chan=0x8856b90, data=0xb78a4e08) at pbx.c:5943 #13 0x080d12fa in pbx_exec (c=0x8856b90, app=0x877c1b0, data=0xb78a4e08) at pbx.c:537 #14 0x080d506b in pbx_extension_helper (c=0x8856b90, con=0x0, context=0x8856dd0 "bugfinder", exten=0x8856e20 "s", priority=1, label=0x0, callerid=0xb7b16138 "", action=E_SPAWN) at pbx.c:1863 #15 0x080d6400 in ast_spawn_extension (c=0x8856b90, context=0x8856dd0 "bugfinder", exten=0x8856e20 "s", priority=1, callerid=0xb7b16138 "") at pbx.c:2332 #16 0x080d6846 in __ast_pbx_run (c=0x8856b90) at pbx.c:2421 #17 0x080d77fe in ast_pbx_run (c=0x8856b90) at pbx.c:2678 #18 0x080dd62c in ast_pbx_outgoing_exten (type=0x87a88e8 "Console", format=72, data=0x87a89e8, timeout=30000, context=0x87a8de8 "bugfinder", exten=0x87a8ce8 "s", priority=1, reason=0xb78a732c, sync=2, cid_num=0x87a8eec "", cid_name=0x87a8fec "", vars=0x0, account=0x87a90ec "", channel=0x0) at pbx.c:5033 #19 0x00e133af in attempt_thread (data=0x87a87d0) at pbx_spool.c:353 #20 0x0811b4c5 in dummy_start (data=0x8796978) at utils.c:856 #21 0x0071746b in start_thread () from /lib/libpthread.so.0 #22 0x0066edbe in clone () from /lib/libc.so.6 Thread 1 (process 7772): #0 0x0017a3df in SQLGetDiagFieldA () from /usr/lib/libodbc.so.1 #1 0x0017b22d in SQLGetDiagRec () from /usr/lib/libodbc.so.1 #2 0x001cc246 in ast_odbc_prepare_and_execute (obj=0x8794598, prepare_cb=0xb770b8 , data=0xb77ee2f8) at res_odbc.c:104 #3 0x00b77855 in acf_odbc_write (chan=0x88562e8, cmd=0xb77eeb90 "RT_FAIL_SQL", s=0xb77eeb9c "", value=0xb77eec1e "1") at func_odbc.c:188 #4 0x080d4351 in ast_func_write (chan=0x88562e8, function=0xb77eeb90 "RT_FAIL_SQL", value=0xb77eec1e "1") at pbx.c:1569 #5 0x080e01ce in pbx_builtin_setvar_helper (chan=0x88562e8, name=0xb77eec10 "RT_FAIL_SQL()", value=0xb77eec1e "1") at pbx.c:5870 #6 0x080e0665 in pbx_builtin_setvar (chan=0x88562e8, data=0xb77f0e08) at pbx.c:5943 #7 0x080d12fa in pbx_exec (c=0x88562e8, app=0x877c1b0, data=0xb77f0e08) at pbx.c:537 #8 0x080d506b in pbx_extension_helper (c=0x88562e8, con=0x0, context=0x8856528 "bugfinder", exten=0x8856578 "s", priority=1, label=0x0, callerid=0x87a9930 "", action=E_SPAWN) at pbx.c:1863 #9 0x080d6400 in ast_spawn_extension (c=0x88562e8, context=0x8856528 "bugfinder", exten=0x8856578 "s", priority=1, callerid=0x87a9930 "") at pbx.c:2332 #10 0x080d6846 in __ast_pbx_run (c=0x88562e8) at pbx.c:2421 #11 0x080d77fe in ast_pbx_run (c=0x88562e8) at pbx.c:2678 #12 0x080dd62c in ast_pbx_outgoing_exten (type=0x87b2a78 "Console", format=72, data=0x87b2b78, timeout=30000, context=0x87b2f78 "bugfinder", exten=0x87b2e78 "s", priority=1, reason=0xb77f332c, sync=2, cid_num=0x87b307c "", cid_name=0x87b317c "", vars=0x0, account=0x87b327c "", channel=0x0) at pbx.c:5033 #13 0x00e133af in attempt_thread (data=0x87b2960) at pbx_spool.c:353 #14 0x0811b4c5 in dummy_start (data=0x883a8c0) at utils.c:856 #15 0x0071746b in start_thread () from /lib/libpthread.so.0 #16 0x0066edbe in clone () from /lib/libc.so.6