(gdb) thread apply all bt full Thread 13 (process 4647): #0 0x00002b93fd8c219f in __read_nocancel () from /lib/libpthread.so.0 No symbol table info available. #1 0x00002b93fd58304b in el_push () from /usr/lib/libedit.so.2 No symbol table info available. #2 0x00002b93fd583108 in el_getc () from /usr/lib/libedit.so.2 No symbol table info available. #3 0x00002b93fd582f67 in el_push () from /usr/lib/libedit.so.2 No symbol table info available. #4 0x00002b93fd58335d in el_gets () from /usr/lib/libedit.so.2 No symbol table info available. #5 0x00002b93fd310f53 in openpbx_main (argc=, argv=) at openpbx.c:2379 title = "OpenPBX Console on 'iCall-ewc-2' (pid 4647)", '\0' , "hĆÜý\223+\000\000Ŕżę˙˙\177\000\000\202[\030ý\223+\000\000\000\000\000\000\000\000\000\000/s\030ý\223+\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\230$Žý\223+\000\000 +\030ý\223+\000\000\000\000\000\000\000\000\000\000/s\030ý\223+\000\000\002\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\020zý\223+\000\000 +\030ý\223+\000\000... c = filename = "/root/.openpbx_history", '\0' hostname = "iCall-ewc-2", '\0' tmp = "\033[1;37;40mOpenPBX Ready.\n\033[0;37;40m\000˙\177\000\000H\023\031ý\223+\000\000pÂę˙˙\177\000\0000Âę˙˙\177\000\000\000\000\000\000\000\000\000\000\216˙w\001\000\000\000" xarg = x = f = sigs = {__val = {134238211, 0 }} num = 1 buf = 0x50d450 "" runuser = 0x2b93fd46d500 "icall" rungroup = 0x2b93fd46c980 "icall" __PRETTY_FUNCTION__ = "openpbx_main" #6 0x00002b93fdde049b in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #7 0x000000000040058a in _start () at ../sysdeps/x86_64/elf/start.S:113 No locals. Thread 12 (process 4649): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fd30c0e6 in listener (unused=) at openpbx.c:577 sunaddr = {sun_family = 0, sun_path = '\0' , "\030ŞÜý\223+\000\000()Žý\223+\000\000\000\000\000\000\000\000\000\000\210t\234ý\223+\000\000pĐ\213ý\223+\000\000\000žć˙˙\177", '\0' , "žć˙˙\177"} s = 0 len = 0 ---Type to continue, or q to quit--- x = -1655280 flags = fds = {{fd = 4, events = 1, revents = 0}} attr = {__size = "\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\020", '\0' , __align = 0} __PRETTY_FUNCTION__ = "listener" #2 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #3 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #4 0x0000000000000000 in ?? () No symbol table info available. Thread 11 (process 4650): #0 0x00002b93fd69eeb1 in mq_timedreceive () from /lib/librt.so.1 No symbol table info available. #1 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #2 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. Thread 10 (process 4651): #0 0x00002b93fd8bfa9a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #1 0x00002b93fd305c91 in do_devstate_changes (data=) at lock.h:618 cur = (struct state_change *) 0x0 #2 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #3 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #4 0x0000000000000000 in ?? () No symbol table info available. Thread 9 (process 4654): #0 0x00002b93fde84d76 in select () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaaae5fff2 in do_parking_thread (ignore=) at channel.h:1058 ms = -1 tms = max = -1655600 pu = pl = (struct parkeduser *) 0x0 tv = {tv_sec = 4294967, tv_usec = 295000} f = ---Type to continue, or q to quit--- exten = '\0' peername = returnexten = '\0' con = x = rfds = {fds_bits = {0 }} efds = {fds_bits = {0 }} nrfds = {fds_bits = {0 }} nefds = {fds_bits = {0 }} __PRETTY_FUNCTION__ = "do_parking_thread" #2 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #3 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #4 0x0000000000000000 in ?? () No symbol table info available. Thread 8 (process 4655): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fd2b0534 in opbx_io_wait (ioc=0x531b70, howlong=-4) at io.c:274 res = x = origcnt = #2 0x00002aaaab397536 in do_monitor (data=) at chan_mgcp.c:3461 reloading = 0 #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 7 (process 4656): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaab619200 in do_monitor (data=) at chan_zap.c:6264 count = 0 res = res2 = spoint = 0 pollres = -41168784 i = last = (struct zt_pvt *) 0x0 thispass = 1163539073 ---Type to continue, or q to quit--- found = 0 buf = '\0' pfds = (struct pollfd *) 0x5018b0 lastalloc = 1 __PRETTY_FUNCTION__ = "do_monitor" #2 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #3 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #4 0x0000000000000000 in ?? () No symbol table info available. Thread 6 (process 4657): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab5042a0, howlong=-4) at io.c:274 res = x = origcnt = #2 0x00002aaaab95b623 in network_thread (ignore=) at chan_iax2.c:7073 res = count = 0 f = (struct iax_frame *) 0x0 freeme = __PRETTY_FUNCTION__ = "network_thread" #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 5 (process 4658): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab50ea60, howlong=-4) at io.c:274 res = x = origcnt = #2 0x00002aaaabebe691 in do_monitor (data=) at chan_sip.c:14286 sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"} res = 1 sip = (struct sip_pvt *) 0x0 peer = (struct sip_peer *) 0x0 t = 1163539073 ---Type to continue, or q to quit--- fastrestart = 0 lastpeernum = -1 curpeernum = 7 reloading = __PRETTY_FUNCTION__ = "do_monitor" #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 4 (process 4659): #0 0x00002b93fde82e22 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab50a890, howlong=-4) at io.c:274 res = x = origcnt = #2 0x00002aaaabfd74c1 in network_thread (ignore=) at pbx_dundi.c:2110 No locals. #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 3 (process 4660): #0 0x00002b93fde54785 in nanosleep () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fde545f0 in sleep () from /lib/libc.so.6 No symbol table info available. #2 0x00002aaaabfdc87a in process_precache (ign=) at pbx_dundi.c:2145 now = 1163539073 context = '\0' number = '\0' run = 0 #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. ---Type to continue, or q to quit--- Thread 2 (process 4661): #0 0x00002b93fde54785 in nanosleep () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fde545f0 in sleep () from /lib/libc.so.6 No symbol table info available. #2 0x00002aaaac0edbf4 in scan_thread (unused=) at pbx_spool.c:362 st = {st_dev = 2051, st_ino = 137314, st_nlink = 2, st_mode = 16872, st_uid = 1001, st_gid = 1001, pad0 = 0, st_rdev = 0, st_size = 80, st_blksize = 131072, st_blocks = 0, st_atim = {tv_sec = 1163539050, tv_nsec = 0}, st_mtim = {tv_sec = 1163539050, tv_nsec = 0}, st_ctim = { tv_sec = 1163539050, tv_nsec = 0}, __unused = {0, 0, 0}} dir = (DIR *) 0x2aaaaac12010 de = fn = "/opt/icall/var/spool/outgoing/test.call", '\0' res = last = 1163539050 next = 1163539350 now = 1163539073 __PRETTY_FUNCTION__ = "scan_thread" #3 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 1 (process 4669): #0 0x00002b93fddf311d in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00002b93fddf484e in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00002b93fde27e41 in __fsetlocking () from /lib/libc.so.6 No symbol table info available. #3 0x00002b93fde2d90e in malloc_usable_size () from /lib/libc.so.6 No symbol table info available. #4 0x00002b93fde2dc56 in free () from /lib/libc.so.6 No symbol table info available. #5 0x00002b93fe6df30f in sqlite3HashClear (pH=0x549200) at src/hash.c:58 elem = (HashElem *) 0x510c20 #6 0x00002b93fe6e2153 in sqlite3_close (db=0x549060) at src/main.c:164 i = (HashElem *) 0x0 j = #7 0x00002aaaac6093cb in sqlite_log (cdr=0x54b0c0) at cdr_sqlite3.c:194 res = 0 zErr = 0x0 tm = {tm_sec = 54, tm_min = 17, tm_hour = 22, tm_mday = 14, tm_mon = 10, tm_year = 106, tm_wday = 2, tm_yday = 317, tm_isdst = 0, tm_gmtoff = 3600, tm_zone = 0x501950 "CET"} ---Type to continue, or q to quit--- t = 1163539074 startstr = "2006-11-14 22:17:30", '\0' answerstr = "1970-01-01 01:00:00", '\0' endstr = "2006-11-14 22:17:54", '\0' fn = "/opt/icall/log/cdr.db", '\0' , "/s\030ý\223+\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\230$Žý\223+\000\000 +\030ý\223+", '\0' , "u\032i\t\002\000\000\000\000\000\000\000`\220T", '\0' , "\002\000\000\000\000\000\000\000 i = (struct opbx_cdr_beitem *) 0x2aaaab525500 __PRETTY_FUNCTION__ = "post_cdr" #9 0x00002b93fd2f17ad in opbx_cdr_detach (cdr=0x54b0c0) at cdr.c:980 curr = __PRETTY_FUNCTION__ = "opbx_cdr_detach" #10 0x00002b93fd2bc645 in opbx_hangup (chan=0x548390) at channel.c:1095 res = __PRETTY_FUNCTION__ = "opbx_hangup" #11 0x00002b93fd2da466 in __opbx_pbx_run (c=0x548390) at pbx.c:2626 digit = exten = '\0' pos = 0 waittime = -47043009 res = 0 hash = 0 __PRETTY_FUNCTION__ = "__opbx_pbx_run" #12 0x00002b93fd2dab57 in opbx_pbx_run (c=0x548390) at pbx.c:2715 res = OPBX_PBX_CALL_LIMIT #13 0x00002b93fd2dc5fd in opbx_pbx_outgoing_exten (type=0x5349f4 "SIP", format=64, data=0x534af4, timeout=30000, context=0x534ef4 "faxout", exten=0x534df4 "s", priority=1, reason=0x412d01bc, sync=2, cid_num=0x534ff8 "", cid_name=0x5350f8 "", vars=0x530100, channel=0x0) at pbx.c:5196 chan = (struct opbx_channel *) 0x548390 as = res = cdr_res = oh = {context = 0x534ef4 "faxout", exten = 0x534df4 "s", priority = 1, cid_num = 0x534ff8 "", cid_name = 0x5350f8 "", vars = 0x530100} attr = { __size = "ôJS\000\000\000\000\000ôMS\000\000\000\000\000ôNS\000\000\000\000\000`ń(A\000\000\000\000ôIS\000\000\000\000\000Ë\\\030ý\223+\000\000\001\000\000\000\000\000\000", __align = 5458676} __PRETTY_FUNCTION__ = "opbx_pbx_outgoing_exten" #14 0x00002aaaac0eda2b in attempt_thread (data=) at pbx_spool.c:266 o = (struct outgoing *) 0x5348e0 res = reason = ---Type to continue, or q to quit--- __PRETTY_FUNCTION__ = "attempt_thread" #15 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0 No symbol table info available. #16 0x00002b93fde8bce2 in clone () from /lib/libc.so.6 No symbol table info available. #17 0x0000000000000000 in ?? () No symbol table info available. (gdb)