From owner-freebsd-stable@freebsd.org Tue Sep 19 09:05:21 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 54820E06CB1 for ; Tue, 19 Sep 2017 09:05:21 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (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 18D1472DF2 for ; Tue, 19 Sep 2017 09:05:20 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3xxH5V5xJlzZwK; Tue, 19 Sep 2017 11:05:18 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id fR6bekvAHtDC; Tue, 19 Sep 2017 11:05:13 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Tue, 19 Sep 2017 11:05:13 +0200 (CEST) Subject: Re: [Asterisk-bsd] Asterisk13 coredump on freebsd 11.1 To: Tao Zhou , 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: Guido Falsi Message-ID: Date: Tue, 19 Sep 2017 11:05:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 09:05:21 -0000 On 09/19/2017 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) > > > 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 > This last detail could be the cause of the failures. Depending on the options with which you compiled the asterisk port it is possible for it to not play well with this one. Could you send me in a private email the output of "make showconfig" from the asterisk port? To use ports provided SSL and GSS/Kerberos with asterisk special care should be taken, some indications are present in UPDATING entries 20150506 and 20150323. -- Guido Falsi