DynamoRIO / DynamoRIO/drmemory

dr. memory fails with "unable to locate results file since can't open"

Open
#1,517 6 comments 0 reactions 0 assignees View on GitHub
Migrated OpSys-MinGW Priority-Medium Status-NeedInfo
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [arkadyba...@gmail.com](https://code.google.com/u/100932220618839704071/) on April 10, 2014 11:16:04_

>What steps will reproduce the problem?
1. Download latest dr.memory(1.7.0-5) version for Windows from ( https://bintray.com/bruening/DrMemory/DrMemory-Windows-installer/view )
2. build this code with MinGW32 debug mode:

#include
int main()
{
cout << "Hello world!" << endl;
return 0;
}
3. Run it with drmemory.exe -- C:\test.exe

>What is the expected output? What do you see instead?
Expected output - some info about memory leaks. As result I find something same:
#

C:\Program Files (x86)\Dr. Memory\bin>drmemory.exe -- C:\Windows\System32\notepad.exe
~~Dr.M~~ Dr. Memory version 1.7.0
~~Dr.M~~ Running "C:\Windows\System32\notepad.exe"
WARNING: unable to locate results file since can't open C:\Users\Arkady.Babaev\AppData\Roaming\Dr. Memory/resfile.8708: 2
~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000005
#

>What version of the product are you using? On what operating system?
I use 1.7.0-5 on Windows 7 SP1 x64

>Does the problem go away when running in light mode (pass "-light" to Dr.
Memory)?
No. Problem is same.

>What about when running with the options "-leaks_only
-no_count_leaks -no_track_allocs"?
Problem is same.

>Does the problem go away when using the most recent build from http://build.chromium.org/p/client.drmemory/builds/? No. Problem is same.

>Try the debug version of Dr. Memory and of its underlying engine DynamoRIO
by passing "-debug -dr_debug -pause_at_assert" to drmemory.exe. Are any messages reported? Yes, I receive DynamoRIO Notice: Application ... Internal Error: DynamoRIO debug check failure: ........\drmemory\dynamorio\core\win32\callback.c:2854 os_using_app_state(dcontext) (Error occurred @0 frags) version 4.2.2635, custom build and etc.

>Please provide any additional information below. Please also see the
"Narrowing Down the Source of the Problem" section of https://code.google.com/p/drmemory/wiki/Debugging . I followed instructions. Using "dynamorio/bin32/drrun -- " my application runs without problems. And works. All other ways I receive problem I described below.

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1517_

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.