DynamoRIO / DynamoRIO/dynamorio
CRASH: drrun crashes if specified client tries to create ofstream object (SIGSEGV)
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Description:
`drrun` crashes (SIGSEGV) when the specified client tries to create a `std::ofstream` object for writing to a file.
OS: `Ubuntu 22.04.3 LTS`, Compiler: `gcc-11.4.0`
For reproduction, the default clients can be used.
For example:
1. Open `clients/drcpusim/drcpusim.cpp` and add `#include ` at top of the file
2. add `std::ofstream mystream("hello_world.txt", std::ofstream::app);` to the top of `dr_client_main` function.
3. Run: `drrun -c ./dynamorio/build/bin64/drrun -c ./build/clients/lib64/libdrcpusim.so -- echo hello world`
Output (release):
Output (debug):
<(1+x) Handling our fault in a TRY at 0x000074ff6bec8d80>
Contributor guide
Assessment
This issue has not been assessed yet.