* [ruby-core:116466] [Ruby master Bug#20220] M:N threading needs to tell ASAN about stack switches
@ 2024-01-28 4:55 kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core
0 siblings, 0 replies; only message in thread
From: kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core @ 2024-01-28 4:55 UTC (permalink / raw)
To: ruby-core; +Cc: kjtsanaktsidis (KJ Tsanaktsidis)
Issue #20220 has been reported by kjtsanaktsidis (KJ Tsanaktsidis).
----------------------------------------
Bug #20220: M:N threading needs to tell ASAN about stack switches
https://bugs.ruby-lang.org/issues/20220
* Author: kjtsanaktsidis (KJ Tsanaktsidis)
* Status: Open
* Priority: Normal
* Assignee: kjtsanaktsidis (KJ Tsanaktsidis)
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
When switching stacks via `coroutine_transfer` in the M:N threading information, we need to tell ASAN about it in the same way that we do in cont.c. This is a matter of calling `__sanitizer_start_switch_fiber` in the transferring M:N thread, and then calling `__sanitizer_finish_switch_fiber` in the transferred-to M:N thread.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-28 4:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-28 4:55 [ruby-core:116466] [Ruby master Bug#20220] M:N threading needs to tell ASAN about stack switches kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).