all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: svante.signell@gmail.com, 24857@debbugs.gnu.org
Subject: bug#24857: emacs24/25 FTBFS since a long time on GNU/Hurd
Date: Wed, 02 Nov 2016 18:46:06 +0200	[thread overview]
Message-ID: <83fun9n835.fsf@gnu.org> (raw)
In-Reply-To: <07351ee5-2e25-5a8b-0603-db4ad7458970@cs.ucla.edu> (message from Paul Eggert on Wed, 2 Nov 2016 08:20:59 -0700)

> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Wed, 2 Nov 2016 08:20:59 -0700
> Cc: Svante Signell <svante.signell@gmail.com>
> 
> [forwarded from http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00055.html]
> 
> From: Svante Signell <svante.signell@gmail.com>
> To: emacs-devel@gnu.org
> Date: Wed, 02 Nov 2016 15:16:54 +0100
> 
> Since a long time emacs FTBFS due to unknown reasons. The latest version
> building was Debian 24.5+1-5, from 27 Nov 2015. Even before successful builds
> were by pure luck. One suspicious issue is that emacs use sbrk() for memory
> allocation, right? Notably sbrk() is not fool-proof as implemented for Hurd in
> glibc. Use of sbrk is found in files alloc.c, unexelf.c and gmalloc.c, which are
> all compiled. Avoiding compilation of ralloc.c with 0001-Default-REL_ALLOC-to-
> no.patch did not improve the situation.

The posted backtrace indicates the problem is with inability to
allocate memory:

  #374452 0x0521d7bf in __assert_perror_fail (errnum=1073741836, file=0x516d8f0 "../libpthread/sysdeps/mach/hurd/pt-sysdep.c", line=67, function=0x516d91c <__PRETTY_FUNCTION__.9436> "_init_routine") at assert-perr.c:35
	  errbuf = "\001\000\000\000\300r\375\001@\311\002\001'\336\000\000\360\333\000\000Ð\225\000\000\240\061\035\005\240\061\035\005\001\000\000\000\024\312\002\001\000 \000\000\000\000\000\000\001\000\000\000v\032i\t\000\000\000\000\000\000\000\000\251\224\000\000\000\260\002\000\f\001\034\005\330\310\350\004\236\002\000\000Ë\235\000\000\005\000\000\000\001\000\000\000$I\034\005\020\225\000\000\310/\374\a;\316\034\005$\312\002\001 \312\002\001\000 \000\000\310\f\004\b}\000\000\000;\316\034\005\223\365\034\005j\315yy\251\224\000\000\000\260\002\000<\020\374\ax\204\336\a\375\000\000\000Ë\235\000\000\005\000\000\000\001\000\000\000d!\374\aÐ\225\000\000\255\062\035\005\255\062\035\005t\312\002\001p\312\002\001\240\061\035\005"...
	  e = 0x53646db "Cannot allocate memory"
  #374453 0x0516bb99 in _init_routine (stack=0x0) at ../libpthread/sysdeps/mach/hurd/pt-sysdep.c:67
	  thread = 0x0
	  err = <optimized out>
	  attr = {__schedparam = {__sched_priority = 0}, __stackaddr = 0x7, __stacksize = 1, __guardsize = 85910395, __detachstate = (unknown: 87916512), __inheritsched = (unknown: 3084914), __contentionscope = (unknown: 1866732), __schedpolicy = 85375740}
	  attrp = 0x0
  #374454 0x05210a33 in init (data=0x102cdf0) at ../sysdeps/mach/hurd/i386/init-first.c:213

Btw, what happened between frame #0 and frame #374454?  Was that some
infinite loop trying to print an error message, which caused an
attempt to allocate memory, which tried to print an error message, and
so on and so forth?





  reply	other threads:[~2016-11-02 16:46 UTC|newest]

Thread overview: 54+ 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 [this message]
2016-11-02 17:38   ` Svante Signell
2016-11-10 11:57     ` Svante Signell
2016-11-10 16:00       ` Eli Zaretskii
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
2016-12-07 23:00       ` Svante Signell
2016-12-08  0:45         ` bug#25081: " 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
  -- strict thread matches above, loose matches on Subject: below --
2016-11-02 14:16 emacs24/25 FTBFS since a long time on GNU/Hurd Svante Signell
2016-11-02 15:39 ` Eli Zaretskii
2016-11-02 15:51   ` Svante Signell
2016-12-02 10:35     ` bug#24857: " Svante Signell
2016-12-02 10:35     ` Svante Signell
2016-12-03  0:02       ` bug#24857: " 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

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

  git send-email \
    --in-reply-to=83fun9n835.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 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.