From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28308: Build failure on FreeBSD/aarch64 Date: Fri, 20 Oct 2017 10:07:51 +0300 Message-ID: <83wp3qcn5k.fsf@gnu.org> References: <2e5f41f7-e005-c28f-c04a-79953a804f71@harmless.hu> <8760d17pyj.fsf@users.sourceforge.net> <9ae1840f-9056-8771-43fa-b27bbd2b1bd3@harmless.hu> <87k218g33g.fsf@users.sourceforge.net> <2fbe77fe-1258-cef2-32e2-f741da514151@harmless.hu> <83y3powdsv.fsf@gnu.org> <87k215lqdf.fsf@users.sourceforge.net> <837ex5thtt.fsf@gnu.org> <83tw09s148.fsf@gnu.org> <83bmmhrw84.fsf@gnu.org> <29f4260c-2fff-9051-5882-0acec819739f@harmless.hu> <8760bag128.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1508483361 5594 195.159.176.226 (20 Oct 2017 07:09:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2017 07:09:21 +0000 (UTC) Cc: gergely.czuczy@harmless.hu, 28308@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 20 09:09:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1e5RQX-00082Y-SX for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Oct 2017 09:09:06 +0200 Original-Received: from localhost ([::1]:52449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5RQf-0004sp-5e for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Oct 2017 03:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5RQX-0004oo-Ng for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 03:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5RQU-0008PW-HD for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 03:09:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42341) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5RQU-0008PR-EF for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5RQU-0000YO-6O for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 03:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Oct 2017 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28308-submit@debbugs.gnu.org id=B28308.15084832932054 (code B ref 28308); Fri, 20 Oct 2017 07:09:02 +0000 Original-Received: (at 28308) by debbugs.gnu.org; 20 Oct 2017 07:08:13 +0000 Original-Received: from localhost ([127.0.0.1]:51022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5RPg-0000X4-V6 for submit@debbugs.gnu.org; Fri, 20 Oct 2017 03:08:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5RPd-0000Wp-2i for 28308@debbugs.gnu.org; Fri, 20 Oct 2017 03:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5RPU-0007s2-Qg for 28308@debbugs.gnu.org; Fri, 20 Oct 2017 03:08:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5RPU-0007rq-MB; Fri, 20 Oct 2017 03:08:00 -0400 Original-Received: from [176.228.60.248] (port=1822 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e5RPU-0004nV-1E; Fri, 20 Oct 2017 03:08:00 -0400 In-reply-to: <8760bag128.fsf@users.sourceforge.net> (message from Noam Postavsky on Thu, 19 Oct 2017 19:39:11 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138743 Archived-At: > From: Noam Postavsky > Cc: Eli Zaretskii , 28308@debbugs.gnu.org > Date: Thu, 19 Oct 2017 19:39:11 -0400 > > It seems that the debug info show by lldb is bogus, it shows two > locations for tty_menu_display (see attached). Maybe that function was inlined? > Here is a backtrace from running 'lldb -- ./bootstrap-emacs -Q -batch', > with source locations generated by 'addr2line -e ./bootstrap-emacs -f -i -p'. > > * thread #1, name = 'bootstrap-emacs', stop reason = signal SIGSEGV: invalid address (fault address: 0x41626d78) > 0x000000000022810c XFLOAT_INIT at /root/emacs/src/alloc.c:543 > 0x0000000000227eb0 make_float at /root/emacs/src/alloc.c:2667 > 0x000000000022de24 init_alloc at /root/emacs/src/alloc.c:7481 > 0x000000000016825c main at /root/emacs/src/emacs.c:1251 > 0x0000000000040190 __start at /tank/rpi3/src/lib/csu/aarch64/crt1.c:84 > 0x0000000040390018 ?? at ??:0 Can you disassemble XFLOAT_INIT and tell which part of it caused the segfault, and why? In particular, what is the relation of the faulting address 0x41626d78 and the C source?