From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.1 build failures on Ubuntu arm64 Date: Wed, 29 Mar 2017 18:03:14 +0300 Message-ID: <838tno6s7h.fsf@gnu.org> References: <20170328203040.0a1e0b98@subdivisions.wooz.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1490799848 12617 195.159.176.226 (29 Mar 2017 15:04:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2017 15:04:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Barry Warsaw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 29 17:04:01 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 1ctF8c-00026D-Ik for ged-emacs-devel@m.gmane.org; Wed, 29 Mar 2017 17:03:54 +0200 Original-Received: from localhost ([::1]:59538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctF8i-00060A-C9 for ged-emacs-devel@m.gmane.org; Wed, 29 Mar 2017 11:04:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctF84-0005zr-Vg for emacs-devel@gnu.org; Wed, 29 Mar 2017 11:03:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctF82-0004rM-Bb for emacs-devel@gnu.org; Wed, 29 Mar 2017 11:03:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctF82-0004rH-9R; Wed, 29 Mar 2017 11:03:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ctF81-0004vX-HX; Wed, 29 Mar 2017 11:03:18 -0400 In-reply-to: <20170328203040.0a1e0b98@subdivisions.wooz.org> (message from Barry Warsaw on Tue, 28 Mar 2017 20:30:40 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:213500 Archived-At: > From: Barry Warsaw > Date: Tue, 28 Mar 2017 20:30:40 -0400 > > I'm not sure how much of this email will be actionable, but I wanted to at > least let y'all know about a problem we've seen building Emacs 25.1 on Ubuntu > 17.04 arm64. Did this configuration build correctly with Emacs 24.5? > In any case, for several weeks now we've seen Emacs segfault on arm64 builders > consistently in what I think are the CEDET tests. The full traceback, when > we've been able to capture it, is here: > > https://launchpadlibrarian.net/302409391/gdb-bt-full.txt I see this there: #5 handle_sigsegv (sig=11, siginfo=, arg=) at sysdep.c:1695 fatal = #6 No symbol table info available. #7 unchain_marker (marker=marker@entry=0x130ad18) at marker.c:605 tail = prev = 0x676e696e6e6967e5 b = 0x130acf0 #8 0x00000000005334a4 in free_marker (marker=marker@entry=19967257) at alloc.c:3850 No locals. The value of 'prev' in frame #7 looks garbled: it's ASCII text "ginning", probably was "beginning" at some point. This might indicate memory corruption, either some dynamically allocated memory or the stack got smashed. Does your build compile ralloc.c? If so, could you try configuring with REL_ALLOC=no? > and the bug that tracks this is here: > > https://bugs.launchpad.net/ubuntu/+source/emacs25/+bug/1656474 That bug mentions several fixed done by Debian; did you try them?