http://d.puremagic.com/issues/show_bug.cgi?id=2978





--- Comment #3 from Rob Jacques <sandf...@jhu.edu>  2009-05-15 17:55:53 PDT ---
(In reply to comment #2)
> Try running dmd under windbg.exe and see where it fails.

I'm not well versed in non-symbolic debugging, but I've included the output
from several runs, since the exit code was changing. Is there anything else I
should try?

DMD 2 Tests

Thread Create:  Process=0, Thread=0
Module Load: C:\Windows\system32\NTDLL.DLL  (symbol loading deferred)
Thread Create:  Process=0, Thread=1
Module Load: C:\WINDOWS\SYSTEM32\KERNEL32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\SHELL32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSVCRT.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\GDI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\USER32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\RPCRT4.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\SHLWAPI.DLL  (symbol loading deferred)
Module Load: C:\Windows\system32\NTDLL.DLL  (no symbols loaded)
Module Load: C:\WINDOWS\SYSTEM32\IMM32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSCTF.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\LPK.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\USP10.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\AVGRSSTX.DLL  (symbol loading deferred)
Module Load:
C:\WINDOWS\WINSXS\X86_MICROSOFT.WINDOWS.COMMON-CONTROLS_6595B64144CCF1DF_6.0.6001.18000_NONE_5CDBAA5A083979CC\COMCTL32.DLL
  (symbol loading deferred)
Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Create:  Process=0, Thread=2
Thread Terminate:  Process=0, Thread=1, Exit Code=1900544
First chance exception c0000005 (Unknown) occurred
Thread stopped.

VS Debugger:
Unhandled exception at 0x004d5479 in dmd.exe: 0xC0000005: Access violation
reading location 0x00000014.
004D5479  mov         ecx,dword ptr [ebx+14h] 

Thread Create:  Process=0, Thread=1
[snip ...]
Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Create:  Process=0, Thread=2
First chance exception c0000005 (Unknown) occurred
Thread stopped.

ASM view
0x004d5479 8b4b14           mov         ecx,dword ptr [ebx+14]

[snip...]
Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Terminate:  Process=0, Thread=1, Exit Code=1966080
Thread Create:  Process=0, Thread=2
First chance exception c0000005 (Unknown) occurred
Thread stopped.

[snip...]
Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Create:  Process=0, Thread=2
Thread Terminate:  Process=0, Thread=1, Exit Code=4063232
First chance exception c0000005 (Unknown) occurred
Thread stopped.

Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Create:  Process=0, Thread=2
Thread Terminate:  Process=0, Thread=1, Exit Code=9175040
First chance exception c0000005 (Unknown) occurred
Thread stopped.

Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Create:  Process=0, Thread=2
Thread Terminate:  Process=0, Thread=1, Exit Code=3997696
First chance exception c0000005 (Unknown) occurred
Thread stopped.

DMD 1 tests
Often terminates with status -1073741819, but with no unhandled exception. I've
also used the latest D1 on a P4 a few times and haven't seen any errors yet.
I couldn't get a simple test case to error in windbg, but I could get something
from the VS debugger if I ran dmd twice in very quick succession

Unhandled exception at 0x004c55ed in dmd.exe: 0xC0000005: Access violation
reading location 0x00000014.

004C55ED  mov         ecx,dword ptr [ebx+14h] 


More D2 tests
-First run-

Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (symbol loading deferred)
Thread Create:  Process=0, Thread=0
Module Load: C:\Windows\system32\NTDLL.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\KERNEL32.DLL  (symbol loading deferred)
Thread Create:  Process=0, Thread=1
Module Load: C:\Windows\system32\NTDLL.DLL  (no symbols loaded)
Module Load: C:\WINDOWS\SYSTEM32\SHELL32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSVCRT.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\GDI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\USER32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\RPCRT4.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\SHLWAPI.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\IMM32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSCTF.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\LPK.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\USP10.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\AVGRSSTX.DLL  (symbol loading deferred)
Module Load:
C:\WINDOWS\WINSXS\X86_MICROSOFT.WINDOWS.COMMON-CONTROLS_6595B64144CCF1DF_6.0.6001.18000_NONE_5CDBAA5A083979CC\COMCTL32.DLL
  (symbol loading deferred)
Module Load: C:\DMD\WINDOWS\BIN\DMD.EXE  (no symbols loaded)
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Terminate:  Process=0, Thread=1, Exit Code=3866624
Thread Create:  Process=0, Thread=2
Thread Terminate:  Process=0, Thread=2, Exit Code=0
Module Load: C:\WINDOWS\SYSTEM32\APPHELP.DLL  (symbol loading deferred)
Process Create:  Process=1
Module Load: APP01.EXE  (symbol loading deferred)
Thread Create:  Process=1, Thread=0
Module Load: C:\Windows\system32\NTDLL.DLL  (no symbols loaded)
Module Load: C:\WINDOWS\SYSTEM32\KERNEL32.DLL  (symbol loading deferred)
Thread Create:  Process=1, Thread=1
Module Load: C:\WINDOWS\SYSTEM32\USER32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\GDI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\RPCRT4.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\IMM32.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSCTF.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\MSVCRT.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\LPK.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\USP10.DLL  (symbol loading deferred)
Module Load: C:\WINDOWS\SYSTEM32\AVGRSSTX.DLL  (symbol loading deferred)
Module Load: APP01.EXE  (could not open symbol file)
Thread Create:  Process=1, Thread=2
Thread Create:  Process=1, Thread=3
Thread Create:  Process=1, Thread=4
Thread Create:  Process=1, Thread=5
Module Load: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL 
(symbol loading deferred)
Thread Terminate:  Process=1, Thread=1, Exit Code=9109504
Thread Create:  Process=1, Thread=6
Thread Create:  Process=1, Thread=7
Thread Create:  Process=1, Thread=8
Thread Create:  Process=1, Thread=9
Thread Terminate:  Process=1, Thread=7, Exit Code=0
Thread Terminate:  Process=1, Thread=6, Exit Code=0
Thread Terminate:  Process=1, Thread=8, Exit Code=0
Thread Terminate:  Process=1, Thread=9, Exit Code=0
Thread Create:  Process=1, Thread=10
Thread Terminate:  Process=1, Thread=10, Exit Code=0
Thread Terminate:  Process=1, Thread=2, Exit Code=0
Thread Terminate:  Process=1, Thread=5, Exit Code=0
Thread Terminate:  Process=1, Thread=4, Exit Code=0
Thread Terminate:  Process=1, Thread=3, Exit Code=0
Module Unload: APP01.EXE
Module Unload: C:\Windows\system32\NTDLL.DLL
Module Unload: C:\WINDOWS\SYSTEM32\KERNEL32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\USER32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\GDI32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\RPCRT4.DLL
Module Unload: C:\WINDOWS\SYSTEM32\IMM32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\MSCTF.DLL
Module Unload: C:\WINDOWS\SYSTEM32\MSVCRT.DLL
Module Unload: C:\WINDOWS\SYSTEM32\LPK.DLL
Module Unload: C:\WINDOWS\SYSTEM32\USP10.DLL
Module Unload: C:\WINDOWS\SYSTEM32\AVGRSSTX.DLL
Module Unload: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL
Thread Terminate:  Process=1, Thread=0, Exit Code=0
Process Terminate:  Process=1, Exit Code=0
Module Unload: C:\DMD\WINDOWS\BIN\DMD.EXE
Module Unload: C:\Windows\system32\NTDLL.DLL
Module Unload: C:\WINDOWS\SYSTEM32\KERNEL32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\SHELL32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\MSVCRT.DLL
Module Unload: C:\WINDOWS\SYSTEM32\GDI32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\USER32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\RPCRT4.DLL
Module Unload: C:\WINDOWS\SYSTEM32\SHLWAPI.DLL
Module Unload: C:\WINDOWS\SYSTEM32\IMM32.DLL
Module Unload: C:\WINDOWS\SYSTEM32\MSCTF.DLL
Module Unload: C:\WINDOWS\SYSTEM32\LPK.DLL
Module Unload: C:\WINDOWS\SYSTEM32\USP10.DLL
Module Unload: C:\WINDOWS\SYSTEM32\AVGRSSTX.DLL
Module Unload:
C:\WINDOWS\WINSXS\X86_MICROSOFT.WINDOWS.COMMON-CONTROLS_6595B64144CCF1DF_6.0.6001.18000_NONE_5CDBAA5A083979CC\COMCTL32.DLL
Module Unload: C:\PROGRAM FILES\COMMON FILES\LOGISHRD\LVMVFM\LVPRCINJ.DLL
Module Unload: C:\WINDOWS\SYSTEM32\APPHELP.DLL
Thread Terminate:  Process=0, Thread=0, Exit Code=0
Process Terminate:  Process=0, Exit Code=0

I didn't include DFL.lib and the obj files were small, so the crash rarely
occurred (like D1)...
--VS--
Unhandled exception at 0x004d5479 in dmd.exe: 0xC0000005: Access violation
reading location 0x00000014.
004D5479  mov         ecx,dword ptr [ebx+14h]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to