DynamoRIO / DynamoRIO/drmemory

drltrace.exe causes app crashes [Windows 10]

Open
#2,434 1 comment 0 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**
When I run `notepad++` [64 bit latest ](https://notepad-plus-plus.org/downloads/v8.1.9/) it crashes immediately

**To Reproduce**
Steps to reproduce the behavior:
1. Install [Notepad++](https://notepad-plus-plus.org/downloads/v8.1.9/)
2. Run with `drltrace.exe`:
```
.\drltrace.exe 'c:\Program Files\Notepad++\notepad++.exe''
```
3. Exact output or incorrect behavior.
Launch the app under drltrace without the crash

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)?
- Doesn't apply
- Does the problem go away when running with the options `-leaks_only -no_count_leaks -no_track_allocs`?
- Doesn't apply
- 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".)
- yes, under plain DynamoRIO the app launches and works.
- 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?

**Expected behavior**
To run Notepad++ under drltrace

**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:

```

paste output here
```

**Versions**
- What version of Dr. Memory are you using?
- DrMemory-Windows-2.5.0
- Does the latest build from
https://drmemory.org/page_download.html#sec_latest_build solve the problem?
- No
- What operating system version are you running on? ("Windows 10" is *not* sufficient: give the release number.)
- Windows 10, 20H2
- Is your application 32-bit or 64-bit?
- 64

**Other details**
Similar thing happens with built-in notepad, it opens, tho, without crashing but `help` -> `About Notepad` window doesn't work, when you click it does nothing

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.