From owner-freebsd-stable@freebsd.org Mon Sep 18 07:42:04 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FFF4E25C4D for ; Mon, 18 Sep 2017 07:42:04 +0000 (UTC) (envelope-from prvs=0434313ca1=tao@ish.com.au) Received: from fish.ish.com.au (ip-2.ish.com.au [203.29.62.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A09383302 for ; Mon, 18 Sep 2017 07:42:03 +0000 (UTC) (envelope-from prvs=0434313ca1=tao@ish.com.au) Received: from ip-179.ish.com.au ([203.29.62.179]:52835) by fish.ish.com.au with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1dtqeE-0004KX-20; Mon, 18 Sep 2017 17:39:19 +1000 X-CTCH-RefID: str=0001.0A150202.59BF7826.00B8:SCFSTAT42589845, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 To: Asterisk-BSD@lists.digium.com, freebsd-stable From: Tao Zhou Subject: Asterisk13 coredump on freebsd 11.1 Message-ID: <30f177e2-3fd7-37e7-2f77-4b43a56c6713@ish.com.au> Date: Mon, 18 Sep 2017 17:39:16 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2017 07:42:04 -0000 I recently upgraded asterisk13 from 13.17.0_1 to 13.17.1, and also upgraded freebsd from 11.0 to 11.1. since then asterisk starts crashing every few minutes. I ran /usr/local/share/asterisk/scripts/ast_coredumper /tmp/asterisk.core and got the following result in asterisk.core-full.txt Thread 6 (LWP 101423): #0  0x000000080335558a in _poll () from /lib/libc.so.7 No symbol table info available. #1  0x000000080303e706 in ?? () from /lib/libthr.so.3 No symbol table info available. #2  0x00000000004506b2 in ?? () No symbol table info available. #3  0x00000000005921ea in ?? () No symbol table info available. #4  0x000000080303bbc5 in ?? () from /lib/libthr.so.3 No symbol table info available. #5  0x0000000000000000 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7fffdfe0a000 Thread 5 (LWP 101336): #0  0x0000000803049c7c in ?? () from /lib/libthr.so.3 No symbol table info available. #1  0x0000000803046325 in ?? () from /lib/libthr.so.3 No symbol table info available. #2  0x0000000000589d18 in ?? () No symbol table info available. #3  0x00000000004552f1 in ?? () No symbol table info available. #4  0x00000000004552f1 in ?? () No symbol table info available. #5  0x0000000000589c4b in ?? () No symbol table info available. #6  0x000000000058318e in ast_taskprocessor_execute () No symbol table info available. #7  0x00000000005832de in ?? () No symbol table info available. #8  0x00000000005921ea in ?? () No symbol table info available. #9  0x000000080303bbc5 in ?? () from /lib/libthr.so.3 No symbol table info available. #10 0x0000000000000000 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7fffdff04000 Thread 4 (LWP 101240): #0  0x00000008032d88b8 in _umtx_op () from /lib/libc.so.7 No symbol table info available. #1  0x00000008032c275d in sem_clockwait_np () from /lib/libc.so.7 No symbol table info available. #2  0x00000000005832c8 in ?? () No symbol table info available. #3  0x00000000005921ea in ?? () No symbol table info available. #4  0x000000080303bbc5 in ?? () from /lib/libthr.so.3 No symbol table info available. #5  0x0000000000000000 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7fffdff81000 Thread 3 (LWP 101183): #0  0x0000000803049c7c in ?? () from /lib/libthr.so.3 No symbol table info available. #1  0x000000080303dba0 in ?? () from /lib/libthr.so.3 No symbol table info available. #2  0x00000008030479f8 in ?? () from /lib/libthr.so.3 No symbol table info available. #3  0x00000000004c9756 in ?? () No symbol table info available. #4  0x00000000005921ea in ?? () No symbol table info available. #5  0x000000080303bbc5 in ?? () from /lib/libthr.so.3 No symbol table info available. #6  0x0000000000000000 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7fffdfffe000 Thread 2 (LWP 100441): #0  0x000000080335558a in _poll () from /lib/libc.so.7 No symbol table info available. #1  0x000000080303e706 in ?? () from /lib/libthr.so.3 No symbol table info available. #2  0x0000000000452980 in ?? () No symbol table info available. #3  0x0000000000436483 in ?? () No symbol table info available. #4  0x0000000000437b1f in ?? () No symbol table info available. #5  0x0000000800876000 in ?? () No symbol table info available. #6  0x0000000000000000 in ?? () No symbol table info available. Thread 1 (LWP 100493): #0  x86_64_freebsd_fallback_frame_state (context=0x7fffdfd0fe20, context=0x7fffdfd0fe20, fs=0x7fffdfd0fb70) at ./md-unwind-support.h:60         sf =         new_cfa = #1  uw_frame_state_for (context=context@entry=0x7fffdfd0fe20, fs=fs@entry=0x7fffdfd0fb70) at /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/unwind-dw2.c:1249         fde = 0x0         cie =         aug =         insn =         end = #2  0x0000000802e2cffb in _Unwind_ForcedUnwind_Phase2 (exc=exc@entry=0x80701dc30, context=context@entry=0x7fffdfd0fe20) at /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/unwind.inc:155         fs = {regs = {reg = {{loc = {reg = 0, offset = 0, exp = 0x0}, how = REG_UNSAVED} }, prev = 0x0, cfa_offset = 0, cfa_reg = 0, cfa_exp = 0x0, cfa_how = CFA_UNSET}, pc = 0x0, personality = 0x0, data_align = 0, code_align = 0, retaddr_column = 0, fde_encoding = 0 '000', lsda_encoding = 0 '000', saw_z = 0 '000', signal_frame = 0 '000', eh_ptr = 0x0}         action =         stop = 0x8030497b0         stop_argument = 0x0         code =         stop_code = #3  0x0000000802e2d334 in _Unwind_ForcedUnwind (exc=0x80701dc30, stop=0x8030497b0, stop_argument=) at /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/unwind.inc:207         this_context = {reg = {0x7fffdfd0ff18, 0x7fffdfd0ff20, 0x0, 0x7fffdfd0ff28, 0x0, 0x0, 0x7fffdfd0ff50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffdfd0ff30, 0x7fffdfd0ff38, 0x7fffdfd0ff40, 0x7fffdfd0ff48, 0x7fffdfd0ff58, 0x0}, cfa = 0x7fffdfd0ff60, ra = 0x803049613, lsda = 0x0, bases = {tbase = 0x0, dbase = 0x0, func = 0x802e2d2d0 <_Unwind_ForcedUnwind>}, flags = 4611686018427387904, version = 0, args_size = 0, by_value = '000' }         cur_context = {reg = {0x7fffdfd0ff18, 0x7fffdfd0ff20, 0x0, 0x7fffdfd0ffd8, 0x0, 0x0, 0x7fffdfd0fff0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffdfd0ff30, 0x7fffdfd0ff38, 0x7fffdfd0ffe0, 0x7fffdfd0ffe8, 0x7fffdfd0fff8, 0x0}, cfa = 0x7fffdfd10000, ra = 0x7fffdfc94000, lsda = 0x0, bases = {tbase = 0x0, dbase = 0x0, func = 0x80303ba80}, flags = 4611686018427387904, version = 0, args_size = 0, by_value = '000' }         code = #4  0x0000000803049613 in ?? () from /lib/libthr.so.3 No symbol table info available. #5  0x000000080304942b in pthread_exit () from /lib/libthr.so.3 No symbol table info available. #6  0x000000080303bbcd in ?? () from /lib/libthr.so.3 No symbol table info available. #7  0x00007fffdfc94000 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7fffdfd10000 I tried to run without loading any asterisk modules, and it still crashes. I also tried copying all the dependent libs from another machine running freebsd 11.0, put them in a separate directory and use chrpath to force asterisk use those libs, and also got the same error. Any ideas? Thanks -- Tao