Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Eclipse hanging on OS X
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom Davies  
View profile  
 More options Jul 16 2007, 10:10 pm
From: Tom Davies <tgdav...@gmail.com>
Date: Mon, 16 Jul 2007 19:10:48 -0700
Local: Mon, Jul 16 2007 10:10 pm
Subject: Eclipse hanging on OS X
I've found another hang on OS X -- but fortunately I have a solution
for this one.

The stack trace is this:

"Worker-3" prio=5 tid=0x0113cec0 nid=0x19cb600 runnable
[0xb092d000..0xb092ed10]
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        - locked <0x24bb44b8> (a java.util.Vector)
        - locked <0x24bb44d0> (a java.util.Vector)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        - locked <0x24bb3800> (a java.lang.Runtime)
        at java.lang.System.loadLibrary(System.java:992)
        at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
        at java.awt.Color.<clinit>(Color.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at
org.openquark.cal.eclipse.core.CALEclipseCorePlugin.start(CALEclipseCorePlu gin.java:
107)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl
$2.run(BundleContextImpl.java:999)
...

it looks like a manifestation of this problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67384#c29

I fixed it by defining the system property apple.awt.usingSWT as true
-- see https://bugs.eclipse.org/bugs/show_bug.cgi?id=67384#c127

Tom


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Davies  
View profile  
 More options Jul 16 2007, 11:42 pm
From: Tom Davies <tgdav...@gmail.com>
Date: Mon, 16 Jul 2007 20:42:42 -0700
Local: Mon, Jul 16 2007 11:42 pm
Subject: Re: Eclipse hanging on OS X
Oops -- I thought my previous post hadn't turned up -- and I shouldn't
say 'another' hang, as as far I can tell 1.5.0 fixes the problem I had
before.

Tom


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edward  
View profile  
 More options Jul 17 2007, 1:28 pm
From: Edward <edward....@gmail.com>
Date: Tue, 17 Jul 2007 17:28:24 -0000
Local: Tues, Jul 17 2007 1:28 pm
Subject: Re: Eclipse hanging on OS X
Hi Tom,

Just to make sure -- are you still having the problem with 1.5.0?
... and if not, are you having to do anything special (such as
defining system properties) to work around the problem?

Thanks,
- Edward


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Davies  
View profile  
 More options Jul 17 2007, 6:55 pm
From: Tom Davies <tgdav...@gmail.com>
Date: Tue, 17 Jul 2007 15:55:51 -0700
Local: Tues, Jul 17 2007 6:55 pm
Subject: Re: Eclipse hanging on OS X
Hi Edward,

There were two problems -- the one I originally reported had the
symptom that a timeout was reported in the log file. This hasn't
happened to me on 1.5.0. The second problem has the symptom that a
thread dump shows loadLibrary hanging while initialising awt, in
response to a Color instance being created. I've only seen this on
1.5.0.

To fix the second problem I added the line:
-Dapple.awt.usingSWT=true
to the end of the file /Applications/eclipse/Eclipse.app/Contents/
MacOS/eclipse.ini

My Java version is:
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

Regards,
  Tom


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edward  
View profile  
 More options Jul 18 2007, 1:27 pm
From: Edward <edward....@gmail.com>
Date: Wed, 18 Jul 2007 17:27:06 -0000
Local: Wed, Jul 18 2007 1:27 pm
Subject: Re: Eclipse hanging on OS X
Hi Tom,
Thanks very much for the info.
We have a change in now which sets the system property
programatically, so hopefully others using Mac won't be needing to set
their own system properties when getting started in Eclipse.

Thanks,
- Edward


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google