You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xref #4296. Normally this would be due to the pipe not being closed, which would be dependent on a clean exit, and unrelated to -unsafe_build_ldstex, which affects whether the app hangs during code cache execution.
Describe the bug
While working on #4341 I noticed that failure of
DR_ASSERT
causes a hang indrcachesim
, which then needs to be terminated manually.To reproduce
dynamorio/clients/drcachesim/tracer/instru.cpp
Line 147 in cdc24cb
But the process does not exit.
ps -x
output:The test app (
allasm_aarch64_prefetch
) is shown as defunct and thedrcachesim
process is still running. Based onman
:No issues.
Same issue with
-dr_debug
Expected behavior
drcachesim
and test app should exit properly after the assert failureVersions
What version of DynamoRIO are you using?
At commit cdc24cb
What operating system version are you running on?
Debian GNU/Linux 9.5 (stretch) on AArch64
Is your application 32-bit or 64-bit?
64-bit
Additional context
I found that after adding
-dr_ops -unsafe_build_ldstex
andsetarch
, the processes exit as expected.I confirmed that both the additional options are required.
The text was updated successfully, but these errors were encountered: