Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris 10)Until I Logout and Log Back in

B

brianjester

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

I get:

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.

Any ideas?

Thank you,

Brian
 
R

Roedy Green

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
code.

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
http://mindprod.com
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.
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top