-
Bug
-
Resolution: Fixed
-
P2
-
fx1.3
-
MBP 2.53Ghz, 4GB RAM, 9400M/9600M GT, Mac OS X 10.5.7, JREs 5u19 and JRE6u13
A simple app that just shows a Stage and a Rectangle will segfault when attempting either a Stage.close() or FX.exit() to quit the app, and we get the standard "Report problem to Apple" dialog, stating the problem may have been caused by libnewt.jnilib.
I've attached an example test case, as well as the contents of the Report from the OS X error dialog.
This interferes with automated performance testing.
The console output is:
---
Initialized prism pipeline: ES2Pipeline
User screen size 0x0
Detected screen size 1400x1050
Hey, I'm initializing the PrismToolkit man!!
Linker message: WARNING: vertex shader writes varying 'texCoord0' which is not active.
WARNING: vertex shader writes varying 'texCoord1' which is not active.
Linker message: WARNING: vertex shader writes varying 'texCoord1' which is not active.
Invalid memory access of location 0x0 rip=0x7fff83ca8ad9
/soma/gfx/98/bin/javafx: line 189: 24139 Segmentation fault "$JAVA_CMD" "-Djava.library.path=/soma/gfx/98/bin/../lib/prism:/soma/gfx/98/bin/../lib/desktop" -XstartOnFirstThread -Dapple.awt.fakefullscreen=true -Djava.awt.headless=true -Djavafx.toolkit=com.sun.javafx.tk.prism.PrismToolkit -classpath 'dist/FXTests.jar:/soma/gfx/98/bin/../lib/shared/javafxrt.jar:/soma/gfx/98/bin/../lib/desktop/eula.jar:/soma/gfx/98/bin/../lib/desktop/javafx-anim.jar:/soma/gfx/98/bin/../lib/desktop/javafx-geom.jar:/soma/gfx/98/bin/../lib/desktop/javafx-iio-macosx.jar:/soma/gfx/98/bin/../lib/desktop/decora-runtime.jar:/soma/gfx/98/bin/../lib/desktop/decora-sse.jar:/soma/gfx/98/bin/../lib/desktop/decora-d3d.jar:/soma/gfx/98/bin/../lib/prism/decora-prism.jar:/soma/gfx/98/bin/../lib/prism/decora-prism-ps.jar:/soma/gfx/98/bin/../lib/prism/decora-prism-sw.jar:/soma/gfx/98/bin/../lib/prism/decora-es2.jar:/soma/gfx/98/bin/../lib/desktop/javafx-sg-common.jar:/soma/gfx/98/bin/../lib/prism/javafx-sg-prism.jar:/soma/gfx/98/bin/../lib/prism/jsaffron.jar:/soma/gfx/98/bin/../lib/prism/prism-common.jar:/soma/gfx/98/bin/../lib/prism/prism-ps.jar:/soma/gfx/98/bin/../lib/prism/prism-d3d.jar:/soma/gfx/98/bin/../lib/prism/prism-es1.jar:/soma/gfx/98/bin/../lib/prism/prism-es2.jar:/soma/gfx/98/bin/../lib/prism/newt.core.jar:/soma/gfx/98/bin/../lib/prism/nativewindow.core.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-common.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-controls.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-charts.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-desktop.jar:/soma/gfx/98/bin/../lib/prism/javafx-ui-prism.jar:/soma/gfx/98/bin/../lib/prism/jogl.all.jar:/soma/gfx/98/bin/../lib/prism/gluegen-rt.jar:/soma/gfx/98/bin/../lib/desktop/fxdloader.jar:/soma/gfx/98/bin/../lib/desktop/jmc.jar:/soma/gfx/98/bin/../lib/desktop/websvc.jar:/soma/gfx/98/bin/../lib/desktop/script-api.jar:/soma/gfx/98/bin/../lib/desktop/javafx-common.jar:/soma/gfx/98/bin/../lib/desktop/javafx-io.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d.jar:/soma/gfx/98/bin/../lib/desktop/decora-jsw.jar:/soma/gfx/98/bin/../lib/desktop/decora-sse.jar:/soma/gfx/98/bin/../lib/desktop/decora-d3d.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d-rsl.jar:/soma/gfx/98/bin/../lib/desktop/decora-ogl.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d-jogl.jar:/soma/gfx/98/bin/../lib/desktop/javafx-sg-swing.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-desktop.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-swing.jar:' com.sun.javafx.runtime.Main "dist/FXTests.jar"
---
I've attached an example test case, as well as the contents of the Report from the OS X error dialog.
This interferes with automated performance testing.
The console output is:
---
Initialized prism pipeline: ES2Pipeline
User screen size 0x0
Detected screen size 1400x1050
Hey, I'm initializing the PrismToolkit man!!
Linker message: WARNING: vertex shader writes varying 'texCoord0' which is not active.
WARNING: vertex shader writes varying 'texCoord1' which is not active.
Linker message: WARNING: vertex shader writes varying 'texCoord1' which is not active.
Invalid memory access of location 0x0 rip=0x7fff83ca8ad9
/soma/gfx/98/bin/javafx: line 189: 24139 Segmentation fault "$JAVA_CMD" "-Djava.library.path=/soma/gfx/98/bin/../lib/prism:/soma/gfx/98/bin/../lib/desktop" -XstartOnFirstThread -Dapple.awt.fakefullscreen=true -Djava.awt.headless=true -Djavafx.toolkit=com.sun.javafx.tk.prism.PrismToolkit -classpath 'dist/FXTests.jar:/soma/gfx/98/bin/../lib/shared/javafxrt.jar:/soma/gfx/98/bin/../lib/desktop/eula.jar:/soma/gfx/98/bin/../lib/desktop/javafx-anim.jar:/soma/gfx/98/bin/../lib/desktop/javafx-geom.jar:/soma/gfx/98/bin/../lib/desktop/javafx-iio-macosx.jar:/soma/gfx/98/bin/../lib/desktop/decora-runtime.jar:/soma/gfx/98/bin/../lib/desktop/decora-sse.jar:/soma/gfx/98/bin/../lib/desktop/decora-d3d.jar:/soma/gfx/98/bin/../lib/prism/decora-prism.jar:/soma/gfx/98/bin/../lib/prism/decora-prism-ps.jar:/soma/gfx/98/bin/../lib/prism/decora-prism-sw.jar:/soma/gfx/98/bin/../lib/prism/decora-es2.jar:/soma/gfx/98/bin/../lib/desktop/javafx-sg-common.jar:/soma/gfx/98/bin/../lib/prism/javafx-sg-prism.jar:/soma/gfx/98/bin/../lib/prism/jsaffron.jar:/soma/gfx/98/bin/../lib/prism/prism-common.jar:/soma/gfx/98/bin/../lib/prism/prism-ps.jar:/soma/gfx/98/bin/../lib/prism/prism-d3d.jar:/soma/gfx/98/bin/../lib/prism/prism-es1.jar:/soma/gfx/98/bin/../lib/prism/prism-es2.jar:/soma/gfx/98/bin/../lib/prism/newt.core.jar:/soma/gfx/98/bin/../lib/prism/nativewindow.core.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-common.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-controls.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-charts.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-desktop.jar:/soma/gfx/98/bin/../lib/prism/javafx-ui-prism.jar:/soma/gfx/98/bin/../lib/prism/jogl.all.jar:/soma/gfx/98/bin/../lib/prism/gluegen-rt.jar:/soma/gfx/98/bin/../lib/desktop/fxdloader.jar:/soma/gfx/98/bin/../lib/desktop/jmc.jar:/soma/gfx/98/bin/../lib/desktop/websvc.jar:/soma/gfx/98/bin/../lib/desktop/script-api.jar:/soma/gfx/98/bin/../lib/desktop/javafx-common.jar:/soma/gfx/98/bin/../lib/desktop/javafx-io.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d.jar:/soma/gfx/98/bin/../lib/desktop/decora-jsw.jar:/soma/gfx/98/bin/../lib/desktop/decora-sse.jar:/soma/gfx/98/bin/../lib/desktop/decora-d3d.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d-rsl.jar:/soma/gfx/98/bin/../lib/desktop/decora-ogl.jar:/soma/gfx/98/bin/../lib/desktop/decora-j2d-jogl.jar:/soma/gfx/98/bin/../lib/desktop/javafx-sg-swing.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-desktop.jar:/soma/gfx/98/bin/../lib/desktop/javafx-ui-swing.jar:' com.sun.javafx.runtime.Main "dist/FXTests.jar"
---