root@7-1-phx:/tmp# ls -lart *core* -rw------- 1 root root 89206784 May 25 09:50 core.7-1-phx-2015-05-25T09:57:29-0700 root@7-1-phx:/tmp# cd /var/log/asterisk/ root@7-1-phx:/var/log/asterisk# grep "a bug" messages* messages.2:[May 25 09:57:18] WARNING[16886][C-000000e9] res_rtp_asterisk.c: Unable to cancel schedule ID 4383. This is probably a bug (res_rtp_asterisk.c: dtls_srtp_check_pending, line 1836). root@7-1-phx:/var/log/asterisk# grep C-000000e9 messages.2 [May 25 09:57:18] WARNING[16886][C-000000e9] res_rtp_asterisk.c: Unable to cancel schedule ID 4383. This is probably a bug (res_rtp_asterisk.c: dtls_srtp_check_pending, line 1836). root@7-1-phx:/var/log/asterisk# gdb /usr/sbin/asterisk /tmp/core.7-1-phx-2015-05-25T09:57:29-0700 GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/sbin/asterisk...done. [New LWP 2037] [New LWP 2056] [New LWP 2043] [New LWP 2057] [New LWP 3824] [New LWP 2042] [New LWP 2062] [New LWP 2092] [New LWP 2080] [New LWP 2102] [New LWP 3883] [New LWP 3825] [New LWP 4120] [New LWP 2352] [New LWP 2105] [New LWP 2084] [New LWP 3932] [New LWP 4137] [New LWP 4148] [New LWP 3849] [New LWP 4136] [New LWP 4119] [New LWP 4149] [New LWP 4140] [New LWP 4280] [New LWP 2081] [New LWP 4152] [New LWP 4153] [New LWP 4279] [New LWP 4293] [New LWP 3882] [New LWP 2122] [New LWP 4317] [New LWP 4165] [New LWP 1506] [New LWP 4294] [New LWP 3848] [New LWP 3933] [New LWP 4348] [New LWP 2010] [New LWP 4164] [New LWP 4141] [New LWP 4370] [New LWP 1999] [New LWP 2008] [New LWP 4330] [New LWP 4318] [New LWP 2002] [New LWP 2014] [New LWP 2011] [New LWP 2000] [New LWP 2007] [New LWP 2016] [New LWP 2020] [New LWP 2015] [New LWP 2003] [New LWP 2001] [New LWP 2004] [New LWP 2012] [New LWP 2013] [New LWP 2059] [New LWP 2055] [New LWP 2006] [New LWP 2005] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/asterisk -f -vvvg -c'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f47c9350cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007f47c9350cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f47c93540d8 in __GI_abort () at abort.c:89 #2 0x00007f47c872138f in OpenSSLDie () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #3 0x00007f47c8ad0998 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 #4 0x00007f47c8ad120e in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 #5 0x00007f47c8ad13a5 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 #6 0x00007f47c8acdc75 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 #7 0x00007f4786976499 in dtls_srtp_handle_timeout (data=0x7f46fc03f968) at res_rtp_asterisk.c:1793 #8 0x000000000057d0e4 in ast_sched_runq (con=0x2d80b60) at sched.c:639 #9 0x00007f477a349947 in do_monitor (data=0x0) at chan_sip.c:29279 #10 0x000000000059b45b in dummy_start (data=0x2dd1360) at utils.c:1223 #11 0x00007f47c82a8182 in start_thread (arg=0x7f47840e8700) at pthread_create.c:312 #12 0x00007f47c941447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) bt full #0 0x00007f47c9350cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 1506 selftid = 2037 #1 0x00007f47c93540d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x46, sa_sigaction = 0x46}, sa_mask = {__val = {139942852597392, 0, 139946301003095, 5, 0, 5, 139946294906152, 22, 0, 0, 139946301031701, 83, 139946295842957, 139946298812880, 83, 139945134937136}}, sa_flags = -2079422720, sa_restorer = 0x202c726f72726520} sigs = {__val = {32, 0 }} #2 0x00007f47c872138f in OpenSSLDie () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 No symbol table info available. #3 0x00007f47c8ad0998 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 No symbol table info available. #4 0x00007f47c8ad120e in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 No symbol table info available. #5 0x00007f47c8ad13a5 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 No symbol table info available. #6 0x00007f47c8acdc75 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0 No symbol table info available. #7 0x00007f4786976499 in dtls_srtp_handle_timeout (data=0x7f46fc03f968) at res_rtp_asterisk.c:1793 instance = 0x7f46fc03f968 rtp = 0x7f46fc043eb0 __PRETTY_FUNCTION__ = "dtls_srtp_handle_timeout" #8 0x000000000057d0e4 in ast_sched_runq (con=0x2d80b60) at sched.c:639 current = 0x7f475c07a490 when = {tv_sec = 1432572652, tv_usec = 836325} numevents = 0 res = 0 __PRETTY_FUNCTION__ = "ast_sched_runq" #9 0x00007f477a349947 in do_monitor (data=0x0) at chan_sip.c:29279 res = 0 t = 1432572652 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #10 0x000000000059b45b in dummy_start (data=0x2dd1360) at utils.c:1223 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {139945134950144, 2556156769053206620, 0, 0, 139945134950848, 139945134950144, 2556156769078372444, -2452698565612115876}, __mask_was_saved = 0}}, __pad = {0x7f47840e7f30, 0x0, 0x0, 0x0}} __cancel_routine = 0x440ee9 __cancel_arg = 0x7f47840e8700 __not_first_call = 0 ret = 0x0 a = {start_routine = 0x7f477a34965f , data = 0x0, name = 0x2dd1380 "do_monitor", ' ' , "started at [29307] chan_sip.c restart_monitor()"} #11 0x00007f47c82a8182 in start_thread (arg=0x7f47840e8700) at pthread_create.c:312 __res = pd = 0x7f47840e8700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139945134950144, -2452699188786337700, 0, 0, 139945134950848, 139945134950144, 2556156769055303772, 2556306536097540188}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #12 0x00007f47c941447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. (gdb) frame 7 #7 0x00007f4786976499 in dtls_srtp_handle_timeout (data=0x7f46fc03f968) at res_rtp_asterisk.c:1793 1793 DTLSv1_handle_timeout(rtp->rtcp->dtls.ssl); (gdb) print instance $1 = (struct ast_rtp_instance *) 0x7f46fc03f968 (gdb) print instance->engine $2 = (struct ast_rtp_engine *) 0x7f4786bcea00 (gdb)