Well, good news and bad news. The good news is that I can identify the
situation that causes this bug. The bad news is that it is (specifically, I
think) a Safari 7.0 bug totally out of our control. Something VERY odd is
happening in this system that does depend upon timing. So, for example,
just adding console debugging messages to the process prevents the problem.
Here are two runs on the same Mac with two different comment sets, tracking
when variables are defined:

setb setting testflag3 to false 0.27491440204903483
setb setting testflag4 to undefined 0.27491440204903483
setb setting tracealpha to undefined 0.27491440204903483
setb setting translucent to undefined 0.27491440204903483
setb setting twistedsheets to undefined 0.27491440204903483
setb setting usearcball to undefined 0.27491440204903483
setb setting useminimizationthread to undefined 0.27491440204903483



setb OK
setb setting testflag3 to false 0.11562557681463659
setb OK
setb setting testflag4 to false 0.11562557681463659
setb OK
setb setting tracealpha to true 0.11562557681463659
setb OK
setb setting translucent to true 0.11562557681463659
setb OK
setb setting twistedsheets to false 0.11562557681463659
setb OK
setb setting usearcball to undefined 0.11562557681463659
setb OK
setb setting useminimizationthread to undefined 0.11562557681463659
setb OK

Notice that the "undefined" start at different points. And if there are no
comments, the undefined start earlier.

Amazingly, what is between the "undefined" and the OK lines is a call that
REQUIRES the variable to be defined -- thus the original error, BUT these
are not throwing that error now! Huh? you say? Impossible? Right. One would
think that.

So this is about all I'm going to do on this now. No real solution and no
work-around. I don't know what the solution is. But I bet this page works
now that the comments are in. Right, Nick?
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to