GNU bug report logs -
#61960
30.0.50; Unexec build reliably crashes during loadup
Previous Next
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
View this message in rfc822 format
> From: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
> Cc: 61960 <at> debbugs.gnu.org
> Date: Fri, 21 Jul 2023 19:09:04 +0300
>
> That makes me wonder if keeping this whole customized allocation engine
> even makes sense. It is not used in the actual Emacs, only in `temacs`
> — but why?
It is used in temacs because otherwise we'd not know how to record
allocated memory in the dumped Emacs. Doing so requires control on
the allocation details, and we can only do that with code we ourselves
maintain.
You will see that in a build with pdumper gmalloc.c is not compiled at
all.
> So, I would be glad to hear what people think about the purpose of this
> gmalloc being in the project.
It is only needed in the unexec build, AFAIU.
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.