java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse

java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse

Post by vaclav.kad » Sun, 29 Jan 2006 23:10:42



reeBSD nbvk 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #2: Thu Jan 26 08:45:24 CET 2006 root@nbvk:/usr/obj/usr/src/sys/NBVK i386
The patchset p8 broke comaptibility with eclipse:

java: jdk-1.4.2p8_2, eclipse: eclipse-3.1.1_3

When starting eclipse, it crashes with an error window: "JVM terminated. Exit code=1 /usr/local/bin/java (...edited...)" and an error log file hs_err_pidNNN.log:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x286DCF57
Function=inflate_fast+0x17
Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so

Current Java thread:
at org.eclipse.swt.internal.gtk.OS._pango_context_list_families(Native Method)
(...edited...)
Dynamic libraries:
(...edited...)
0x286cd000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
(...edited...)
0x42d15000 /lib/libz.so.3
(...edited...)
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-root_28_jan_2006_08_37 mixed mode)

I looked at Changelog in bsd-jdk14-patches-8.tar.gz and found:
2005-12-08 Thursday 05:48 glewis
(...edited...)
"Privatise" the symbols in libzip.so to avoid conflicting with those
in the systems libz.so. This conflict broke applications such as
Eclipse which is linked with libz.so (via gtk+ I believe).

I'm afraid *this* change broke Eclipse...
Build java/jdk14 and java/eclipse from ports and run eclipse.
Just a workaround: I uninstalled jdk-1.4.2p8_2 and installed jdk-1.4.2p7_2. (I usually run portupgrade with '-b'.)
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "