Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris 10)Until I Logout and Log Back in
I have a Java Jdesktop GUI created in Netbeans 7.0.1 and the target architecture in sun4u/sun4v with Solaris 10 and CDE when I attempt to run it for the first time after installing it with pkgadd it crashes:
pkgadd -d myAppPkg
java -jar myApp.jar
Segmentation Fault - core dumped
If I log out and log in, the problem goes away and I can launch the Jar just fine and the GUI appears.
Re: Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris10) Until I Logout and Log Back in
Anything I might try to keep it from faulting?
Re: Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris 10) Until I Logout and Log Back in
On Mon, 16 Apr 2012 13:56:58 -0700 (PDT), Brian Jester
<email@example.com> wrote, quoted or indirectly quoted someone who
>Anything I might try to keep it from faulting?
If you have threads:
1. try to replace anything you can with java.util.concurrent library
2. go through any threading code line by line imagining some other
thread like a jittery puppy trying to interfere.
3. remove the threading and add it back a little at a time.
4. run the code in a debugger. It may tell you more about where the
trouble is happening.
Roedy Green Canadian Mind Products
Programmers love to create simplified replacements for HTML.
They forget that the simplest language is the one you
already know. They also forget that their simple little
markup language will bit by bit become even more convoluted
and complicated than HTML because of the unplanned way it grows.
|All times are GMT. The time now is 06:59 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.