Foldit Client Crashes on linux when dragging dot out of the Ramachandran map.

Started by Wipf

Wipf Lv 1

I am using the linux game client and managed to cause it to crash by accidentally dragging a residue dot out of the Ramachandran map.

The procedure was: Click the dot in the Ramachandran map and hold the mouse button, move the mouse pointer outside of the valid range (not sure whether it was still in the Rama map "window", pretty sure it was inside the Foldit client window), release the mouse button.
I got the following message on stdout/stderr:

Terminate called after throwing an instance of 'utility::UtilityExitException'
what():

File: /home/jflat06/foldit/develop/source/src/interactive/application/actions/ActionSetPhiPsi.cc:126
[ ERROR ] UtilityExitException
ERROR: -180 <= phi_ && phi_ <= 180 && -180 <= psi_ && psi_ <= 180

What I would have expected to happen: If I drag the dot to an invalid position (outside of the Ramachandran map), I expect it to either stay where it was before or snap to the closest allowed position to where I dragged it. But I am not sure if the latter would be useful and thus would prefer the former.

bkoep Staff Lv 1

Thanks for the bug report! This definitely isn't supposed to happen, but it should be an easy bug to track down!