Weird Java3D crashes

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

Weird Java3D crashes

MrFreeze
Dear all,

I stumbled over a quite strange behaivour these days. Yesterday I noticed, that I could not start any Java3D project from within eclipse anymore; neither my software to visualize 3D medical data, nor a surface editor, nor a simple test program. What was even more odd: the programs did not crash, they just ended, when the first line of java3D code occured. As a minimal example:

import javax.media.j3d.VirtualUniverse;

public class HelloJava3D {
	public static void main(String[] args) {
	    try {
               System.out.println("yo1");
               String versionString = (String) VirtualUniverse.getProperties().get("j3d.version");
               System.out.println("yo2");
               System.out.println("versionString " +versionString); 
	    } catch (Throwable ex) {
	        System.err.println("Uncaught exception - " + ex.getMessage());
	        ex.printStackTrace(System.err);
	    }
	}
}

Just printed

yo1

and then ended without any error. After trying around for almost 24h now, it turned out that it was caused by the latest Nvidia Driver 378.49. When I noticed that all programs ended with exit code -1073807364, I could google it to  here and here. There is already a hotfix driver that solved it for me.

Just wanted to share this with you in case you have the same issues ... might save you some time.

MrFreeze

PS: Using 1.6.0 final btw
Reply | Threaded
Open this post in threaded view
|

Re: Weird Java3D crashes

philjord
Nice work, thanks for putting that info up on the forum.

It's always good to have a fix for a bug before you hit the bug itself :)