drmemory icon indicating copy to clipboard operation
drmemory copied to clipboard

Yet another Dr. Memory Internal Crash

Open lordmulder opened this issue 5 years ago • 3 comments

Describe the bug

Dr. Memory (latest version) reproducible fails with an Internal Crash when testing my program!

Dr. Memory internal crash at PC 0x645a65e5. Please report this at... Program aborted.

For details please see the screenshot below!

To Reproduce

  1. Please use files from DrM-InternalCrash.2020-07-29.zip to reproduce!
  2. Run "drmemory.exe" -- "my_program.exe" "ttttcattct" "quux" "input-3.txt" "output-3a.txt"
  3. Wait a little
  4. See the crash dialog pop up (as shown in screenshot below)

Please also answer these questions:

  • Does the problem go away when running in light mode (pass -light to Dr. Memory)?
    nope
  • Does the problem go away when running with the options -leaks_only -no_count_leaks -no_track_allocs? nope
  • Does the problem go away when running under plain DynamoRIO?
    yes! (seemed to finish normally)
  • What happens with the debug version of Dr. Memory and of its underlying engine DynamoRIO? doesn't even start As soon as option -dr_debug is added to the invocation, Dr. Memory will crash right away with:
    ~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000005

Expected behavior

Dr. Memory shouldn't crash with an internal error while testing my App.

Screenshots or Pasted Text

image

Versions

  • What version of Dr. Memory are you using?
    2.3.0-1
  • Does the latest build solve the problem? nope But there is a new error message that I didn't see before:
    ~~Dr.M~~ ERROR: Failed to find "main" for limiting memory dump
  • What operating system version are you running on? Windows 10 v2004 (x64)
  • Is your application 32-bit or 64-bit? 32-Bit (also tried a 64-Bit compile, but same issue)

lordmulder avatar Jul 29 '20 15:07 lordmulder

FWIW I am having the same issue in a wxWidgets application. An uninit member var was reported correctly early on and before any Window was displayed but before the DrM crash. With that fixed, getting the same as the OP here in terms of behaviour with the various options and when using drrun directly.

nickion avatar Aug 11 '20 14:08 nickion

I am also experiencing same issue. Did anybody found any solution?

yogi-baba avatar Sep 03 '20 15:09 yogi-baba

Ditto. Just tried 2.3 from 2.2, and I'm seeing the same issue as @lordmulder.

I also tried the "-light" and other mentioned switches with the same result. I didn't use DynamoRIO because I don't know how (but may have had the same result there).

I'm on Windows 10 Pro 64-bit (1803). If it's important, I'm using Visual Studio 2019 to build the executable, and it's using only STL.

b0bh00d avatar Oct 26 '20 00:10 b0bh00d