Closed TylerJordan1 closed 7 months ago
Hi @TylerJordan1 Thanks for your interest! Currently this is expected behaviour, however work to support multi-threading has been ongoing behind the scenes. Support for multi-threaded applications such as the test case you provided will be released in the coming weeks :)
Hi @TylerJordan1 Thanks for your interest! Currently this is expected behaviour, however work to support multi-threading has been ongoing behind the scenes. Support for multi-threaded applications such as the test case you provided will be released in the coming weeks :)
Oh, okay. Thank you for the quick response!
@TylerJordan1 Support for multithreading has been merged in :)
Hi,
I am trying to use MAMBO on RISC-V. It works just fine for single-threaded applications. However, when I try running multithreaded applications through it it just hangs right at the moment a thread is created.
I reproduced the issue on simple program which creates a thread that prints something. Here's the reproducer:
Compile with:
Then run it without MAMBO:
Works fine. Running through MAMBO:
The program just hangs and doesn't seem to respond to SIGINT. Sending SIGKILL kills it. No mambo plugins are enabled.
Also I get the following output when running through gdb:
The newly created thread exits instantly.
My configuration: Ubuntu 22.04.3 LTS inside QEMU v8.1.0. CPU architecture is rv64imafdch.
My question is - Is it expected? Does MAMBO support multithreading? If it does, what could have gone wrong here?