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#24682: 26.0.50; Bootstrap failed Date: Fri, 14 Oct 2016 17:52:39 +0300 Message-ID: <83eg3j3ruw.fsf@gnu.org> References: <87pon48sz1.fsf@gmx.de> <83h98g8bi5.fsf@gnu.org> <8760ovj8od.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476456966 10488 195.159.176.226 (14 Oct 2016 14:56:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 14:56:06 +0000 (UTC) Cc: 24682@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 16:55:58 2016 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 1bv3tc-0008H2-4q for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 16:55:40 +0200 Original-Received: from localhost ([::1]:47747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3ta-0008D3-KA for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 10:55:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3s8-0007C7-GC for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:54:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3s2-0003Rf-6C for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:54:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3s2-0003RY-3S for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bv3s1-0003GN-WB for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:54: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, 14 Oct 2016 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24682-submit@debbugs.gnu.org id=B24682.147645678312472 (code B ref 24682); Fri, 14 Oct 2016 14:54:01 +0000 Original-Received: (at 24682) by debbugs.gnu.org; 14 Oct 2016 14:53:03 +0000 Original-Received: from localhost ([127.0.0.1]:55407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3r1-0003El-Fq for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:53:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3qw-0003EU-Vo for 24682@debbugs.gnu.org; Fri, 14 Oct 2016 10:52:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3qm-0003AP-Vu for 24682@debbugs.gnu.org; Fri, 14 Oct 2016 10:52:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3qm-0003AH-SZ; Fri, 14 Oct 2016 10:52:44 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1bv3qm-0002Wi-17; Fri, 14 Oct 2016 10:52:44 -0400 In-reply-to: <8760ovj8od.fsf@gmx.de> (message from Michael Albinus on Fri, 14 Oct 2016 16:40:18 +0200) 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:124458 Archived-At: > From: Michael Albinus > Cc: 24682@debbugs.gnu.org > Date: Fri, 14 Oct 2016 16:40:18 +0200 > > gdb --args ./temacs --batch --load loadup bootstrap > GNU gdb (Ubuntu 7.12-0ubuntu1) 7.12 > > [...] > > Loading /home/albinus/src/emacs/lisp/cus-start.el (source)... > Loading /home/albinus/src/emacs/lisp/tooltip.el (source)... > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > 20599360 of 33554432 static heap bytes used > > Program received signal SIGSEGV, Segmentation fault. > __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130 > 130 ../sysdeps/x86_64/multiarch/memcpy-ssse3.S: No such file or directory. > (gdb) bt > #0 __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130 > #1 0x0000555555707f8b in memcpy (__len=1465781148, __src=0x781464, > __dest=0x7fff8fc1a464) at /usr/include/x86_64-linux-gnu/bits/string3.h:53 > #2 unexec ( > new_name=0x555557049248 "/usr/local/src/emacs/src/emacs", > old_name=0x555557049270 "/usr/local/src/emacs/src/temacs") at unexelf.c:406 > #3 0x000055555565bea7 in Fdump_emacs (filename=93825020178884, > symfile=) at emacs.c:2157 Isn't the value of __len (about 1.4GB) too large? unexelf.c:406 is this: /* Copy over what we have in memory now for the bss area. */ memcpy (new_base + new_data2_offset, (caddr_t) old_bss_addr, bss_size_growth); So bss_size_growth is about 1.4GB, which sounds incredibly large. the value is computed on line 334, can you tell the values of the two variables that get subtracted there?