Hi,
Seit ca. zwei Monaten stürzt meine Engine beim Laden ihrer Abhängigkeiten in ntdll.dll ab. Das ganze geschieht…
- … sehr unregelmäßig – gefühlt bei jedem 30. Start in x86 und bei jedem 50. in x64.
- … beim Laden unterschiedlicher Module (nicht immer beim selben – manchmal beim allerersten, manchmal bei einem der letzten, meist aber bei einem der ersten vier).
- … bevor etwas von meinem Programm ausgeführt wird.
- … das auch in anderen Projekten als meiner Engine passiert.
- … das auch außerhalb des Debuggers passiert.
- Ich übernehme statische Initialisierungen selber. Aber ich weiß nicht, ob die vor oder nach dem Laden der Abhängigkeiten ausgeführt werden und die Call Stacks der Aufrufe weisen keine Verbindung zu meinem Text auf. (Und es hat zuvor ein Jahr lang makellos funktioniert.)
- Zuerst trat das Problem zur ähnlichen Zeit wie meine Aktualisierung auf VC 2010 SP1 Beta auf, ±zwei Wochen.
Code: Alles auswählen
'C.exe': Loaded 'C:\compiled\B\x64DS\C.exe', Symbols loaded.
'C.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
Unhandled exception at 0x77025503 (ntdll.dll) in C.exe: 0xC0000005: Access violation writing location 0x00000007fe5b6060.
> ntdll.dll!RtlpPopulateListIndex() + 0x67e3 bytes
ntdll.dll!RtlCreateHeap() + 0x610 bytes
ntdll.dll!LdrpInitializeProcess() + 0x520 bytes
ntdll.dll!string "Enabling heap debug options\n"() - 0x3d7ad bytes
ntdll.dll!LdrInitializeThunk() + 0xe bytes
Code: Alles auswählen
'C.exe': Loaded 'C:\compiled\B\x64DS\C.exe', Symbols loaded.
'C.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\user32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\gdi32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\lpk.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\usp10.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Symbols loaded (source information stripped).
Unhandled exception at 0x7777d809 (ntdll.dll) in C.exe: 0xC0000005: Access violation writing location 0x0000000000000000.
> ntdll.dll!LdrpHandleOneNewFormatImportDescriptor() + 0x139 bytes
ntdll.dll!LdrpHandleNewFormatImportDescriptors() + 0xab bytes
ntdll.dll!LdrpProcessStaticImports() + 0x21a bytes
ntdll.dll!LdrpLoadImportModule() + 0x23c4 bytes
ntdll.dll!LdrpHandleOneNewFormatImportDescriptor() + 0x62 bytes
ntdll.dll!LdrpHandleNewFormatImportDescriptors() + 0xab bytes
ntdll.dll!LdrpProcessStaticImports() + 0x21a bytes
ntdll.dll!LdrpLoadImportModule() + 0x23c4 bytes
ntdll.dll!LdrpHandleOneNewFormatImportDescriptor() + 0x62 bytes
ntdll.dll!LdrpHandleNewFormatImportDescriptors() + 0xab bytes
ntdll.dll!LdrpProcessStaticImports() + 0x21a bytes
ntdll.dll!LdrpLoadImportModule() + 0x23c4 bytes
ntdll.dll!LdrpHandleOneNewFormatImportDescriptor() + 0x62 bytes
ntdll.dll!LdrpHandleNewFormatImportDescriptors() + 0xab bytes
ntdll.dll!LdrpProcessStaticImports() + 0x21a bytes
ntdll.dll!LdrpLoadImportModule() + 0x23c4 bytes
ntdll.dll!LdrpHandleOneOldFormatImportDescriptor() + 0x68 bytes
ntdll.dll!LdrpProcessStaticImports() + 0x1679 bytes
ntdll.dll!LdrpInitializeProcess() + 0xcc4 bytes
ntdll.dll!string "Enabling heap debug options\n"() - 0x3d7ad bytes
ntdll.dll!LdrInitializeThunk() + 0xe bytes
Code: Alles auswählen
'C.exe': Loaded 'C:\compiled\B\x64DS\C.exe', Symbols loaded.
'C.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\user32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\gdi32.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\lpk.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\usp10.dll', Symbols loaded (source information stripped).
'C.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Symbols loaded (source information stripped).
Unhandled exception at 0x7777d809 (ntdll.dll) in C.exe: 0xC0000005: Access violation writing location 0x0000000000000000.
> ntdll.dll!LdrpHandleOneNewFormatImportDescriptor() + 0x139 bytes
ntdll.dll!LdrpHandleNewFormatImportDescriptors() + 0xab bytes
ntdll.dll!LdrpProcessStaticImports() + 0x21a bytes
ntdll.dll!LdrpLoadImportModule() + 0x23c4 bytes
ntdll.dll!LdrpHandleOneOldFormatImportDescriptor() + 0x68 bytes
ntdll.dll!LdrpProcessStaticImports() + 0x1679 bytes
ntdll.dll!LdrpInitializeProcess() + 0xcc4 bytes
ntdll.dll!string "Enabling heap debug options\n"() - 0x3d7ad bytes
ntdll.dll!LdrInitializeThunk() + 0xe bytes
Gruß, Ky