From owner-freebsd-stable@freebsd.org Mon Sep 18 23:57:44 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 818D5E116DF for ; Mon, 18 Sep 2017 23:57:44 +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 4A11A14EF for ; Mon, 18 Sep 2017 23:57:43 +0000 (UTC) (envelope-from prvs=0434313ca1=tao@ish.com.au) Received: from ip-179.ish.com.au ([203.29.62.179]:64891) by fish.ish.com.au with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1du5uw-0001vF-3C; Tue, 19 Sep 2017 09:57:35 +1000 X-CTCH-RefID: str=0001.0A150204.59C05D6F.0075:SCFSTAT42589845, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 Subject: Re: [Asterisk-bsd] Asterisk13 coredump on freebsd 11.1 To: Hans Petter Selasky , Asterisk on BSD discussion , freebsd-stable References: <30f177e2-3fd7-37e7-2f77-4b43a56c6713@ish.com.au> <25f05b1c-34e5-aa88-39cc-55c9a7b15616@selasky.org> From: Tao Zhou Message-ID: Date: Tue, 19 Sep 2017 09:57:34 +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 In-Reply-To: <25f05b1c-34e5-aa88-39cc-55c9a7b15616@selasky.org> 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 23:57:44 -0000 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) Not sure if it relevant, but our make environment looks like this: WITH_PKGNG=yes WITHOUT_X11=yes JAVA_PORT=java/openjdk8 JAVA_VERSION=1.8 apache22-worker-mpm_SET+=PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP PROXY_SCGI WITH_BDB_VER=5 DEFAULT_VERSIONS+=  php=7.1 DEFAULT_VERSIONS+=  apache=2.4 DEFAULT_VERSIONS+=  ssl=openssl WITH_MYSQL_VER=102m # This is needed when using openssl from ports OPTIONS_UNSET+= GSSAPI_BASE OPTIONS_SET+=   GSSAPI_MIT -- Tao ZHOU ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001