The Mersenne Twister random number generator (RNG) in PocketSphinx is not thread-safe. The RNG…
The Mersenne Twister random number generator (RNG) in PocketSphinx is not thread-safe. The RNG…: a task in LegoFlow-SWE (Harbor dataset). Reproduction - Build PocketSphinx with default settings. - Launch two or more threads that each seed the RNG and repeatedly generate random numbers. - Observe…
The task
**Reproduction** - Build PocketSphinx with default settings. - Launch two or more threads that each seed the RNG and repeatedly generate random numbers. - Observe that the sequences become corrupted, numbers are duplicated across threads, or crashes occur due to concurrent access to the shared state.
Part of Lego-X/LegoFlow-SWE.