Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.

$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164

Segmentation fault

However, it runs successfully as the super user

$ sudo ./eclipse
Password:

This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.

Any ideas?
Thanks

like image 267
Miles Avatar asked Nov 14 '22 08:11

Miles


1 Answers

Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.

In my case, I got this error trying to start Eclipse

Segmentation fault: 11

.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.

like image 78
Gene Bo Avatar answered Nov 16 '22 03:11

Gene Bo