Eclipse dies on amd64

Franco Bruno Borghesi fborghesi at gmail.com
Fri Dec 2 18:57:02 GMT 2005


2005/12/2, Sean McNeil <sean at mcneil.com>:
>
> On Fri, 2005-12-02 at 14:16 -0300, Franco Bruno Borghesi wrote:
> >
> >
> > 2005/12/2, Panagiotis Astithas <past at ebs.gr>:
> >         Sean McNeil wrote:
> >         > On Thu, 2005-12-01 at 16:12 -0300, Franco Bruno Borghesi
> >         wrote:
> >         >
> >         >>Hi everyone.
> >         >>
> >         >>I'm having problems with eclipse on my new amd64
> >         installation. Eclipse hangs
> >         >>for a couple of minutes and then I get a window telling me
> >         that java
> >         >>crashed.
> >         >>
> >         >>This is a random problem, and I haven't found a way to
> >         reproduce it. It just
> >         >>happens.
> >         >>I've tryied rebuilding eclipse, but it didn't help (used
> >         WITHOUT_CAIRO=yes).
> >         >>I've attached the log files generated in my home directory.
> >         Maybe someone
> >         >>could give me a hint.
> >         >>
> >         >>Console reports:
> >         >>pid 33465 (java), uid 1000: exited on signal 6 (core dumped)
> >         >>pid 8299 (java), uid 1000: exited on signal 6 (core dumped)
> >         >>
> >         >>System Detail:
> >         >>*FreeBSD taz.oficina 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue
> >         Nov 29 17:10:44
> >         >>ART 2005 root at taz.oficina:/usr/obj/usr/src/sys/TAZ  amd64
> >         >>
> >         >>*java version "1.5.0-p2"
> >         >>Java(TM) 2 Runtime Environment, Standard Edition (build
> >         >>1.5.0-p2-root_29_nov_2005_17_58)
> >         >>Java HotSpot(TM) 64-Bit Server VM (build
> >         1.5.0-p2-root_29_nov_2005_16_21,
> >         >>mixed mode)
> >         >
> >         >
> >         > I used to have this same kind of thing happen to me until I
> >         fixed java.
> >         > Please look at the java@ mailing list.  There are two
> >         proposed solutions
> >         > in there regarding libz namespace conflicts that have been
> >         floating
> >         > around for quite a while, yet neither of these solutions
> >         have been
> >         > implemented in the port.  It is pretty crucial for eclipse
> >         as it uses
> >         > gtk extensively which relies on libz.  Take a look at:
> >         >
> >         >
> >
> http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004570.html
> >         >
> >         > Cheers,
> >         > Sean
> >
> >         FWIW, I've been running (on i386) with Mikhail's patches for
> >         the last
> >         couple of months in my day job and I have encountered zero
> >         problems.
> >
> >         Cheers,
> >         Panagiotis
> >
> >
> > I've been using unpatched jdk15 for a couple of months too on i386
> > (athlon XP) and it worked without problems. This week I changed my
> > computer to an Atlon64 and started a fresh installation, and that's
> > when problems started.
> >
> > Yesterday I applied this patch
> > (
> http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html)
> because the other proposed patch failed. Recompiled jdk15 and reinstaled.
> >
> > Eclipse just hanged, so I will try to apply the other patch
> > (
> http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004476.html)
> and recompile jdk15 again.
> >
> > I attached today's hs_err-pid file. Do you still think this is a
> > libzip.so problem?
>
> This is the most likely candidate, but there are also might be
> incompatibilities between the i386 and amd64 versions of a workspace.
> Make sure you rm -rf .eclipse and use a fresh workspace.
>
> Another thing people have been asking is to try using the default gnome
> theme.
>
>
>
Yes, you are right, three of the last four hs_err_pid files contained the
lines
...
# Problematic frame:
# C  [libzip.so+0x7baa]  inflateEnd+0x3a
...

I've applied the other patch and I'm rebuilding jdk15 right now. Hope it
works.

Thanks for your help Sean.


More information about the freebsd-java mailing list