Tomash667 / carpglib

Engine used by CaRpg game.
https://carpg.pl
MIT License
5 stars 2 forks source link

Visual Leak Detector crash at startup #1

Open Tomash667 opened 5 years ago

Tomash667 commented 5 years ago

@Tomash667 commented on Sun Mar 24 2019

Sometimes this happens at startup in debug mode:

Unhandled exception at 0x032383D0 (vld_x86.dll) in carpg_d.exe: 0xC0000005: Access violation reading location 0x002071D5.

>   vld_x86.dll!FindRealCode(void * pCode=0x002071d5) Line 433  C++
    [Inline Frame] vld_x86.dll!FindRealCode(void * pCode=0x001bb459) Line 453   C++
    [Inline Frame] vld_x86.dll!PatchImport(HINSTANCE__ *) Line 551  C++
    vld_x86.dll!PatchModule(HINSTANCE__ * importmodule=0x779e0000, moduleentry_t *) Line 666    C++
    vld_x86.dll!VisualLeakDetector::attachToLoadedModules(Set<moduleinfo_t> * newmodules=0x02ad7aa8) Line 902   C++
    vld_x86.dll!VisualLeakDetector::RefreshModules() Line 2332  C++
    vld_x86.dll!LdrpCallInitRoutine(void * BaseAddress=0x024f0000, unsigned long Reason=1, void * Context=0x0032fc34, unsigned char(__stdcall*)(void *, unsigned long, _CONTEXT *) EntryPoint=0x0255b1b0) Line 95   C++
    ntdll.dll!77c60466()    Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] Unknown
    ntdll.dll!77c2d40c()    Unknown
    ntdll.dll!77c3a65c()    Unknown
    ntdll.dll!77c3a8cf()    Unknown
    ntdll.dll!77c2b6d2()    Unknown
    KernelBase.dll!76038bda()   Unknown
    [Inline Frame] vld_x86.dll!VisualLeakDetector::_RGetProcAddress(HINSTANCE__ *) Line 2171    C++
    [Inline Frame] vld_x86.dll!PatchImport(HINSTANCE__ *) Line 534  C++
    vld_x86.dll!PatchModule(HINSTANCE__ * importmodule, moduleentry_t *) Line 666   C++
    vld_x86.dll!VisualLeakDetector::attachToLoadedModules(Set<moduleinfo_t> * newmodules=0x02ad0810) Line 902   C++
    vld_x86.dll!VisualLeakDetector::VisualLeakDetector() Line 500   C++
    vld_x86.dll!`dynamic initializer for 'g_vld''() Line 61 C++
    vld_x86.dll!_initterm(void(*)() * first=0x032411d0, void(*)() * last=0x032411e4) Line 16    C++
    vld_x86.dll!dllmain_crt_process_attach(HINSTANCE__ * const instance=0x03200000, void * const reserved=0x0032fc34) Line 65   C++
    vld_x86.dll!dllmain_crt_dispatch(HINSTANCE__ * const instance=0x03200000, const unsigned long reason=1, void * const reserved=0x0032fc34) Line 133  C++
    vld_x86.dll!DllEntryPoint(HINSTANCE__ * hinstDLL=0x03200000, unsigned long fdwReason=1, void * lpReserved=0x0032fc34) Line 294  C++
    ntdll.dll!77c60466()    Unknown
    ntdll.dll!77c2d40c()    Unknown
    ntdll.dll!77c3a65c()    Unknown
    ntdll.dll!77c3a8cf()    Unknown
    ntdll.dll!77c3a8e6()    Unknown
    ntdll.dll!77c99bf0()    Unknown
    ntdll.dll!77c999e3()    Unknown
    ntdll.dll!77c55257()    Unknown
    ntdll.dll!77c55151()    Unknown