Date: Sat, 13 Mar 1999 17:00:44 +0900 From: "Daichi T.GOTO" <daichi@ongs.net> To: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem Message-ID: <19990313170044T.daichi@ongs.net> In-Reply-To: <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> References: <19990313111636K.daichi@ongs.net> <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks your advice :) From: SHUDO Kazuyuki <shudoh@muraoka.info.waseda.ac.jp> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990313170044T.daichi>