crash clicking "New" (GUI or ScriptV2) in cookbook editor

Started by jstaxton

jstaxton Lv 1

I repeatedly got a crash of FoldIt when clicking on either "New" button in the recipe editor.

Starting Folit > opening science puzzle "Docking Design" > Open recipe editor (my last recipe is still in there) > click on New > Crash

content of debug.txt:
version: 1
{
"backtrace" : " 1: core::conformation::Conformation::get_torsion_angle_atom_ids +138 bytes (no line)\n 2: core::conformation::Conformation::set_torsion +416 bytes (no line)\n 3: core::pose::Pose::set_chi +50 bytes (no line)\n 4: interactive::application::actions::cart::ActionCartRotamerPicker::replace_rotamer +164 bytes (no line)\n 5: interactive::application::actions::cart::ActionCartRotamerPicker::thread_body_loop_unlocked +30 bytes (no line)\n 6: interactive::application::actions::cart::PoseLoopThreadActionCart::on_thread_run +5622 bytes (no line)\n 7: ??$?RVToolActionThreaded@shared@application@interactive@@$$VP80123@AEXXZ$0A@@?$checked_fxn_wrapper@P8ToolActionThreaded@shared@application@interactive@@AEXXZ@detail@util@interactive@@QAEXV?$access_ptr@VToolActionThreaded@shared@application@interactive@@@23@@Z +76 bytes (no line)\n 8: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified\,interactive::util::detail::checked_fxn_wrapper<void (__thiscall interactive::application::shared::ToolActionThreaded::*)(void)>\,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr > > >\,void>::invoke +28 bytes (no line)\n 9: boost::function0::operator() +120 bytes (no line)\n 10: interactive::util::Thread::thread_entry_func +69 bytes (no line)\n 11: interactive::util::Thread::win32_thread_startup_helper +14 bytes (no line)\n 12: BaseThreadInitThunk +36 bytes (no line)\n 13: RtlInitializeExceptionChain +143 bytes (no line)\n 14: RtlInitializeExceptionChain +90 bytes (no line)\n" "build_id" : "20191029-32048a6a12-win_x86" "crash_id" : "0ce0c52f-50bc-48c1-b6ce-8d8569dd0082" "current_actions" : "ToolBridgeAction\,ActionRotamerPicker" "current_tool" : "Pull Mode" "file" : "Unknown File:0" "machine_id" : "e44037a4-a37d-48fb-a905-a3acafc63eca" "macro_id" : "1" "message" : "Unknown Exception" "player_id" : "929972" "puzzle_id" : "2008698" "puzzle_running_time" : "55" "running_time" : "430942" "timestamp" : "1583443427" } verify: 8cfdd2e3d5f071cd9446fd03b0cbc564

last line of log.txt:
UNHANDLED EXCEPTION
1: interactive::util::access_ptr::indirection_shim::indirection_shim +183 bytes (no line) 2: interactive::util::detail::checked_fxn_wrapper<std::basic_string<char,std::char_traits,std::allocator > (__thiscall standalone::application::macro::BlockParamInt::*)(int)>::operator()<standalone::application::macro::BlockParamInt,int,std::basic_string<char,std::char_traits,std::allocator > (__thiscall standalone::application::macro::BlockParamInt::*)(int),0> +77 bytes (no line) 3: boost::_bi::list2<boost::_bi::value<interactive::util::access_ptr >,boost::arg<1> >::operator()<std::basic_string<char,std::char_traits,std::allocator >,interactive::util::detail::checked_fxn_wrapper<std::basic_string<char,std::char_traits,std::allocator > (__thiscall standalone::application::macro::BlockParamInt::*)(int)>,boost::_bi::rrlist1 > +40 bytes (no line) 4: boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<std::basic_string<char,std::char_traits,std::allocator > (__thiscall standalone::application::macro::BlockParamInt::*)(int)>,boost::_bi::list2<boost::_bi::value<interactive::util::access_ptr >,boost::arg<1> > >::operator() +38 bytes (no line) 5: boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<std::basic_string<char,std::char_traits,std::allocator > (__thiscall standalone::application::macro::BlockParamInt::*)(int)>,boost::_bi::list2<boost::_bi::value<interactive::util::access_ptr >,boost::arg<1> > >,std::basic_string<char,std::char_traits,std::allocator >,int>::invoke +26 bytes (no line) 6: boost::function1<std::basic_string<char,std::char_traits,std::allocator >,int>::operator() +141 bytes (no line) 7: standalone::application::macro::IntValuePanel::update_value +90 bytes (no line) 8: standalone::application::macro::IntValuePanel::update +11 bytes (no line) 9: interactive::gui::Container::update +190 bytes (no line) 10: interactive::gui::TopLevel::update +1448 bytes (no line) 11: interactive::gui::GUISystem::update +95 bytes (no line) 12: interactive::guiwrapper::GUIWrapper::tick_frame +155 bytes (no line) 13: interactive::guiwrapper::win32::Win32Wrapper::start +451 bytes (no line) 14: interactive::application::interactive_main +2622 bytes (no line) 15: game::application::game_main +1321 bytes (no line) 16: library_main +21 bytes (no line) 17: no symbol (no line) 18: no symbol (no line) 19: no symbol (no line) 20: BaseThreadInitThunk +36 bytes (no line) 21: RtlInitializeExceptionChain +143 bytes (no line) 22: RtlInitializeExceptionChain +90 bytes (no line)

jstaxton Lv 1

when there is no script preset in the editor I can safely click the "New" buttons. When I load an example or the one script i was working on and THEN click "New", the game crashes.

LociOiling Lv 1

I was able to replicate this one, even got a debug.txt.

I tried various things with no problem. The final sequence was to create a new GUI recipe, with just a wiggle step.

I saved the GUI recipe, then changed the length of the wiggle and saved again.

OK to this point, then clicked on "New (ScriptV2)" and got the crash.

LociOiling Lv 1

Restarted, created a one line Lua (aka Script V2) consisting of "help()".

Attempting to save it crashed the client. Didn't seem to get a new debug.txt this time. Log file attached.

Kind of weird, since I do recipe stuff pretty regularly and haven't seen this type of crash.