Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 05:56:52 +0900
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        java@FreeBSD.org
Subject:   Re: Reproduceable bug in latest JDK 1.3.1p4
Message-ID:  <55g09t78ff.wl@tripper.private>
In-Reply-To: <200109110917.f8B9HfF41785@vega.vega.com>
References:  <200109110917.f8B9HfF41785@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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  <text/plain; us-ascii (7bit)>]
> 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 <fuyuhik8@is.titech.ac.jp>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55g09t78ff.wl>