GNU bug report logs - #61960
30.0.50; Unexec build reliably crashes during loadup

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 4 Mar 2023 14:56:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #89 received at 61960 <at> debbugs.gnu.org (full text, mbox):

From: Konstantin Kharlamov <hi-angel <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61960 <at> debbugs.gnu.org
Subject: Re: bug#61960: 30.0.50; Unexec build reliably crashes during loadup
Date: Sun, 02 Jul 2023 17:10:51 +0300
On Sun, 2023-07-02 at 14:32 +0300, Konstantin Kharlamov wrote:

> but without reverse-execution (as `rr` for some reason doesn't work with
> `temacs` in this case) it will be hard to pinpoint.
> 
> I am planning to report the `rr` problem to them, so hopefully it will be
> possible to find the real culprit in the future.

UPD: after some research turned out `rr` works well, but what I'm seeing with
`rr replay` stopping at `syscall_traced()` is due to `temacs` executing
`execve`, and gdb by default not following into it. To make it work one can
execute `when` in gdb, and then relaunch `rr replay -g $WHENRESULT`. This
peculiarity is very terribly documented despite devs vaguely referring to that
in various bugreports. I guess I'll have to fix the docs to make sure it's more
clear for future users.




This bug report was last modified 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.