From: Philipp Stephani <p.stephani2@gmail.com>
To: "Tuấn Anh Nguyễn" <ubolonton@gmail.com>
Cc: 31238@debbugs.gnu.org
Subject: bug#31238: Dynamic Module Crash
Date: Fri, 21 Sep 2018 19:16:44 +0200 [thread overview]
Message-ID: <CAArVCkRGGR8Aux0x7JsrxsWCY8Pob3_jaVDgergP++ULvcVuDA@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkS=j6j4-SFAj0UwP2CT1ujE9=74_r7fo2JSAVctgowcxw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1591 bytes --]
next prev parent reply other threads:[~2018-09-21 17:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-22 11:35 bug#31238: Dynamic Module Crash Tuấn Anh Nguyễn
2018-04-24 14:08 ` Philipp Stephani
2018-09-21 17:16 ` Philipp Stephani [this message]
2018-09-21 18:33 ` Noam Postavsky
2018-09-21 22:48 ` Stefan Monnier
2019-03-21 19:31 ` Philipp Stephani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkRGGR8Aux0x7JsrxsWCY8Pob3_jaVDgergP++ULvcVuDA@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=31238@debbugs.gnu.org \
--cc=ubolonton@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.