DynamoRIO / DynamoRIO/drmemory

Failed to load library: ucrtbase.dll: library initializer failed..

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

Description

**Describe the bug**
[Failed to load library: ucrtbase.dll](ucrtbase.dll: library initializer failed..>)

```

~~Dr.M~~ WARNING: unable to locate results file: can't open C:\Users\nttis\AppData\Roaming\Dr. Memory/resfile.6892 (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.
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
```

**To Reproduce**
Steps to reproduce the behavior:
1. Use drmemory with an x64 executable
2. Get error
Please also answer these questions drawn from https://drmemory.org/page_help.html#sec_narrow :
- Does the problem go away when running in light mode (pass `-light` to Dr. Memory)?
> No
- Does the problem go away when running with the options `-leaks_only -no_count_leaks -no_track_allocs`?
> No
- Does the problem go away when running under plain DynamoRIO? Do this by running `dynamorio/bin32/drrun -- ` or `dynamorio/bin64/drrun -- ` depending on the bitwidth of your applicaiton. (Ignore warnings about "incomplete installation".)
> Cannot find dynamorio/bin32/drrun
- What happens with the debug version of Dr. Memory and of its underlying engine DynamoRIO? Try this by passing `-debug -dr_debug -pause_at_assert`. Are any messages reported?
```

~~Dr.M~~ WARNING: unable to locate results file: can't open C:\Users\nttis\AppData\Roaming\Dr. Memory/resfile.18324 (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.
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
```
**Expected behavior**
Running normally

**Screenshots or Pasted Text**
If applicable, add screenshots to help explain your problem. For text, please cut and paste the text here, delimited by lines consisting of three backtics to render it verbatim, like this:

```

~~Dr.M~~ WARNING: unable to locate results file: can't open C:\Users\nttis\AppData\Roaming\Dr. Memory/resfile.6892 (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.
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
```

**Versions**
- What version of Dr. Memory are you using?
> Dr. Memory version 2.6.0 -- build 0
- Does the latest build from
https://drmemory.org/page_download.html#sec_latest_build solve the problem?
> My build is the latest build
- What operating system version are you running on? ("Windows 10" is *not* sufficient: give the release number.)
- Is your application 32-bit or 64-bit?
> 64bit
**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.