MantisBT

View Revisions: Issue #1163 Back to Issue ]
Summary 0001163: Crash caused by new file caching
Revision 2012-12-15 13:24 by Warmonger
Description auto data = CResourceHandler::get()->loadData(rid);

Crashes with

rid {name="SPRITES/CRADVNTR" type=ANIMATION }
Revision 2012-12-15 13:24 by Warmonger
Description auto data = CResourceHandler::get()->loadData(rid);

Crashes with

rid {name="SPRITES/CRADVNTR" type=ANIMATION }

tested in Debug version.
Revision 2012-12-15 13:24 by Warmonger
Steps To Reproduce
Revision 2012-12-15 13:24 by Warmonger
Steps To Reproduce Crash occurs after line
Initializing VCMI_lib
Revision 2012-12-15 13:24 by Warmonger
Additional Information
Revision 2012-12-15 13:24 by Warmonger
Additional Information > msvcr100d.dll!operator delete(void * pUserData) Line 52 + 0x3 bytes C++
     VCMI_client.exe!CFileCache::FileData::~FileData() Line 89 + 0x18 bytes C++
     VCMI_client.exe!CFileCache::getCachedFile(ResourceID && rid) Line 107 C++
     VCMI_client.exe!CDefFile::CDefFile(std::basic_string<char,std::char_traits<char>,std::allocator<char> > Name) Line 138 + 0x80 bytes C++
     VCMI_client.exe!CAnimation::getFile() Line 1030 + 0x45 bytes C++
     VCMI_client.exe!CAnimation::CAnimation(std::basic_string<char,std::char_traits<char>,std::allocator<char> > Name, bool Compressed) Line 1048 + 0x8 bytes C++
     VCMI_client.exe!CAnimImage::CAnimImage(std::basic_string<char,std::char_traits<char>,std::allocator<char> > name, unsigned int Frame, unsigned int Group, int x, int y, unsigned char Flags) Line 1176 + 0x44 bytes C++
     VCMI_client.exe!CCursorHandler::changeGraphic(ECursor::ECursorTypes type, int index) Line 46 + 0x58 bytes C++
     VCMI_client.exe!CCursorHandler::initCursor() Line 32 C++
     VCMI_client.exe!init() Line 142 C++
     VCMI_client.exe!boost::detail::thread_data<void (__cdecl*)(void)>::run() Line 61 + 0xa bytes C++
     VCMI_client.exe!boost::`anonymous namespace'::thread_start_function(void * param) Line 172 C++
     msvcr100d.dll!_callthreadstartex() Line 314 + 0xf bytes C
     msvcr100d.dll!_threadstartex(void * ptd) Line 297 C
     kernel32.dll!760933aa()
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
     ntdll.dll!774c9ef2()
     ntdll.dll!774c9ec5()

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean