Open yuansunliang1988 opened 5 months ago
Same problem. Has anyone found a solution?
Same for me. No A/V, Windows Defender disabled.
As the bug template (deleted by the filer here?) https://github.com/DynamoRIO/drmemory/issues/new?assignees=&labels=&template=bug_report.md&title= and https://drmemory.org/page_help.html#autotoc_md12 show there are several steps that can obtain more information if the tool fails to start up.
The best is to run plain DynamoRIO via drrun
on a console application (not a graphical application). E.g.:
dynamorio\bin64\drrun -- msg
Debug build may provide more information:
dynamorio\bin64\drrun -debug -- msg
There are 2 known sources of problems: security software on the machine invasively installing hooks in every process (e.g., https://github.com/DynamoRIO/dynamorio/issues/7024) and DynamoRIO's private loader having a problem with the system libraries (e.g., #2456) while trying to support Microsoft's dbghelp library inside the application process. Most likely you are hitting one or the other, which the above command should hep identify.
Dr.M WARNING: unable to locate results file: can't open E:\gitplay\CPlusPlus\drmemory\drmemory\build\bin64\drmemory_logs/resfile.24360 (code=2).
Dr. Memory failed to start the target application, perhaps due to
interference from invasive security software.
Try disabling other software or running in a virtual machine.
WARNING: Examine the following unusual libraries in this process to help identify
invasive software that may have affected the target application:
C:\Windows\System32\msvcp_win.dll
C:\Windows\System32\OLEAUT32.dll
C:\Windows\System32\combase.dll
Please file a bug about this at http://drmemory.org/issues
Dr.M WARNING: application exited with abnormal code 0x8000ffff
Same problem. Has anyone found a solution?
@Aimee888 : just re-pasting that error message is not useful. Please see https://github.com/DynamoRIO/drmemory/issues/2502#issuecomment-2418133426 right above to get more information.
PS D:\Program Files (x86)\Dr. Memory\bin64> drmemory.exe -check_leaks -logdir "d:\log" E:\a.exe
Dr.MWARNING: unable to locate results file: can't open d:\log/resfile.10080 (code=2). Dr. Memory failed to start the target application, perhaps due to interference from invasive security software. Try disabling other software or running in a virtual machine. WARNING: Examine the following unusual libraries in this process to help identify invasive software that may have affected the target application:Please file a bug about this at http://drmemory.org/issues
Dr.MWARNING: application exited with abnormal code 0xffffffff