(resolved) (windows client #41) Exception when loading Electron Density puzzle

Started by Bletchley Park

Bletchley Park Lv 1

The issue is apparent when using the cloud icon, then changing tracks. immediate crashes. Very likely a mismatch between density cloud and structure, as you had before. Very hard to put this to use.

game.application.GameApplication: {0} Ended Initialization of GameApplication
game.util.IRC: {0} IRC::connect connecting
game.util.IRC: {0} Entering IRC::run
standalone.application.StandaloneApplication: {0} Current Track: cloud2
standalone.application.StandaloneApplication: {0} New track: using current structure
game.application.GameApplication: {0} Loading puzzle 2013888

UNHANDLED EXCEPTION
****** Encountered Crash at Unknown File:0
Unknown Exception
  1: core::scoring::electron_density::ElectronDensity::rephase +5183 bytes (no line)
  2: standalone::application::StandaloneApplication::setup_for_puzzle +5626 bytes (no line)
  3: game::application::GameApplication::setup_for_puzzle +1656 bytes (no line)
  4: standalone::application::StandaloneApplication::set_track +1583 bytes (no line)
  5: game::application::GameApplication::set_track +57 bytes (no line)
  6: standalone::application::TrackDialog::set_track +115 bytes (no line)
  7: ??$?RVTrackDialog@application@standalone@@$$VP8012@EAAXXZ$0A@@?$checked_fxn_wrapper@P8TrackDialog@application@standalone@@EAAXXZ@detail@util@interactive@@QEAAXV?$access_ptr@VTrackDialog@application@standalone@@@23@@Z +495 bytes (no line)
  8: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl standalone::application::TrackDialog::*)(void) __ptr64>,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr<standalone::application::TrackDialog> > > >,void>::invoke +66 bytes (no line)
  9: interactive::gui::SelectionList::select_child +177 bytes (no line)
 10: interactive::gui::SelectionList::select_child_by_click +215 bytes (no line)
 11: interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64>::operator()<interactive::gui::SelectionList,unsigned __int64 & __ptr64,void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64,0> +501 bytes (no line)
 12: boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64>,boost::_bi::list2<boost::_bi::value<interactive::util::access_ptr<interactive::gui::SelectionList> >,boost::_bi::value<unsigned __int64> > >,void,interactive::gui::Point2D const & __ptr64,int>::invoke +70 bytes (no line)
 13: interactive::gui::EventHandler::on_mouse_up +204 bytes (no line)
 14: interactive::gui::TopLevel::on_mouse_up +179 bytes (no line)
 15: interactive::guiwrapper::GUIWrapper::generic_mouse_button_func +519 bytes (no line)
 16: interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64>::operator()<interactive::guiwrapper::win32::Win32Wrapper,int & __ptr64,bool & __ptr64,int & __ptr64,int & __ptr64,void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64,0> +527 bytes (no line)
 17: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64>,boost::_bi::list5<boost::_bi::value<interactive::util::access_ptr<interactive::guiwrapper::win32::Win32Wrapper> >,boost::_bi::value<int>,boost::_bi::value<bool>,boost::_bi::value<int>,boost::_bi::value<int> > >,void>::invoke +92 bytes (no line)
 18: interactive::guiwrapper::GUIWrapper::enqueue_event +82 bytes (no line)
 19: interactive::guiwrapper::win32::Win32Wrapper::win_mouse_button_func +470 bytes (no line)
 20: interactive::guiwrapper::win32::Win32Wrapper::WndProc +1618 bytes (no line)
 21: TranslateMessageEx +669 bytes (no line)
 22: CallWindowProcW +156 bytes (no line)
 23: CallWindowProcW +24 bytes (no line)
 24: glDebugEntry +62238 bytes (no line)
 25: TranslateMessageEx +669 bytes (no line)
 26: TranslateMessage +482 bytes (no line)
 27: interactive::guiwrapper::win32::Win32Wrapper::start +328 bytes (no line)
 28: interactive::application::interactive_main +3254 bytes (no line)
 29: game::application::game_main +2218 bytes (no line)
 30: no symbol (no line)
 31: no symbol (no line)
 32: no symbol (no line)
 33: BaseThreadInitThunk +13 bytes (no line)
 34: RtlUserThreadStart +33 bytes (no line)

  1: core::scoring::electron_density::ElectronDensity::rephase +5183 bytes (no line)
  2: standalone::application::StandaloneApplication::setup_for_puzzle +5626 bytes (no line)
  3: game::application::GameApplication::setup_for_puzzle +1656 bytes (no line)
  4: standalone::application::StandaloneApplication::set_track +1583 bytes (no line)
  5: game::application::GameApplication::set_track +57 bytes (no line)
  6: standalone::application::TrackDialog::set_track +115 bytes (no line)
  7: ??$?RVTrackDialog@application@standalone@@$$VP8012@EAAXXZ$0A@@?$checked_fxn_wrapper@P8TrackDialog@application@standalone@@EAAXXZ@detail@util@interactive@@QEAAXV?$access_ptr@VTrackDialog@application@standalone@@@23@@Z +495 bytes (no line)
  8: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl standalone::application::TrackDialog::*)(void) __ptr64>,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr<standalone::application::TrackDialog> > > >,void>::invoke +66 bytes (no line)
  9: interactive::gui::SelectionList::select_child +177 bytes (no line)
 10: interactive::gui::SelectionList::select_child_by_click +215 bytes (no line)
 11: interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64>::operator()<interactive::gui::SelectionList,unsigned __int64 & __ptr64,void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64,0> +501 bytes (no line)
 12: boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::gui::SelectionList::*)(unsigned __int64) __ptr64>,boost::_bi::list2<boost::_bi::value<interactive::util::access_ptr<interactive::gui::SelectionList> >,boost::_bi::value<unsigned __int64> > >,void,interactive::gui::Point2D const & __ptr64,int>::invoke +70 bytes (no line)
 13: interactive::gui::EventHandler::on_mouse_up +204 bytes (no line)
 14: interactive::gui::TopLevel::on_mouse_up +179 bytes (no line)
 15: interactive::guiwrapper::GUIWrapper::generic_mouse_button_func +519 bytes (no line)
 16: interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64>::operator()<interactive::guiwrapper::win32::Win32Wrapper,int & __ptr64,bool & __ptr64,int & __ptr64,int & __ptr64,void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64,0> +527 bytes (no line)
 17: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::guiwrapper::GUIWrapper::*)(int,bool,int,int) __ptr64>,boost::_bi::list5<boost::_bi::value<interactive::util::access_ptr<interactive::guiwrapper::win32::Win32Wrapper> >,boost::_bi::value<int>,boost::_bi::value<bool>,boost::_bi::value<int>,boost::_bi::value<int> > >,void>::invoke +92 bytes (no line)
 18: interactive::guiwrapper::GUIWrapper::enqueue_event +82 bytes (no line)
 19: interactive::guiwrapper::win32::Win32Wrapper::win_mouse_button_func +470 bytes (no line)
 20: interactive::guiwrapper::win32::Win32Wrapper::WndProc +1618 bytes (no line)
 21: TranslateMessageEx +669 bytes (no line)
 22: CallWindowProcW +156 bytes (no line)
 23: CallWindowProcW +24 bytes (no line)
 24: glDebugEntry +62238 bytes (no line)
 25: TranslateMessageEx +669 bytes (no line)
 26: TranslateMessage +482 bytes (no line)
 27: interactive::guiwrapper::win32::Win32Wrapper::start +328 bytes (no line)
 28: interactive::application::interactive_main +3254 bytes (no line)
 29: game::application::game_main +2218 bytes (no line)
 30: no symbol (no line)
 31: no symbol (no line)
 32: no symbol (no line)
 33: BaseThreadInitThunk +13 bytes (no line)
 34: RtlUserThreadStart +33 bytes (no line)
                                                                                                                                                                                              

Bletchley Park Lv 1

@apetrides no, this is the part that follows the startup of a fresh client. I no longer have the original log file as it got overwritten by many other restarts. The current log is from a client that kept running. This is such an easy situation for you to reconstruct that it seems trivial. Start a client, rephase (cloud), change to a new track, wiggle, rephase, try something else and it should crash. Then start a new client and try to go to that new track, most likely crash. Sandrix mentions something similar in the comment to the new release, but he uses less explicit wording, he does not write 'the client crashes'. but uses a term like 'the client stops'.

beta_helix Staff Lv 1

Thank you again for catching this, BP… I'm sorry that we didn't not encounter this while it was in devprev, perhaps we did not leave it in devprev for long enough to fully test everything.

Bletchley Park Lv 1

You're welcome @beta_helix . I think another issue is also that the changes are not extensively tested before they are put into devprev. In our capacity as 'gamers' we are not professional software testers. Although some of us have the professional background to be so. I think Foldit would benefit from a group of professional software testers and a rigorous pipeline for development and testing.