Open Toruforx opened 1 month ago
The current version of NestFuzz does not support multithreaded programs. This limitation arises because we use a tree structure to model the program's processing logic. However, the thread switching inherent in multithreaded programs can disrupt the balance of this tree.
Hi! I wrote a simple multithreading test program that compiles correctly with NestFuzz, but when running the binary, it encounters an error in loop_handlers. After debugging, I found that the issue arises from creating new threads within the loop, leading to a problem with loop_handler's stack unwinding. How can I fix these errors?
Here's the code for the test program:
Here's the error message:
The execution speed of multithreading can be random, so I suggest running it multiple times to observe the errors.