(gdb) thread apply all bt full Thread 15 (Thread 0xb7493b70 (LWP 10352)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7744abb in read () from /lib/i686/libc.so.6 No symbol table info available. #2 0x08170df6 in inotify_daemon (data=0x0) at stdtime/localtime.c:258 buf = {iev = {wd = 0, mask = 0, cookie = 0, len = 0, name = 0xb7492304 ""}, name = '\0' , "|\000\000\000- L-- L-T.I-e\033y-- L-D.I-\000\000\000\000\000\000\000\000h.L-\v\000\000\000\001\000\000\000--}--\033L-\200\037L--.I-c\020y-\v\000\000\000\000\000\000\000h.L--.I--\033L-p\000\000\000\b\034L-\000\000\000\000\\.L-\224pJ-\033\000\000\000q", '\0' , "\r-\177--\000\000\000\235\000\000\000- L---\026\t--\026\t\024/I-\\-x--t\200-(\000\000\000$/I-\001\000\000\000-\177--.I-\203-K-\000\000\000\000\000pJ"...} res = -1 cur = (struct state *) 0xb77deff4 ten_seconds = {tv_sec = 10, tv_nsec = 0} __PRETTY_FUNCTION__ = "inotify_daemon" #3 0x0818a255 in dummy_start (data=0x91748a8) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1219939432, 1874977201, -857406769}, __mask_was_saved = 0}}, __pad = {0xb7493454, 0x0, 0x1, 0x5}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb7493b70 not_first_call = 0 ret = (void *) 0xb74e2000 a = {start_routine = 0x8170cc4 , data = 0x0, name = 0x9174940 "inotify_daemon started at [ 294] stdtime/localtime.c add_notify()"} lock_info = (struct thr_lock_info *) 0xb7300580 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #4 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #5 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 14 (Thread 0xb7457b70 (LWP 10353)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb74ebc85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 No symbol table info available. #2 0xb77640fd in pthread_cond_wait () from /lib/i686/libc.so.6 No symbol table info available. #3 0x08177ca5 in __ast_cond_wait (filename=0x81ebf68 "taskprocessor.c", lineno=293, func=0x81ec92b "tps_processing_function", cond_name=0x81ec57d "&i->poll_cond", mutex_name=0x81ec566 "&i->taskprocessor_lock", cond=0x918a504, t=0x918a538) at /root/src/asterisk-r231431/include/asterisk/lock.h:828 res = 0 lt = (struct ast_lock_track *) 0x918a538 canlog = 1 bt = (struct ast_bt *) 0x0 __PRETTY_FUNCTION__ = "__ast_cond_wait" #4 0x08178dfb in tps_processing_function (data=0x918a500) at taskprocessor.c:293 i = (struct ast_taskprocessor *) 0x918a500 t = (struct tps_task *) 0x953adc0 size = 0 __PRETTY_FUNCTION__ = "tps_processing_function" #5 0x0818a255 in dummy_start (data=0x91836b8) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1220185192, 2000806321, -857406769}, __mask_was_saved = 0}}, __pad = {0xb7457454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb7457b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x8178ce8 , data = 0x918a500, name = 0x9183750 "tps_processing_function started at [ 451] taskprocessor.c ast_taskprocessor_get()"} lock_info = (struct thr_lock_info *) 0xb7100580 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #6 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #7 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 13 (Thread 0xb72ffb70 (LWP 10354)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774a9e6 in poll () from /lib/i686/libc.so.6 No symbol table info available. #2 0x08078a53 in listener (unused=0x0) at asterisk.c:1269 sunaddr = {sun_family = 61, sun_path = "--/---\b\b--\033\b\207\000\000\000h-\033\b--\033\b -#\b\000\000\000\000(\226!\b\001\000\000\000-\030\t@-\030\t\204-\030\tm\001\000\000\000\000\000\000\000\017=\000(-/-24\b\b@-\030\t-9\030\tt-\036\b-\226N-7\235N-\000\000\000\000\000\000\000\000--}-\000\000\000"} s = 0 len = 0 x = -1221594328 flags = -1216986362 fds = {{fd = 4, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "listener" __func__ = "listener" #3 0x0818a255 in dummy_start (data=0x9183950) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1221594216, -1572740687, -857406769}, __mask_was_saved = 0}}, __pad = {0xb72ff454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb72ffb70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x80789f9 , data = 0x0, name = 0x91839e8 "listener", ' ' , "started at [ 1370] asterisk.c ast_makesocket()"} lock_info = (struct thr_lock_info *) 0x918ac90 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #4 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #5 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 12 (Thread 0xb72c3b70 (LWP 10355)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb74ebc85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 No symbol table info available. #2 0xb77640fd in pthread_cond_wait () from /lib/i686/libc.so.6 No symbol table info available. #3 0x08112107 in __ast_cond_wait (filename=0x81d9af4 "logger.c", lineno=895, func=0x81daae9 "logger_thread", cond_name=0x81da776 "&logcond", mutex_name=0x81da768 "&logmsgs.lock", cond=0x826f9c0, t=0x824d808) at /root/src/asterisk-r231431/include/asterisk/lock.h:828 res = 0 lt = (struct ast_lock_track *) 0x824d808 canlog = 0 bt = (struct ast_bt *) 0x0 __PRETTY_FUNCTION__ = "__ast_cond_wait" #4 0x081150ed in logger_thread (data=0x0) at logger.c:895 next = (struct logmsg *) 0x0 msg = (struct logmsg *) 0x0 __PRETTY_FUNCTION__ = "logger_thread" #5 0x0818a255 in dummy_start (data=0x918b710) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1221839976, -1514020431, -857406769}, __mask_was_saved = 0}}, __pad = {0xb72c3454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb72c3b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x8115058 , data = 0x0, name = 0x918b7a8 "logger_thread started at [ 935] logger.c init_logger()"} lock_info = (struct thr_lock_info *) 0xb71010a8 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #6 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #7 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 11 (Thread 0xb7287b70 (LWP 10356)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774a9e6 in poll () from /lib/i686/libc.so.6 No symbol table info available. #2 0x0818a5bb in ast_wait_for_input (fd=7, ms=5000) at utils.c:1057 pfd = {{fd = 7, events = 3, revents = 0}} #3 0x0817a4fa in ast_tcptls_server_root (data=0x8250a40) at tcptls.c:242 i = 0 flags = -1216986362 desc = (struct ast_tcptls_session_args *) 0x8250a40 fd = 0 sin = {sin_family = 38625, sin_port = 46926, sin_addr = {s_addr = 3075382583}, sin_zero = "\000\000\000\000\000\000\000"} sinlen = 136244084 tcptls_session = (struct ast_tcptls_session_instance *) 0x0 launched = 154865768 __PRETTY_FUNCTION__ = "ast_tcptls_server_root" __FUNCTION__ = "ast_tcptls_server_root" #4 0x0818a255 in dummy_start (data=0x93b0be8) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1222085736, -1388191311, -857406769}, __mask_was_saved = 0}}, __pad = {0xb7287454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb7287b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x817a4b5 , data = 0x8250a40, name = 0x93b1068 "desc->accept_fn started at [ 503] tcptls.c ast_tcptls_server_start()"} lock_info = (struct thr_lock_info *) 0xb73010a0 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #5 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #6 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 10 (Thread 0xb724bb70 (LWP 10357)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb74ebc85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 No symbol table info available. #2 0xb77640fd in pthread_cond_wait () from /lib/i686/libc.so.6 No symbol table info available. #3 0x080cd8b7 in __ast_cond_wait (filename=0x81cc734 "devicestate.c", lineno=537, func=0x81cd0f7 "do_devstate_changes", cond_name=0x81ccc5f "&change_pending", mutex_name=0x81ccc6f "&state_changes.lock", cond=0x826b400, t=0x8244ee8) at /root/src/asterisk-r231431/include/asterisk/lock.h:828 res = 0 lt = (struct ast_lock_track *) 0x8244ee8 canlog = 1 bt = (struct ast_bt *) 0x0 __PRETTY_FUNCTION__ = "__ast_cond_wait" #4 0x080cf004 in do_devstate_changes (data=0x0) at devicestate.c:537 next = (struct state_change *) 0x0 current = (struct state_change *) 0x0 __PRETTY_FUNCTION__ = "do_devstate_changes" #5 0x0818a255 in dummy_start (data=0x93b3d50) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1222331496, -1262362191, -857406769}, __mask_was_saved = 0}}, __pad = {0xb724b454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb724bb70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x80cef8d , data = 0x0, name = 0x93b3de8 "do_devstate_changes started at [ 721] devicestate.c ast_device_state_engine_init()"} lock_info = (struct thr_lock_info *) 0x93b3f58 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #6 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #7 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 9 (Thread 0xb70ffb70 (LWP 10358)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb74ebc85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 No symbol table info available. #2 0xb77640fd in pthread_cond_wait () from /lib/i686/libc.so.6 No symbol table info available. #3 0x08177ca5 in __ast_cond_wait (filename=0x81ebf68 "taskprocessor.c", lineno=293, func=0x81ec92b "tps_processing_function", cond_name=0x81ec57d "&i->poll_cond", mutex_name=0x81ec566 "&i->taskprocessor_lock", cond=0x93b53f4, t=0x93b5428) at /root/src/asterisk-r231431/include/asterisk/lock.h:828 res = 0 lt = (struct ast_lock_track *) 0x93b5428 canlog = 1 bt = (struct ast_bt *) 0x0 __PRETTY_FUNCTION__ = "__ast_cond_wait" #4 0x08178dfb in tps_processing_function (data=0x93b53f0) at taskprocessor.c:293 i = (struct ast_taskprocessor *) 0x93b53f0 t = (struct tps_task *) 0xb7103ea8 size = 0 __PRETTY_FUNCTION__ = "tps_processing_function" #5 0x0818a255 in dummy_start (data=0x93b5c18) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1223691368, -498998863, -857406769}, __mask_was_saved = 0}}, __pad = {0xb70ff454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb70ffb70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x8178ce8 , data = 0x93b53f0, name = 0x93b5cb0 "tps_processing_function started at [ 451] taskprocessor.c ast_taskprocessor_get()"} lock_info = (struct thr_lock_info *) 0xb7101bb8 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #6 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #7 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 8 (Thread 0xb70c3b70 (LWP 10359)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774e0b1 in select () from /lib/i686/libc.so.6 No symbol table info available. #2 0x080e2c8e in ast_select (nfds=0, rfds=0xb70c3268, wfds=0x0, efds=0xb70c31e8, tvp=0x0) at /root/src/asterisk-r231431/include/asterisk/channel.h:2119 No locals. #3 0x080ee5cf in do_parking_thread (ignore=0x0) at features.c:3491 wait = {tv_sec = 4294967, tv_usec = 295000} ms = -1 iter = {c = 0x93c8580, flags = 0, bucket = 7, c_version = 2, obj = 0x0, version = 0} res = 0 max = -1 curlot = (struct ast_parkinglot *) 0x0 rfds = {fds_bits = {0 }} efds = {fds_bits = {0 }} nrfds = {fds_bits = {0 }} nefds = {fds_bits = {0 }} #4 0x0818a255 in dummy_start (data=0x93c92b0) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1223937128, -440278607, -857406769}, __mask_was_saved = 0}}, __pad = {0xb70c3454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb70c3b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x80ee3b4 , data = 0x0, name = 0x93c9348 "do_parking_thread started at [ 5125] features.c ast_features_init()"} lock_info = (struct thr_lock_info *) 0xb7301bc0 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #5 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #6 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 7 (Thread 0xb6e34b70 (LWP 10360)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774a9e6 in poll () from /lib/i686/libc.so.6 No symbol table info available. #2 0x0810b4b9 in ast_io_wait (ioc=0x94c0c40, howlong=1000) at io.c:275 res = 0 x = 0 origcnt = 0 #3 0xb6ed6584 in do_monitor (data=0x0) at chan_sip.c:23539 res = 1000 t = 1259963138 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #4 0x0818a255 in dummy_start (data=0x94d7938) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1226620008, 992076210, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6e34454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6e34b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb6ed62fb , data = 0x0, name = 0x94d79d0 "do_monitor", ' ' , "started at [23570] chan_sip.c restart_monitor()"} lock_info = (struct thr_lock_info *) 0x94d7b30 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #5 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #6 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 6 (Thread 0xb6df8b70 (LWP 10361)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774a9e6 in poll () from /lib/i686/libc.so.6 No symbol table info available. #2 0x0810b4b9 in ast_io_wait (ioc=0x950c8b0, howlong=1) at io.c:275 res = 0 x = 1 origcnt = 1 #3 0xb6fb81cb in do_sco_listen (data=0x9502c30) at chan_mobile.c:3968 adapter = (struct adapter_pvt *) 0x9502c30 res = 0 __PRETTY_FUNCTION__ = "do_sco_listen" #4 0x0818a255 in dummy_start (data=0x950bbb8) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1226865768, 1117905330, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6df8454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6df8b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb6fb813b , data = 0x9502c30, name = 0x950bc50 "do_sco_listen started at [ 4074] chan_mobile.c mbl_load_adapter()"} lock_info = (struct thr_lock_info *) 0xb71026e0 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #5 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #6 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 5 (Thread 0xb6dbcb70 (LWP 10362)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7716056 in nanosleep () from /lib/i686/libc.so.6 No symbol table info available. #2 0xb7715e41 in sleep () from /lib/i686/libc.so.6 No symbol table info available. #3 0xb6fb8123 in do_discovery (data=0x0) at chan_mobile.c:3943 adapter = (struct adapter_pvt *) 0x0 pvt = (struct mbl_pvt *) 0x0 __PRETTY_FUNCTION__ = "do_discovery" #4 0x0818a255 in dummy_start (data=0x950bbb8) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1227111528, 1243734450, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6dbc454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6dbcb70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb6fb7dbe , data = 0x0, name = 0x9502d98 "do_discovery started at [ 4417] chan_mobile.c load_module()"} lock_info = (struct thr_lock_info *) 0xb73026d8 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #5 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #6 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 4 (Thread 0xb6d80b70 (LWP 10363)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7716056 in nanosleep () from /lib/i686/libc.so.6 No symbol table info available. #2 0xb704c690 in scan_thread (unused=0x0) at pbx_spool.c:451 st = {st_dev = 2049, __pad1 = 0, __st_ino = 41982, st_mode = 16877, st_nlink = 9, st_uid = 77, st_gid = 77, st_rdev = 0, __pad2 = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1258998382, tv_nsec = 876732181}, st_mtim = {tv_sec = 1258997946, tv_nsec = 447790620}, st_ctim = {tv_sec = 1258997946, tv_nsec = 447790620}, st_ino = 41982} dir = (DIR *) 0x954f4e0 de = (struct dirent *) 0x0 fn = "/var/spool/asterisk/outgoing/..\000\230\004?P\204S\t-\204S\t-\215S\t#\000\000\000\000\000\000\000-\217O-\000\017=\000-1\b\b-\204S\t\000\000\000\000(\t\000\000?n-7\235N-\000\000\000\000\000\000\000\000--}-\000\000\000\000\000\000\000\000(\002?\006Cv-\024-#\bp\v?H\002?\207#\b\b\024-#\b\000\000\000\000H\002?\006Cv-0-#\bp\v?-\002?-*\b\b0-#\b;-\033\b-\002?\224%\b\b -#\b;-\033\b\210\002?-\000\000\000\230\003\000\000"... res = 0 last = 1258997946 next = 0 now = 1259963138 ts = {tv_sec = 1, tv_nsec = 0} __PRETTY_FUNCTION__ = "scan_thread" #3 0x0818a255 in dummy_start (data=0x9537618) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1227357288, 1302454706, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6d80454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6d80b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb704c5f8 , data = 0x0, name = 0x95376b0 "scan_thread started at [ 523] pbx_spool.c load_module()"} lock_info = (struct thr_lock_info *) 0x95384d0 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #4 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #5 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 3 (Thread 0xb6d44b70 (LWP 10364)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb774a9e6 in poll () from /lib/i686/libc.so.6 No symbol table info available. #2 0x0807e1f8 in monitor_sig_flags (unused=0x0) at asterisk.c:3023 p = {fd = 14, events = 1, revents = 0} a = 0 #3 0x0818a255 in dummy_start (data=0x9546f20) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1227603048, 1428283826, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6d44454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6d44b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x807e1c3 , data = 0x0, name = 0x9546fb8 "monitor_sig_flags started at [ 3711] asterisk.c main()"} lock_info = (struct thr_lock_info *) 0xb7103200 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #4 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #5 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 2 (Thread 0xb6d08b70 (LWP 10368)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7744abb in read () from /lib/i686/libc.so.6 No symbol table info available. #2 0xb6faeafa in rfcomm_read_and_expect_char (rsock=13, result=0xb6d08107 "-", expected=13 '\r') at chan_mobile.c:1473 res = 134912453 c = -74 '-' #3 0xb6faef78 in rfcomm_read (rsock=13, buf=0xb6d08210 "+CIEV: 4,3", count=255) at chan_mobile.c:1645 res = 13 in_count = 0 c = -74 '-' #4 0xb6faf9cf in at_read_full (rsock=13, buf=0xb6d08210 "+CIEV: 4,3", count=256) at chan_mobile.c:1851 s = 13 #5 0xb6fb5e7e in do_monitor_phone (data=0x950ed88) at chan_mobile.c:3581 pvt = (struct mbl_pvt *) 0x950ed88 hfp = (struct hfp_pvt *) 0x9515098 buf = "+CIEV: 4,3\0000\0000\000e\000,(0,1\000),(\"call\000,(0,1\000),(\"call_setup\000,(0-3\000),(\"callsetup\000,(0-3\000)\000-#\b;-\033\b\210\202?-\000\000\000\000\000\000\000\020\0000-@\0000---}-\000\000\000\000 -#\b", '\0' , " -#\b\000\000\000\000-\217O-\000\000\000\000\000\017=\000-\202?--\b\b--\033\b\207\000\000\000h-\033\b--\033\b -#\b\000\000\000\000(\226!\b\001\000\000\000\200<0-\000=0-F="... t = -1 at_msg = AT_READ_ERROR entry = (struct msg_queue_entry *) 0xb7764306 __PRETTY_FUNCTION__ = "do_monitor_phone" #6 0x0818a255 in dummy_start (data=0xb7303158) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1219522572, 0, 4001536, -1227848808, 1554112946, -857406769}, __mask_was_saved = 0}}, __pad = {0xb6d08454, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8076619 __cancel_arg = (void *) 0xb6d08b70 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb6fb57da , data = 0x950ed88, name = 0xb73031f0 "do_monitor_phone started at [ 3895] chan_mobile.c start_monitor()"} lock_info = (struct thr_lock_info *) 0xb7303350 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #7 0xb74e7ae5 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #8 0xb7755ece in clone () from /lib/i686/libc.so.6 No symbol table info available. Thread 1 (Thread 0xb74c56c0 (LWP 10351)): #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7744abb in read () from /lib/i686/libc.so.6 No symbol table info available. #2 0x0819a87b in read_char (el=0x9178f28, cp=0xbf834cdf "\b--------\001") at read.c:298 num_read = -1081909248 tried = 0 #3 0x081959f6 in el_getc (el=0x9178f28, cp=0xbf834cdf "\b--------\001") at read.c:350 num_read = #4 0x08195bfd in el_gets (el=0x9178f28, nread=0xbf835f28) at read.c:243 cmdnum = 0 '\0' num = ch = #5 0x080805b8 in main (argc=2, argv=0xbf8361d4) at asterisk.c:3718 title = "Asterisk Console on 'localhost' (pid 10351)", '\0' dont_care = 3067366256 c = -1 filename = "/root/.asterisk_history", '\0' hostname = "localhost", '\0' tmp = "\033[1;37mAsterisk Ready.\n\033[0m\000\000-\026\t\000\000\000\000\000@!\b\000\000\000\000\000@!\bdZ\a\b-\225!\b\214\220!\b8`\203-__\a\b-\217!\b?\033\b9\001\000" xarg = 0x0 x = 2 f = (FILE *) 0x917ade8 sigs = {__val = {134238211, 0 }} num = 1 isroot = 1 buf = 0x9183a78 "" runuser = 0x8266580 "asterisk" rungroup = 0x8267580 "asterisk" remotesock = 0x0 moduleresult = 0 __PRETTY_FUNCTION__ = "main" __func__ = "main" (gdb)