root@pan:/var/log/asterisk# grep C-0000023c messages.1 [May 25 13:39:25] WARNING[6951][C-0000023c] res_rtp_asterisk.c: Unable to cancel schedule ID 9800. This is probably a bug (res_rtp_asterisk.c: dtls_srtp_check_pending, line 1836). root@pan:/var/log/asterisk# ls -lart /tmp/core -rw------- 1 root root 127459328 May 25 13:40 /tmp/core root@pan:/var/log/asterisk# gdb /usr/sbin/asterisk /tmp/core 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 9732] [New LWP 9962] [New LWP 22155] [New LWP 9814] [New LWP 22153] [New LWP 9963] [New LWP 22172] [New LWP 10257] [New LWP 22159] [New LWP 22164] [New LWP 22328] [New LWP 22264] [New LWP 22200] [New LWP 22270] [New LWP 22269] [New LWP 22166] [New LWP 7692] [New LWP 22161] [New LWP 22809] [New LWP 22446] [New LWP 8403] [New LWP 22170] [New LWP 22271] [New LWP 31301] [New LWP 22162] [New LWP 22165] [New LWP 8421] [New LWP 8422] [New LWP 22320] [New LWP 10196] [New LWP 22266] [New LWP 31304] [New LWP 22167] [New LWP 9166] [New LWP 8507] [New LWP 22265] [New LWP 22168] [New LWP 22323] [New LWP 22268] [New LWP 22329] [New LWP 22330] [New LWP 8616] [New LWP 9438] [New LWP 22169] [New LWP 9217] [New LWP 26079] [New LWP 22171] [New LWP 9167] [New LWP 31305] [New LWP 22181] [New LWP 9671] [New LWP 9328] [New LWP 9656] [New LWP 22183] [New LWP 22201] [New LWP 9655] [New LWP 9218] [New LWP 9820] [New LWP 22211] [New LWP 22214] [New LWP 22256] [New LWP 22246] [New LWP 10209] [New LWP 9219] [New LWP 22257] [New LWP 22326] [New LWP 22267] [New LWP 22152] [New LWP 22280] [New LWP 22451] [New LWP 9220] [New LWP 22327] [New LWP 9819] [New LWP 22098] [New LWP 22154] [New LWP 22158] [New LWP 10210] [New LWP 22163] [New LWP 9672] [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 SIGSEGV, Segmentation fault. #0 0x00000000005583b7 in ast_rtp_instance_get_stats (instance=0x7f8fe03b68c8, stats=0x7f909947f6b0, stat=AST_RTP_INSTANCE_STAT_ALL) at rtp_engine.c:2104 2104 return instance->engine->get_stat ? instance->engine->get_stat(instance, stats, stat) : -1; (gdb) bt #0 0x00000000005583b7 in ast_rtp_instance_get_stats (instance=0x7f8fe03b68c8, stats=0x7f909947f6b0, stat=AST_RTP_INSTANCE_STAT_ALL) at rtp_engine.c:2104 #1 0x00000000005584ae in ast_rtp_instance_get_quality (instance=0x7f8fe03b68c8, field=AST_RTP_INSTANCE_STAT_FIELD_QUALITY, buf=0x7f909947f7d0 "\221\346[", size=256) at rtp_engine.c:2126 #2 0x000000000055874f in ast_rtp_instance_set_stats_vars (chan=0x7f8fe0256938, instance=0x7f8fe03b68c8) at rtp_engine.c:2152 #3 0x00007f90ab1ecf58 in sip_hangup (ast=0x7f8fe0256938) at chan_sip.c:7019 #4 0x0000000000479500 in ast_hangup (chan=0x7f8fe0256938) at channel.c:2842 #5 0x000000000053b3a8 in __ast_pbx_run (c=0x7f8fe0256938, args=0x0) at pbx.c:6813 #6 0x000000000053b74c in pbx_thread (data=0x7f8fe0256938) at pbx.c:6905 #7 0x000000000059b45b in dummy_start (data=0x7f8fe00ff560) at utils.c:1223 #8 0x00007f90fd0b6182 in start_thread (arg=0x7f9099480700) at pthread_create.c:312 #9 0x00007f90fe22200d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) bt full #0 0x00000000005583b7 in ast_rtp_instance_get_stats (instance=0x7f8fe03b68c8, stats=0x7f909947f6b0, stat=AST_RTP_INSTANCE_STAT_ALL) at rtp_engine.c:2104 No locals. #1 0x00000000005584ae in ast_rtp_instance_get_quality (instance=0x7f8fe03b68c8, field=AST_RTP_INSTANCE_STAT_FIELD_QUALITY, buf=0x7f909947f7d0 "\221\346[", size=256) at rtp_engine.c:2126 stats = {txcount = 0, rxcount = 0, txjitter = 0, rxjitter = 0, remote_maxjitter = 0, remote_minjitter = 0, remote_normdevjitter = 0, remote_stdevjitter = 0, local_maxjitter = 0, local_minjitter = 0, local_normdevjitter = 0, local_stdevjitter = 0, txploss = 0, rxploss = 0, remote_maxrxploss = 0, remote_minrxploss = 0, remote_normdevrxploss = 0, remote_stdevrxploss = 0, local_maxrxploss = 0, local_minrxploss = 0, local_normdevrxploss = 0, local_stdevrxploss = 0, rtt = 0, maxrtt = 0, minrtt = 0, normdevrtt = 0, stdevrtt = 0, local_ssrc = 0, remote_ssrc = 0} stat = AST_RTP_INSTANCE_STAT_ALL #2 0x000000000055874f in ast_rtp_instance_set_stats_vars (chan=0x7f8fe0256938, instance=0x7f8fe03b68c8) at rtp_engine.c:2152 quality_buf = "\221\346[\000\000\000\000\000\333\343[\000\000\000\000\000'\002\000\000\377\377\377\377\230\036p\340\217\177\000\000\005\000\000\000\004\000\000\000x\036p\340\217\177\000\000#\201_\000\v(\000\000@\307D\001\000\000\000\000\060\370G\231\220\177\000\000\355\324D\000\000\000\000\000\340\303T\340\377\377\377\377\230\036p\340\217\177\000\000p\370G\231\220\177\000\000\b\217\035\253\220\177", '\000' , "&*\253\220\177\000\000\000\000\000\000\252r\000\000ky(\253\220\177\000\000\253\313)\253\220\177\000\000\230\036p\340\217\177\000\000\260\370G\231\220\177\000\000\324\257%\253\220\177\000\000\236\vM\340\217\177\000\000_\307W\000\000\000\000\000\230\036p\340\217\177\000\000\230"... quality = 0x5f85c2 <__PRETTY_FUNCTION__.12083> "ast_sched_del" bridge = 0x0 #3 0x00007f90ab1ecf58 in sip_hangup (ast=0x7f8fe0256938) at chan_sip.c:7019 bridge = 0x0 quality_buf = "\000\000\000\000\377\377\377\377\360\242+\340\217\177\000\000\200\372G\231\220\177\000\000\301\201P\000\000\000\000\000\270\371G\231\220\177\000\000\070i%\340\217\177\000\000\316\202\\\000\000\000\000\000\025\310\\\000\000\000\000\000\353g\\\000\000\000\000\000\030\v\000\000\000\000\000\000\360\242+\340\217\177\000\000(\000\000\000\060\000\000\000\220\372G\231\220\177\000\000\320\371G\231\220\177\000\000\060\372G\231\220\177\000\000+\315D", '\000' , "f\302\027\340\217\177\000\000\016\302\027\340\217\177\000\000\253\233^\000\000\000\000\000\070i%\340\217\177\000\000\000\000\000\000\230-\000\000\030i%\340\217\177\000\000\340h%\340\217\177\000\000\300"... quality = 0x44d4ed <__ao2_ref+46> "\311\303UH\211\345H\203\354PH\211}\330H\211u?U\314H\211M\300D\211E\310L\211M\270H\203}\330\aw\bH\307E\330\b" p = 0x7f8fe0701e98 needcancel = 0 needdestroy = 0 oldowner = 0x7f8fe0256938 __PRETTY_FUNCTION__ = "sip_hangup" #4 0x0000000000479500 in ast_hangup (chan=0x7f8fe0256938) at channel.c:2842 extra_str = "0,SIP/779-7532-000003f5,\000\213S\000\000\000\000\000\346\307\\\000\000\000\000\000@\200\\\000\000\000\000\000\016\302\027\340\217\177\000\000\330w%\340\217\177\000" __PRETTY_FUNCTION__ = "ast_hangup" #5 0x000000000053b3a8 in __ast_pbx_run (c=0x7f8fe0256938, args=0x0) at pbx.c:6813 found = 1 res = -1 autoloopflag = 0 error = 1 pbx = 0x7f8fe00ff560 callid = 0x0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #6 0x000000000053b74c in pbx_thread (data=0x7f8fe0256938) at pbx.c:6905 c = 0x7f8fe0256938 #7 0x000000000059b45b in dummy_start (data=0x7f8fe00ff560) at utils.c:1223 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140259023652608, -7509795141466856572, 0, 0, 140259023653312, 140259023652608, -7509795141441690748, 7558987577707848580}, __mask_was_saved = 0}}, __pad = {0x7f909947ff30, 0x0, 0x7f90fe28dbf2 <__libc_thread_freeres+34>, 0x0}} __cancel_routine = 0x440ee9 __cancel_arg = 0x7f9099480700 __not_first_call = 0 ret = 0x0 a = {start_routine = 0x53b727 , data = 0x7f8fe0256938, name = 0x7f8fe030db20 "pbx_thread", ' ' , "started at [ 6931] pbx.c ast_pbx_start()"} #8 0x00007f90fd0b6182 in start_thread (arg=0x7f9099480700) at pthread_create.c:312 __res = pd = 0x7f9099480700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140259023652608, 7558988047602803588, 0, 0, 140259023653312, 140259023652608, -7509795141473148028, -7510014600413977724}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = ---Type to continue, or q to quit--- freesize = __PRETTY_FUNCTION__ = "start_thread" #9 0x00007f90fe22200d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. (gdb)