FS#25458 - [eclipse] Crash because of librsvg
Attached to Project:
Arch Linux
Opened by Juergen Fickel (Steinpfeffer) - Monday, 08 August 2011, 15:00 GMT
Last edited by Ionut Biru (wonder) - Monday, 27 February 2012, 17:56 GMT
Opened by Juergen Fickel (Steinpfeffer) - Monday, 08 August 2011, 15:00 GMT
Last edited by Ionut Biru (wonder) - Monday, 27 February 2012, 17:56 GMT
|
Details
Description:
While working with Eclipse it crashes with following message: "/opt/java/bin/java: symbol lookup error: /usr/lib/librsvg-2.so.2: undefined symbol: gdk_pixbuf_new_from_data" The crashes happen randomly but only after user action like checking for updates. Additional info: * package version(s) eclipse 3.7 jdk 7-3 jre 7-3 kde 4.7 librsvg 2.34.0- * config and/or log files etc. Message after crash attached. Steps to reproduce: Try to open "SVN Repository" view or try to look for updates. |
This task depends upon
Closed by Ionut Biru (wonder)
Monday, 27 February 2012, 17:56 GMT
Reason for closing: Works for me
Additional comments about closing: please open a new bug if is still available in 3.7.2
Monday, 27 February 2012, 17:56 GMT
Reason for closing: Works for me
Additional comments about closing: please open a new bug if is still available in 3.7.2
I guess either downgrade eclipse or somehow upgrade to a newer version of GTK? As far as I can tell the newest version in the package manager is 2.24.5-3.
Note that librsvg was updated yesterday.
Could not reproduce this any more in the Android plugin file chooser dialog, where I had problems before. Thank you!
/usr/bin/java: symbol lookup error: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so: undefined symbol: gdk_pixbuf_new
Actually, I can't reproduce the bug either on my work machine. Both my home machine and my work machine have the same setup (Arch x64, similar software) and almost the same hardware. Still, at home eclipse crashes and at work I have no problem :-/
BTW, deleting libpixbufloader-jpeg.so fixes the crash problem. I guess eclipse falls then back on using an other loader.
Here's my setup (Arch up to date as of 15 mins before this comment):
- Arch x64
- Eclipse 3.7 64-bit from eclipse.org
- Java(TM) SE Runtime Environment (build 1.6.0_26-b03) 64-bit
- fake-java 1.0-3 (from AUR)
- gtk2 2.24.6-2
- lib32-gtk2 2.24.6-1
- gdk-pixbuf2 2.24.0-1
- lib32-gdk-pixbuf2 2.23.3-1
- librsvg 2.34.1-2
lddconfig -p looks ok to me, all 64-bit libs appear before their 32-bit counterparts.
Does comment #3 by @faffi matter here? It can't be that Arch's version of GTK+ is too old for Eclipse?? If Arch's is too old then any Linux distro should be.
Just tried a simple "File" - "Open file ..." and it instantly crashed with:
/opt/java/bin/java: symbol lookup error: /usr/lib/librsvg-2.so.2: undefined symbol: gdk_pixbuf_new_from_data
Then I reopened eclipse and it worked fine 10 times in a row.
Turned out I had to re-install cogl to gets its file correctly update and python-gobject2 too. On the forum, it appeared that this was a result of the "-f" option that "--sucre" is an alias for (among others).
I'm wondering, did any of you experiencing this lack of update use(d) "-f" with pacman or yaourt ?
Other question, is there a way to tell to pacman to re-install eclipse and all the things it depends upon, recursively? I think this would solve the problem, at least for me.
Anyways, i tried out of a hunch to remove librsvg. Afterwards i had no problems.
I dont know why or how, but eclipse doesnt crash anymore.
I hope this helps
/usr/share/eclipse/eclipse: symbol lookup error: /usr/lib/librsvg-2.so.2: undefined symbol: gdk_pixbuf_new_from_data
Other packages depend on the librsvg package, so I can't remove it.
starting eclipse
Window - Preferences - General - Web Browser - Search...
JVM terminated. Exit code=127
/opt/java/bin/java: symbol lookup error: /usr/lib/librsvg-2.so.2: undefined symbol: gdk_pixbuf_new_from_data
You can claim this over bank transfer (EU) or paypal (world). Only a single person can claim the bounty.
LD_PRELOAD=/usr/lib/libgdk_pixbuf-2.0.so eclipse
you get no crashes. Maybe eclipse should be packaged with a wrapper script that does this until it is fixed upstream.