all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 24682@debbugs.gnu.org
Subject: bug#24682: 26.0.50; Bootstrap failed
Date: Fri, 14 Oct 2016 17:52:39 +0300	[thread overview]
Message-ID: <83eg3j3ruw.fsf@gnu.org> (raw)
In-Reply-To: <8760ovj8od.fsf@gmx.de> (message from Michael Albinus on Fri, 14 Oct 2016 16:40:18 +0200)

> From: Michael Albinus <michael.albinus@gmx.de>
> 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 <bss_sbrk_buffer+19825800> "/usr/local/src/emacs/src/emacs", 
>     old_name=0x555557049270 <bss_sbrk_buffer+19825840> "/usr/local/src/emacs/src/temacs") at unexelf.c:406
> #3  0x000055555565bea7 in Fdump_emacs (filename=93825020178884, 
>     symfile=<optimized out>) 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?





  reply	other threads:[~2016-10-14 14:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13 10:05 bug#24682: 26.0.50; Bootstrap failed Michael Albinus
2016-10-13 12:44 ` Michael Albinus
2016-10-13 16:22 ` Eli Zaretskii
2016-10-13 16:27   ` Michael Albinus
2016-10-14 14:40   ` Michael Albinus
2016-10-14 14:52     ` Eli Zaretskii [this message]
2016-10-14 15:33       ` Michael Albinus
2016-10-14 17:11         ` Eli Zaretskii
2016-10-15  6:15 ` Eli Zaretskii
2016-10-15  6:21   ` Eli Zaretskii
2016-10-15  7:01     ` Michael Albinus
2016-10-15  7:18       ` Michael Albinus
2016-10-15  7:24         ` Tim Cross
2016-10-15 13:32           ` Óscar Fuentes
2016-10-15  7:19       ` Eli Zaretskii
2016-10-15  7:31         ` Michael Albinus
2016-10-15  6:39 ` Cesar Quiroz
2016-10-15  7:23   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2016-10-14 23:06 Emacs 25 from GIT build issue under Ubuntu 16.10 Tim Cross
2016-10-14 23:20 ` Tim Cross
2016-10-15  4:09   ` Paul Eggert
2016-10-15  6:18     ` bug#24682: 26.0.50; Bootstrap failed Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eg3j3ruw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24682@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.