From owner-freebsd-java Fri Mar 12 23:58:58 1999 Delivered-To: freebsd-java@freebsd.org Received: from jiyu.net (unknown [209.100.98.61]) by hub.freebsd.org (Postfix) with ESMTP id 7557A14E8D for ; Fri, 12 Mar 1999 23:58:52 -0800 (PST) (envelope-from daichi@ongs.net) Received: from localhost (ppph116.wbs.ne.jp [202.219.55.116]) by jiyu.net (8.8.5/8.8.5) with ESMTP id QAA26146 for ; Sat, 13 Mar 1999 16:59:41 +0900 To: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> References: <19990313111636K.daichi@ongs.net> <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> X-Mailer: Mew version 1.94b9 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990313170044T.daichi@ongs.net> Date: Sat, 13 Mar 1999 17:00:44 +0900 From: "Daichi T.GOTO" X-Dispatcher: imput version 990225(IM107) Lines: 72 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks your advice :) From: SHUDO Kazuyuki Subject: Re: the prelease jdk1.2 for linux: problem Date: Sat, 13 Mar 1999 15:46:42 +0900 > > /home/daichi(942) /usr/local/jdk1.2/bin/java > > SIGSEGV 11* segmentation violation > > stackpointer=0xefbfcec0 > > > > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native threads): > ^^^^^^^^^^^^^^ > > "main" (TID:0x291761e0, sys_thread_t:0x81434e0, state:R, native ID:0x400) prio=5 > > > uummmm..... really someone can use the prerelease jdk1.2(for linux) on > > linux emulation? > > At least, you should use green threads instead of native > threads. Even on Linux, native threads can't work well > yet with glibc 2.1. yes, sir! I changed the java script file like following java: 136 lines, 2926 characters. newmusic# diff -u java.org java --- java.org Fri Mar 12 21:57:42 1999 +++ java Sat Mar 13 16:58:22 1999 @@ -31,8 +31,8 @@ # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/bin/expr "$ls" : '.*-> \(.*\)$'` + if /bin/expr "$link" : '/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" @@ -64,6 +64,7 @@ unset vmtype unset ttype DEFAULT_THREADS_FLAG=native +DEFAULT_THREADS_FLAG=green if [ "x$1" = "x-hotspot" ]; then vmtype=hotspot ttype=native_threads and tried it. newmusic# /usr/local/jdk1.2/bin/java ../../../../../src/linux/hpi/green_threads/src/dl-malloc.c:1627: malloc_extend_top: Assertion `((size_t)((char*)(((mbinptr)(&(av_[2 * (0)])))->fd) + top_size) & (pagesz - 1)) == 0' failed. Abort (core dumped) newmusic# > I know that there is a porting effort of LinuxThreads to > FreeBSD. But I suppose linux emulation on FreeBSD > doesn't contain any multi-threading library, either > user-level or kernel-level. uummmm.... so...the prerelease jdk1.2(for linux) cannot run on linux emulation on freebsd? ---- Daichi T.GOTO (ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message