DynamoRIO / DynamoRIO/drmemory

Dr. Memory internal crash

Open
#2,101 0 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

I am trying to use Dr Memory with Visual Studio 2013 [As a Visual Studio Tool](http://drmemory.org/docs/page_running.html#sec_vstudio).
I configured it as described in documentation, on above link.
When I ran my application using Visual Studio, from Tools --> Dr. Memory, It took a while and finally gave following crash message.
I am using Visual Studio 2013 on Windows 10.

```
Dr. Memory version 1.11.0
(Uninitialized read checking is not yet supported for 64-bit)
Running "W:\_binary\myApp_debug_version.exe"

WARNING: application exited with abnormal code 0xffffffff
```

When I removed ```-visual_studio``` from the argument it gave following error.

```
~~Dr.M~~ Dr. Memory version 1.11.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~ Running "W:\_Binary\myApp_debug_version.exe"
~~15708~~
~~15708~~ Error #1: INVALID HEAP ARGUMENT to Windows API routine: invalid heap HANDLE 0x0000000000000000
~~15708~~ # 0 replace_RtlQueryHeapInformation [d:\drmemory_package\common\alloc_replace.c:4016]
~~15708~~ # 1 ntdll.dll!RtlWalkHeap +0x804 (0x00007ffbb4f00705 )
~~15708~~ # 2 KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffbb2561fe4 )
~~15708~~ Note: @0:15:22.565 in thread 15708

~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
```

![tools_external_tools_dr memory](https://user-images.githubusercontent.com/10286559/39517394-57c4b06a-4e1d-11e8-842c-2bcb54fe5665.PNG)

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.