Core was generated by `asterisk -cv'. Program terminated with signal 11, Segmentation fault. #0 0x00000000005416ee in el_gets (el=0x13a91e0, nread=0x7fff6c7dd9fc) at read.c:475 475 retval = (*el->el_map.func[cmdnum]) (el, ch); (gdb) bt #0 0x00000000005416ee in el_gets (el=0x13a91e0, nread=0x7fff6c7dd9fc) at read.c:475 #1 0x000000000043d8c7 in main (argc=, argv=) at asterisk.c:3792 (gdb) bt full #0 0x00000000005416ee in el_gets (el=0x13a91e0, nread=0x7fff6c7dd9fc) at read.c:475 cmdnum = 0 '\000' num = -1 ch = 0 '\000' #1 0x000000000043d8c7 in main (argc=, argv=) at asterisk.c:3792 title = "Asterisk Console on 'walter-laptop' (pid 29740)\000\000\000\000\000\000\000\000\000\215'\255Q\240\177\000\000\000\000\000\000\000\000\000\000\267\071{P\240\177\000\000\000\000\000\000\000\000\000\000\212\262\254Q\240\177", '\000' "\252, \251\342P\240\177\000\000\001", '\000' dont_care = 140326086813456 c = filename = "/home/walter/.asterisk_history", '\000' hostname = "walter-laptop", '\000' tmp = "\033[1;37mAsterisk Ready.\n\033[0m\000\000\000\000\000\220\354}l\377\177\000\000\003\234C\000\000\000\000\000\350\264Y\000\000\000\000\000\000\343MQ\240\177\000\000$Revision: 25163" xarg = 0x0 x = f = sigs = {__val = {134238211, 0 }} num = 0 buf = 0x7fff6c7dda00 "Asterisk Console on 'walter-laptop' (pid 29740)" runuser = rungroup = remotesock = moduleresult = __PRETTY_FUNCTION__ = "main" __func__ = "main" (gdb) info threads 14 Thread 29755 0x00007fa0509f803d in pthread_join () from /lib/libpthread.so.0 13 Thread 29752 0x00007fa05123af53 in poll () from /lib/libc.so.6 12 Thread 29751 0x00007fa05120b35d in nanosleep () from /lib/libc.so.6 11 Thread 29754 0x00007fa05120b35d in nanosleep () from /lib/libc.so.6 10 Thread 29750 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 9 Thread 29753 0x00007fa05123af53 in poll () from /lib/libc.so.6 8 Thread 29749 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 7 Thread 29748 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 6 Thread 29747 0x00007fa05123ffb3 in select () from /lib/libc.so.6 5 Thread 29746 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 4 Thread 29745 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 3 Thread 29741 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 2 Thread 29743 0x00007fa05123947d in read () from /lib/libc.so.6 * 1 Thread 29740 0x00000000005416ee in el_gets (el=0x13a91e0, nread=0x7fff6c7dd9fc) at read.c:475 (gdb) thread apply all bt full Thread 14 (Thread 29755): #0 0x00007fa0509f803d in pthread_join () from /lib/libpthread.so.0 No symbol table info available. #1 0x00000000004c865c in close_logger () at logger.c:971 f = __PRETTY_FUNCTION__ = "close_logger" #2 0x000000000043a432 in quit_handler (niceness=, safeshutdown=915316064, restart=0, num=) at asterisk.c:1687 filename = "/home/walter/.asterisk_history", '\000' s = 1277789362 e = 1277789362 x = #3 0x000000000043a54b in monitor_sig_flags (unused=) at asterisk.c:3066 p = {fd = 9, events = 1, revents = 1} a = 0 #4 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140325976909168, -5526006002044342307, 0, 0, 0, 140326086813456, 5480814554776104925, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa0368e9f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0x0 #5 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. Thread 13 (Thread 29752): #0 0x00007fa05123af53 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00007fa03fc26b79 in scan_thread (unused=) at pbx_spool.c:591 waittime = -1 next = -1 dir = de = now = 1277789362 ---Type to continue, or q to quit--- ts = {tv_sec = 1, tv_nsec = 0} res = inotify_fd = 6 buf = {iev = {wd = 0, mask = 0, cookie = 0, len = 0, name = 0x7fa036e65dc0 ""}, name = '\000' , "\030\000\000\000\000\000\000\000@\356MQ\240\177\000\000\320\310\001\000\000\000\000\000\060\227\260\001\000\000\000\000@\356MQ\240\177\000\000$\364\035Q\240\177", '\000' "\300, \037\257\001\000\000\000\000\300\037\257\001", '\000' } pfd = {fd = 6, events = 1, revents = 0} __PRETTY_FUNCTION__ = "scan_thread" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {28254144, -5526006002044342307, 0, 0, 0, 140326092568336, 5480813802619957213, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa036e66f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffdfc #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 12 (Thread 29751): #0 0x00007fa05120b35d in nanosleep () from /lib/libc.so.6 No symbol table info available. #1 0x00007fa03c3668ca in lock_broker (unused=) at func_lock.c:192 found_requester = 0 frame = 0x0 forever = {tv_sec = 1000000, tv_nsec = 0} __PRETTY_FUNCTION__ = "lock_broker" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {28177968, -5526006002044342307, 0, 0, 0, 0, 5480813736047964125, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa036ee2f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffdfc #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 11 (Thread 29754): #0 0x00007fa05120b35d in nanosleep () from /lib/libc.so.6 No symbol table info available. #1 0x00007fa0446f4a7b in cleanup (unused=) at pbx_realtime.c:131 forever = {tv_sec = 999999999, tv_nsec = 0} one_second = {tv_sec = 1, tv_nsec = 0} now = {tv_sec = 28525936, tv_usec = 0} #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {28525936, -5526006002044342307, 0, 0, 0, 0, 5480814763082018781, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa036965f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffdfc #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 10 (Thread 29750): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x00007fa047f5ed40 in do_timing (arg=) at res_timing_pthread.c:468 ts = {tv_sec = 1277789361, tv_nsec = 363689000} next_wakeup = {tv_sec = 1277789361, tv_usec = 363689} __PRETTY_FUNCTION__ = "do_timing" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {28072000, -5526006002044342307, 0, 0, 0, 0, 5480813927174008797, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa036f5ef50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 9 (Thread 29753): #0 0x00007fa05123af53 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00000000004c399e in ast_io_wait (ioc=0x1b26a30, howlong=1000) at io.c:275 res = x = origcnt = #2 0x00007fa0487e4dd8 in do_monitor (data=) at chan_sip.c:23659 res = -516 t = 1277789362 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #3 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {28729888, -5526006002044342307, 0, 0, 0, 0, 5480814696510025693, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa0369e1f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffdfc #4 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #5 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000000000 in ?? () No symbol table info available. Thread 8 (Thread 29749): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x000000000051f342 in sched_run (data=) at sched.c:103 ms = ts = {tv_sec = 0, tv_nsec = 0} ---Type to continue, or q to quit--- st = 0x19e8480 __PRETTY_FUNCTION__ = "sched_run" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {25898704, -5526006002044342307, 0, 0, 0, 0, 5480656608427536349, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa04d7a3f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 7 (Thread 29748): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x0000000000528f98 in tps_processing_function (data=) at taskprocessor.c:293 i = 0x19e7838 t = 0x0 size = 0 __PRETTY_FUNCTION__ = "tps_processing_function" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {25919856, -5526006002044342307, 0, 0, 0, 0, 5480658448821022685, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa04d81ff50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 6 (Thread 29747): #0 0x00007fa05123ffb3 in select () from /lib/libc.so.6 ---Type to continue, or q to quit--- No symbol table info available. #1 0x00000000004b0b5d in ast_select (ignore=) at /home/walter/src/asterisk-svn/include/asterisk/channel.h:2135 No locals. #2 do_parking_thread (ignore=) at features.c:3736 wait = {tv_sec = 4294967, tv_usec = 295000} ms = -1 iter = {c = 0x18b6ba8, flags = 0, bucket = 7, c_version = 2, obj = 0x0, version = 0} max = -1 rfds = {fds_bits = {0 }} efds = {fds_bits = {0 }} nrfds = {fds_bits = {0 }} nefds = {fds_bits = {0 }} #3 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {25780432, -5526006002044342307, 0, 0, 0, 0, 5480658382249029597, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa04d89bf50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffdfe #4 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #5 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000000000 in ?? () No symbol table info available. Thread 5 (Thread 29746): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x0000000000528f98 in tps_processing_function (data=) at taskprocessor.c:293 i = 0x1888c88 t = 0x0 size = 0 __PRETTY_FUNCTION__ = "tps_processing_function" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {25697312, -5526006002044342307, 0, 0, 0, 0, 5480658590554943453, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa04d917f50, 0x0, 0x0, 0x0}} not_first_call = ---Type to continue, or q to quit--- ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 4 (Thread 29745): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x0000000000490b5d in do_devstate_changes (data=) at devicestate.c:539 next = 0x0 __PRETTY_FUNCTION__ = "do_devstate_changes" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {25711072, -5526006002044342307, 0, 0, 0, 0, 5480658523982950365, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa04d993f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 3 (Thread 29741): #0 0x00007fa0509fb85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x0000000000528f98 in tps_processing_function (data=) at taskprocessor.c:293 i = 0x13bd978 t = 0x0 size = 0 __PRETTY_FUNCTION__ = "tps_processing_function" #2 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {20650880, -5526006002044342307, 0, 0, 0, 0, 5480613869207973853, -5526006391284142115}, ---Type to continue, or q to quit--- __mask_was_saved = 0}}, __pad = {0x7fa051cbbf50, 0x0, 0x7fa051cbc710, 0x7fa051cbc710}} not_first_call = ret = 0xfffffffffffffe00 #3 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 2 (Thread 29743): #0 0x00007fa05123947d in read () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000522543 in read (data=) at /usr/include/bits/unistd.h:45 No locals. #2 inotify_daemon (data=) at stdtime/localtime.c:279 buf = {iev = {wd = 0, mask = 0, cookie = 0, len = 0, name = 0x7fa051bc2df0 ""}, name = '\000' , "\030\000\000\000\000\000\000\000@\356MQ\240\177\000\000Л\001\000\000\000\000\000\060ԃ\001\000\000\000\000@\356MQ\240\177\000\000$\364\035Q\240\177", '\000' , " \r@\001\000\000\000\000 \r@\001", '\000' "\220, \230C", '\000' } res = cur = __PRETTY_FUNCTION__ = "inotify_daemon" #3 0x00000000005350da in dummy_start (data=) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {20974880, -5526006002044342307, 0, 0, 0, 0, 5480614294409736157, -5526006391284142115}, __mask_was_saved = 0}}, __pad = {0x7fa051bc3f50, 0x0, 0x0, 0x0}} not_first_call = ret = 0xfffffffffffffffc #4 0x00007fa0509f69ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #5 0x00007fa0512476cd in clone () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000000000 in ?? () No symbol table info available. Thread 1 (Thread 29740): #0 0x00000000005416ee in el_gets (el=0x13a91e0, nread=0x7fff6c7dd9fc) at read.c:475 ---Type to continue, or q to quit--- cmdnum = 0 '\000' num = -1 ch = 0 '\000' #1 0x000000000043d8c7 in main (argc=, argv=) at asterisk.c:3792 title = "Asterisk Console on 'walter-laptop' (pid 29740)\000\000\000\000\000\000\000\000\000\215'\255Q\240\177\000\000\000\000\000\000\000\000\000\000\267\071{P\240\177\000\000\000\000\000\000\000\000\000\000\212\262\254Q\240\177", '\000' "\252, \251\342P\240\177\000\000\001", '\000' dont_care = 140326086813456 c = filename = "/home/walter/.asterisk_history", '\000' hostname = "walter-laptop", '\000' tmp = "\033[1;37mAsterisk Ready.\n\033[0m\000\000\000\000\000\220\354}l\377\177\000\000\003\234C\000\000\000\000\000\350\264Y\000\000\000\000\000\000\343MQ\240\177\000\000$Revision: 25163" xarg = 0x0 x = f = sigs = {__val = {134238211, 0 }} num = 0 buf = 0x7fff6c7dda00 "Asterisk Console on 'walter-laptop' (pid 29740)" runuser = rungroup = remotesock = moduleresult = __PRETTY_FUNCTION__ = "main" __func__ = "main"