Bug 5760 – Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at object._checkModCtors._findDependencies.object.ModuleInfo
Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-03-20T21:24:00Z
Last change time
2011-05-06T01:49:08Z
Assigned to
nobody
Creator
changlon
Comments
Comment #0 by changlon — 2011-03-20T21:24:50Z
I build http://svn.dsource.org/projects/semitwist/trunk/src/semitwist/apps/stmanage/stbuild/ with command: "dmd.exe main.d cmdArgs.d conf.d ../../../util/all.d ../../../util/array.d ../../../util/ctfe.d ../../../util/functional.d ../../../util/io.d ../../../util/mixins.d ../../../util/os.d ../../../util/process.d ../../../util/reflect.d ../../../util/text.d ../../../util/unittests.d ../../../util/ver.d ../../../cmd/all.d ../../../cmd/plain.d ../../../cmdlineparser.d ../../../refbox.d ../../../treeout.d -ofE:\projects\semitwist\src\semitwist\apps\stmanage\stbuild\stbuild -g -debug"
Ddbg output:
Ddbg 0.11.3 beta - D Debugger
Copyright (c) 2007 Jascha Wetzel
see http://ddbg.mainia.de/doc.html for documentation
Loading symbols from stbuild.exe
->r
No symbols available from ntdll.dll
ntdll.dll loaded at 0x7c920000
No symbols available from KERNEL32.dll
KERNEL32.dll loaded at 0x7c800000
No symbols available from SHELL32.dll
SHELL32.dll loaded at 0x7d590000
No symbols available from ADVAPI32.dll
ADVAPI32.dll loaded at 0x77da0000
No symbols available from RPCRT4.dll
RPCRT4.dll loaded at 0x77e50000
No symbols available from Secur32.dll
Secur32.dll loaded at 0x77fc0000
No symbols available from GDI32.dll
GDI32.dll loaded at 0x77ef0000
No symbols available from USER32.dll
USER32.dll loaded at 0x77d10000
No symbols available from msvcrt.dll
msvcrt.dll loaded at 0x77be0000
No symbols available from SHLWAPI.dll
SHLWAPI.dll loaded at 0x77f40000
Unknown breakpoint hit at ntdll.dll (0x7c921230) thread(1624)
No symbols available from IMM32.dll
IMM32.dll loaded at 0x76300000
No symbols available from LPK.dll
LPK.dll loaded at 0x62c20000
No symbols available from USP10.dll
USP10.dll loaded at 0x73fa0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x77180000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x5d170000
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at object._checkModCtors._findDependencies.object.ModuleInfo (0x00445b6c) thread(1624)
->
Comment #1 by changlon — 2011-03-21T20:53:12Z
I think this maybe should be marked as invalid bug, I download dmd 2.052 and build this again, the exception is gone .
I have no idea what is going on here , but it not bother me anymore.
Comment #2 by clugdbug — 2011-05-06T01:49:08Z
INVALID, probably a dirty build.
The dependencies in DMD's makefile aren't complete, if you don't do 'make clean' you're quite likely to get a subtly wrong build. Could also be a bad .di file (you need to do 'make import' on druntime).