FS#10066 - eclipse freeze on code assist or create new workspace
Attached to Project:
Arch Linux
Opened by Josh Kropf (jiggak) - Wednesday, 02 April 2008, 23:04 GMT
Last edited by Greg (dolby) - Tuesday, 24 June 2008, 10:15 GMT
Opened by Josh Kropf (jiggak) - Wednesday, 02 April 2008, 23:04 GMT
Last edited by Greg (dolby) - Tuesday, 24 June 2008, 10:15 GMT
|
Details
Description:
Eclipse freezes when performing code assist (or accessing anything 'browser' related). Removing firefox (pacman -R firefox) seems to resolve the problem. Additional info: * eclipse 3.3.1 (extras package) or eclipse 3.3.2 from eclipse.org * firefox 2.0.0.13-1 * jre 6u5-1 Steps to reproduce: 1. Create a new workspace 2. Eclipse freezes before new workspace is finished being created OR 1. Open an existing workspace with a Java project. 2. Perform code assist (eg: type System. and hit <ctrl>+space) OR 1. Open an existing workspace. 1. Open Window->Preferences 2. Go to General->Web Browser preference page |
This task depends upon
http://bbs.archlinux.org/viewtopic.php?id=46443
anyone know the upstream cause? i googled on it, but wasn't able to find anything. i.e., is it an eclipse bug? a firefox bug?
I assume, then, that the old xulrunner will not break the new firefox?
Would love to figure out what's broken upstream with this. Maybe we need to file a bug on Firefox?
I noticed that package swt depends on it (xulrunner), I tried to recompile it from abs, upgrading to the lastest version (3.3.1.1) but it didn't solve it. Inside the PKGBUILD I noticed some lines referring to mozilla/xulrunner libs, but I don't have the knowledge to intervene there (if there's an actual error or change to be made)
Now i deinstalled, removed ~/.eclipse, installed again and choose another workspace, but eclipse doesn't work anymore. It freezes while showing the bootsplash. The only way i can start it is via jdb. When i close eclipse then the java process does not terminate.
I also tried removing firefox, but no changes.
So I've opened Eclipse bug #227792 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=227792) for this problem.
Code assist DOESN'T freezes when using a pydev perspective, but still freezes when accessing web browser preferences
I've tried all the other options, but only removing xulrunner prevents eclipse from freezing
export LD_LIBRARY_PATH=/opt/java/jre/lib/i386/client::/opt/java/jre/lib/i386
/opt/eclipse/eclipse
Besides, you aren't using a version from the repositories, right? It should be located in /usr/share/eclipse, at least mine is there.
I have found my solution: commenting /usr/lib/xulrunner in /etc/ld.conf and running ldconfig (as root)
I remember adding /usr/lib/xulrunner to ld.conf because the wikipedia plugin of gmpc-git couldn't find libgtkembedmoz.so so I added it.
Maybe it works for others too.
I have no firefox and I never have had it.
I dont know how resolve this problem. I have no time for it. I have to works on my program.
I'll follow up on the bug upstream at https://bugs.eclipse.org/bugs/show_bug.cgi?id=227792.
I can confirm that removing it (xulrunner) is my only solution.
if i run "/usr/share/eclipse/eclipse" it freezes on "ctrl+space"
but if i just type "eclipse" (from terminal / alt+f2 etc..) it works fine!
this is very strange, i changed "/usr/share/eclipse/eclipse" to "eclipse" on the menu icon and now everything works fine.
also i have this on my ~/.bashrc but i'm not sure it's related:
export PATH=/opt/java/bin:$PATH;
export JAVA_HOME="/opt/java";
export LIBXCB_ALLOW_SLOPPY_LOCK=true
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/java/jre/lib/i386/xawt/libmawt.so
also does the trick
1) pacman -S extra/xulrunner
2) Edit /etc/ld.so.conf, and put this line: /usr/lib/xulrunner-1.8.1.14 (in my case, version is 1.8.1.14)
3) Run ldconfig
This gives the eclipse find the library libxul.so
However, after upgrading to FF3.0 (and/or perhaps the xulrunner update as well) this now seems to be fixed. (w00t!)
Can anyone else confirm?