MantisBT - VCMI
View Issue Details
0001175VCMIGUI - PreGamepublic2013-01-16 15:482013-01-16 19:42
Warmonger 
Ivan 
normalblockalways
closedfixed 
PCWindows 7SP1
 
0.91 
0001175: Crash in main menu
Game crashes when clicking new game->singlepyaer in main menu.
Tested after r3100.
Call stack

     VCMI_client.exe!std::_Tree<std::_Tmap_traits<unsigned int,std::vector<unsigned int,std::allocator<unsigned int> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::vector<unsigned int,std::allocator<unsigned int> > > >,0> >::find(const unsigned int & _Keyval) Line 1433 C++
> VCMI_client.exe!CDefFile::loadFrame<SDLImageLoader>(unsigned int frame, unsigned int group, SDLImageLoader & loader) Line 191 + 0x10 bytes C++
     VCMI_client.exe!SDLImage::SDLImage(CDefFile * data, unsigned int frame, unsigned int group, bool compressed) Line 595 C++
     VCMI_client.exe!CAnimation::loadFrame(CDefFile * file, unsigned int frame, unsigned int group) Line 943 + 0x28 bytes C++
     VCMI_client.exe!CAnimation::load(unsigned int frame, unsigned int group) Line 1141 C++
     VCMI_client.exe!CAnimImage::init() Line 1204 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 1182 C++
     VCMI_client.exe!OptionsTab::SelectedBox::SelectedBox(Point position, PlayerSettings & settings, OptionsTab::SelType type) Line 2896 + 0x43 bytes C++
     VCMI_client.exe!OptionsTab::PlayerOptionsEntry::PlayerOptionsEntry(OptionsTab * owner, PlayerSettings & S) Line 2555 + 0x34 bytes C++
     VCMI_client.exe!OptionsTab::recreate() Line 2399 + 0x26 bytes C++
     VCMI_client.exe!CSelectionScreen::changeSelection(const CMapInfo * to) Line 830 C++
     VCMI_client.exe!boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,CSelectionScreen,CMapInfo const *>,boost::_bi::list2<boost::_bi::value<CSelectionScreen *>,boost::arg<1> > >,void,CMapInfo *>::invoke(boost::detail::function::function_buffer & function_obj_ptr, CMapInfo * a0) Line 154 C++
     VCMI_client.exe!boost::function1<void,CMapInfo *>::operator()(CMapInfo * a0) Line 1013 + 0x10 bytes C++
     VCMI_client.exe!SelectionTab::select(int position) Line 1341 C++
     VCMI_client.exe!SelectionTab::filter(int size, bool selectFirst) Line 1071 C++
     VCMI_client.exe!SelectionTab::SelectionTab(CMenuScreen::EState Type, const boost::function<void __cdecl(CMapInfo *)> & OnSelect, CMenuScreen::EMultiMode MultiPlayer) Line 1263 C++
     VCMI_client.exe!CSelectionScreen::CSelectionScreen(CMenuScreen::EState Type, CMenuScreen::EMultiMode MultiPlayer, const std::map<unsigned char,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::less<unsigned char>,std::allocator<std::pair<unsigned char const ,std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > * Names) Line 618 + 0x96 bytes C++
     VCMI_client.exe!CGPreGame::openSel(CMenuScreen::EState screenType, CMenuScreen::EMultiMode multi) Line 479 + 0x2d bytes C++
     VCMI_client.exe!boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf2<void,CGPreGame,enum CMenuScreen::EState,enum CMenuScreen::EMultiMode>,boost::_bi::list3<boost::_bi::value<CGPreGame *>,boost::_bi::value<enum CMenuScreen::EState>,boost::_bi::value<enum CMenuScreen::EMultiMode> > >,void>::invoke(boost::detail::function::function_buffer & function_obj_ptr) Line 154 C++
     VCMI_client.exe!CFunctionList<void __cdecl(void)>::operator()() Line 62 + 0xc bytes C++
     VCMI_client.exe!CAdventureMapButton::clickLeft(boost::logic::tribool down, bool previousState) Line 337 C++
     VCMI_client.exe!CGuiHandler::handleEvent(SDL_Event * sEvent) Line 277 C++
     VCMI_client.exe!CGuiHandler::handleEvents() Line 178 C++
     VCMI_client.exe!CGPreGame::update() Line 516 C++
     VCMI_client.exe!CGuiHandler::run() Line 387 C++
     VCMI_client.exe!boost::`anonymous namespace'::thread_start_function() + 0x63 bytes C++
     msvcr100.dll!57fdc556()
     [Frames below may be incorrect and/or missing, no symbols loaded for msvcr100.dll]
     msvcr100.dll!57fdc600()
     kernel32.dll!755933aa()
     ntdll.dll!77809ef2()
     ntdll.dll!77809ec5()
No tags attached.
Issue History
2013-01-16 15:48WarmongerNew Issue
2013-01-16 15:48WarmongerStatusnew => assigned
2013-01-16 15:48WarmongerAssigned To => Tow
2013-01-16 16:24IvanNote Added: 0003279
2013-01-16 16:30IvanNote Edited: 0003279bug_revision_view_page.php?bugnote_id=3279#r2089
2013-01-16 16:30IvanStatusassigned => feedback
2013-01-16 19:42WarmongerNote Added: 0003280
2013-01-16 19:42WarmongerStatusfeedback => assigned
2013-01-16 19:42WarmongerStatusassigned => closed
2013-01-16 19:42WarmongerAssigned ToTow => Ivan
2013-01-16 19:42WarmongerResolutionopen => fixed

Notes
(0003279)
Ivan   
2013-01-16 16:24   
(edited on: 2013-01-16 16:30)
Two files were missing. Should be fine now, please recheck.

(0003280)
Warmonger   
2013-01-16 19:42   
That was it, thanks.