Bruno Kestemont Lv 1
Crashing on Linux and Windows when running Ideal SS on end segments.
Crashing on Linux and Windows when running Ideal SS on end segments.
Debug file in annex
ERROR: asymmetry introduced by ActionIdealizeSS
and the full log in annexe
Same here. It doesn't crash everytime I use ideal SS.
It might do the first one ok then crash the second time.
Windows 10 preview
Intel duo-core.
Indeed, for me SS crashes 30% of the times (on end segments). I can repeat it and share it to the team if needed.
Yes, please share!
We're still having a hard time tracking the source of this bug. If you have a set of simple steps to reproduce the crash (even 30% of the time), that would be really helpful—especially if there is just one or two steps involved!
Here are the steps to reproduce:
The client crashes on step 13. Log.txt and debug.txt attached.
I did these steps manually.
Alternately, do steps 1-3. Open a blank recipe (via recipe editor -> new (ScriptV2)) and insert this code:
selection.SelectRange ( 2, 25 ) selection.SelectRange ( 29, 52 ) selection.SelectRange ( 56, 79 )
Run the recipe. Then, manually mark the selected segments as helix (l,k) and idealize SS (5). The client crashes.
A little slower, but the following version also works:
selection.SelectRange ( 2, 25 )
selection.SelectRange ( 29, 52 )
selection.SelectRange ( 56, 79 )
for ii = 1, structure.GetCount () do
if selection.IsSelected ( ii ) then
structure.SetSecondaryStructure ( ii, "H" )
end
end
Again, run the recipe. The client crashes when you manually idealize SS (5).
I also shared two solutions, "step0" and "step3". "step0" has first helix built, crashes reliably when you build the second and idealize, then build the third and idealize (basically, start at step 8 above). You can also use either recipe fragment to produce the crash.
"step3" has the first two helixes complete and the third marked. It sometimes crashes when you select and idealize the third. Loading the solution, then restarting the client seems to work best, but it's hit and miss. Using either version of the recipe seems to make it a reliable crash, however.
Just for reference, here's the structure in print protein/SS edit format and segment ranges:
LHHHHHHHHHHHHHHHHHHHHHHHHLLLHHHHHHHHHHHHHHHHHHHHHHHHLLLHHHHHHHHHHHHHHHHHHHHHHHHL 2-25 29-52 56-79
Alternate 3, for Lua fans.
The client crashes.
rtable = {
{ 2, 25, },
{ 29, 52, },
{ 56, 79, },
}
selection.DeselectAll ()
for rr = 1, #rtable do
selection.SelectRange ( rtable [ rr ] [ 1 ], rtable [ rr ] [ 2 ] )
for ii = rtable [ rr ] [ 1 ], rtable [ rr ] [ 2 ] do
structure.SetSecondaryStructure ( ii, "H" )
end
end
It seems like having only some segments selected is key.
If you do alternate 3 above, but then select all (ctrl + a) before Idealize SS, all is well.
But even if you manually select the loops between the helixes, leaving only 1 and 80 deselected, Idealize SS still causes a crash.
Edit: after running the alternate 3 recipe, manually add 1 and 80 to the selection, but leave the loops between the helixes unselected. Idealize SS does not crash.
Pure play, no recipe:
Respawn time again.