Open kprotty opened 4 years ago
Good finds. I think we're going to want to have comprehensive fuzz testing for the std lib event loop implementation.
These are also good use cases for adding some kind of language support for race detecting and multithreaded safety features.
When increasing the concurrency from 10 to 1000 as shown int the README, sieve.zig throws segfaults at different points in std over different runs, sometimes dead-locking.
zig run sieve.zig --release-fast > /dev/null
0.5.0+6c1728206
Examples: