Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `asterisk -C /data/etc/asterisk/asterisk.conf -c -vvvg'. Program terminated with signal 11, Segmentation fault. #0 0x002d1156 in mysql_send_query () from /usr/lib/mysql/libmysqlclient.so.14 Thread 16 (process 10528): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x080b1b56 in listener (unused=0x0) at asterisk.c:592 sunaddr = {sun_family = 0, sun_path = '\0' , "Ô?|\000 L|\000\001\000\000\000@äý·\006\234{\000LN|\000\220\001þ·\001\000\000\000\001\000\000\000\000\000\000\000 @¢\000N\000\000\000\016\031\215\000\016\032\215\000ô?¢\000ô\017\217\000lö"} s = 0 len = 3086887488 x = 8196776 flags = 0 fds = {{fd = 3, events = 1, revents = 0}} attr = {__detachstate = 0, __schedpolicy = 0, __schedparam = {__sched_priority = 1}, __inheritsched = 4096, __scope = 0, __guardsize = 0, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 0} __PRETTY_FUNCTION__ = "listener" #3 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #4 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 15 (process 10530): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00a1cb16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x080c6c55 in ast_cond_wait (cond=0x811bc80, t=0x8116ee8) at include/asterisk/lock.h:626 No locals. #3 0x080c6c38 in do_devstate_changes (data=0x0) at devicestate.c:264 cur = (struct state_change *) 0x0 #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 14 (process 10531): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00855826 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0088bcda in usleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x0028ed9e in monmp3thread (data=0x83ea410) at res_musiconhold.c:505 delta = 2 class = (struct mohclass *) 0x83ea410 moh = (struct mohdata *) 0x0 buf = '\0' sbuf = {0 } res = 800 res2 = 0 len = 0 tv = {tv_sec = 1144956800, tv_usec = 999917} tv_tmp = {tv_sec = 1144956800, tv_usec = 902181} __PRETTY_FUNCTION__ = "monmp3thread" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 13 (process 10535): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x0088b411 in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x003bea82 in ast_select (nfds=0, rfds=0xb7d102d0, wfds=0x0, efds=0xb7d10250, tvp=0x0) at ../include/asterisk/channel.h:1148 No locals. #3 0x003bea3f in do_parking_thread (ignore=0x0) at res_features.c:1649 ms = -1 tms = 0 max = -1 pu = (struct parkeduser *) 0x0 pl = (struct parkeduser *) 0x0 pt = (struct parkeduser *) 0x0 tv = {tv_sec = 4294967, tv_usec = 295000} f = (struct ast_frame *) 0x0 exten = '\0' peername = 0x0 cp = 0x0 returnexten = '\0' con = (struct ast_context *) 0x0 x = 0 rfds = {fds_bits = {0 }} efds = {fds_bits = {0 }} nrfds = {fds_bits = {0 }} nefds = {fds_bits = {0 }} __PRETTY_FUNCTION__ = "do_parking_thread" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 12 (process 10536): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00855826 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0085562c in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x003d7686 in scan_thread (unused=0x0) at pbx_spool.c:364 st = {st_dev = 2065, __pad1 = 0, st_ino = 3286779, st_mode = 16832, st_nlink = 2, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 4096, st_blksize = 4096, st_blocks = 16, st_atim = {tv_sec = 1144956792, tv_nsec = 0}, st_mtim = { tv_sec = 1138080962, tv_nsec = 0}, st_ctim = {tv_sec = 1141770981, tv_nsec = 0}, __unused4 = 0, __unused5 = 0} dir = (DIR *) 0x83fa6a0 de = (struct dirent *) 0x0 fn = "/data/var/spool/asterisk/outgoing/..", '\0' res = 0 last = 1138080962 next = 0 now = 1144956800 __PRETTY_FUNCTION__ = "scan_thread" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 11 (process 10537): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x08055d80 in ast_io_wait (ioc=0x841b538, howlong=1000) at io.c:271 res = 4072845 x = -1211571176 origcnt = -1211569232 #3 0x003e8796 in network_thread (ignore=0x0) at pbx_dundi.c:2106 res = 1000 #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 10 (process 10538): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00855826 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0085562c in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x003e88f0 in process_precache (ign=0x0) at pbx_dundi.c:2146 qe = (struct dundi_precache_queue *) 0x0 now = 1144956800 context = '\0' number = '\0' run = 0 #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 9 (process 10539): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00422e2b in do_monitor (data=0x0) at chan_zap.c:6488 count = 0 res = 0 res2 = 0 spoint = 0 pollres = 0 i = (struct zt_pvt *) 0x0 last = (struct zt_pvt *) 0x0 thispass = 1144956799 lastpass = 1144956798 found = 0 buf = '\0' pfds = (struct pollfd *) 0x841f818 lastalloc = 1 __PRETTY_FUNCTION__ = "do_monitor" #3 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #4 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 8 (process 10540): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x0088b411 in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00482187 in ast_select (nfds=14, rfds=0xb7bca3b0, wfds=0xb7bca330, efds=0x0, tvp=0x0) at ../include/asterisk/channel.h:1148 No locals. #3 0x00481f1f in sound_thread (arg=0x841e8c0) at chan_oss.c:531 rfds = {fds_bits = {8192, 0 }} wfds = {fds_bits = {0 }} maxfd = 13 res = 0 ign = '\0' o = (struct chan_oss_pvt *) 0x841e8c0 __PRETTY_FUNCTION__ = "sound_thread" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 7 (process 10541): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x0088b411 in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x004a14a3 in ast_select (nfds=0, rfds=0xb7b8a3c0, wfds=0x0, efds=0xb7b8a340, tvp=0x0) at ../include/asterisk/channel.h:1148 No locals. #3 0x004a12af in do_monitor (data=0x0) at chan_phone.c:1034 rfds = {fds_bits = {0 }} efds = {fds_bits = {0 }} n = -1 res = 0 i = (struct phone_pvt *) 0x0 tonepos = 0 tv = {tv_sec = 0, tv_usec = 0} dotone = 0 __PRETTY_FUNCTION__ = "do_monitor" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 6 (process 10542): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x08055d80 in ast_io_wait (ioc=0x8424a40, howlong=1000) at io.c:271 res = 7361 x = 1144956800 origcnt = -1212900432 #3 0x00f90444 in network_thread (ignore=0x0) at chan_iax2.c:7982 res = 1000 count = 0 f = (struct iax_frame *) 0x0 freeme = (struct iax_frame *) 0x0 __PRETTY_FUNCTION__ = "network_thread" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 5 (process 10543): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00a1f698 in accept () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x004ad902 in accept_thread (ignore=0x0) at chan_skinny.c:2961 as = 0 sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"} sinlen = 16 s = (struct skinnysession *) 0x0 p = (struct protoent *) 0x0 arg = 1 attr = {__detachstate = 0, __schedpolicy = 0, __schedparam = {__sched_priority = 1}, __inheritsched = 4096, __scope = 0, __guardsize = 0, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 0} __PRETTY_FUNCTION__ = "accept_thread" #3 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #4 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 4 (process 10544): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x08055d80 in ast_io_wait (ioc=0x8429a70, howlong=1000) at io.c:271 res = 4880623 x = -1213475800 origcnt = -1213473872 #3 0x004adb5c in do_monitor (data=0x0) at chan_skinny.c:3011 res = 1000 #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 3 (process 10545): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x08055d80 in ast_io_wait (ioc=0x8424db0, howlong=1000) at io.c:271 res = 13328810 x = -1213742056 origcnt = -1213740112 #3 0x00cbf449 in do_monitor (data=0x0) at chan_mgcp.c:3460 res = 1000 reloading = 0 #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 2 (process 10546): #0 0x007ae7a2 in ?? () No symbol table info available. #1 0x00888ca4 in poll () from /lib/tls/libc.so.6 No symbol table info available. #2 0x08055d80 in ast_io_wait (ioc=0x8434af8, howlong=1000) at io.c:271 res = 785232 x = 1144956800 origcnt = -1214006352 #3 0x0053d691 in do_monitor (data=0x0) at chan_sip.c:11312 res = 1000 sip = (struct sip_pvt *) 0x0 peer = (struct sip_peer *) 0x0 t = 1144956800 fastrestart = 0 lastpeernum = -1 curpeernum = 4 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #4 0x00a1a371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0x008929be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 1 (process 10526): #0 0x002d1156 in mysql_send_query () from /usr/lib/mysql/libmysqlclient.so.14 No symbol table info available. #1 0x002d11d2 in mysql_real_query () from /usr/lib/mysql/libmysqlclient.so.14 No symbol table info available. #2 0x002ac4f1 in mysql_query () from /usr/lib/mysql/libmysqlclient.so.14 No symbol table info available. #3 0x08427898 in ?? () No symbol table info available. #4 0x00000008 in ?? () No symbol table info available. #5 0x002ac4c9 in mysql_query () from /usr/lib/mysql/libmysqlclient.so.14 No symbol table info available. #6 0x00000000 in ?? () No symbol table info available.