GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /opt/asterisk/sbin/asterisk...done. [New Thread 31366] [New Thread 31368] [New Thread 31367] [New Thread 31355] [New Thread 31357] [New Thread 31356] [New Thread 31359] [New Thread 31358] [New Thread 31360] [New Thread 31365] [New Thread 31361] [New Thread 31364] [New Thread 31362] [New Thread 31363] Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /opt/asterisk/lib/asterisk/modules/res_calendar.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/res_calendar.so Reading symbols from /opt/asterisk/lib/asterisk/modules/chan_sip.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/chan_sip.so Reading symbols from /opt/asterisk/lib/asterisk/modules/pbx_config.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/pbx_config.so Reading symbols from /opt/asterisk/lib/asterisk/modules/res_rtp_asterisk.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/res_rtp_asterisk.so Reading symbols from /opt/asterisk/lib/asterisk/modules/func_callerid.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/func_callerid.so Reading symbols from /opt/asterisk/lib/asterisk/modules/app_dial.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/app_dial.so Reading symbols from /opt/asterisk/lib/asterisk/modules/res_calendar_ews.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/res_calendar_ews.so Reading symbols from /usr/lib/libneon-gnutls.so.27...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libneon-gnutls.so.27 Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnutls.so.26 Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libtasn1.so.3 Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done. Loaded symbols for /lib/libgcrypt.so.11 Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.2 Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5.so.3 Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libk5crypto.so.3 Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libgpg-error.so.0 Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5support.so.0 Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libkeyutils.so.1 Reading symbols from /opt/asterisk/lib/asterisk/modules/res_calendar_icalendar.so...done. Loaded symbols for /opt/asterisk/lib/asterisk/modules/res_calendar_icalendar.so Reading symbols from /usr/lib/libical.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libical.so.0 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_mdns4_minimal.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_mdns4_minimal.so.2 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Core was generated by `./asterisk -g'. Program terminated with signal 6, Aborted. #0 0x00007f061e4cca75 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00007f061e4cca75 in raise () from /lib/libc.so.6 #1 0x00007f061e4d05c0 in abort () from /lib/libc.so.6 #2 0x00007f061e5064fb in ?? () from /lib/libc.so.6 #3 0x00007f061e5105b6 in ?? () from /lib/libc.so.6 #4 0x00007f061e516e53 in free () from /lib/libc.so.6 #5 0x00007f061c21366a in get_ewscal_ids_for (pvt=0x1a48868) at res_calendar_ews.c:609 #6 0x00007f061c213775 in update_ewscal (pvt=0x1a48868) at res_calendar_ews.c:662 #7 0x00007f061c214687 in ewscal_load_calendar (void_data=0x7f0618040208) at res_calendar_ews.c:779 #8 0x000000000055f050 in dummy_start (data=0x7f0618039340) at utils.c:971 #9 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #10 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () (gdb) btt  full #0 0x00007f061e4cca75 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f061e4d05c0 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f061e5064fb in ?? () from /lib/libc.so.6 No symbol table info available. #3 0x00007f061e5105b6 in ?? () from /lib/libc.so.6 No symbol table info available. #4 0x00007f061e516e53 in free () from /lib/libc.so.6 No symbol table info available. #5 0x00007f061c21366a in get_ewscal_ids_for (pvt=0x1a48868) at res_calendar_ews.c:609 start = "2010-08-03T13:47:38Z" end = "2010-08-03T14:47:38Z" tm = {tm_sec = 38, tm_min = 47, tm_hour = 14, tm_mday = 3, tm_mon = 7, tm_year = 110, tm_wday = 2, tm_yday = 214, tm_isdst = 0, tm_gmtoff = 0, tm_zone = 0x0, tm_usec = 234338} tv = {tv_sec = 1280846858, tv_usec = 234338} request = 0x1cdc0f0 ctx = {parser = 0x1cde600, cdata = 0x0, event = 0x0, op = XML_OP_FIND, pvt = 0x1a48868, ids = {first = 0x0, last = 0x0}} __PRETTY_FUNCTION__ = "get_ewscal_ids_for" #6 0x00007f061c213775 in update_ewscal (pvt=0x1a48868) at res_calendar_ews.c:662 id_head = 0x16295de0 iter = 0x1 #7 0x00007f061c214687 in ewscal_load_calendar (void_data=0x7f0618040208) at res_calendar_ews.c:779 pvt = 0x1a48868 cfg = 0x7f061800b0a0 v = 0x0 cal = 0x7f0618040208 refreshlock = {track = {file = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, lineno = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentrancy = 0, func = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, thread = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, backtrace = {{addresses = {0x0 }, num_frames = 0, alloced = 0}, { addresses = {0x0 }, num_frames = 0, alloced = 0}, {addresses = {0x0 }, num_frames = 0, alloced = 0}, {addresses = { 0x0 }, num_frames = 0, alloced = 0}, {addresses = {0x0 }, num_frames = 0, alloced = 0}, {addresses = { 0x0 }, num_frames = 0, alloced = 0}, {addresses = {0x0 }, num_frames = 0, alloced = 0}, {addresses = { 0x0 }, num_frames = 0, alloced = 0}, {addresses = {0x0 }, num_frames = 0, alloced = 0}, {addresses = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x20, 0x2, 0x0, 0x0, 0x0, 0x0, 0x18, 0x7f061e817e40, 0x15390, 0x1a47c70, 0x7f061e817e40, 0x7f061e517424, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f0616295db0, 0x0, 0x0, 0x0, 0x0, 0x55da84, 0x0}, num_frames = 5104761, alloced = 0}}, reentr_mutex = {__data = {__lock = 0, __count = 0, __owner = 5841840, __nusers = 0, __kind = 0, __spins = 393, __list = {__prev = 0x58ddf4, __next = 0x58de19}}, __size = "\000\000\000\000\000\000\000\000\260#Y\000\000\000\000\000\000\000\000\000\211\001\000\000\364\335X\000\000\000\000\000\031\336X\000\000\000\000", __align = 0}}, tracking = 0, mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , "\001", '\000' , __align = 0}} __PRETTY_FUNCTION__ = "ewscal_load_calendar" #8 0x000000000055f050 in dummy_start (data=0x7f0618039340) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -4888786861902767324, 0, 0, 0, 0, -4888786861810492636, 4768087944483724068}, __mask_was_saved = 0}}, __pad = {0x7f0616295f50, 0x0, 0x0, 0x0}} __cancel_routine = 0x4387d4 __cancel_arg = 0x7f0616296710 not_first_call = 0 ret = 0x0 a = {start_routine = 0x7f061c2137e7 , data = 0x7f0618040208, name = 0x7f061803ae20 "cal->tech->load_calendar started at [ 393] res_calendar.c build_calendar()"} #9 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 No symbol table info available. #10 0x00007f061e57f6fd in clone () from /lib/libc.so.6 No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. (gdb) thread apply all bt Thread 14 (Thread 31363): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5c4454 "sched.c", lineno=106, func=0x5c4976 "sched_run", cond_name=0x5c4466 "&st->cond", mutex_name=0x5c445c "&st->lock", cond=0x1a47020, t=0x1a46458) at lock.c:516 #2 0x0000000000544158 in sched_run (data=0x1a46450) at sched.c:106 #3 0x000000000055f050 in dummy_start (data=0x7f06180029b0) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 13 (Thread 31362): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5c6ec4 "taskprocessor.c", lineno=293, func=0x5c75e0 "tps_processing_function", cond_name=0x5c7231 "&i->poll_cond", mutex_name=0x5c721a "&i->taskprocessor_lock", cond=0x1a456f0, t=0x1a45728) at lock.c:516 #2 0x000000000055045e in tps_processing_function (data=0x1a456e8) at taskprocessor.c:293 #3 0x000000000055f050 in dummy_start (data=0x1a38670) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 12 (Thread 31364): #0 0x00007f061dd33bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de383 in __ast_cond_timedwait (filename=0x7f061cfbfc44 "res_calendar.c", lineno=1621, func=0x7f061cfc0e3c "do_refresh", cond_name=0x7f061cfc02f2 "&refresh_condition", mutex_name=0x7f061cfc01bd "&refreshlock", cond=0x7f061d1c4cc0, t=0x7f061d1c40e0, abstime=0x7f061cfb4da0) at lock.c:620 #2 0x00007f061cfbf79a in do_refresh (data=0x0) at res_calendar.c:1621 #3 0x000000000055f050 in dummy_start (data=0x7f0618003060) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 11 (Thread 31361): #0 0x00007f061e577fe3 in select () from /lib/libc.so.6 #1 0x00000000004af2bd in ast_select (nfds=0, rfds=0x7f061d338cd0, wfds=0x0, efds=0x7f061d338c50, tvp=0x0) at /home/pitel/ipbx/asterisk/trunk/include/asterisk/channel.h:2250 #2 0x00000000004bd81b in do_parking_thread (ignore=0x0) at features.c:3817 #3 0x000000000055f050 in dummy_start (data=0x1625300) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 10 (Thread 31365): #0 0x00007f061e572f83 in poll () from /lib/libc.so.6 #1 0x00000000004d8a4e in ast_io_wait (ioc=0x7f061801afc0, howlong=1000) at io.c:275 #2 0x00007f061ccd70f5 in do_monitor (data=0x0) at chan_sip.c:24144 #3 0x000000000055f050 in dummy_start (data=0x7f0618039ae0) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 9 (Thread 31360): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5c6ec4 "taskprocessor.c", lineno=293, func=0x5c75e0 "tps_processing_function", cond_name=0x5c7231 "&i->poll_cond", mutex_name=0x5c721a "&i->taskprocessor_lock", cond=0x1a27020, t=0x1a27058) at lock.c:516 #2 0x000000000055045e in tps_processing_function (data=0x1a27018) at taskprocessor.c:293 #3 0x000000000055f050 in dummy_start (data=0x1a21da0) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 8 (Thread 31358): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5b0bf4 "logger.c", lineno=1004, func=0x5b19fb "logger_thread", cond_name=0x5b1692 "&logcond", mutex_name=0x5b1684 "&logmsgs.lock", cond=0x84c440, t=0x81c890) at lock.c:516 #2 0x00000000004e16a3 in logger_thread (data=0x0) at logger.c:1004 #3 0x000000000055f050 in dummy_start (data=0x15a5490) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 7 (Thread 31359): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5a3f74 "devicestate.c", lineno=539, func=0x5a46d0 "do_devstate_changes", cond_name=0x5a4227 "&change_pending", mutex_name=0x5a4237 "&state_changes.lock", cond=0x844420, t=0x80d490) at lock.c:516 #2 0x000000000049e01c in do_devstate_changes (data=0x0) at devicestate.c:539 #3 0x000000000055f050 in dummy_start (data=0x19ee3f0) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 6 (Thread 31356): #0 0x00007f061dd3385c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00000000004de33e in __ast_cond_wait (filename=0x5c6ec4 "taskprocessor.c", lineno=293, func=0x5c75e0 "tps_processing_function", cond_name=0x5c7231 "&i->poll_cond", mutex_name=0x5c721a "&i->taskprocessor_lock", cond=0x15a4630, t=0x15a4668) at lock.c:516 #2 0x000000000055045e in tps_processing_function (data=0x15a4628) at taskprocessor.c:293 #3 0x000000000055f050 in dummy_start (data=0x159a690) at utils.c:971 #4 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #5 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 5 (Thread 31357): #0 0x00007f061e572f83 in poll () from /lib/libc.so.6 #1 0x000000000043afec in listener (unused=0x0) at asterisk.c:1294 #2 0x000000000055f050 in dummy_start (data=0x15a5420) at utils.c:971 #3 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 31355): #0 0x00007f061e572f83 in poll () from /lib/libc.so.6 #1 0x0000000000440e91 in monitor_sig_flags (unused=0x0) at asterisk.c:3070 #2 0x000000000044370f in main (argc=2, argv=0x7fff9d025828) at asterisk.c:3832 Thread 3 (Thread 31367): #0 0x00007f061e572f83 in poll () from /lib/libc.so.6 #1 0x00007f0617dea7b7 in ?? () from /usr/lib/libneon-gnutls.so.27 #2 0x00007f0617dea7ef in ?? () from /usr/lib/libneon-gnutls.so.27 #3 0x00007f0617deb79b in ?? () from /usr/lib/libneon-gnutls.so.27 #4 0x00007f0617debc24 in ne_sock_readline () from /usr/lib/libneon-gnutls.so.27 #5 0x00007f0617de4889 in ?? () from /usr/lib/libneon-gnutls.so.27 #6 0x00007f0617de3e45 in ne_begin_request () from /usr/lib/libneon-gnutls.so.27 #7 0x00007f0617de45cd in ne_request_dispatch () from /usr/lib/libneon-gnutls.so.27 #8 0x00007f061677c84f in fetch_icalendar (pvt=0x1ad22f8) at res_calendar_icalendar.c:144 #9 0x00007f061677eb24 in ical_load_calendar (void_data=0x7f0618058ca8) at res_calendar_icalendar.c:427 #10 0x000000000055f050 in dummy_start (data=0x7f0618045460) at utils.c:971 #11 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #12 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? () Thread 2 (Thread 31368): #0 0x00007f061e5714ad in read () from /lib/libc.so.6 #1 0x0000000000548671 in inotify_daemon (data=0x0) at stdtime/localtime.c:279 #2 0x000000000055f050 in dummy_start (data=0x1cceb90) at utils.c:971 #3 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 31366): #0 0x00007f061e4cca75 in raise () from /lib/libc.so.6 #1 0x00007f061e4d05c0 in abort () from /lib/libc.so.6 #2 0x00007f061e5064fb in ?? () from /lib/libc.so.6 #3 0x00007f061e5105b6 in ?? () from /lib/libc.so.6 #4 0x00007f061e516e53 in free () from /lib/libc.so.6 #5 0x00007f061c21366a in get_ewscal_ids_for (pvt=0x1a48868) at res_calendar_ews.c:609 #6 0x00007f061c213775 in update_ewscal (pvt=0x1a48868) at res_calendar_ews.c:662 #7 0x00007f061c214687 in ewscal_load_calendar (void_data=0x7f0618040208) at res_calendar_ews.c:779 #8 0x000000000055f050 in dummy_start (data=0x7f0618039340) at utils.c:971 #9 0x00007f061dd2e9ca in start_thread () from /lib/libpthread.so.0 #10 0x00007f061e57f6fd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () (gdb) quit