JogAmp JOGL angelesgl2es1 applet fails to initialize using Hotspot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
Invalid
|
Medium
|
|||
icedtea-web (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
openjdk-7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
http://
This is a fully reproducible bug:
The http://
Tested on two different systems A and B with the same outcome thus I think we can rule out bugs in IcedTea-web and the ARM Thumb2 JIT, see below:
Testcase:
chromium-browser http://
or
firefox http://
System A:
OS: Ubuntu 12.10 32bit armhf
Machine: Toshiba AC100-10D
IcedTea-Version: 1.3
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
Chromium: 22.0.1229.94 (Developer Build 161065) Ubuntu 12.10
Runs OK using jamvm:
chromium-browser http://
...
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
NvRmPrivGetChip
Expected on kernels without Tegra3 support, using Tegra2
Loading GLESv2lib libGLESv2.so.2
Library for API 1 exposes function not wrapped: glPointSizePoin
class demos.es1.
class demos.es1.
AngelesGL: jogamp.
33 s: 300 f / 33790 ms, 8.8 fps, 112 ms/f; total: 300 f, 8.8 fps, 112 ms/f
66 s: 300 f / 32722 ms, 9.1 fps, 109 ms/f; total: 600 f, 9.0 fps, 110 ms/f
98 s: 300 f / 32422 ms, 9.2 fps, 108 ms/f; total: 900 f, 9.0 fps, 109 ms/f
111 s: 300 f / 12335 ms, 24.3 fps, 41 ms/f; total: 1200 f, 10.7 fps, 92 ms/f
117 s: 300 f / 5818 ms, 51.5 fps, 19 ms/f; total: 1500 f, 12.8 fps, 78 ms/f
Fails using Hotspot (armhf thumb2 jit):
chromium-browser http://
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
OpenJDK Zero VM (build 22.0-b10, mixed mode)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
[12:12:
Exception in thread "Applet" java.lang.
at com.jogamp.
at jogamp.
at com.jogamp.
at com.jogamp.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at java.lang.
at java.lang.
at net.sourceforge
at net.sourceforge
at net.sourceforge
Caused by: java.security.
at java.security.
at java.security.
at java.lang.
at net.sourceforge
at java.lang.
at com.jogamp.
at com.jogamp.
at java.security.
at com.jogamp.
at com.jogamp.
... 13 more
java.lang.
at net.sourceforge
at sun.applet.
at java.lang.
java.lang.
at sun.applet.
at java.lang.
[16:16:
[20:20:
System B:
Ubuntu 12.04 32bit IA32
Machine: Fujitsu ESPRIMO-P7935
IcedTea-Web Plugin (using IcedTea-Web 1.2 (1.2-2ubuntu1.2))
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.
Firefox 16.0.2
Runs OK using jamvm:
firefox http://
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.
JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching)
libEGL warning: failed to create a pipe screen for i965
class demos.es1.
class demos.es1.
AngelesGL: jogamp.
4 s: 300 f / 4990 ms, 60.1 fps, 16 ms/f; total: 300 f, 60.1 fps, 16 ms/f
Fails using Hotspot:
firefox http://
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.
OpenJDK Server VM (build 20.0-b12, mixed mode)
Exception in thread "Applet" java.lang.
at com.jogamp.
at jogamp.
at com.jogamp.
at com.jogamp.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at java.lang.
at java.lang.
at net.sourceforge
at net.sourceforge
at net.sourceforge
Caused by: java.security.
at java.security.
at java.security.
at java.lang.
at net.sourceforge
at java.lang.
at com.jogamp.
at com.jogamp.
at java.security.
at com.jogamp.
at com.jogamp.
... 13 more
java.lang.
at net.sourceforge
at sun.applet.
at java.lang.
java.lang.
at sun.applet.
at java.lang.
Changed in openjdk: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in openjdk: | |
status: | Confirmed → Invalid |
This is a fully reproducible bug: jogamp. org/deployment/ jogamp- current/ jogl-demos/ jogl-newt- applet- runner- angelesgl2es1. html applet fails to initialize when using Hotspot, it runs fine using JamVM thus i belive the root cause is inside the OpenJDK Hotspot JVM.
The http://
Tested on two different systems A and B with the same outcome thus I think we can rule out bugs in IcedTea-web and the ARM Thumb2 JIT, see below:
Testcase: jogamp. org/deployment/ jogamp- current/ jogl-demos/ jogl-newt- applet- runner- angelesgl2es1. html jogamp. org/deployment/ jogamp- current/ jogl-demos/ jogl-newt- applet- runner- angelesgl2es1. html
chromium-browser http://
or
firefox http://
System A: 3.2a-1ubuntu1)
OS: Ubuntu 12.10 32bit armhf
Machine: Toshiba AC100-10D
IcedTea-Version: 1.3
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
Chromium: 22.0.1229.94 (Developer Build 161065) Ubuntu 12.10
Runs OK using jamvm: jogamp. org/deployment/ jogamp- current/ jogl-demos/ jogl-newt- applet- runner- angelesgl2es1. html 3.2a-1ubuntu1) IdStub: Could not read Tegra chip id/rev terOES angeles. AngelesGL has no 'window' field angeles. AngelesGL has no 'glWindow' field opengl. es1.GLES1Impl@ 41679930
chromium-browser http://
...
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
NvRmPrivGetChip
Expected on kernels without Tegra3 support, using Tegra2
Loading GLESv2lib libGLESv2.so.2
Library for API 1 exposes function not wrapped: glPointSizePoin
class demos.es1.
class demos.es1.
AngelesGL: jogamp.
33 s: 300 f / 33790 ms, 8.8 fps, 112 ms/f; total: 300 f, 8.8 fps, 112 ms/f
66 s: 300 f / 32722 ms, 9.1 fps, 109 ms/f; total: 600 f, 9.0 fps, 110 ms/f
98 s: 300 f / 32422 ms, 9.2 fps, 108 ms/f; total: 900 f, 9.0 fps, 109 ms/f
111 s: 300 f / 12335 ms, 24.3 fps, 41 ms/f; total: 1200 f, 10.7 fps, 92 ms/f
117 s: 300 f / 5818 ms, 51.5 fps, 19 ms/f; total: 1500 f, 12.8 fps, 78 ms/f
Fails using Hotspot (armhf thumb2 jit): jogamp. org/deployment/ jogamp- current/ jogl-demos/ jogl-newt- applet- runner- angelesgl2es1. html 3.2a-1ubuntu1) 7511309852: ERROR:nss_ util.cc( 452)] Error initializing NSS without a persistent database: libsoftokn3.so: cannot open shared object file: Permission denied ExceptionInInit ializerError common. util.PropertyAc cess.addTrusted Prefix( PropertyAccess. java:52) newt.Debug. <clinit> (Debug. java:52) newt.awt. applet. JOGLNewtAppletB ase.<clinit> (JOGLNewtApplet Base.java: 58) newt.awt. applet. JOGLNewtApplet1 Run.<clinit> (JOGLNewtApplet 1Run.java: 95) NativeConstruct orAccessorImpl. newInstance0( Native Method) NativeConstruct orAccessorImpl. newInstance( NativeConstruct orAccessorImpl. java:57) DelegatingConst ructorAccessorI mpl.newInstance (DelegatingCons tructorA. ..
chromium-browser http://
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
OpenJDK Zero VM (build 22.0-b10, mixed mode)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
[12:12:
Exception in thread "Applet" java.lang.
at com.jogamp.
at jogamp.
at com.jogamp.
at com.jogamp.
at sun.reflect.
at sun.reflect.
at sun.reflect.