Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 12 Apr 2012 16:41:11 -0500 Date: Thu, 12 Apr 2012 14:41:13 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Java JDesktop GUI Segmentation Fault on first use in CDE (Solaris 10) Until I Logout and Log Back in References: <24045459.590.1334265511830.JavaMail.geo-discussion-forums@pbcpw7> In-Reply-To: <24045459.590.1334265511830.JavaMail.geo-discussion-forums@pbcpw7> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 20 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.201.141 X-Trace: sv3-rHQNeXHyuXnleBnwUQBjHotUQnfoldvOTpQLv0K0ysveFwLyZZAgCe6ZkrcijmGXA44fXrfTT2mPROf!MKBjenBY0d7iyFYgM0NHYOqmpnsBaHXqjR8qCiQuZdQa5hnJxno73MvRDSm9YXWBSrMoSE8ZGU7W!iOBV/eaoNZbhmQVHZKBV1AqJBko58Hi2TMOgMPFWa+kp/SQ= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1993 Xref: csiph.com comp.lang.java.programmer:13504 On 4/12/2012 2:18 PM, brianjester@gmail.com wrote: > 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? Perhaps it could be a multi-threading race condition. The different history could affect which operations are slowed down by page faults due to libraries not being in memory. Patricia