bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31238: Dynamic Module Crash


From: Noam Postavsky
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@gmail.com> wrote:
>
> Philipp Stephani <p.stephani2@gmail.com> schrieb am Di., 24. Apr. 2018 um 
> 16:08 Uhr:
>>
>> Tuấn Anh Nguyễn <ubolonton@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...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]