From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: debugging core dump Date: Tue, 11 Apr 2017 18:11:10 +0100 Message-ID: <87fuhezx75.fsf@russet.org.uk> References: <87bms32iex.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491930713 15676 195.159.176.226 (11 Apr 2017 17:11:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2017 17:11:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 19:11:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxzKW-0003vK-Q4 for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2017 19:11:48 +0200 Original-Received: from localhost ([::1]:40383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxzKc-0001aH-DT for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2017 13:11:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxzK1-0001aB-5N for emacs-devel@gnu.org; Tue, 11 Apr 2017 13:11:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxzJx-0001iP-5z for emacs-devel@gnu.org; Tue, 11 Apr 2017 13:11:17 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:52650) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxzJw-0001hq-Qs for emacs-devel@gnu.org; Tue, 11 Apr 2017 13:11:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2WIc/LmpX4KN/udQQRIKpH0PXmdQ466qbyB4qmqWZLw=; b=jtc2XzY3L1+h1cUPOEqbQjI2Z qRJzIWTvtOmGeswArjSBgomOpJlCV4eEkqJKF0ax+1YU9pIJb7z2FhNl1xMLvM/TGa8KCb42a5t03 iA3AYSPd46glZUvXAs+dvq9fw3rHAD79AmoWnBfPHprPB/WIG8p3w6tSdIcNGfN1ZGVVHX5Zcevm1 jg0B9i2po3OAnd4NnzhxRWLdmghd6TGxUPHTtYL4V/2AET8mRzsRaWpGpqUUNdti9TTYL2rhAZp1V uzXxEXxAvzkMudzwN5kJ5jz4a+EWoZDCBilQlRrkrieMxMRyJ/kivle9KcIY71fvVwnrgIIdhydIN lVsm2R0vQ==; Original-Received: from janus-nat-128-240-225-75.ncl.ac.uk ([128.240.225.75]:49039 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1cxzJv-00075J-4o; Tue, 11 Apr 2017 17:11:11 +0000 In-Reply-To: (Stefan Monnier's message of "Tue, 11 Apr 2017 09:32:32 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213877 Archived-At: Stefan Monnier writes: >> I have both emacs-25 head and master building. I have also had >> emacs-25.1 building on other machines. Not sure how to debug this; >> advice welcome. > > Here's what I do, in those cases: > > M-x cd .../emacs/src > M-x gud-gdb RET gdb ... temacs RET > b maybe_call_debugger > r -batch -l loadup dump > [...crash...] > bt > > the `r` line may need to be adjusted depending on whether the crash > happens for the generation of src/bootstrap-emacs or src/emacs: I just > copy&paste it from the failed build. I bisected instead. It's the "-no-pie" problem that Paul fixed in 99892eeec. Guess this is the first time I've tried to compile other than head on this version. Phil