unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: svante.signell@gmail.com
Cc: eggert@cs.ucla.edu, 24857@debbugs.gnu.org
Subject: bug#24857: emacs24/25 FTBFS since a long time on GNU/Hurd
Date: Thu, 10 Nov 2016 18:00:56 +0200	[thread overview]
Message-ID: <83eg2jfhon.fsf@gnu.org> (raw)
In-Reply-To: <1478779076.20542.54.camel@gmail.com> (message from Svante Signell on Thu, 10 Nov 2016 12:57:56 +0100)

> From: Svante Signell <svante.signell@gmail.com>
> Cc: 24857@debbugs.gnu.org
> Date: Thu, 10 Nov 2016 12:57:56 +0100
> 
> More info: Forcing the use of SYSTEM_MALLOC instead of GNU_MALLOC and commenting
> out sbrk usage in alloc.c and unexelf.c as in https://debbugs.gnu.org/cgi/bugrep
> ort.cgi?bug=24892#15 temacs does no longer freak out (Killed). Looking at the
> build log vm-limit.c and gmalloc.c are no longer compiled.
> 
> Now there is a SEGFAULT in dumped-emacs:
> 
> /usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
> make[4]: Entering directory '/home/srs/DEBs/emacs/emacs25-25.1+1/debian/build-
> x/lisp'
>   ELC      emacs-lisp/macroexp.elc
> /bin/bash: line 1: 27157 Segmentation fault      EMACSLOADPATH=
> '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval "(setq max-
> lisp-eval-depth 2200)" --eval '(setq load-prefer-newer t)' -f batch-byte-compile 
> emacs-lisp/macroexp.el
> 
> I've traced it down to the make_float() function in alloc.c:
> if (float_free_list = 0x0) <FALSE>
> if (float_block_index=27 == FLOAT_BLOCK_SIZE=124): <FALSE>
> Next statement: XSETFLOAT (val, &float_block->floats[float_block_index]);
> is called with an invalid address:
> (gdb) p float_block
> $2 = (struct float_block *) 0xad8c00
> (gdb) p *float_block
> Cannot access memory at address 0xad8c00
> causing the segfault later on.
> 
> Is the static struct float_block *float_block allocated on the heap?
> 0xad8c00 = 10.847 MiB is much smaller that available memory.

Sounds like the memory-related problems are not over yet.

Did you try to invoke temacs, and work in that?  IOW, try this:

  ./src/temacs -Q

It will load a bunch pf Lisp files, and should then present a normal
frame, where you should be able to work as usual.  If that does work
on Hurd, I'm pretty sure the problem is with unexec and dumping Emacs.





  reply	other threads:[~2016-11-10 16:00 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 15:20 bug#24857: emacs24/25 FTBFS since a long time on GNU/Hurd Paul Eggert
2016-11-02 16:46 ` Eli Zaretskii
2016-11-02 17:38   ` Svante Signell
2016-11-10 11:57     ` Svante Signell
2016-11-10 16:00       ` Eli Zaretskii [this message]
2016-11-10 20:35         ` Svante Signell
2016-11-11  7:48           ` Eli Zaretskii
2016-11-11  9:50             ` Svante Signell
2016-11-11 10:06               ` Eli Zaretskii
2016-11-11 10:32                 ` Svante Signell
2016-11-11 10:59                   ` Eli Zaretskii
2016-11-11 11:18                     ` Svante Signell
2016-11-11 14:03                       ` Eli Zaretskii
2016-11-11 15:04                         ` Svante Signell
2016-11-11 15:33                           ` Eli Zaretskii
2016-11-21 16:57                             ` Eli Zaretskii
2017-07-14 12:21                               ` Paul Eggert
2017-09-02 13:45                                 ` Eli Zaretskii
2017-09-02 14:10                                   ` Svante Signell
2017-09-02 14:27                                     ` Eli Zaretskii
2017-09-02 14:43                                       ` Svante Signell
2017-09-02 15:04                                         ` Eli Zaretskii
2017-09-02 18:11                                         ` Paul Eggert
2016-11-11 11:03                   ` Eli Zaretskii
2016-11-11 11:33                     ` Svante Signell
2016-11-11 14:06                       ` Eli Zaretskii
2016-11-12 18:12                       ` Paul Eggert
2016-11-04 20:17 ` bug#24857: Anybody needs help to set up a qemu VM for GNU/Hurd? Svante Signell
2016-11-29 21:14   ` Clément Pit--Claudel
2016-12-01 14:52   ` bug#25081: " Svante Signell
2016-12-01 16:48     ` bug#24857: " Clément Pit--Claudel
2016-12-01 17:29       ` Svante Signell
2016-12-01 19:25         ` Glenn Morris
2016-12-01 22:09           ` Svante Signell
2016-12-07 22:36     ` bug#25081: " Paul Eggert
2016-12-07 23:00       ` Svante Signell
     [not found]       ` <1481151606.9077.59.camel@gmail.com>
2016-12-08  0:45         ` Paul Eggert
2016-12-08  9:12           ` bug#24857: " Svante Signell
2016-12-08 15:50             ` Paul Eggert
2016-12-08  0:54       ` bug#25081: " Clément Pit--Claudel
2016-12-08  1:01         ` Paul Eggert
2016-12-08  1:15           ` Clément Pit--Claudel
2016-12-08  1:05         ` Glenn Morris
2017-11-02  1:10   ` bug#24857: " Noam Postavsky
2017-11-02 17:49   ` Noam Postavsky
2018-01-06 23:20     ` Noam Postavsky
2016-12-08 17:01 ` bug#24857: Sorry, reopening this bug Svante Signell
2016-12-08 17:25   ` Eli Zaretskii
2016-12-08 17:34     ` Svante Signell
     [not found] <1478096214.16249.46.camel@gmail.com>
     [not found] ` <83oa1xnb5k.fsf@gnu.org>
     [not found]   ` <1478101904.16249.56.camel@gmail.com>
2016-12-02 10:35     ` bug#24857: emacs24/25 FTBFS since a long time on GNU/Hurd Svante Signell
     [not found]     ` <1480674949.16952.8.camel@gmail.com>
2016-12-03  0:02       ` Paul Eggert
2016-12-07 22:40         ` Svante Signell
2016-12-08  1:15           ` Daniel Colascione

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83eg2jfhon.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24857@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=svante.signell@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).