Dr memory crashing apps

545 views
Skip to first unread message

Ricky Chow

unread,
Mar 11, 2016, 12:32:26 AM3/11/16
to Dr. Memory Users
Hi everybody,

I've been trying to get dr memory working but it seems to crash whatever app I try to run Dr Memory with. I just made a simple app and ran it with dr memory and this is what I get:

C:\Windows\system32>drmemory -light -- C:\Users\rickyc\build-untitled1-Desktop_Qt_5_5_1_MSVC2010_32bit-Debug\debug\untitled1.exe
~~Dr.M~~ Dr. Memory version 1.9.1
~~Dr.M~~ Running "C:\Users\rickyc\build-untitled1-Desktop_Qt_5_5_1_MSVC2010_32bit-Debug\debug\untitled1.exe"
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: executing 0x83000007-0x83000008 1 byte(s)
~~Dr.M~~ # 0 <not in a module>   (0x83000007)
~~Dr.M~~ # 1 pre_c_init                        [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:217]
~~Dr.M~~ # 2 MSVCR100D.dll!_initterm_e
~~Dr.M~~ # 3 __tmainCRTStartup                 [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:455]
~~Dr.M~~ # 4 mainCRTStartup                    [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:370]
~~Dr.M~~ # 5 KERNEL32.dll!BaseThreadInitThunk +0x23     (0x763d3744 <KERNEL32.dll+0x13744>)
~~Dr.M~~ Note: @0:00:00.384 in thread 9900
~~Dr.M~~
~~Dr.M~~ Error #2: UNADDRESSABLE ACCESS: executing 0x00000000-0x00000001 1 byte(s)
~~Dr.M~~ # 0 <not in a module>         (0x00000000)
~~Dr.M~~ # 1 ntdll.dll!NtQueryInformationProcess    +0x25     (0x770f8d76 <ntdll.dll+0x68d76>)
~~Dr.M~~ # 2 ntdll.dll!RtlUnwind                    +0x1f9    (0x770eae9a <ntdll.dll+0x5ae9a>)
~~Dr.M~~ # 3 ntdll.dll!KiUserExceptionDispatcher    +0xe      (0x770fae6f <ntdll.dll+0x6ae6f>)
~~Dr.M~~ # 4 pre_c_init                              [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:217]
~~Dr.M~~ # 5 MSVCR100D.dll!_initterm_e
~~Dr.M~~ # 6 __tmainCRTStartup                       [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:455]
~~Dr.M~~ # 7 mainCRTStartup                          [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:370]
~~Dr.M~~ # 8 KERNEL32.dll!BaseThreadInitThunk       +0x23     (0x763d3744 <KERNEL32.dll+0x13744>)
~~Dr.M~~ Note: @0:00:00.390 in thread 9900
~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000005

Any ideas on what I'm doing wrong?

Derek Bruening

unread,
Mar 11, 2016, 1:25:51 AM3/11/16
to drmemor...@googlegroups.com
What version of Windows is this?  Does "drmemory -light -- notepad" run notepad successfully?  Does the latest 1.10.0 release of drmemory work?

There is one known issue with Qt apps: https://github.com/DynamoRIO/drmemory/issues/1867.

--

---
You received this message because you are subscribed to the Google Groups "Dr. Memory Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drmemory-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ricky Chow

unread,
Mar 13, 2016, 6:18:53 PM3/13/16
to Dr. Memory Users
I'm on Windows 10. It works with notepad but I've tried other applications with the same result (e.g. notepad++)

Ricky Chow

unread,
Mar 14, 2016, 2:41:06 AM3/14/16
to Dr. Memory Users
Oh and I went back to 1.9.1 because the latest version didn't work.

Derek Bruening

unread,
Mar 20, 2016, 9:45:05 PM3/20/16
to drmemor...@googlegroups.com
On Sun, Mar 13, 2016 at 6:18 PM, Ricky Chow <ricky...@gmail.com> wrote:
I'm on Windows 10. It works with notepad but I've tried other applications with the same result (e.g. notepad++)

I cannot reproduce these problems you are seeing.  notepad++ 6.9 runs successfully (startup + shutdown, at least) under Dr. Memory 1.10.0 in my Win10 1511 VM.  Is there some invasive security software on your machine causing interoperability problems, perhaps?  If you have access to a different machine, do things work there?  Did you try the debugging steps at https://github.com/DynamoRIO/drmemory/wiki/Debugging (debug build, turning off features to narrow down where the problem is)?

Ricky Chow

unread,
Mar 23, 2016, 1:00:18 AM3/23/16
to Dr. Memory Users
I'll go try this on another machine.
Reply all
Reply to author
Forward
0 new messages