Bug: remove bands during wiggle crash still present

Case number:845829-798360
Topic:Crash/Hang
Opened by:jas0501
Status:Closed
Type:Bug
Opened on:Saturday, January 3, 2009 - 19:00
Last modified:Sunday, June 5, 2011 - 12:58

The latest release still contains an ungraceful crash when removing bands during wiggle. The program just ends.

(Sat, 01/03/2009 - 19:00  |  14 comments)


admin's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 11/10/2007
Groups: vi users
Status: Open » Open

We have never found a way to reliably reproduce this. If someone can help us with that, please do.

Joined: 10/19/2008
Groups: Oma Gawd

It would help if we knew how the keyboard command is parsed by the program. Debugging the problem is difficult from the gamer perspective, specifically because of the inconsistent nature of the problem.

Q1) Is polling used to accept keyboard input or is it interrupt driven?

Q2) When the call is made to remove the band, how is the wiggle function suspended during the removal?. Is it sequential in nature, ie, is the interpolation for the 0th thru Nth terms completed prior to execution of the band removal, or is the function immediate, asynchronous, it splits a full iteration into two parts, pre-removal and post?

If the second case, where the removal is asynchronous, this may be the problem, as a divide by zero or similar may be encountered on the following iteration due to a possible unexpected discontinuity at or near the transition index, and if unhandled could cause problems,or possibly, on second thought, the pointer to the indexing may be lost due to breaking the "chain" in midstride.

I'm just not sure how you're doing things, so it's kinda difficult to judge.

I hope this has some sense to it for you.

Keep the dialog open. if we can get more info on the methods you use, we can put all of our brains together and solve it

Joined: 10/19/2008
Groups: Oma Gawd

How long in units of seconds does a full iteration (0th thru Nth term) take to complete?  To qualify the question, how long does it take for a 120 residue protein?

Brick's picture
User offline. Last seen 44 weeks 6 days ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

What OS are you using to try to reproduce this?

It's pretty much easy to do in Windows XP.

Joined: 12/08/2008
Groups: None

An intermittent bug can't be diagnosed to find a specific sequence that causes it. That said it occurs often when I type
W -> R -> W
with bands present. The may intersect with the fact that key events are not handled properly. Sometime they are lost.

As an alternative to finding the bug the why not change the implementation of the "R" key during a wiggle to do
Stop
Remove
Wiggle.

As it is, the successful remove of the band does not immediately take effect, either as a bug, or due to the queue of event not yet displayed.
The "R" key implementataion as Stop;Remove bands;Wiggle may also be close to what the uses desires.

admin's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 11/10/2007
Groups: vi users

We weren't able to reproduce it, not on Linux or Windows.

Brick's picture
User offline. Last seen 44 weeks 6 days ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

I can certainly reproduce it at will in WinXP

Is there some debug that can be turned on to capture more detailed info that what's in the error log?

admin's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 11/10/2007
Groups: vi users

Well, please try to post detailed steps for us to reproduce the bug. You can't debug the problem remotely, so just do your best in helping us reproduce it.

Brick's picture
User offline. Last seen 44 weeks 6 days ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

I'm not how many more ways we can describe this.

Throw on some bands, press 'W', wait for the wiggle to slow down, press "R"

BAM - crash to desktop. I just did it 3 times in 5 minutes.

admin's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 11/10/2007
Groups: vi users

None of us is able to reproduce it just based on that. We have tried, repeatedly.

What I mean by detailed is: name a specific puzzle; then starting with the base structure define as closely as you can where you pull, where you put bands, when you hit W, how long you wait after that (either seconds, or better, in terms of how the structure changes) before hitting R.

Brick's picture
User offline. Last seen 44 weeks 6 days ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

First time into puzzle 121

shake
wiggle
shake
wiggle 
score is up to 9804
apply 5 bands between the two center sheets
start wiggle - score up to about 9870
'R'
CRASH to desktop

admin's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 11/10/2007
Groups: vi users
Topic: Game: Other » Crash/Hang
Status: Open » Open

Thanks, that was helpful. We tried it and it worked once out of four times, so that's at least something to go on. We're currently still looking into it.

Joined: 05/26/2008
Groups: Hold My Beer

Don't know if it helps or not since I cannot pinpoint a specific time, but I've seen a couple times it also crashes if you grab the end of a band and try to move the anchor point while it's wiggling.

It's something I try not to get into the habit of doing, so I don't know how often it occurs in the grand scheme of things.

Joined: 06/17/2010
Status: Open » Closed

Client updated, no more reports. Closing.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons