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

Vaclav Kadlcik vaclav.kadlcik at i.cz
Sat Jan 28 06:10:22 PST 2006


>Number:         92459
>Category:       java
>Synopsis:       jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 28 14:10:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vaclav Kadlcik
>Release:        6.0-RELEASE-p4
>Organization:
>Environment:
reeBSD nbvk 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #2: Thu Jan 26 08:45:24 CET 2006     root at nbvk:/usr/obj/usr/src/sys/NBVK  i386
>Description:
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...
>How-To-Repeat:
Build java/jdk14 and java/eclipse from ports and run eclipse.
>Fix:
Just a workaround: I uninstalled jdk-1.4.2p8_2 and installed jdk-1.4.2p7_2. (I usually run portupgrade with '-b'.)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-java mailing list