DynamoRIO / DynamoRIO/drmemory

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

Open
#2,456 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

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
---------------------------
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the crash by launching the debug-built viewpro.exe with Dr. Memory on Windows, then inspect the DynamoRIO assertion at dynamorio/core/win32/loader.c:771 and the supplied stack and loaded-module addresses. Done means identifying the cause of the app_fls_data invariant failure and adding a verified fix or regression coverage for this startup case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.