Actions
Bug #17196
closedSegmentation Fault with Socket#close in Ractors
Description
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
Actions
Like0
Like0Like0Like0Like0