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

Discussion in 'Java' started by brianjester@gmail.com, Apr 12, 2012.

  1. Guest

    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
    , Apr 12, 2012
    #1
    1. Advertising

  2. Brian Jester Guest

    Re: Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris10) Until I Logout and Log Back in

    Patricia,

    Anything I might try to keep it from faulting?

    Brian
    Brian Jester, Apr 16, 2012
    #2
    1. Advertising

  3. Roedy Green Guest

    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
    <> wrote, quoted or indirectly quoted someone who
    said :

    >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.
    ..
    Roedy Green, May 15, 2012
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dmE=?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    566
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  2. =?Utf-8?B?RFdT?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?RFdT?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    560
    =?Utf-8?B?RFdT?=
    Mar 26, 2006
  3. Replies:
    0
    Views:
    514
  4. John
    Replies:
    9
    Views:
    483
    Dan Pop
    Nov 10, 2003
  5. Replies:
    4
    Views:
    1,943
Loading...

Share This Page