From owner-freebsd-java Tue Sep 11 13:54:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id CF3BC37B401; Tue, 11 Sep 2001 13:54:14 -0700 (PDT) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id FAA26180; Wed, 12 Sep 2001 05:54:11 +0900 (JST) Date: Wed, 12 Sep 2001 05:56:52 +0900 Message-ID: <55g09t78ff.wl@tripper.private> From: Fuyuhiko Maruyama To: Maxim Sobolev Cc: java@FreeBSD.org Subject: Re: Reproduceable bug in latest JDK 1.3.1p4 In-Reply-To: <200109110917.f8B9HfF41785@vega.vega.com> References: <200109110917.f8B9HfF41785@vega.vega.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.3 (asparagus) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: multipart/mixed; boundary="Multipart_Wed_Sep_12_05:56:52_2001-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Multipart_Wed_Sep_12_05:56:52_2001-1 Content-Type: text/plain; charset=US-ASCII At Tue, 11 Sep 2001 12:17:41 +0300 (EEST), Maxim Sobolev wrote: > > [1 ] > Hi folks, > > I found that there is a fully reproduceable bug in JDK 1.3.1p4. It can be > triggered by starting Robocode (ports/games/robocode) and selecting > "Help->Online Help" from the menu. Rather strange, but when I'm running > the program with java_g instead of java, the bug not shows up. > > Attached please find appropriate log and stacktrace. > > -Maxim I couldn't reproduce your problem on my FreeBSD 4.4-RC at all. I think you are using FreeBSD 5.0-CURRENT, so I would like to know the attached patch helps you or not. This patch makes more wrappers on 5.0-CURRENT for syscalls should be wrapped by green_threads JVM. Most of the new wrappers are for syscalls I found that are used internally in 5.0-CURRENT's libc. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. --Multipart_Wed_Sep_12_05:56:52_2001-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="iomgr.c.diff" Content-Transfer-Encoding: 7bit --- j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c.orig Tue Sep 4 22:53:32 2001 +++ j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c Wed Sep 12 05:45:25 2001 @@ -716,6 +716,22 @@ WRAPFUNC(read); WRAPFUNC(write); WRAPFUNC(fcntl); +#if __FreeBSD__ >= 5 + WRAPFUNC(writev); + WRAPFUNC(readv); + WRAPFUNC(poll); + WRAPFUNC(sendto); + WRAPFUNC(dup); + WRAPFUNC(accept); + WRAPFUNC(recvfrom); + WRAPFUNC(socket); + WRAPFUNC(connect); + WRAPFUNC(select); + WRAPFUNC(pipe); + WRAPFUNC(creat); + WRAPFUNC(recv); + WRAPFUNC(send); +#endif __dummy(); } #else --Multipart_Wed_Sep_12_05:56:52_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message