From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Oct 12 01:57:32 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id BAA16117
	Sat, 12 Oct 1996 01:57:32 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with SMTP id BAA16106
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 12 Oct 1996 01:57:29 +0900 (JST)
Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1]) by tokyonet-entrance.astec.co.jp (8.6.12+2.5Wb7/3.4Wbeta5-astecMX2.3) with ESMTP id BAA26295 for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 12 Oct 1996 01:57:27 +0900
Received: from astec.co.jp ([192.168.23.1]) by amont.astec.co.jp (8.7.6/3.5Wbeta-astecMX2.4) with ESMTP id BAA02352 for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 12 Oct 1996 01:57:25 +0900 (JST)
Received: from tau (localhost [127.0.0.1]) by astec.co.jp (8.7.5/3.5Wbeta-ppp) with ESMTP id BAA00250 for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 12 Oct 1996 01:46:22 +0900 (JST)
Message-Id: <199610111646.BAA00250@astec.co.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Hiroyuki Hanai <hanai@astec.co.jp>
X-Mailer: Mew version 1.06 on Emacs 19.28.1, Mule 2.3
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Sat_Oct_12_01:45:52_1996)--"
Date: Sat, 12 Oct 1996 01:46:22 +0900
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 5193
Subject: [FreeBSD-users-jp 5193] Forward: Whoohoo!  JDK works! (was Re: JDK 1.0.2 SIGSEGV?!)
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

----Next_Part(Sat_Oct_12_01:45:52_1996)--
Content-Type: Text/Plain; charset=iso-2022-jp

-current $B$G(B JDK $B$,F0$/$h$&$K$J$C$?$_$?$$$G$9$M!#(B

-----$B$O$J$$(B

----Next_Part(Sat_Oct_12_01:45:52_1996)--
Content-Type: Message/rfc822

Return-Path: hanai
Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [172.20.10.6]) by amont.astec.co.jp (8.7.6/3.5Wbeta-astecMX2.4) with SMTP id UAA29969 for <hanai>; Fri, 11 Oct 1996 20:05:55 +0900 (JST)
Received: from tora.eccosys.com (tora.eccosys.com [133.246.113.65]) by tokyonet-entrance.astec.co.jp (8.6.12+2.5Wb7/3.4Wbeta5-astecMX2.3) with ESMTP id UAA19234 for <hanai@astec.co.jp>; Fri, 11 Oct 1996 20:05:54 +0900
Received: from mail.jp.freebsd.org (mail.jp.freebsd.org [133.11.70.161]) by tora.eccosys.com (8.7.5/8.6.9) with ESMTP id UAA02935; Fri, 11 Oct 1996 20:05:25 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with ESMTP id TAA14806
	Fri, 11 Oct 1996 19:47:43 +0900 (JST)
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA00811;
          Fri, 11 Oct 1996 02:00:59 -0700 (PDT)
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id CAA00749
          for hackers-outgoing; Fri, 11 Oct 1996 02:00:10 -0700 (PDT)
Received: from covina.lightside.com (covina.lightside.com [207.67.176.1])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA00694
          for <hackers@freebsd.org>; Fri, 11 Oct 1996 02:00:06 -0700 (PDT)
Received: from localhost (jehamby@localhost) by covina.lightside.com (8.8.0/8.8.0) with SMTP id CAA13422 for <hackers@freebsd.org>; Fri, 11 Oct 1996 02:00:06 -0700 (PDT)
Date: Fri, 11 Oct 1996 02:00:02 -0700 (PDT)
From: Jake Hamby <jehamby@lightside.com>
To: hackers@freebsd.org
Subject: Whoohoo!  JDK works! (was Re: JDK 1.0.2 SIGSEGV?!)
In-Reply-To: <Pine.AUX.3.94.961005210335.25920B-100000@covina.lightside.com>
Message-ID: <Pine.AUX.3.94.961011015108.12540A-100000@covina.lightside.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-hackers@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

When I complain about something, I usually like to follow up if I manage
to fix the problem.  In this case (the SIGSEGV error I was complaining
about with "unsupported" FreeBSD JDK 1.0.2 on freefall), I'm proud to say
the problem is solved.

Obviously, something changed in -current between the time the JDK 1.0.2
was built, and when I ran it.  Something that could crash the JDK very
early on, before it even printed a startup message.  Libc would be a
candidate, as would libm.  But let's think, what major component of our
shared library architecture has changed recently (even prompting a major
outcry as the original patch caused machines to crash)?  That's right:
ld.so.

Call it intuition, but I suspected ld.so in the back of my mind all along,
but didn't feel like grabbing an older copy out of CVS to play with.  Long
story short, when I CVSup'ed -current tonight and saw rtld.c had changed
(twice), I decided to rebuild ld.so, install it, cross my fingers, say a
little prayer, start java, expecting the worst, and ... it worked! 

Let that be a lesson to all FreeBSD hackers (actually two lessons):  1) 
First impressions are almost always correct, and 2) There is heavy magic
in ld.so! I can't wait to play with Java tomorrow, on my favorite Free
UNIX!  Whoohoo... 

-- Jake




----Next_Part(Sat_Oct_12_01:45:52_1996)----
