Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2011 00:01:03 +0200
From:      Kees Jan Koster <kjkoster@gmail.com>
To:        Tiernan Messmer <tiernan.messmer@gmail.com>
Cc:        pieter@degoeje.nl, freebsd-java@freebsd.org
Subject:   Re: Java Segfault with
Message-ID:  <598EAC72-7D58-4D96-BC9E-6CFB5EEDE4AB@gmail.com>
In-Reply-To: <4E31891E.40709@gmail.com>
References:  <66A45AAC-2406-4D61-ADE9-EA860B5B2740@gmail.com> <4E31891E.40709@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Tiernan,

Thank you for the suggested fix. Other than running Minecraft, do you =
have any way to reproduce this?

Also, can you please dig a little to find where you found this? I'd like =
to file a bug report for this. If you can't there is no man overboard, =
but I like to be thorough.

Kees Jan

On 28 Jul 2011, at 18:06, Tiernan Messmer wrote:

> Indeed I encountered the same issues on the non-diablo JDK as well.
>=20
> In the end I found a fix somewhere (can't find it off hand) but what =
solved it for me was to edit src/lib/libz/Makefile and comment the =
following:
>=20
> .if ${MACHINE_ARCH} =3D=3D "amd64"
> .PATH:          ${.CURDIR}/contrib/gcc_gvmat64
> SRCS+=3D          gvmat64.S
> CFLAGS+=3D        -DASMV -DNO_UNDERLINE
> .endif
>=20
> Then rebuild world (or just src/lib/libz if you're feeling lucky).
>=20
> I've since moved the server in question onto an old 32bit box (the =
64bit one was no longer available) and didn't encounter the issue again, =
so I suspect it only affects the 64bit optimised assembly version of =
longest_match.
>=20
> Hope this helps.
>=20
> ~Tiernan Messmer
>=20
>=20
> On 2011-07-29 0156, Kees Jan Koster wrote:
>> Guys,
>>=20
>> I found another segfault, much like the one reported by Tiernan in =
http://lists.freebsd.org/pipermail/freebsd-java/2011-April/009197.html
>>=20
>> Pieter, I think this is not an issue with Diablo since I don't use =
that JDK. Rarther, I think this is an issue with the zip library.
>>=20
>> Any advise on how to proceed?
>>=20
>>=20
>> This is with Java from /usr/ports/java/jdk16
>>=20
>> java version "1.6.0_03-p4"
>> Java(TM) SE Runtime Environment (build =
1.6.0_03-p4-kjkoster_14_jul_2011_20_52-b00)
>> Java HotSpot(TM) 64-Bit Server VM (build =
1.6.0_03-p4-kjkoster_14_jul_2011_20_52-b00, mixed mode)
>>=20
>> #
>> # An unexpected error has been detected by Java Runtime Environment:
>> #
>> #  SIGSEGV (0xb) at pc=3D0x0000000801f582a1, pid=3D78977, =
tid=3D0x3349400
>> #
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM =
(1.6.0_03-p4-kjkoster_14_jul_2011_20_52-b00 mixed mode)
>> # Problematic frame:
>> # C  [libz.so.5+0xa2a1]  longest_match+0x1a1
>> #
>> # Please submit bug reports to freebsd-java@FreeBSD.org
>> #
>>=20
>> More data and core file on request.
>> --
>> Kees Jan
>>=20
>> http://java-monitor.com/
>> kjkoster@kjkoster.org
>> +31651838192
>>=20
>> Change is good. Granted, it is good in retrospect, but change is =
good.
>>=20
>=20


--
Kees Jan

http://java-monitor.com/
kjkoster@kjkoster.org
+31651838192

Human beings make life so interesting. Do you know that in a universe so =
full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry =
Pratchett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?598EAC72-7D58-4D96-BC9E-6CFB5EEDE4AB>