Thank you, Loci⦠this is very helpful.
By any chance, has this ever happened when you open Foldit for the first time and only play this puzzle?
Or does it only happen when you've switched puzzles, from a different puzzle to this one?
Thank you again!
@beta_helix I only tried it when booting a machine freshly, one new client, first puzzle, first action. The puzzle in question was not available for testing anymore after a short period so cannot try again.
Thank you @"Bletchley Park" we have reopened this devprev puzzle, as this bug has been particularly tough to reproduce and catch:
https://fold.it/puzzles/2013729
@beta_helix I reproduced it today by starting a machine 'cold' and just loading the program, then select this devprev puzzle and wait for it to load. Nothing else. Starting score is -987654.321 and does not change whatever action you take.
A few errors draw my attention in the log:
BoincObject Error reading "0002013467.ir_puzzle".
Unknown enum value for shared::StandaloneSessionConfig::Phase: AllHands. (C:\Users\jflat06\foldit\develop\source\src\interactive\util\EnumMapping.hh:63)
game.application.server.CurlFetcher: {0} https://fold.it/api/get_puzzles
and
game.application.server.CurlFetcher: {0} https://fold.it/api/get_puzzle_completions
game.application.GameApplication: {0} bad file checksums, refreshing from server...
game.application.server.CurlFetcher: {0} https://fold.it/api/get_puzzle
Activating a density view does not show any density,
Changing the backbone manually does not influence score.
Resetting the puzzle changes the view back to original, but does not resolve the weird colors
Quicksaving to slot 1 and reloading from slot 1 yields no difference.
Selecting residues and trimming them yields no change in score, -987654.321
Shaking and stopping does not crash the program.
Wiggling and stopping crashes the program.
Restarting the program without rebooting or shutting down loads a fine working copy with seemingly no issue.
Reloading the previously quicksaved solution loads a fine working puzzle with sensible score and good colors.
Reloaded quicksave can show a small density when density is turned on.
Reloaded quicksave changes score when pulled
Reloaded quicksave changes score when shake
Reloaded quicksave changes score when wiggle
Quitting the client goes well, but has its own issues as indicated in the log. See secondlog.txt
At the blottom of this post, there is a NAN mention and the debgug and log files.
core.scoring.hbonds.hbonds_geom: {0} [ ERROR ] NAN occurred in H-bonding calculations!
core.scoring.hbonds.hbonds_geom: {0} [ ERROR ] Dxyz NAN NAN NAN Hxyz NAN NAN NAN
BACKTRACE:
1: backtrace_string +52 bytes (no line)
2: core::scoring::hbonds::hb_energy_deriv +507 bytes (no line)
3: core::scoring::hbonds::hb_energy_deriv +100 bytes (no line)
4: core::scoring::hbonds::identify_hbonds_1way +833 bytes (no line)
5: core::scoring::hbonds::HBondEnergy::residue_pair_energy +813 bytes (no line)
6: core::scoring::ScoreFunction::eval_cd_2b +97 bytes (no line)
7: core::scoring::ScoreFunction::asym_eval_twobody_neighbor_energies +758 bytes (no line)
8: core::scoring::ScoreFunction::operator() +339 bytes (no line)
9: core::optimization::ArmijoLineMinimization::Armijo +138 bytes (no line)
10: core::optimization::ArmijoLineMinimization::operator() +572 bytes (no line)
11: core::optimization::Minimizer::dfpmin_armijo +2278 bytes (no line)
12: core::optimization::Minimizer::run +2396 bytes (no line)
13: core::optimization::AtomTreeMinimizer::run +1248 bytes (no line)
14: core::optimization::AtomTreeMinimizer::run +35 bytes (no line)
15: interactive::application::actions::cart::PoseLoopThreadActionCart::run_minimizer_on_work_pose +1536 bytes (no line)
16: interactive::application::actions::cart::ActionCartGlobalWiggle::thread_body_loop_unlocked +175 bytes (no line)
17: interactive::application::actions::cart::PoseLoopThreadActionCart::on_thread_run +6953 bytes (no line)
18: ??$?RVToolActionThreaded@shared@application@interactive@@$$VP80123@EAAXXZ$0A@@?$checked_fxn_wrapper@P8ToolActionThreaded@shared@application@interactive@@EAAXXZ@detail@util@interactive@@QEAAXV?$access_ptr@VToolActionThreaded@shared@application@interactive@@@23@@Z +440 bytes (no line)
19: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::application::shared::ToolActionThreaded::*)(void) __ptr64>,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr<interactive::application::shared::ToolActionThreaded> > > >,void>::invoke +66 bytes (no line)
20: interactive::util::Thread::thread_entry_func +45 bytes (no line)
21: interactive::util::Thread::win32_thread_startup_helper +17 bytes (no line)
22: BaseThreadInitThunk +13 bytes (no line)
23: RtlUserThreadStart +33 bytes (no line)
UNHANDLED EXCEPTION
****** Encountered Crash at Unknown File:0
Unknown Exception
1: RaiseException +61 bytes (no line)
2: CxxThrowException +144 bytes (no line)
3: core::scoring::hbonds::hb_energy_deriv +2232 bytes (no line)
4: core::scoring::hbonds::hb_energy_deriv +100 bytes (no line)
5: core::scoring::hbonds::identify_hbonds_1way +833 bytes (no line)
6: core::scoring::hbonds::HBondEnergy::residue_pair_energy +813 bytes (no line)
7: core::scoring::ScoreFunction::eval_cd_2b +97 bytes (no line)
8: core::scoring::ScoreFunction::asym_eval_twobody_neighbor_energies +758 bytes (no line)
9: core::scoring::ScoreFunction::operator() +339 bytes (no line)
10: core::optimization::ArmijoLineMinimization::Armijo +138 bytes (no line)
11: core::optimization::ArmijoLineMinimization::operator() +572 bytes (no line)
12: core::optimization::Minimizer::dfpmin_armijo +2278 bytes (no line)
13: core::optimization::Minimizer::run +2396 bytes (no line)
14: core::optimization::AtomTreeMinimizer::run +1248 bytes (no line)
15: core::optimization::AtomTreeMinimizer::run +35 bytes (no line)
16: interactive::application::actions::cart::PoseLoopThreadActionCart::run_minimizer_on_work_pose +1536 bytes (no line)
17: interactive::application::actions::cart::ActionCartGlobalWiggle::thread_body_loop_unlocked +175 bytes (no line)
18: interactive::application::actions::cart::PoseLoopThreadActionCart::on_thread_run +6953 bytes (no line)
19: ??$?RVToolActionThreaded@shared@application@interactive@@$$VP80123@EAAXXZ$0A@@?$checked_fxn_wrapper@P8ToolActionThreaded@shared@application@interactive@@EAAXXZ@detail@util@interactive@@QEAAXV?$access_ptr@VToolActionThreaded@shared@application@interactive@@@23@@Z +440 bytes (no line)
20: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::application::shared::ToolActionThreaded::*)(void) __ptr64>,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr<interactive::application::shared::ToolActionThreaded> > > >,void>::invoke +66 bytes (no line)
21: interactive::util::Thread::thread_entry_func +45 bytes (no line)
22: interactive::util::Thread::win32_thread_startup_helper +17 bytes (no line)
23: BaseThreadInitThunk +13 bytes (no line)
24: RtlUserThreadStart +33 bytes (no line)
1: RaiseException +61 bytes (no line)
2: CxxThrowException +144 bytes (no line)
3: core::scoring::hbonds::hb_energy_deriv +2232 bytes (no line)
4: core::scoring::hbonds::hb_energy_deriv +100 bytes (no line)
5: core::scoring::hbonds::identify_hbonds_1way +833 bytes (no line)
6: core::scoring::hbonds::HBondEnergy::residue_pair_energy +813 bytes (no line)
7: core::scoring::ScoreFunction::eval_cd_2b +97 bytes (no line)
8: core::scoring::ScoreFunction::asym_eval_twobody_neighbor_energies +758 bytes (no line)
9: core::scoring::ScoreFunction::operator() +339 bytes (no line)
10: core::optimization::ArmijoLineMinimization::Armijo +138 bytes (no line)
11: core::optimization::ArmijoLineMinimization::operator() +572 bytes (no line)
12: core::optimization::Minimizer::dfpmin_armijo +2278 bytes (no line)
13: core::optimization::Minimizer::run +2396 bytes (no line)
14: core::optimization::AtomTreeMinimizer::run +1248 bytes (no line)
15: core::optimization::AtomTreeMinimizer::run +35 bytes (no line)
16: interactive::application::actions::cart::PoseLoopThreadActionCart::run_minimizer_on_work_pose +1536 bytes (no line)
17: interactive::application::actions::cart::ActionCartGlobalWiggle::thread_body_loop_unlocked +175 bytes (no line)
18: interactive::application::actions::cart::PoseLoopThreadActionCart::on_thread_run +6953 bytes (no line)
19: ??$?RVToolActionThreaded@shared@application@interactive@@$$VP80123@EAAXXZ$0A@@?$checked_fxn_wrapper@P8ToolActionThreaded@shared@application@interactive@@EAAXXZ@detail@util@interactive@@QEAAXV?$access_ptr@VToolActionThreaded@shared@application@interactive@@@23@@Z +440 bytes (no line)
20: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,interactive::util::detail::checked_fxn_wrapper<void (__cdecl interactive::application::shared::ToolActionThreaded::*)(void) __ptr64>,boost::_bi::list1<boost::_bi::value<interactive::util::access_ptr<interactive::application::shared::ToolActionThreaded> > > >,void>::invoke +66 bytes (no line)
21: interactive::util::Thread::thread_entry_func +45 bytes (no line)
22: interactive::util::Thread::win32_thread_startup_helper +17 bytes (no line)
23: BaseThreadInitThunk +13 bytes (no line)
24: RtlUserThreadStart +33 bytes (no line)
And the debug and log files.
debug.txt
log.txt
secondlog.txt
A while back, beta_helix wrote:
By any chance, has this ever happened when you open Foldit for the first time and only play this puzzle?
Or does it only happen when you've switched puzzles, from a different puzzle to this one?
Very late reply, but for the record, here goes.
In most of my tests, I simply start several clients, one after the other, and load the test puzzle. Some fraction of the clients will start with the -987654.321 score.
I think the glitch can strike any time you open the puzzle, and that it doesn't depend of what happened before.
My setup has each client in its own directory, so c:\Foldit\Foldit1, c:\Foldit\Foldit2, c:\Foldit\Foldit3, and so on. This setup isolates log.txt, debug.txt, scriptlog files, and anything else that might otherwise be shared between clients.