Subject: Re: bug#45603: 28.0.50; feature_native-comp: Fatal error 11: Segmentation fault

From: Gregor Zattler <[email-masked]>
Date: Sun, 3 Jan 2021 21:44:28 +0100

Hi Andrea,
* Andrea Corallo <[email-masked]> [03. Jan. 2021]:
> [re-adding the bug in CC]

sorry, thanks,

> Gregor Zattler <[email-masked]> writes:
>
> [...]
>
>> With CFLAGS -g-O2 and comp-speed = 2 I get:
>>
>>
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/cl-lib.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/seq.el...
>>
>> In toplevel form:
>> seq.el:395:16: Warning: ‘seq-contains’ is an obsolete generic function (as of
>>     27.1); use ‘seq-contains-p’ instead.
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/gv.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/cl-extra.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/easymenu.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/help-mode.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/cl-macs.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/cl-seq.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/rx.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/subr-x.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/warnings.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/url/url-vars.el...
>> Compiling /home/grfz/src/emacs-feature_native-comp/lisp/emacs-lisp/map.el...
>> Fatal error 11: Segmentation fault
>> Backtrace:
>> /home/grfz/src/emacs-feature_native-comp/src/emacs[0x57278b]
>> /home/grfz/src/emacs-feature_native-comp/src/emacs[0x428148]
>> /home/grfz/src/emacs-feature_native-comp/src/emacs[0x429b56]
>> /home/grfz/src/emacs-feature_native-comp/src/emacs[0x570d68]
>> /home/grfz/src/emacs-feature_native-comp/src/emacs[0x570dd9]
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f3928117730]
>
> [...]
>
> Hi Gregor,
>
> would be nice if you could decript the backtrace using the technique
> describe here:
> <https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html>

I used
tmp$ sed -n 's/.*\[\(.*\)]$/\1/p' backtrace | addr2line -C -f -i -p -e ~/src/emacs-feature_native-comp/src/emacs > /tmp/decrypted-backtrace

with attached file `backtrace' and got `decrypted-backtrace'.
The contents of `backtrace' is as in my last message, the
emacs binary is the very one which produced this backtrace.

Both files are attachet.

Thanks for looking into this, Gregor

Ciao, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-