GNU bug report logs - #31238
Dynamic Module Crash

Previous Next

Package: emacs;

Reported by: Tuấn Anh Nguyễn <ubolonton <at> gmail.com>

Date: Sun, 22 Apr 2018 16:32:02 UTC

Severity: normal

Merged with 34655

Found in version 26.1.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 31238 <at> debbugs.gnu.org, ubolonton <at> gmail.com, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#31238: Dynamic Module Crash
Date: Fri, 21 Sep 2018 14:33:47 -0400
On Fri, 21 Sep 2018 at 13:18, Philipp Stephani <p.stephani2 <at> gmail.com> wrote:
>
> Philipp Stephani <p.stephani2 <at> gmail.com> schrieb am Di., 24. Apr. 2018 um 16:08 Uhr:
>>
>> Tuấn Anh Nguyễn <ubolonton <at> gmail.com> schrieb am So., 22. Apr. 2018 um 18:32 Uhr:
>>>
>>> Emacs 25.3.1 crashes with a segfault when trying to print a value constructed (in certain ways) by a dynamic module.
>>> Reproduction: https://github.com/ubolonton/emacs-module-crash
>>> Context: https://github.com/ubolonton/emacs-module-rs/issues/2
>>
>> This might be caused by commit 3eb93c07f7a60ac9ce8a16f10c3afd5a3a31243a, which removed GC protection for module-allocated values.
>
> Unless anybody complains, I'll revert that commit. Modules can store/use emacs_value objects in arbitrary ways; there's no way we can rely on stack scanning to reliably find them.

I'll just add author of said commit to Cc, perhaps that will increase
the chance of getting some useful response...




This bug report was last modified 6 years and 62 days ago.

Previous Next


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