Applet Hangs in JRE 1.7.0_04

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Applet Hangs in JRE 1.7.0_04

Travis
I'm experiencing a program freeze with an applet I'm working on; the program simply hangs shortly after a GLCanvas objects is instantiated.  I'm only seeing this when I use a Java 7 JRE.  I'm using Windows 7 64-bit, with 1.7.0_04-b22 Java HotSpot(TM) Client VM for my JRE.  I tried using an older version of JOGL (version 2.0), and I didn't see this behavior.

Has anyone experienced a similar problem?  To reiterated, this only happens when using Java version 7 JRE (oracle) and JOGL > 2.0 (I'm using the latest version, rc8, but also saw it in rc5).
Reply | Threaded
Open this post in threaded view
|

Re: Applet Hangs in JRE 1.7.0_04

Sven Gothel
Administrator
On 05/22/2012 03:25 PM, Travis [via jogamp] wrote:
> I'm experiencing a program freeze with an applet I'm working on; the program
> simply hangs shortly after a GLCanvas objects is instantiated.  I'm only
> seeing this when I use a Java 7 JRE.  I'm using Windows 7 64-bit, with
> 1.7.0_04-b22 Java HotSpot(TM) Client VM for my JRE.  
Thank you for your bug report.

Does this happen with any of the Applets of our Applet page:
  <http://jogamp.org/deployment/jogamp-current/jogl-test-applets.html>
or
  <http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears.html>
  <http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears-launcheronly.html>
?

> I tried using an older
> version of JOGL (version 2.0), and I didn't see this behavior.
Can you be specific about the last working JOGL version ?

>
> Has anyone experienced a similar problem?  To reiterated, this only happens
> when using Java version 7 JRE (oracle) and JOGL > 2.0 (I'm using the latest
> version, rc8, but also saw it in rc5).

So RC8 and RC5 are bugged .. ok.

Note: All Jogamp released versions so far are pre 2.0 status,
      RC stands for release candidate. It's more a matter of taste
      to only reach 2.0 when we are really really satisfied w/ results :)
      We still consider RC versions quite stable.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Applet Hangs in JRE 1.7.0_04

Travis
I am seeing it periodically (more than 50% of the time) when trying to launch the applet here:

http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears-launcheronly.html

The other gears link seems to be working.


To recap the jogl versions I've used for my own applet:

2.0-rc2: working fine.
2.0-rc5: observing hangs more than 50% of the time on startup
2.0-rc8: observing hangs more than 50% of the time on startup

Reply | Threaded
Open this post in threaded view
|

Re: Applet Hangs in JRE 1.7.0_04

Sven Gothel
Administrator
On 05/22/2012 08:31 PM, Travis [via jogamp] wrote:

> I am seeing it periodically (more than 50% of the time) when trying to launch
> the applet here:
>
> http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears-launcheronly.html
>
> The other gears link seems to be working.
>
>
> To recap the jogl versions I've used for my own applet:
>
> 2.0-rc2: working fine.
> 2.0-rc5: observing hangs more than 50% of the time on startup
> 2.0-rc8: observing hangs more than 50% of the time on startup
>

Thank you for your data.

I will look into this regression next week.

Good to know that the JNLP Applet version,
the other gears link, is working properly.

+++

Q: Is your internet connection stable and does not drop off ?

One reason why the JNLP Applet works all the time might be the fact
that we explicitly tag the update check to run in the background.
This implies that the applet is being started immediately if
all jnlp and jar files are being cached. They may get updated while the
Applet/JVM is running.

I have experienced this behavior w/ poor network connection as well ..

+++

Note that the 'applet launcher' version is deprecated
and you may use the 'NApplet' variant as advertised
in the 'jogl test applets' page. Are the 'NApplet'
variants working properly for you ?

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Applet Hangs in JRE 1.7.0_04

Travis
> Q: Is your internet connection stable and does not drop off ?

My connection is stable as far as I know; I haven't noticed disconnections in any other apps on my machine.

> Are the 'NApplet'
variants working properly for you ?

It looks like the NApplet versions are working.  Are all the demo version using the same JOGL version?
If they are, then I guess only the deprecated 'applet launcher' versions are affected by this issue.

Thanks for helping with this :)
Reply | Threaded
Open this post in threaded view
|

Re: Applet Hangs in JRE 1.7.0_04

Sven Gothel
Administrator
On 05/23/2012 12:15 AM, Travis [via jogamp] wrote:

>> Q: Is your internet connection stable and does not drop off ?
>
> My connection is stable as far as I know; I haven't noticed disconnections in
> any other apps on my machine.
>
>> Are the 'NApplet'
> variants working properly for you ?
>
> It looks like the NApplet versions are working.  Are all the demo version
> using the same JOGL version?
> If they are, then I guess only the deprecated 'applet launcher' versions are
> affected by this issue.

Same JOGL version, yes.

>
> Thanks for helping with this :)

Good to know the 'regular' launching methods work out well.
However, I will validate this in a few days as well.

~Sven