(gdb) bt #0 0xb7b1925d in SSL_shutdown () from /usr/lib/libssl.so.0.9.7 #1 0xb7b4d9cb in pqsecure_write () from /usr/lib/libpq.so.4 #2 0xb7b4169e in PQconnectPoll () from /usr/lib/libpq.so.4 #3 0xb7b417cb in PQfinish () from /usr/lib/libpq.so.4 #4 0xb71fdfb3 in reload () at cdr_pgsql.c:195 #5 0x080a77b7 in ast_module_reload (name=0x0) at loader.c:592 #6 0x080886ac in handle_reload_deprecated (fd=90, argc=1, argv=0xb717c8d4) at cli.c:182 #7 0x08087f8f in ast_cli_command (fd=90, s=0x3030312f
) at cli.c:1982 #8 0x080884fb in ast_cli_command_multiple (fd=90, size=7, s=0xb717cc54 "reload") at cli.c:2021 #9 0x0807005a in netconsole (vconsole=0x8164a20) at asterisk.c:941 #10 0x080f7e99 in dummy_start (data=0x3030312f) at utils.c:843 #11 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #12 0xb7dd41ba in clone () from /lib/libc.so.6 (gdb) bt full #0 0xb7b1925d in SSL_shutdown () from /usr/lib/libssl.so.0.9.7 No symbol table info available. #1 0xb7b4d9cb in pqsecure_write () from /usr/lib/libpq.so.4 No symbol table info available. #2 0xb7b4169e in PQconnectPoll () from /usr/lib/libpq.so.4 No symbol table info available. #3 0xb7b417cb in PQfinish () from /usr/lib/libpq.so.4 No symbol table info available. #4 0xb71fdfb3 in reload () at cdr_pgsql.c:195 No locals. #5 0x080a77b7 in ast_module_reload (name=0x0) at loader.c:592 info = (const struct ast_module_info *) 0xb7201e80 cur = (struct ast_module *) 0x823d340 res = 2 i = 136565568 #6 0x080886ac in handle_reload_deprecated (fd=90, argc=1, argv=0xb717c8d4) at cli.c:182 x = -1223178096 res = 808464687 #7 0x08087f8f in ast_cli_command (fd=90, s=0x3030312f
) at cli.c:1982 argv = {0x8199e88 "reload", 0x0, 0x0, 0x81c17e8 "h\"%\b(\027\034\bH", 0x0 } e = (struct ast_cli_entry *) 0x814aba0 x = 1 dup = 0x8199e88 "reload" tws = 0 #8 0x080884fb in ast_cli_command_multiple (fd=90, size=7, s=0xb717cc54 "reload") at cli.c:2021 cmd = "reload\000tus \000MATCHES \"cdr status \" \"\"", '\0' , "ïØÜ·TÎ\027·ÁÊ\027·\005\000\000\000ÁÊ\027·Linux", '\0' , "\204É×·\000\000\000\000\000\000\000\000ô\017ã·\024Ë\027·ðÊ\027·@Ú×·\024Ë\027·TÌ\027·7281\000\000\000\000SÎ\027·ô\017ã·\000\002\000\000TÌ\027·\000Ì\027·Ð\206×·\024Ë\027·\031\024\022\b<Ì\027·TÌ\027·\000\000\000\000´Ë\027·\024Ë\027·\001\200­ûTÌ\027·TÌ\027·TÌ\027·TÌ\027·eÌ\027"... x = 6 y = 808464687 ---Type to continue, or q to quit--- count = 1 #9 0x0807005a in netconsole (vconsole=0x8164a20) at asterisk.c:941 hostname = "IVR5", '\0' tmp = "reload\000\000wn extension (telpin-112-22:00-07:59-mon-sat-*-*, 80, 3) exited non-zero on 'Zap/2-1'\n\000 -- Hungup 'Zap/2-1'\n\000\033[1;35;40minffuerahorario\033[0;37;40m\") in new stack\n\0002192|Zap/2-1\033[0;37;40m\") in "... res = 808464687 fds = {{fd = 90, events = 1, revents = 1}, {fd = 91, events = 1, revents = 0}} #10 0x080f7e99 in dummy_start (data=0x3030312f) at utils.c:843 _buffer = {__routine = 0x8067f40 , __arg = 0x60018, __canceltype = -1223176468, __prev = 0x0} ret = (void *) 0x824fcb0 a = {start_routine = 0x806fe20 , data = 0x8164a20, name = 0x824fcb0 "netconsole", ' ' , "started at [ 1006] asterisk.c listener()"} #11 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. #12 0xb7dd41ba in clone () from /lib/libc.so.6 No symbol table info available. ---------------------------------------------------------------------------------------------------- (gdb) thread apply all bt Thread 26 (process 7281): #0 0xb7eb123b in read () from /lib/libpthread.so.0 #1 0x00000000 in ?? () Thread 25 (process 7450): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0xb7eaac60 in __pthread_manager () from /lib/libpthread.so.0 #2 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 24 (process 7452): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x0806f26f in listener (unused=0x0) at asterisk.c:980 #2 0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 23 (process 7795): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x080b600f in accept_thread (ignore=0x0) at manager.c:2340 #2 0x080f7e99 in dummy_start (data=0x1388) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 22 (process 7800): #0 0xb7eadfa4 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7eadde8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7ea9fbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0x08093828 in do_devstate_changes (data=0x0) at lock.h:732 #4 0x080f7e99 in dummy_start (data=0xb7eb3ff4) at utils.c:843 #5 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- #6 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 21 (process 7840): #0 0xb7eb123b in read () from /lib/libpthread.so.0 #1 0xb7c602b4 in ?? () from /usr/lib/asterisk/modules/res_musiconhold.so #2 0x00000000 in ?? () Thread 20 (process 7841): #0 0xb7eb123b in read () from /lib/libpthread.so.0 #1 0xb7c602b4 in ?? () from /usr/lib/asterisk/modules/res_musiconhold.so #2 0x00000000 in ?? () Thread 19 (process 7910): #0 0xb7dcda71 in select () from /lib/libc.so.6 #1 0xb79ea96c in ?? () from /usr/lib/asterisk/modules/res_features.so #2 0x00000000 in ?? () Thread 18 (process 8190): #0 0xb7dcda71 in select () from /lib/libc.so.6 #1 0xb78d6190 in ?? () from /usr/lib/asterisk/modules/chan_oss.so #2 0x081b5ef8 in ?? () #3 0xb78cde14 in ?? () #4 0x00000000 in ?? () Thread 17 (process 8191): #0 0xb7dcda71 in select () from /lib/libc.so.6 #1 0xb78d6190 in ?? () from /usr/lib/asterisk/modules/chan_oss.so #2 0x081b7098 in ?? () #3 0xb7890e14 in ?? () #4 0x00000000 in ?? () ---Type to continue, or q to quit--- Thread 16 (process 8192): #0 0xb7dcda71 in select () from /lib/libc.so.6 #1 0xb7854194 in ?? () from /usr/lib/asterisk/modules/chan_phone.so #2 0x00000000 in ?? () Thread 15 (process 8193): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x080bafb5 in get_input (s=0x81bade0, output=0xb77ae854 "") at manager.c:2210 #2 0x080b9be5 in do_message (s=0x81bade0) at manager.c:2247 #3 0x080b7578 in session_do (data=0x81bade0) at manager.c:2272 #4 0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843 #5 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 14 (process 8194): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x080a5304 in ast_io_wait (ioc=0x81993c8, howlong=-4) at io.c:266 #2 0xb77cb256 in do_monitor (data=0x0) at chan_sip.c:15487 #3 0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843 #4 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 13 (process 8195): #0 0xb7eb1448 in accept () from /lib/libpthread.so.0 #1 0xb7727e49 in accept_thread (ignore=0x0) at chan_skinny.c:4506 #2 0x080f7e99 in dummy_start (data=0xb7733b88) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 12 (process 8196): #0 0xb7dcb90a in poll () from /lib/libc.so.6 ---Type to continue, or q to quit--- #1 0x080a5304 in ast_io_wait (ioc=0x81bde88, howlong=-4) at io.c:266 #2 0xb77259b4 in do_monitor (data=0x0) at chan_skinny.c:4553 #3 0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843 #4 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 11 (process 8197): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0xb7675e3f in pri_dchannel (vpri=0xb768bd80) at chan_zap.c:8452 #2 0x080f7e99 in dummy_start (data=0x2709) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 10 (process 8198): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0xb7675e3f in pri_dchannel (vpri=0xb768c9f8) at chan_zap.c:8452 #2 0x080f7e99 in dummy_start (data=0x270f) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 9 (process 8199): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0xb7661b8e in do_monitor (data=0x0) at chan_zap.c:6829 #2 0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 8 (process 8200): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x080a5304 in ast_io_wait (ioc=0x8222c30, howlong=-4) at io.c:266 #2 0xb751c54f in network_thread (ignore=0x0) at pbx_dundi.c:2145 ---Type to continue, or q to quit--- #3 0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843 #4 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 7 (process 8201): #0 0xb7da53a6 in nanosleep () from /lib/libc.so.6 #1 0x00000000 in ?? () Thread 6 (process 8202): #0 0xb7da53a6 in nanosleep () from /lib/libc.so.6 #1 0x00000000 in ?? () Thread 5 (process 8203): #0 0xb7eadfa4 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7eadde8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7ea9fbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb73bf4cf in sla_thread (data=0x0) at lock.h:732 #4 0x080f7e99 in dummy_start (data=0xb7eb3ff4) at utils.c:843 #5 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 4 (process 8204): #0 0xb7eadfa4 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7eadde8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7ea9fbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb73416cc in device_state_thread (data=0x0) at lock.h:732 #4 0x080f7e99 in dummy_start (data=0xb7eb3ff4) at utils.c:843 #5 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 3 (process 8217): ---Type to continue, or q to quit--- #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x0806f10f in monitor_sig_flags (unused=0x0) at asterisk.c:2524 #2 0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843 #3 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 2 (process 8728): #0 0xb7dcb90a in poll () from /lib/libc.so.6 #1 0x0807c583 in ast_waitfor_nandfds (c=0xb7102a94, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb7102a90) at channel.c:1982 #2 0x08082797 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:2044 #3 0x080718ac in autoservice_run (ign=0x0) at autoservice.c:89 #4 0x080f7e99 in dummy_start (data=0x1f4) at utils.c:843 #5 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7dd41ba in clone () from /lib/libc.so.6 Thread 1 (process 8618): #0 0xb7b1925d in SSL_shutdown () from /usr/lib/libssl.so.0.9.7 #1 0xb7b4d9cb in pqsecure_write () from /usr/lib/libpq.so.4 #2 0xb7b4169e in PQconnectPoll () from /usr/lib/libpq.so.4 #3 0xb7b417cb in PQfinish () from /usr/lib/libpq.so.4 #4 0xb71fdfb3 in reload () at cdr_pgsql.c:195 #5 0x080a77b7 in ast_module_reload (name=0x0) at loader.c:592 #6 0x080886ac in handle_reload_deprecated (fd=90, argc=1, argv=0xb717c8d4) at cli.c:182 #7 0x08087f8f in ast_cli_command (fd=90, s=0x3030312f
) at cli.c:1982 #8 0x080884fb in ast_cli_command_multiple (fd=90, size=7, s=0xb717cc54 "reload") at cli.c:2021 #9 0x0807005a in netconsole (vconsole=0x8164a20) at asterisk.c:941 #10 0x080f7e99 in dummy_start (data=0x3030312f) at utils.c:843 #11 0xb7eab13d in pthread_start_thread () from /lib/libpthread.so.0 #12 0xb7dd41ba in clone () from /lib/libc.so.6