Actions
Bug #17875
closedSegfault when reusing a closed Fiber scheduler inside a Thread
Bug #17875:
Segfault when reusing a closed Fiber scheduler inside a Thread
Description
Hi! I've been trying to learn the new Fiber.scheduler
API. I ran into this segfault when I was misusing scheduler instances in Minitest. I was able to reproduce the bug in isolation and I thought I'd share it here in case it's helpful to anyone.
I attached the program as scheduler_bug.rb
and the output in bug_output.txt
. I expected this program to terminate with an error, but not with a segfault.
If there's anything else I can do to help, please let me know! Thanks,
Robert
Files
Actions