From owner-freebsd-stable@freebsd.org Tue Sep 19 05:33:46 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 8D06CE23E3E for ; Tue, 19 Sep 2017 05:33:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 5415E6B0EF for ; Tue, 19 Sep 2017 05:33:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D092E2601A9; Tue, 19 Sep 2017 07:33:42 +0200 (CEST) Subject: Re: [Asterisk-bsd] Asterisk13 coredump on freebsd 11.1 To: Tao Zhou , Asterisk on BSD discussion , freebsd-stable References: <30f177e2-3fd7-37e7-2f77-4b43a56c6713@ish.com.au> <25f05b1c-34e5-aa88-39cc-55c9a7b15616@selasky.org> From: Hans Petter Selasky Message-ID: <2e30a9b1-1093-b0b1-383e-15ae4f787df9@selasky.org> Date: Tue, 19 Sep 2017 07:31:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Tue, 19 Sep 2017 05:33:46 -0000 On 09/19/17 01:57, Tao Zhou wrote: > On 18/9/17 5:40 pm, Hans Petter Selasky wrote: > >> There is a known issue with the latest version of Asterisk 13.xxx >> crashing. I don't know the root cause. Try downgrading the Asterisk >> version. You probably should compile all code with debug flags enabled >> if you want to find the root cause of this. > > In our environment the crash happen almost always within two minutes. No > calls or other activity are needed to make the crash happen. > > > Things that didn't help: > > * downgrading asterisk13 to 13.17 or 13.16 > * downgrading gcc5 or upgrading it to gcc6 > * disabling all modules > * compiling asterisk13 with GCC or CLANG > * upgrading the poudriere build environment from 11.0 to 11.1 > > Thing that helped > > * installing astersisk 13.16 from https://pkg.freebsd.org > (All our previous attempts were with software which was compiled locally > on poudriere under FreeBSD 11.1 or 11.0) > Try to do an ldd diff on the resulting binaries. Or check the list of installed Asterisk modules. Maybe there are some leftover libraries or asterisk modules which weren't deleted when the port was upgraded. --HPS