From owner-freebsd-stable@freebsd.org Mon Sep 18 07:54:32 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 9C936E266C9 for ; Mon, 18 Sep 2017 07:54:32 +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 6103B83BBF for ; Mon, 18 Sep 2017 07:54:31 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3xwdZ82ZGczZrT; Mon, 18 Sep 2017 09:54:24 +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 kX95QfvfpBa5; Mon, 18 Sep 2017 09:54:22 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 18 Sep 2017 09:54:22 +0200 (CEST) Subject: Re: Asterisk13 coredump on freebsd 11.1 To: Tao Zhou , Asterisk-BSD@lists.digium.com, freebsd-stable References: <30f177e2-3fd7-37e7-2f77-4b43a56c6713@ish.com.au> From: Guido Falsi Message-ID: <5941dc53-3a12-b3ed-e901-c3a7ff6bdd62@FreeBSD.org> Date: Mon, 18 Sep 2017 09:54:22 +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: <30f177e2-3fd7-37e7-2f77-4b43a56c6713@ish.com.au> Content-Type: text/plain; charset=utf-8 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: Mon, 18 Sep 2017 07:54:32 -0000 On 09/18/2017 09:39, Tao Zhou wrote: > 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. > Hi, Are you using a locally build asterisk port or the package provided by the FreeBSD cluster? In both cases, have you tried reinstalling (or rebuilding in case you're using ports) all the ports/packages asterisk depends on? > 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): [...] > Backtrace stopped: Cannot access memory at address 0x7fffdfd10000 > Unluckily the core dump to be of any use should be created using a debug build of asterisk, you can try set "WITH_DEBUG" with the port, also check that no optimization is passed to the compiler when building the debug version. > > 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. Better rebuild things from scratch on the same machine. > > > Any ideas? Have you tried using Asterisk 13.17.0_1 on FreeBSD 11.1? and 13.17.1 on 11.0? Just to rule out one variable. -- Guido Falsi