Toggling view the input bar causes massive CPU load / hang
Running GeoGebra (system info below) on a MacBook Pro, OSX 10.10.5
Java version: having just installed the most recent version from java.com (version 8u60), java -version reports
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4828a)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
Steps of how to reproduce the bug:
I open GeoGebra, open the attached file, select View -> Input bar four or five times; each time takes longer to respond and the CPU load rises more on each successive time. Doing it enough times causes GeoGebra to effectively hang. It is not a memory problem, as I have plenty of RAM and the memory load never rises significantly (using Activity Monitor).
ggb file showing the problem attached.
No clue what the cause is, sorry. Any ideas gratefully appreciated!
Thanks,
Julian
GeoGebra system information:
- GeoGebra 5.0.140.0-3D (14 August 2015)
Java: 1.8.0_20
Codebase: file:/Applications/GeoGebra%205.app/Contents/Resources/Java/geogebra.jar
OS: Mac OS X
Architecture: x86_64 / null
Heap: 910MB
CAS: CAS Initialising
GeoGebraLogger log:
15:29:43.277 INFO: org.geogebra.desktop.i.a.b[-1]: GeoGebra 5.0.140.0 14 August 2015 Java 1.8.0_20-64bit
15:29:43.278 DEBUG: org.geogebra.desktop.geogebra3D.a.<init>[-1]: isApplet=false runningFromJar=false appletImpl=null
15:29:43.278 DEBUG: org.geogebra.desktop.geogebra3D.a.<init>[-1]: Not setting up logging via LogManager
15:29:44.088 DEBUG: org.geogebra.common.l.r.a[-1]: Number of registered views = 1
* class org.geogebra.desktop.geogebra3D.b.b
15:29:44.193 DEBUG: org.geogebra.desktop.i.a.<init>[-1]: Waiting for the initialization: 0
15:29:44.193 DEBUG: java.lang.Thread.run[745]: Thread[compute,5,main] running
15:29:44.194 DEBUG: org.geogebra.common.m.f.p[-1]: SingularWS connection disabled by command line option
15:29:44.194 INFO: org.geogebra.common.m.f.p[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)
15:29:44.253 DEBUG: org.geogebra.desktop.gui.h.q.<init>[-1]: CAS support: true
15:29:44.397 DEBUG: org.geogebra.desktop.f.b.a[-1]: MACROfalse
15:29:44.793 DEBUG: org.geogebra.common.l.r.a[-1]: Number of registered views = 2
* class org.geogebra.desktop.geogebra3D.b.b
* class org.geogebra.desktop.geogebra3D.e.c.a.a
15:29:44.819 DEBUG: org.geogebra.common.l.r.a[-1]: Number of registered views = 3
* class org.geogebra.desktop.geogebra3D.b.b
* class org.geogebra.desktop.geogebra3D.e.c.a.a
* class org.geogebra.common.plugin.b
15:29:44.820 WARN: org.geogebra.desktop.i.a.p[-1]: Option versionCheckAllow not recognized :
15:29:44.820 INFO: org.geogebra.desktop.i.u.a[-1]: No system preferences
15:29:45.706 DEBUG: org.geogebra.desktop.gui.R.a[-1]: update menu
15:29:46.082 DEBUG: org.geogebra.desktop.b.a.g.a[-1]: possible missing release()
15:29:46.866 DEBUG: org.geogebra.desktop.gui.a.a$a.run[-1]: Checking version
15:29:46.866 DEBUG: org.geogebra.desktop.gui.a.a$a.run[-1]: major version check needed: no check was done yet
15:29:47.454 DEBUG: org.geogebra.desktop.gui.a.a$a.run[-1]: current=5000140000 newest=5000000000
15:29:47.607 DEBUG: org.geogebra.desktop.gui.a.a$a.run[-1]: newest_minor=5000146000
GGB file content:
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.140.0" id="7d7eca43-627b-4e69-80b2-adadb5c8bd5f" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >
<gui>
<window width="800" height="600" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.25" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="100,100,700,550" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1,1,1" size="500" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="580" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="false" location="3" size="200" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="70" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 39 | 1 501 67 , 5 19 , 72 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="12"/>
<graphicsSettings javaLatexFonts="false"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="580" height="473"/>
<coordSystem xZero="215.0" yZero="314.99999999999994" scale="50.0" yscale="49.99999999999999"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
</construction>
</geogebra>
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.140.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggt...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >
</geogebra>
LibraryJavaScript:
Preferences:
<?xml version="1.0" encoding="utf-8"?><geogebra format="5.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; ><gui><window width="800" height="600" /><settings ignoreDocument="false" showTitleBar="true" /><labelingStyle val="0"/><mouse reverseWheel="true"/><font size="12"/><menuFont size="-1"/><tooltipSettings language="" timeout="0"/><graphicsSettings javaLatexFonts="false"/></gui><euclidianView><size width="640" height="480"/><coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/><evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="2" checkboxSize="26" gridType="0"/><bgColor r="255" g="255" b="255"/><axesColor r="0" g="0" b="0"/><gridColor r="192" g="192" b="192"/><lineStyle axes="1" grid="0"/><axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/><axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/></euclidianView><kernel><continuous val="false"/><decimals val="2"/><angleUnit val="degree"/><algebraStyle val="0"/><coordStyle val="0"/><localization digits="false" labels="true"/><angleFromInvTrig val="false"/><casSettings timeout="5" expRoots="true"/></kernel><scripting blocked="false"/></geogebra>
Comments have been locked on this page!