GNU bug report logs -
#19959
25.0.50; can't bootstrap -- temacs dumps core
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Glenn Morris <rgm <at> gnu.org> writes:
> Nicolas Richard wrote:
>
>> In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>
> FWIW, http://hydra.nixos.org/build/19982110 flagged this yesterday.
> It seems to be specific to 32-bit builds.
> (The precise introduction is masked by the previous total build failure
> due to a typo.)
This commit breaks bootstrap for me:
commit b74db6347cf5cac1ebd4c604fd5691c588fd8e32
Author: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Tue Feb 24 16:34:13 2015 -0800
Backtrace after malloc arena is corrupted
Without this change, if the malloc arena is corrupted and then
'backtrace' is called, the backtrace can crash because 'backtrace'
calls 'malloc'. For more, please see:
https://sourceware.org/ml/libc-alpha/2015-02/msg00678.html
* emacs.c (main): Initialize tables used by 'backtrace'.
* sysdep.c (emacs_backtrace): Document the newly used part of the API.
On my system's glibc version, glibc-2.16-30.fc18.i686, it seems that a
zero size argument to backtrace causes a segfault; minimal example
attached:
$ gcc -Wall backtrace.c
$ env -i ./a.out
Segmentation fault (core dumped)
Thomas
[backtrace.c (text/plain, attachment)]
This bug report was last modified 10 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.