[#99868] [Ruby master Bug#17144] Tempfile.open { ... } does not unlink the file — eregontp@...
Issue #17144 has been reported by Eregon (Benoit Daloze).
15 messages
2020/09/03
[ruby-core:100181] [Ruby master Bug#17196] Segmentation Fault with Socket#close in Ractors
From:
anthony@...
Date:
2020-09-26 21:18:59 UTC
List:
ruby-core #100181
Issue #17196 has been reported by asuper (Anthony Super). ---------------------------------------- Bug #17196: Segmentation Fault with Socket#close in Ractors https://bugs.ruby-lang.org/issues/17196 * Author: asuper (Anthony Super) * Status: Open * Priority: Normal * ruby -v: ruby 3.0.0preview1 (2020-09-25 master 0096d2b895) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- While messing around with 3.0.0-preview1, I thought it would be fun to write a really, really simple webserver that used Ractor creation instead of forking or spawning threads. I was right, it was fun! Unfortunately it also caused a segfault. The segfault appears to be on socket closure when a *lot* of ractors are running at once. The attached tarball includes the code you need to make it happen. Run `bin/server` in one terminal/screen session/tmux window/whatever, and `./bug_bench.sh` with the other. You'll need to have the apache benchmark utility installed. ---Files-------------------------------- reproduce-my-segfault.tar.gz (10 KB) error_log.txt (38.6 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>