From owner-freebsd-current@freebsd.org Thu Aug 9 16:20:51 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63148106BB25 for ; Thu, 9 Aug 2018 16:20:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18C717C204 for ; Thu, 9 Aug 2018 16:20:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 44B8C10AFCD; Thu, 9 Aug 2018 12:20:50 -0400 (EDT) Subject: Re: programs like gdb core dump To: Erich Dollansky References: <20180805073817.3bc31c81.freebsd.ed.lists@sumeritec.com> <449a525a-e24f-fbde-a581-652c00af523f@FreeBSD.org> <20180807111041.129fad22.freebsd.ed.lists@sumeritec.com> <367850fc-11e8-777e-f4fb-78262eb18f13@FreeBSD.org> <20180808095740.3ae1c9c2.freebsd.ed.lists@sumeritec.com> <8108836b-0e90-b5ad-1aa6-32e80e900071@FreeBSD.org> <20180809074908.174b4443.freebsd.ed.lists@sumeritec.com> Cc: freebsd-current@freebsd.org From: John Baldwin Message-ID: <71773565-2f75-9d57-3790-a1a0e50c0663@FreeBSD.org> Date: Thu, 9 Aug 2018 09:20:49 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180809074908.174b4443.freebsd.ed.lists@sumeritec.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 09 Aug 2018 12:20:50 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 16:20:51 -0000 On 8/8/18 4:49 PM, Erich Dollansky wrote: > Hi, > > here we are: > > http://sumeritec/FreeBSD/fortune.core > http://sumeritec/FreeBSD/gdb.core > > The fortune core is from the same source as the now running system. The > gdb core should be but I am not 100% sure. > > Revision: Revision: 337343 The core dumps don't really do me any good unfortunately without a binary, but if you can open fortune.core under gdb for example, just getting the stack trace along with 'info reg' is probably sufficient. > Erich > > > On Wed, 8 Aug 2018 08:57:06 -0700 > John Baldwin wrote: > >> On 8/7/18 7:00 PM, Erich Dollansky wrote: >>> Hi, >>> >>> On Tue, 7 Aug 2018 11:59:11 -0700 >>> John Baldwin wrote: >>> >>>> On 8/6/18 8:11 PM, Erich Dollansky wrote: >>>>> On Mon, 6 Aug 2018 15:57:53 -0700 >>>>> John Baldwin wrote: >>>>> >>>>>> On 8/4/18 4:38 PM, Erich Dollansky wrote: >>> >>>>>>> Bad system call (core dumped) >>>>>> >>>>>> Did you upgrade from stable/11 with a world that is still >>>>>> stable/11? If so, did you make sure your kernel config includes >>>>>> COMPAT_FREEBSD11? (GENERIC should include this) >>>>>> >>>>> >>>>> I never have had a machine running 11. This machine is on 12 since >>>>> 2 or 3 years. I will check if this configuration was properly set >>>>> on that machine. >>>> >>>> Ahh, a fairly old 12 world with a recent 12 kernel will still need >>>> COMPAT_FREEBSD11. >>>> >>> >>> even when kernel and world are on '1200076' as provided by uname >>> -U/-K, COMPAT_FREEBSD11 is required at the moment. The system is >>> currently on r337343. >> >> Hmm, plain 12.0 binaries that are up to date should not need >> COMPAT_FREEBSD11. Do you have any of the core dumps from before handy? >> > -- John Baldwin