DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.44k stars 262 forks source link

Internal Error: DynamoRIO debug check failure: D:\a\drmemory\drmemory\dynamorio\core\win32\loader.c:771 !is_dynamo_address(dcontext->app_fls_data) #2456

Open Robert-M-Muench opened 2 years ago

Robert-M-Muench commented 2 years ago

debug compiled my binary and just started Dr. Memory => direct crash.

---------------------------
Dr. Memory Notice: D:\develop\rm-asset\c-code\rebol-2.7.8\to-win32\viewpro\Debug\viewpro.exe(3276)
---------------------------
Application D:\develop\rm-asset\c-code\rebol-2.7.8\to-win32\viewpro\Debug\viewpro.exe (3276).  Internal Error: DynamoRIO debug check failure: D:\a\drmemory\drmemory\dynamorio\core\win32\loader.c:771 !is_dynamo_address(dcontext->app_fls_data)
(Error occurred @0 frags in tid 8540)
2.5.19128-0-(May 21 2022 03:08:45) WinVer=105;Rel=2009;Build=22000;Edition=Core
-no_dynamic_options -logdir 'C:\Users\robby\AppData\Roaming\Dr. Memory\dynamorio' -client_lib 'C:\Program Files (x86)\DrMemory\bin\debug\drmemorylib.dll;0;-visual_studio -logdir `C:\Users\robby\AppData\Roaming\Dr. Memory` -symcache_dir `C:\Users\robby\AppData\Roaming\Dr. Memory\symcache` -lib_blocklist_default `C:\WINDOW
0x1fe71edc 0x5e81dda9
0x1fe72014 0x5ea69472
0x1fe72080 0x5ea63893
0x1fe72094 0x5ea2408f
0x1fe72624 0x5ea24432
0x1fe72680 0x5ea259b6
0x1fe72d64 0x5ebb5016
0x032de56c 0x5e3623de
0x032de5c4 0x5e363b4c
0x032de620 0x5e2fc593
0x032de64c 0x5e344d37
0x032de680 0x5e31cf0f
0x032de698 0x5e31e079
0x032de914 0x5e31e23e
0x032de934 0x73b02f82
C:\Program Files (x86)\DrMemory\dynamorio\lib32\debug\dynamorio.dll=0x5e750000
C:\WINDOWS/system32/RPCRT4.dll=0x05940000
C:\Program Files (x86)\DrMemory\bin\debug\drmemorylib.dll=0x73800000
C:\Program Files (x86)\DrMemory\bin\debug/dbghelp.dll=0x5e2d0000
C:\WINDOWS/system32/ucrtbase.dll=0x05a10000
C:\WINDOWS/system32/kernel32.dll=0x05ba0000
C:\WINDOWS/system32/KERNELBASE.dll=0x05c90000
---------------------------
OK   
---------------------------
PlatinumStrike commented 8 months ago

Did you find a solution for this?

moddemod666 commented 1 month ago

oh, same issue

derekbruening commented 1 month ago

A number of other issues hit the same assert and are presumably all the same underneath: a failure of DynamoRIO to handle Fiber-Local Storage in private libraries required to use dbghelp for symbols.

Xref someone able to work around this with executable build settings, but it's not clear exactly what happened there: it would have to change the dependent libraries of dbghelp.dll or others that drmemory or its extensions rely upon: https://github.com/DynamoRIO/drmemory/issues/2405#issuecomment-895358567.