View Single Post
Old 10-18-07, 01:53 PM   #8
rogene
Registered User
 
Join Date: Oct 2007
Posts: 9
Default Re: Segfault in Firefox (GeForce 7600, Linux 2.6.9, JOGL)

Steps to reproduce the problem:
1) Point browser to URL of web page that contains a JOGL applet
2) Browser crashes
3) Repeat

Try this - Download the NASA Worldwind Java SDK here:
http://worldwind.arc.nasa.gov/java/index.html

In the directory <installbase>/Worldwind/src/gov/nasa/worldwind/examples/applet is an html file named index_applet.html

Per a discussion on the Worldwind and JOGL forums, you will want to make the following replacement (cut & paste). All this does is make certain that you are getting the latest, stable releases from Sun.

Code:
 <applet id="wwjApplet" name="wwjApplet" mayscript code="org.jdesktop.applet.util.JNLPAppletLauncher" width=100% height=70%
      archive="http://download.java.net/media/applet-launcher/applet-launcher.jar, http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar, http://download.java.net/media/gluegen/webstart/gluegen-rt.jar, worldwind.jar">
   <param name="codebase_lookup" value="false">
   <param name="subapplet.classname" value="gov.nasa.worldwind.examples.applet.WWJApplet">
   <param name="subapplet.displayname" value="WWJ Applet">
   <param name="noddraw.check" value="true">
   <param name="progressbar" value="true">
   <param name="jnlpNumExtensions" value="1">
   <param name="jnlpExtension1" value="http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1-rc5/webstart/jogl.jnlp">
 </applet>
NASA forgot to sign this release of their applet so you will need to do a quick jarsign to allow it to run in the browser.

Place index_applet.html and worldwind.jar in the same directory under a web server.

Then... try to open index_applet.html and... Boom! Not even time to get any useful error messages out of the java console.

My bigger concern is that the problem is *not* my installation, but perhaps some incompatibility between JOGL and this driver that would impact end users. No one goes back to a web site that just crashed their browser.. know what I mean?

Please let me know whatever I need to send or try to get to the source of the problem. I can even post my signed version of the jar file and the edited html file.

Thanks
rogene is offline   Reply With Quote