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

java/92459: jdk-1.4.2p8_2 crashes in 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

Current Java thread:
at org.eclipse.swt.internal.gtk.OS._pango_context_list_families(Native Method)
Dynamic libraries:
0x286cd000 /usr/local/jdk1.4.2/jre/lib/i386/
0x42d15000 /lib/
# 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
"Privatise" the symbols in to avoid conflicting with those
in the systems This conflict broke applications such as
Eclipse which is linked with (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
To unsubscribe, send any mail to " XXXX@XXXXX.COM "