From owner-freebsd-java Mon Oct 28 0:14:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F33537B401 for ; Mon, 28 Oct 2002 00:14:11 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D9643E42 for ; Mon, 28 Oct 2002 00:14:10 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18651u-00036x-00; Mon, 28 Oct 2002 00:13:46 -0800 Date: Mon, 28 Oct 2002 00:13:46 -0800 To: Huang wen hui Cc: freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021028081346.GA11956@gnuppy.monkey.org> References: <3DB61145.8050207@mail.gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB61145.8050207@mail.gddsn.org.cn> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Wed, Oct 23, 2002 at 11:02:29AM +0800, Huang wen hui wrote: > hi, > I use jdk1.3.1 hosspot vm under STABLE( including libc_r patch), Hotspot > vm was compiled by gcc31-20020502 from ports. [VM crashing for all AWT applications] I just build HotSpot client (compiler 1 only since compiler 2 doesn't build just yet) + J2SE 1.3.1 under the latest -stable and it's running Java2D demo perfectly. What were the failure conditions again ? all AWT applications were crashing, eh ? BTW, I used gcc 3.1 to build it. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 0:14:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4CFA37B401 for ; Mon, 28 Oct 2002 00:14:58 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A06C043E9C for ; Mon, 28 Oct 2002 00:14:58 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18652s-00037b-00; Mon, 28 Oct 2002 00:14:46 -0800 Date: Mon, 28 Oct 2002 00:14:46 -0800 To: Huang wen hui Cc: freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021028081446.GA11982@gnuppy.monkey.org> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021028081346.GA11956@gnuppy.monkey.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Mon, Oct 28, 2002 at 12:13:46AM -0800, Bill Huey wrote: > BTW, I used gcc 3.1 to build it. The reason why I use that compiler is because gcc 3.2 wouldn't build the from the ports. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 1:27:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4585A37B401 for ; Mon, 28 Oct 2002 01:27:30 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 659D143E4A for ; Mon, 28 Oct 2002 01:27:24 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.220.25] (port=1384 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:2) id 1866B9-000DHl-00 for freebsd-java@FreeBSD.ORG; Mon, 28 Oct 2002 17:27:23 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id g9S9RLVr047836 for ; Mon, 28 Oct 2002 17:27:21 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id g9S9RKZh047835 for freebsd-java@FreeBSD.ORG; Mon, 28 Oct 2002 17:27:20 +0800 (CST) Date: Mon, 28 Oct 2002 17:27:20 +0800 From: JY To: freebsd-java@FreeBSD.ORG Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021028092720.GA47824@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20021028081346.GA11956@gnuppy.monkey.org> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-9.9 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.41 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 On Mon, Oct 28, 2002 at 12:13:46AM -0800, Bill Huey wrote: > were the failure conditions again ? all AWT applications were crashing, eh ? > > BTW, I used gcc 3.1 to build it. > > bill > > Hi Bill, I used gcc3.1 too. The failure condition is to close the app, then it core dumps.Both SwingSet2 and JEdit behave like this. I can send you the core if you would like to see it, but it's huge. JY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 2:57:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07DC737B401; Mon, 28 Oct 2002 02:57:16 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96BAE43E42; Mon, 28 Oct 2002 02:57:15 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 1867Zw-0003GV-00; Mon, 28 Oct 2002 02:57:04 -0800 Date: Mon, 28 Oct 2002 02:57:04 -0800 To: JY Cc: freebsd-java@FreeBSD.ORG, freebsd-stable@freebsd.org, "Bill Huey (Hui)" Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021028105704.GA12534@gnuppy.monkey.org> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028092720.GA47824@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021028092720.GA47824@leafy.idv.tw> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Mon, Oct 28, 2002 at 05:27:20PM +0800, JY wrote: > I used gcc3.1 too. The failure condition is to close the app, then it core dumps.Both SwingSet2 and JEdit behave like this. I can send you the core if you would like to see it, but it's huge. From the posted stack trace: =========================================== #0 0x180b15a8 in kill () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x180b15a8 in kill () from /usr/lib/libc_r.so.4 #1 0x180ff0ae in abort () from /usr/lib/libc_r.so.4 #2 0x19d6b6b5 in __deregister_frame_info () from /usr/lib/libstdc++.so.3 #3 0x197e2f49 in __do_global_dtors_aux () from /usr/local/jdk1.3.1/jre/lib/i386/libawt_g.so #4 0x1993d055 in _fini () from /usr/local/jdk1.3.1/jre/lib/i386/libawt_g.so #5 0x1804fe59 in find_symdef () from /usr/libexec/ld-elf.so.1 #6 0x180ff500 in exit () from /usr/lib/libc_r.so.4 #7 0x183b60dc in os::exit(int) (code=0) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:1065 #8 0x182e087a in vm_exit(int) (code=0) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/java.cpp:338 #9 0x1831eac1 in JVM_Halt () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #10 0x18784bf2 in Java_java_lang_Shutdown_halt (env=0x81d0eb0, ignored=0x8564a18, code=0) at ../../../src/share/native/java/lang/Shutdown.c:21 =========================================== ...I realized this is a crash in the C++/rtld system, not HotSpot itself. It's trying to do a proper exist, but blows up on a symbol query when a .so is being unloaded. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 3:45:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DE5337B401 for ; Mon, 28 Oct 2002 03:45:31 -0800 (PST) Received: from relay0.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 015E443E75 for ; Mon, 28 Oct 2002 03:45:26 -0800 (PST) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay0.cris.net (8.12.6/8.12.4) with ESMTP id g9SEjIAi053915 for ; Mon, 28 Oct 2002 14:45:18 GMT (envelope-from phantom@phantom.cris.net) Received: (from phantom@localhost) by phantom.cris.net (8.12.2/8.12.2) id g9SBoSkS030533; Mon, 28 Oct 2002 13:50:28 +0200 (EET) (envelope-from phantom) Date: Mon, 28 Oct 2002 13:50:28 +0200 From: Alexey Zelkin To: freebsd-java@freebsd.org Subject: [phantom@FreeBSD.org.ua: jdk 1.4 roadmap] Message-ID: <20021028135028.A30472@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 hi, Hopefully first patchset is will be released soon. It's up to Gerg now because I finished with most important things to get it ready. Please note that first jdk14 patchset is for ERALY ADOPTERS ONLY. Don't expect that it will even work for most of Java applications. There're some things which those who'd like to give it a try: Most of recent testing work was done at -CURRENT (my one is built from 10 Oct sources). Please make sure that your gcc compiler is: : Using built-in specs. : Configured with: FreeBSD/i386 system compiler : Thread model: posix : gcc version 3.2.1 [FreeBSD] 20021009 (prerelease) To those who'll try STABLE make sure that you are running post-libc_r merger -STABLE. Without Max's libc_r MFCs jdk will not even build. To those who's going upgrade -CURRENT, please keep in mind recent changes in -CURRENT, so upgrade to most recent -CURRENT is not recomended (I think sources from 10-15 Oct would be ok) So, proceed with upgrades and download of jdk1.4.0 sources and wait for patchset release... :-) To those who's interesting in participating development work I have attached a my short TODO list for next port's milestone. Regards, Alexey ----- Forwarded message from Alexey Zelkin ----- Date: Mon, 28 Oct 2002 13:26:22 +0200 From: Alexey Zelkin To: java-port@yogotech.com Subject: jdk 1.4 roadmap hi, I have summarized things that need to be done for FreeBSD jdk 1.4 port. Maybe I need to commit it and maintain somethere in CVS ? -- Roadmap of FreeBSD J2SE 1.4 Port: Milestone 1 (REACHED) Goal: JDK should be self-buildable w/o any additional hacks. Milestone 2 Goal: Stabilize J2SE Important issues: . Remove dependancy on libc_r sources (hotspot & libhpi). I have committed pthread_attr_get_np() support to -CURRENT. So after MFC and release first early preview patchset I'll proceed with this task. . Finish with deprecation (or integration) of Interruptible IO More review needed. . Review & fix warnings generated by j2se/ part. . Cleanup sources Review XXXBSD's present in tree and make appropriate reviews/fixes. . Find simple tests (additionally to j2se/src/share/tests) and try to check functionality of separate parts of jdk . Try to find a problems which cause jdk to fail at runtime with -O >= 1 . Fix Native Bootstrap! . Review difference of '-pthread' & '-lc' or STABLE and CURRENT. Do we really need '-lc' for STABLE ? Can't we use '-pthread' for CURRENT ? Non-important issues: . Make plug-in at least buildable . Remove Solaris specific usage of /dev/zero . Remove Solaris specific usage of ISM . Enhance custom debuging primitives . Review & maybe fix some warnings generated by hotspot/ part (undo -w hack) . Make Release target work (throughly review make output) . Japanese manpages . Check out javax.sound functionality . look for completely added .h files from FreeBSD (math.h, bind .h'es) . Ressurect commented out getconf(3). In -CURRENT we have already all required primitives and soon we'll have in -STABLE. Since we are not going to support -CURRENT's and -STABLE's before middle of Oct it's good idea to remove all hacks and use getconf() only. Know Bugs fixing: . Fix bug with wait() appearing in some JFC demos Not yet looked over. . Fix bug with elapsed_*() Fixed. Commit pending. ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 4: 4:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A01BB37B401 for ; Mon, 28 Oct 2002 04:04:50 -0800 (PST) Received: from ongs.co.jp (ns.ongs.co.jp [202.216.232.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F10D43E6E for ; Mon, 28 Oct 2002 04:04:49 -0800 (PST) (envelope-from daichi@freebsd.org) Received: (qmail 5836 invoked from network); 28 Oct 2002 11:59:54 -0000 Received: from unknown (HELO parancell.ongs.co.jp) (202.216.232.62) by ns.ongs.co.jp with SMTP; 28 Oct 2002 11:59:54 -0000 Date: Mon, 28 Oct 2002 21:07:02 +0900 From: daichi To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG, java@jp.freebsd.org Subject: UDP problem fix patch for FreeBSD JDK131 patchset8 Message-Id: <20021028210702.77c49536.daichi@freebsd.org> Organization: FreeBSD Project X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi Greg :) This is udp problem fix patch for FreeBSD JDK131. Please merge this patch to next patchset8 or jdk13 ports. ---------------------------------------------------------------------- --- ../src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Sun May 6 21:27:32 2001 +++ ../src/solaris/native/java/net/PlainDatagramSocketImpl.c Mon Oct 28 19:54:10 2002 @@ -9,10 +9,10 @@ */ #include -#include #include #include #include +#include #include #include "jvm.h" @@ -489,7 +489,7 @@ strerror(errno)); return; } -#if defined(__linux__) && defined(SO_BROADCAST) +#if (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SO_BROADCAST) { int t = 1; setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*) &t, sizeof(int)); @@ -568,8 +568,10 @@ int tmp = (*env)->GetIntField(env, value, i_valueID); int arg = tmp ? -1: 0; - if (JVM_SetSockOpt(fd, SOL_SOCKET, SO_REUSEADDR, - (char *)&arg, sizeof(arg)) < 0) { + if ((JVM_SetSockOpt(fd, SOL_SOCKET, SO_REUSEADDR, + (char *)&arg, sizeof(arg)) < 0) || + (JVM_SetSockOpt(fd, SOL_SOCKET, SO_REUSEPORT, + (char *)&arg, sizeof(arg)) < 0)) { JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", strerror(errno)); } ---------------------------------------------------------------------- Mr. Zachary Pincus had pointed out this problem(2002/09/10). And Hideki KAWAI-san had pointed out this, too(2002/10/26). Their contents of indication are almost the same. I also checked the problem. http://www.freebsd.org/cgi/getmsg.cgi?fetch=26469+30997+/usr/local/www/db/text/2002/freebsd-java/20020915.freebsd-java http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/71564 http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/71568 In response, Tetsuo Suzuki-san taught us the solution today. http://home.jp.freebsd.org/cgi-bin/showmail/java/237 http://home.jp.freebsd.org/cgi-bin/showmail/java/238 The above patch is created according to his directions. As a result of my investigating, I think that the udp problem is repaired by the patch. Please merge this patch, Greg. Thanks. -- daichi@freebsd.org, http://people.freebsd.org/~daichi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 11: 1:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92C3237B404 for ; Mon, 28 Oct 2002 11:01:43 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBABD43E7B for ; Mon, 28 Oct 2002 11:01:42 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SJ1gx3049030 for ; Mon, 28 Oct 2002 11:01:42 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9SJ1g0R049025 for java@freebsd.org; Mon, 28 Oct 2002 11:01:42 -0800 (PST) Date: Mon, 28 Oct 2002 11:01:42 -0800 (PST) Message-Id: <200210281901.g9SJ1g0R049025@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you 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 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 16:28: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 600C637B401 for ; Mon, 28 Oct 2002 16:28:07 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 446CE43E42 for ; Mon, 28 Oct 2002 16:28:06 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 186KEK-0007Eu-00; Tue, 29 Oct 2002 06:27:36 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 186KDu-00070b-00; Tue, 29 Oct 2002 06:27:10 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id g9T0QhFG087265; Tue, 29 Oct 2002 06:26:43 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id g9T0Qc4h087263; Tue, 29 Oct 2002 06:26:38 +0600 (NS) Date: Tue, 29 Oct 2002 06:26:38 +0600 From: Max Khon To: Bill Huey Cc: Huang wen hui , freebsd-java@freebsd.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029062638.A87185@iclub.nsu.ru> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028081446.GA11982@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021028081446.GA11982@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Oct 28, 2002 at 12:14:46AM -0800 X-Envelope-To: billh@gnuppy.monkey.org, hwh@ns.gddsn.org.cn, freebsd-java@freebsd.org 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 hi, there! On Mon, Oct 28, 2002 at 12:14:46AM -0800, Bill Huey wrote: > On Mon, Oct 28, 2002 at 12:13:46AM -0800, Bill Huey wrote: > > BTW, I used gcc 3.1 to build it. > > The reason why I use that compiler is because gcc 3.2 wouldn't > build the from the ports. do you have left-overs from -CURRENT in your /usr/include? I could not build gcc32 from ports on RELENG_4 until I realized that is not in RELENG_4. after 'rm -rf /usr/include', 'mtree -Urd -f /etc/mtree/BSD.include.dist -p /usr/include', and 'make includes' in /usr/src, gcc32 builds just fine /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 20:28:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 277CA37B401 for ; Mon, 28 Oct 2002 20:28:44 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 993DD43E3B for ; Mon, 28 Oct 2002 20:28:43 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 186Nyv-0001i5-00; Mon, 28 Oct 2002 20:27:57 -0800 Date: Mon, 28 Oct 2002 20:27:57 -0800 To: Max Khon Cc: Huang wen hui , freebsd-java@freebsd.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029042757.GA6570@gnuppy.monkey.org> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028081446.GA11982@gnuppy.monkey.org> <20021029062638.A87185@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021029062638.A87185@iclub.nsu.ru> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Tue, Oct 29, 2002 at 06:26:38AM +0600, Max Khon wrote: > do you have left-overs from -CURRENT in your /usr/include? > I could not build gcc32 from ports on RELENG_4 until I realized that > is not in RELENG_4. This is under -stable. I'll have to struggle with it. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 28 22:19: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F4EF37B401 for ; Mon, 28 Oct 2002 22:19:03 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD4043E7B for ; Mon, 28 Oct 2002 22:19:02 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 186Phk-0005eq-00; Tue, 29 Oct 2002 12:18:20 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 186PhX-0005TW-00; Tue, 29 Oct 2002 12:18:07 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id g9T6HYFG095862; Tue, 29 Oct 2002 12:17:34 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id g9T6HRrU095860; Tue, 29 Oct 2002 12:17:27 +0600 (NS) Date: Tue, 29 Oct 2002 12:17:27 +0600 From: Max Khon To: Bill Huey Cc: Huang wen hui , freebsd-java@freebsd.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029121727.A95772@iclub.nsu.ru> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028081446.GA11982@gnuppy.monkey.org> <20021029062638.A87185@iclub.nsu.ru> <20021029042757.GA6570@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021029042757.GA6570@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Oct 28, 2002 at 08:27:57PM -0800 X-Envelope-To: billh@gnuppy.monkey.org, hwh@ns.gddsn.org.cn, freebsd-java@freebsd.org 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 hi, there! On Mon, Oct 28, 2002 at 08:27:57PM -0800, Bill Huey wrote: > > do you have left-overs from -CURRENT in your /usr/include? > > I could not build gcc32 from ports on RELENG_4 until I realized that > > is not in RELENG_4. > > This is under -stable. I'll have to struggle with it. yes, I described the situation under -stable. if you have some #include's from 5.x in your /usr/include gcc32 could not be built from ports (I had stdint.h). There will be no problems if you populate your /usr/include from scratch. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 12:27:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE29837B401 for ; Tue, 29 Oct 2002 12:27:39 -0800 (PST) Received: from epaper.eslitebooks.com (210-58-229-92.eslitebooks.com [210.58.229.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3AA643E8A for ; Tue, 29 Oct 2002 12:27:34 -0800 (PST) (envelope-from clive@tongi.org) Received: from epaper.eslitebooks.com (localhost.eslitebooks.com [127.0.0.1]) by epaper.eslitebooks.com (8.12.3/8.12.3) with SMTP id g9TKRLKd006180; Wed, 30 Oct 2002 04:27:21 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 6178 invoked by uid 1000); Tue, 29 Oct 2002 20:27:21 -0000 Date: Wed, 30 Oct 2002 04:27:21 +0800 From: Clive Lin To: Bill Huey Cc: freebsd-java@freebsd.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029202721.GA5842@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021028081346.GA11956@gnuppy.monkey.org> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.1i 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 On Mon, Oct 28, 2002 at 12:13:46AM -0800, Bill Huey wrote: > [VM crashing for all AWT applications] Hi, Just would like to drop a note. On my box with uname below: > uname -av FreeBSD cartier.home 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Oct 29 21:34:11 CST 2002 root@cartier.home:/usr/obj/usr/src/sys/GENERI i386 and malloc.conf symlink'd to aj, I can run every graphic enabled java app(let)s successfully. Even http://go.icq.com (which is a applet icq client) and vncviewer applet work without any glitch. If I rm /etc/malloc.conf, something like this happens immediately: pid 1182 (java), uid 1000: exited on signal 6 ;) Clive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 12:35:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BE0437B404 for ; Tue, 29 Oct 2002 12:35:46 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A66E643EA3 for ; Tue, 29 Oct 2002 12:35:44 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA07923; Tue, 29 Oct 2002 13:34:11 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9TKYAuk005472; Tue, 29 Oct 2002 13:34:10 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15806.61634.620588.347335@emerger.yogotech.com> Date: Tue, 29 Oct 2002 13:34:10 -0700 To: Clive Lin Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: awt app always abort when exit using hotspot vm under STABLE In-Reply-To: <20021029202721.GA5842@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > Just would like to drop a note. On my box with uname below: > > > uname -av > FreeBSD cartier.home 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Oct 29 21:34:11 CST 2002 root@cartier.home:/usr/obj/usr/src/sys/GENERI i386 > > and malloc.conf symlink'd to aj, I can run every graphic enabled > java app(let)s successfully. Even http://go.icq.com (which is a applet > icq client) and vncviewer applet work without any glitch. If I rm > /etc/malloc.conf, something like this happens immediately: Is that 'aj' or 'AJ'? Can you play with the options, and try 'A', or possibly 'J'? (I'm guessing you could try 'J' which should work. If not, then knowing which options works and which don't would certainly help debugging.) Also, running java_g in a debugger and giving a backtrace when it fails core would help. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 14:14:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC2E237B401 for ; Tue, 29 Oct 2002 14:14:08 -0800 (PST) Received: from epaper.eslitebooks.com (210-58-229-92.eslitebooks.com [210.58.229.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id B081843E77 for ; Tue, 29 Oct 2002 14:14:06 -0800 (PST) (envelope-from clive@tongi.org) Received: from epaper.eslitebooks.com (localhost.eslitebooks.com [127.0.0.1]) by epaper.eslitebooks.com (8.12.3/8.12.3) with SMTP id g9TME5Kd006748; Wed, 30 Oct 2002 06:14:05 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 6746 invoked by uid 1000); Tue, 29 Oct 2002 22:14:05 -0000 Date: Wed, 30 Oct 2002 06:14:05 +0800 From: Clive Lin To: Nate Williams Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029221404.GA6350@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15806.61634.620588.347335@emerger.yogotech.com> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.1i 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 On Tue, Oct 29, 2002 at 01:34:10PM -0700, Nate Williams wrote: > > Just would like to drop a note. On my box with uname below: > > > > > uname -av > > FreeBSD cartier.home 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Oct 29 21:34:11 CST 2002 root@cartier.home:/usr/obj/usr/src/sys/GENERI i386 > > > > and malloc.conf symlink'd to aj, I can run every graphic enabled > > java app(let)s successfully. Even http://go.icq.com (which is a applet > > icq client) and vncviewer applet work without any glitch. If I rm > > /etc/malloc.conf, something like this happens immediately: > > Is that 'aj' or 'AJ'? Can you play with the options, and try 'A', or It's 'aj'. 'AJ' is the default behavior. 'aj' disables them. Yes, only 'j' without 'a' will work. > possibly 'J'? (I'm guessing you could try 'J' which should work. If > not, then knowing which options works and which don't would certainly > help debugging.) Alas, 'J' doesn't work though. > Also, running java_g in a debugger and giving a backtrace when it fails > core would help. bad luck, java_g.core has size 0. I'm playing with DEBUG_PROG=gdb now, but java_g keeps in pause state. > setenv DEBUG_PROG gdb > java_g GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... (gdb) file /usr/local/jdk1.3.1/bin/i386/green_threads/java_g Load new symbol table from "/usr/local/jdk1.3.1/bin/i386/green_threads/java_g"? (y or n) y Reading symbols from /usr/local/jdk1.3.1/bin/i386/green_threads/java_g...done. (gdb) run -jar /usr/local/jdk1.3.1/demo/jfc/Notepad/Notepad.jar Starting program: /usr/local/jdk1.3.1/bin/i386/green_threads/java_g -jar /usr/local/jdk1.3.1/demo/jfc/Notepad/Notepad.ja 2186 clive 96 0 94800K 12936K pause 1 0:01 0.00% 0.00% java_g If I press Ctrl-C and hit s, gdb told me the source it would like to reference does not exist. (Maybe I should have the extracted source around even if I just want the fault somewhere?) (gdb) s Single stepping until exit from function sigsuspend, which has no line number information. queueWait (mid=0x804d3e0, q=0x804d3f8) at ../../../../src/solaris/hpi/green_threads/src/monitor_md.c:207 207 ../../../../src/solaris/hpi/green_threads/src/monitor_md.c: No such file or directory. in ../../../../src/solaris/hpi/green_threads/src/monitor_md.c If I simply type "s 1000", something might be useful appears. (gdb) s 1000 Single stepping until exit from function _XWaitForReadable, which has no line number information. Single stepping until exit from function _XRead, which has no line number information. Single stepping until exit from function _XReply, which has no line number information. Single stepping until exit from function XOpenDisplay, which has no line number information. Program received signal SIGTRAP, Trace/breakpoint trap. 0x2812b3cb in sigprocmask () from /usr/lib/libc.so.5 Ok, here "might" be the backtrace: (gdb) bt #0 0x2812b3cb in sigprocmask () from /usr/lib/libc.so.5 #1 0x2807bcad in green_sigprocmask (how=3, set=0x2814e428, oset=0x0) at ../../../../src/solaris/hpi/green_threads/src/signals.c:617 #2 0x2807bcdc in _sigprocmask (how=3, set=0x2814e428, oset=0x0) at ../../../../src/solaris/hpi/green_threads/src/signals.c:631 #3 0x280ba6e8 in siglongjmp () from /usr/lib/libc.so.5 #4 0x2807a0fb in queueWait (mid=0x804d3e0, q=0x804d3f8) at ../../../../src/solaris/hpi/green_threads/src/monitor_md.c:205 #5 0x2807ac30 in sysMonitorWait (self=0x8054080, mid=0x804d3e0, millis=-1) at ../../../../src/solaris/hpi/green_threads/src/monitor_md.c:593 #6 0x28078553 in poll (fds=0x8288540, nfds=1, timeout=-1) at ../../../../src/solaris/hpi/green_threads/src/iomgr.c:1934 #7 0x2d8a9516 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6 #8 0x2d8aa22f in _XRead () from /usr/X11R6/lib/libX11.so.6 #9 0x2d8aad73 in _XReply () from /usr/X11R6/lib/libX11.so.6 #10 0x2d89ca3d in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6 #11 0x2d445ce2 in awt_init_Display (env=0x8054004, this=0xbfbfde28) at ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:386 #12 0x2d445f0c in Java_sun_awt_X11GraphicsEnvironment_initDisplay ( env=0x8054004, this=0xbfbfde28) at ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:449 #13 0x281f0501 in args_done () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm_g.so #14 0x2819d32c in invokeJNISynchronizedNativeMethod (o=0x28ef2228, mb=0x8289720, args_size=0, ee=0x8054004) at ../../../src/share/javavm/runtime/classruntime.c:578 #15 0x2819d5ca in invokeLazyNativeMethod (o=0x28ef2228, mb=0x8289720, args_size=0, ee=0x8054004) at ../../../src/share/javavm/runtime/classruntime.c:680 #16 0x281b7861 in ExecuteJava_C (initial_pc=0xbfbfe44c "", ee=0x8054004) at ../../../src/share/javavm/runtime/executeJava.c:1579 #17 0x281aa067 in do_execute_java_method_vararg (ee=0x8054004, obj=0x28ef2228, method_name=0x804d6c8 "", method_signature=0x8055258 "()V", mb=0x828a130, isStaticCall=TRUE, args=0xbfbfe4e0 "", otherBits=0x0, shortFloats=FALSE) at ../../../src/share/javavm/runtime/interpreter.c:573 #18 0x281a9c3d in do_execute_java_method (ee=0x8054004, obj=0x28ef2228, method_name=0x0, signature=0x0, mb=0x828a130, isStaticCall=TRUE) at ../../../src/share/javavm/runtime/interpreter.c:427 #19 0x2819e01a in RunStaticInitializers (cb=0x28ef2228) at ../../../src/share/javavm/runtime/classruntime.c:1001 #20 0x2819e204 in InitClass (cb=0x28ef2228) at ../../../src/share/javavm/runtime/classruntime.c:1076 #21 0x2819c0a6 in FindClassFromClassLoader2 (ee=0x8054004, name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", resolve=TRUE, loader=0x0, throwError=FALSE, pd=0x0) at ../../../src/share/javavm/runtime/classresolver.c:2176 #22 0x2819bd2b in FindClassFromClassLoader (ee=0x8054004, name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", resolve=TRUE, loader=0x0, throwError=FALSE) at ../../../src/share/javavm/runtime/classresolver.c:2056 #23 0x281cfcc3 in JVM_FindClassFromClassLoader (env=0x8054004, name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", init=1 '\001', loader=0x0, throwError=0 '\0') at ../../../src/share/javavm/runtime/jvm.c:143 #24 0x2c35fb4e in Java_java_lang_Class_forName0 (env=0x8054004, this=0xbfbfe810, classname=0x8059228, initialize=1 '\001', loader=0x0) at ../../../src/share/native/java/lang/Class.c:120 #25 0x281f0501 in args_done () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm_g.so #26 0x2819d140 in invokeJNINativeMethod (o=0x28eda150, mb=0x80937cc, args_size=3, ee=0x8054004) at ../../../src/share/javavm/runtime/classruntime.c:489 #27 0x281b7861 in ExecuteJava_C (initial_pc=0xbfbfedf0 "", ee=0x8054004) at ../../../src/share/javavm/runtime/executeJava.c:1579 #28 0x281bbde4 in jni_Invoke (env=0x8054004, self=0x8059074, methodID=0x81e1e0c, pushArguments=0x281bb788 , args=0xbfbfee8c, info=778) at ../../../src/share/javavm/runtime/jni.c:774 #29 0x281bec19 in jni_CallStaticVoidMethodV (env=0x8054004, clazz=0x8059074, methodID=0x81e1e0c, args=0xbfbfeecc "|\220\005\b") at ../../../src/share/javavm/runtime/jni.c:1947 #30 0x281c9016 in checked_jni_CallStaticVoidMethod (env=0x8054004, cls=0x8059074, methodID=0x81e1e0c) at ../../../src/share/javavm/runtime/check_jni.c:741 #31 0x08049356 in main (argc=0, argv=0xbfbff79c) at ../../../../src/share/bin/java.c:323 #32 0x08048bbc in _start () Any hints how to get the backtrack in modern fashion ? Clive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 14:19:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2388E37B401 for ; Tue, 29 Oct 2002 14:19:45 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A01743E42 for ; Tue, 29 Oct 2002 14:19:42 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id PAA08707; Tue, 29 Oct 2002 15:19:37 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9TMJbaL007415; Tue, 29 Oct 2002 15:19:37 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15807.2424.779969.97960@emerger.yogotech.com> Date: Tue, 29 Oct 2002 15:19:36 -0700 To: Clive Lin Cc: Nate Williams , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: awt app always abort when exit using hotspot vm under STABLE In-Reply-To: <20021029221404.GA6350@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> <20021029221404.GA6350@epaper.eslitebooks.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > and malloc.conf symlink'd to aj, I can run every graphic enabled > > > java app(let)s successfully. Even http://go.icq.com (which is a applet > > > icq client) and vncviewer applet work without any glitch. If I rm > > > /etc/malloc.conf, something like this happens immediately: > > > > Is that 'aj' or 'AJ'? Can you play with the options, and try 'A', or > > It's 'aj'. 'AJ' is the default behavior. 'aj' disables them. > > Yes, only 'j' without 'a' will work. > > > possibly 'J'? (I'm guessing you could try 'J' which should work. If > > not, then knowing which options works and which don't would certainly > > help debugging.) > > Alas, 'J' doesn't work though. Ok, so 'Aj' should work, right? Can you try that. Ok, here "might" be the backtrace: > > (gdb) bt > #0 0x2812b3cb in sigprocmask () from /usr/lib/libc.so.5 > #1 0x2807bcad in green_sigprocmask (how=3, set=0x2814e428, oset=0x0) > at ../../../../src/solaris/hpi/green_threads/src/signals.c:617 > #2 0x2807bcdc in _sigprocmask (how=3, set=0x2814e428, oset=0x0) > at ../../../../src/solaris/hpi/green_threads/src/signals.c:631 > #3 0x280ba6e8 in siglongjmp () from /usr/lib/libc.so.5 > #4 0x2807a0fb in queueWait (mid=0x804d3e0, q=0x804d3f8) > at ../../../../src/solaris/hpi/green_threads/src/monitor_md.c:205 > #5 0x2807ac30 in sysMonitorWait (self=0x8054080, mid=0x804d3e0, millis=-1) > at ../../../../src/solaris/hpi/green_threads/src/monitor_md.c:593 > #6 0x28078553 in poll (fds=0x8288540, nfds=1, timeout=-1) > at ../../../../src/solaris/hpi/green_threads/src/iomgr.c:1934 > #7 0x2d8a9516 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6 > #8 0x2d8aa22f in _XRead () from /usr/X11R6/lib/libX11.so.6 > #9 0x2d8aad73 in _XReply () from /usr/X11R6/lib/libX11.so.6 > #10 0x2d89ca3d in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6 > #11 0x2d445ce2 in awt_init_Display (env=0x8054004, this=0xbfbfde28) > at ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:386 > #12 0x2d445f0c in Java_sun_awt_X11GraphicsEnvironment_initDisplay ( > env=0x8054004, this=0xbfbfde28) > at ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:449 > #13 0x281f0501 in args_done () > from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm_g.so > #14 0x2819d32c in invokeJNISynchronizedNativeMethod (o=0x28ef2228, > mb=0x8289720, args_size=0, ee=0x8054004) > at ../../../src/share/javavm/runtime/classruntime.c:578 > #15 0x2819d5ca in invokeLazyNativeMethod (o=0x28ef2228, mb=0x8289720, > args_size=0, ee=0x8054004) > at ../../../src/share/javavm/runtime/classruntime.c:680 > #16 0x281b7861 in ExecuteJava_C (initial_pc=0xbfbfe44c "", ee=0x8054004) > at ../../../src/share/javavm/runtime/executeJava.c:1579 > #17 0x281aa067 in do_execute_java_method_vararg (ee=0x8054004, obj=0x28ef2228, > method_name=0x804d6c8 "", method_signature=0x8055258 "()V", > mb=0x828a130, isStaticCall=TRUE, args=0xbfbfe4e0 "", otherBits=0x0, > shortFloats=FALSE) at ../../../src/share/javavm/runtime/interpreter.c:573 > #18 0x281a9c3d in do_execute_java_method (ee=0x8054004, obj=0x28ef2228, > method_name=0x0, signature=0x0, mb=0x828a130, isStaticCall=TRUE) > at ../../../src/share/javavm/runtime/interpreter.c:427 > #19 0x2819e01a in RunStaticInitializers (cb=0x28ef2228) > at ../../../src/share/javavm/runtime/classruntime.c:1001 > #20 0x2819e204 in InitClass (cb=0x28ef2228) > at ../../../src/share/javavm/runtime/classruntime.c:1076 > #21 0x2819c0a6 in FindClassFromClassLoader2 (ee=0x8054004, > name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", resolve=TRUE, > loader=0x0, throwError=FALSE, pd=0x0) > at ../../../src/share/javavm/runtime/classresolver.c:2176 > #22 0x2819bd2b in FindClassFromClassLoader (ee=0x8054004, > name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", resolve=TRUE, > loader=0x0, throwError=FALSE) > at ../../../src/share/javavm/runtime/classresolver.c:2056 > #23 0x281cfcc3 in JVM_FindClassFromClassLoader (env=0x8054004, > name=0xbfbfe6f8 "sun/awt/X11GraphicsEnvironment", init=1 '\001', > loader=0x0, throwError=0 '\0') > at ../../../src/share/javavm/runtime/jvm.c:143 > #24 0x2c35fb4e in Java_java_lang_Class_forName0 (env=0x8054004, > this=0xbfbfe810, classname=0x8059228, initialize=1 '\001', loader=0x0) > at ../../../src/share/native/java/lang/Class.c:120 > #25 0x281f0501 in args_done () > from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm_g.so > #26 0x2819d140 in invokeJNINativeMethod (o=0x28eda150, mb=0x80937cc, > args_size=3, ee=0x8054004) > at ../../../src/share/javavm/runtime/classruntime.c:489 > #27 0x281b7861 in ExecuteJava_C (initial_pc=0xbfbfedf0 "", ee=0x8054004) > at ../../../src/share/javavm/runtime/executeJava.c:1579 > #28 0x281bbde4 in jni_Invoke (env=0x8054004, self=0x8059074, > methodID=0x81e1e0c, pushArguments=0x281bb788 , > args=0xbfbfee8c, info=778) at ../../../src/share/javavm/runtime/jni.c:774 > #29 0x281bec19 in jni_CallStaticVoidMethodV (env=0x8054004, clazz=0x8059074, > methodID=0x81e1e0c, args=0xbfbfeecc "|\220\005\b") > at ../../../src/share/javavm/runtime/jni.c:1947 > #30 0x281c9016 in checked_jni_CallStaticVoidMethod (env=0x8054004, > cls=0x8059074, methodID=0x81e1e0c) > at ../../../src/share/javavm/runtime/check_jni.c:741 > #31 0x08049356 in main (argc=0, argv=0xbfbff79c) > at ../../../../src/share/bin/java.c:323 > #32 0x08048bbc in _start () > > Any hints how to get the backtrack in modern fashion ? The above should be helpful. W/out source, the above is the best you can do. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 14:34: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E595437B401 for ; Tue, 29 Oct 2002 14:34:03 -0800 (PST) Received: from epaper.eslitebooks.com (210-58-229-92.eslitebooks.com [210.58.229.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 015B843E75 for ; Tue, 29 Oct 2002 14:34:03 -0800 (PST) (envelope-from clive@tongi.org) Received: from epaper.eslitebooks.com (localhost.eslitebooks.com [127.0.0.1]) by epaper.eslitebooks.com (8.12.3/8.12.3) with SMTP id g9TMY1Kd006923; Wed, 30 Oct 2002 06:34:01 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 6921 invoked by uid 1000); Tue, 29 Oct 2002 22:34:01 -0000 Date: Wed, 30 Oct 2002 06:34:01 +0800 From: Clive Lin To: Nate Williams Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029223401.GA6868@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> <20021029221404.GA6350@epaper.eslitebooks.com> <15807.2424.779969.97960@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15807.2424.779969.97960@emerger.yogotech.com> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.1i 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 Hi, On Tue, Oct 29, 2002 at 03:19:36PM -0700, Nate Williams wrote: > > Ok, so 'Aj' should work, right? Can you try that. > Yes, Aj do work. Clive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 14:35:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A6CC37B401 for ; Tue, 29 Oct 2002 14:35:48 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76A8143E97 for ; Tue, 29 Oct 2002 14:35:47 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id PAA08830; Tue, 29 Oct 2002 15:35:44 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9TMZigi007595; Tue, 29 Oct 2002 15:35:44 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15807.3392.486527.295223@emerger.yogotech.com> Date: Tue, 29 Oct 2002 15:35:44 -0700 To: Clive Lin Cc: Nate Williams , Bill Huey , freebsd-java@FreeBSD.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE In-Reply-To: <20021029223401.GA6868@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> <20021029221404.GA6350@epaper.eslitebooks.com> <15807.2424.779969.97960@emerger.yogotech.com> <20021029223401.GA6868@epaper.eslitebooks.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > Ok, so 'Aj' should work, right? Can you try that. > > > > Yes, Aj do work. Thanks, how about AR? (I suspect it won't, but if it does, it implies something is wrong with the collector). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 14:49:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0AE137B401 for ; Tue, 29 Oct 2002 14:49:58 -0800 (PST) Received: from epaper.eslitebooks.com (210-58-229-92.eslitebooks.com [210.58.229.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id D215B43E4A for ; Tue, 29 Oct 2002 14:49:57 -0800 (PST) (envelope-from clive@tongi.org) Received: from epaper.eslitebooks.com (localhost.eslitebooks.com [127.0.0.1]) by epaper.eslitebooks.com (8.12.3/8.12.3) with SMTP id g9TMnuKd007068; Wed, 30 Oct 2002 06:49:56 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 7066 invoked by uid 1000); Tue, 29 Oct 2002 22:49:56 -0000 Date: Wed, 30 Oct 2002 06:49:56 +0800 From: Clive Lin To: Nate Williams Cc: Bill Huey , freebsd-java@FreeBSD.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021029224956.GB6868@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> <20021029221404.GA6350@epaper.eslitebooks.com> <15807.2424.779969.97960@emerger.yogotech.com> <20021029223401.GA6868@epaper.eslitebooks.com> <15807.3392.486527.295223@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15807.3392.486527.295223@emerger.yogotech.com> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.1i 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 Hi, Here's the results for combinations of [Aa][Rr][Jj]: ARJ -> No ARj -> Yes ArJ -> No aRJ -> No Arj -> Yes aRj -> Yes arJ -> No arj -> Yes On Tue, Oct 29, 2002 at 03:35:44PM -0700, Nate Williams wrote: > > > Ok, so 'Aj' should work, right? Can you try that. > > > > > > > Yes, Aj do work. > > Thanks, how about AR? (I suspect it won't, but if it does, it implies > something is wrong with the collector). > > > > Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 15: 0:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA3B37B401 for ; Tue, 29 Oct 2002 15:00:39 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F58C43E4A for ; Tue, 29 Oct 2002 15:00:38 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA09009; Tue, 29 Oct 2002 16:00:35 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9TN0Z92007771; Tue, 29 Oct 2002 16:00:35 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15807.4882.989006.856989@emerger.yogotech.com> Date: Tue, 29 Oct 2002 16:00:34 -0700 To: Clive Lin Cc: Nate Williams , Bill Huey , freebsd-java@FreeBSD.org Subject: Re: awt app always abort when exit using hotspot vm under STABLE In-Reply-To: <20021029224956.GB6868@epaper.eslitebooks.com> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021029202721.GA5842@epaper.eslitebooks.com> <15806.61634.620588.347335@emerger.yogotech.com> <20021029221404.GA6350@epaper.eslitebooks.com> <15807.2424.779969.97960@emerger.yogotech.com> <20021029223401.GA6868@epaper.eslitebooks.com> <15807.3392.486527.295223@emerger.yogotech.com> <20021029224956.GB6868@epaper.eslitebooks.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > ARJ -> No > ARj -> Yes > ArJ -> No > aRJ -> No > Arj -> Yes > aRj -> Yes > arJ -> No > arj -> Yes Re-stated a bit differently. jRA - YES jRa - YES jra - YES jrA - YES JRA - NO JRa - NO Jra - NO JrA - NO So, the magic flag appears to be 'J'. Others are essentially no-ops. This means that someone is attempting to read freed memory, since the 'J' option re-initializes freed memory with (essentially) garbage, and anyone that reads from this will get garbage. Given that it cores, I expect it's a pointer reference since I'm guessing it's trying to access memory location 0xd0d0d0d0 or somesuch as getting a SIGABT, although I would have expected a SIGSEGV in that case. In any case, thanks for the backtrace and the sleuthing. Nate > On Tue, Oct 29, 2002 at 03:35:44PM -0700, Nate Williams wrote: > > > > Ok, so 'Aj' should work, right? Can you try that. > > > > > > > > > > Yes, Aj do work. > > > > Thanks, how about AR? (I suspect it won't, but if it does, it implies > > something is wrong with the collector). > > > > > > > > Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 15:39:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63FA237B401 for ; Tue, 29 Oct 2002 15:39:25 -0800 (PST) Received: from iole.cs.brandeis.edu (iole.cs.brandeis.edu [129.64.3.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 923BB43E3B for ; Tue, 29 Oct 2002 15:39:24 -0800 (PST) (envelope-from meshko@cs.brandeis.edu) Received: from localhost (meshko@localhost) by iole.cs.brandeis.edu (8.11.6/8.11.6) with ESMTP id g9TNx0W04449 for ; Tue, 29 Oct 2002 18:59:01 -0500 X-Authentication-Warning: iole.cs.brandeis.edu: meshko owned process doing -bs Date: Tue, 29 Oct 2002 18:59:00 -0500 (EST) From: Mikhail Kruk To: Subject: wake up call for Sun? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Maybe this belongs more on the advocacy list, then please forgive me, but I thikn this is an interesting read: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm in particular slide 24. Yahoo engineer is talking about why they selected PHP as the new scripting platform for Yahoo.com. ...as far as I understand we are quite close to having a *real* Java implementation on FreeBSD now, and I, as everyone else, really appreaciate the job that the gudid on the porting effort, I just think that Sun may realize now that it should have been a bit more helpful with the FreeBSD port. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 19:55:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B656B37B401 for ; Tue, 29 Oct 2002 19:55:09 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBE8A43E4A for ; Tue, 29 Oct 2002 19:55:08 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 186jwi-0007jU-03; Tue, 29 Oct 2002 20:55:08 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 186jwg-0007iR-03; Tue, 29 Oct 2002 20:55:07 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9U3sxh30561; Wed, 30 Oct 2002 14:24:59 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 30 Oct 2002 14:24:57 +1030 From: Greg Lewis To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030142457.A30528@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Tue, Oct 29, 2002 at 06:59:00PM -0500 X-Spam-Status: No, hits=-3.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Tue, Oct 29, 2002 at 06:59:00PM -0500, Mikhail Kruk wrote: > Maybe this belongs more on the advocacy list, then please forgive me, > but I thikn this is an interesting read: > http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm > in particular slide 24. > > Yahoo engineer is talking about why they selected PHP as the new scripting > platform for Yahoo.com. > > ...as far as I understand we are quite close to having a *real* Java > implementation on FreeBSD now, and I, as everyone else, really appreaciate > the job that the gudid on the porting effort, I just think that Sun may > realize now that it should have been a bit more helpful with the FreeBSD > port. I read the same thing, but I wasn't quite sure what he was driving at. As I recall the slide mentioned something about threading problems. So, either they were using the Linux version and HotSpot was crashing or they wanted to use the native version on an SMP box and use some sort of kernel threading so it would use all of the processors. I'd like to know more information about what they tried and what was the problem. Sun are actually pretty helpful, its more that things haven't quite gone as planned on our end. Mainly the reality of us all being volunteers. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 20: 4:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA89937B401 for ; Tue, 29 Oct 2002 20:04:21 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155EF43E42 for ; Tue, 29 Oct 2002 20:04:21 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id VAA10972; Tue, 29 Oct 2002 21:04:17 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9U44GLD033543; Tue, 29 Oct 2002 21:04:16 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15807.23103.607937.532250@emerger.yogotech.com> Date: Tue, 29 Oct 2002 21:04:15 -0700 To: Greg Lewis Cc: Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? In-Reply-To: <20021030142457.A30528@misty.eyesbeyond.com> References: <20021030142457.A30528@misty.eyesbeyond.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > Maybe this belongs more on the advocacy list, then please forgive me, > > but I thikn this is an interesting read: > > http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm > > in particular slide 24. > > > > Yahoo engineer is talking about why they selected PHP as the new scripting > > platform for Yahoo.com. > > > > ...as far as I understand we are quite close to having a *real* Java > > implementation on FreeBSD now, and I, as everyone else, really appreaciate > > the job that the gudid on the porting effort, I just think that Sun may > > realize now that it should have been a bit more helpful with the FreeBSD > > port. > > I read the same thing, but I wasn't quite sure what he was driving at. > As I recall the slide mentioned something about threading problems. > So, either they were using the Linux version and HotSpot was crashing > or they wanted to use the native version on an SMP box and use some sort > of kernel threading so it would use all of the processors. For scalability purposes, they would need 'native' FreeBSD threads. The linux thread stuff works, but doesn't scale more. Plus, the person who was pushing the effort was a big PHP fan, so there was little liklihood Java would have been chosen. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 20:50:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F40537B401 for ; Tue, 29 Oct 2002 20:50:39 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6963543E6E for ; Tue, 29 Oct 2002 20:50:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 186knh-0006kk-02 for java@freebsd.org; Tue, 29 Oct 2002 21:49:53 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 186km8-0005wU-02; Tue, 29 Oct 2002 21:48:17 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9U4mCN31001; Wed, 30 Oct 2002 15:18:12 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 30 Oct 2002 15:18:12 +1030 From: Greg Lewis To: Nate Williams Cc: Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030151812.A30986@misty.eyesbeyond.com> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15807.23103.607937.532250@emerger.yogotech.com>; from nate@yogotech.com on Tue, Oct 29, 2002 at 09:04:15PM -0700 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Tue, Oct 29, 2002 at 09:04:15PM -0700, Nate Williams wrote: > > I read the same thing, but I wasn't quite sure what he was driving at. > > As I recall the slide mentioned something about threading problems. > > So, either they were using the Linux version and HotSpot was crashing > > or they wanted to use the native version on an SMP box and use some sort > > of kernel threading so it would use all of the processors. > > For scalability purposes, they would need 'native' FreeBSD threads. The > linux thread stuff works, but doesn't scale more. True. I note that there is now a KSE based pthreads library in -CURRENT. This will eventually become the target for the JDK, which will hopefully address a lot of issues in this regard. > Plus, the person who was pushing the effort was a big PHP fan, so there > was little liklihood Java would have been chosen. I'm actually a pretty big fan of PHP for web based stuff myself :). It has several problems, but I find it very good for what it was designed to do. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 21: 1: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC1137B401 for ; Tue, 29 Oct 2002 21:01:06 -0800 (PST) Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08CB343E3B for ; Tue, 29 Oct 2002 21:01:06 -0800 (PST) (envelope-from meshko@cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.11.6/8.11.6) with ESMTP id g9U50nJ03288; Wed, 30 Oct 2002 00:00:49 -0500 X-Authentication-Warning: calliope.cs.brandeis.edu: meshko owned process doing -bs Date: Wed, 30 Oct 2002 00:00:48 -0500 (EST) From: Mikhail Kruk To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: wake up call for Sun? In-Reply-To: <20021030142457.A30528@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > Sun are actually pretty helpful, its more that things haven't quite gone > as planned on our end. Mainly the reality of us all being volunteers. I'm not saying that Sun wasn't helpful... I it wasn't as helpful as it should have been. As in assigning an engineer to do this, or paying you guys for this :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 21: 6:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD1837B401 for ; Tue, 29 Oct 2002 21:06:41 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48C0D43E42 for ; Tue, 29 Oct 2002 21:06:40 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id WAA11413; Tue, 29 Oct 2002 22:06:28 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9U56RAi034071; Tue, 29 Oct 2002 22:06:27 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15807.26835.639866.242544@emerger.yogotech.com> Date: Tue, 29 Oct 2002 22:06:27 -0700 To: Greg Lewis Cc: Nate Williams , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? In-Reply-To: <20021030151812.A30986@misty.eyesbeyond.com> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > I read the same thing, but I wasn't quite sure what he was driving at. > > > As I recall the slide mentioned something about threading problems. > > > So, either they were using the Linux version and HotSpot was crashing > > > or they wanted to use the native version on an SMP box and use some sort > > > of kernel threading so it would use all of the processors. > > > > For scalability purposes, they would need 'native' FreeBSD threads. The > > linux thread stuff works, but doesn't scale more. > > True. I note that there is now a KSE based pthreads library in -CURRENT. > This will eventually become the target for the JDK, which will hopefully > address a lot of issues in this regard. This will help alot. Now if we just get the legal stuff working. :) :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 29 22:53:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E7637B401 for ; Tue, 29 Oct 2002 22:53:22 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2576743E7B for ; Tue, 29 Oct 2002 22:53:22 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 186mjB-0008VW-03; Tue, 29 Oct 2002 23:53:21 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 186mj9-0008UM-03; Tue, 29 Oct 2002 23:53:20 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9U6rEP31669; Wed, 30 Oct 2002 17:23:14 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 30 Oct 2002 17:23:14 +1030 From: Greg Lewis To: Michael E Mercer Cc: maruyama@yogotech.com, freebsd-java@FreeBSD.ORG Subject: Re: LimeWire crash gdb information Message-ID: <20021030172314.A31631@misty.eyesbeyond.com> References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com> <3DBB4CEA.E0DC7E1C@nc.rr.com> <3DBB5250.8DA88B27@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <3DBB5250.8DA88B27@nc.rr.com>; from mmercer@nc.rr.com on Sat, Oct 26, 2002 at 10:41:20PM -0400 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Sat, Oct 26, 2002 at 10:41:20PM -0400, Michael E Mercer wrote: > If I am to assume that each method call below calls the method mentioned right above it, > then why is the res_send method calling socket found in iomgr.c? > > res_send is found in libc and therefore one would think that this would call the > systems socket method. Am I totally wrong here? IIRC you are correct. The block of __strong_reference code at the bottom of iomgr.c is supposed to stop this and allow libc routines that use things like socket internally to do so. I've cc'ed Fuyuhiko Maruyama-san who originally added this code and hopefully he will correct me if my memory is incorrect. > (gdb) where > #0 0x280b8b74 in kill () from /usr/lib/libc.so.4 > #1 0x280f9c4d in abort () from /usr/lib/libc.so.4 > #2 0x281765b9 in Abort () at ../../../src/share/javavm/runtime/interpreter.c:1449 > #3 0x281b3e95 in panic (format=0x2807df80 "\"%s\", line %d: assertion failure\n") > at ../../../src/share/javavm/runtime/util.c:126 > #4 0x28076d28 in socket (domain=2, type=2, protocol=0) > at ../../../../src/solaris/hpi/green_threads/src/iomgr.c:2360 > #5 0x280c96f8 in res_send () from /usr/lib/libc.so.4 <<<<<<<<<<========= calls socket in > iomgr.c > #6 0x280ccd21 in res_query () from /usr/lib/libc.so.4 > #7 0x280cd1fc in res_querydomain () from /usr/lib/libc.so.4 > #8 0x280ccf3e in res_search () from /usr/lib/libc.so.4 > #9 0x280d8ec8 in _gethostbydnsname () from /usr/lib/libc.so.4 > #10 0x280d79b4 in gethostbyname2 () from /usr/lib/libc.so.4 > #11 0x280d7931 in gethostbyname () from /usr/lib/libc.so.4 > #12 0x2d4d48ba in gethostbyname_r (name=0x853b6d0 "www.paonet.org", hptr=0x2dec7968, > buf=0x2dec7564 "arch.gif", buflen=1024, h_errnop=0x2dec755c) > at ../../../src/solaris/native/java/net/InetAddressImpl.c:340 > #13 0x2d4d4529 in Java_java_net_InetAddressImpl_lookupAllHostAddr (env=0x8880e04, > this=0x2dec79d0, > host=0x8acd3a8) at ../../../src/solaris/native/java/net/InetAddressImpl.c:193 > #14 0x28177768 in invoke_O_O (o=0x28eb1b78, mb=0x826699c, args_size=2, ee=0x8880e04) > at ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj_g/invokers.c:555 > #15 0x28183126 in ExecuteJava_C (initial_pc=0x2dec7ee8 "Ö\r\001±,\\\020(@}\a(ßB\034(", > ee=0x8880e04) at ../../../src/share/javavm/runtime/executeJava.c:1579 > #16 0x28174982 in do_execute_java_method_vararg (ee=0x8880e04, obj=0x28e6b798, > method_name=0x8055b38 "run", method_signature=0x8055258 "()V", mb=0x0, > isStaticCall=FALSE, > args=0x2dec7f70 > "\200\016\210\b\004\016\210\b\230\177ì-')\e(l)\e(\004\016\210\b¸\177ì-Ì)\e(\230·æ(\004\016\210\b¸\177ì-½)\e(l)\e(è\177ì-\034Ì\n(\003", > otherBits=0x0, shortFloats=FALSE) > at ../../../src/share/javavm/runtime/interpreter.c:573 > #17 0x28174178 in execute_java_dynamic_method (ee=0x8880e04, obj=0x28e6b798, > method_name=0x281c3ea0 "run", signature=0x281c42de "()V") > at ../../../src/share/javavm/runtime/interpreter.c:288 > #18 0x2819fbc8 in ThreadRT0 (p=0x28e6b798) at > ../../../src/share/javavm/runtime/jvm.c:2101 > #19 0x281b29cc in saveStackBase (args=0x2819fb74) > at ../../../src/share/javavm/runtime/threads.c:139 > #20 0x2807af39 in start_func (func=0x281b296c , args=0xbfbfd998) > at ../../../../src/solaris/hpi/green_threads/src/threads_md.c:351 > #21 0x0 in ?? () > (gdb) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 8:20:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E520F37B401 for ; Wed, 30 Oct 2002 08:20:41 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69B343E6E for ; Wed, 30 Oct 2002 08:20:34 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.4) with ESMTP id g9UJKmvR026725; Wed, 30 Oct 2002 19:20:48 GMT (envelope-from ml@phantom.cris.net) Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id g9UGP3RR052906; Wed, 30 Oct 2002 18:25:03 +0200 (EET) (envelope-from ml) Date: Wed, 30 Oct 2002 18:25:02 +0200 From: Alexey Zelkin To: Greg Lewis Cc: Nate Williams , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030182502.A52856@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021030151812.A30986@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Oct 30, 2002 at 03:18:12PM +1030 X-Operating-System: FreeBSD 4.5-STABLE i386 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 hi, On Wed, Oct 30, 2002 at 03:18:12PM +1030, Greg Lewis wrote: > On Tue, Oct 29, 2002 at 09:04:15PM -0700, Nate Williams wrote: > > > I read the same thing, but I wasn't quite sure what he was driving at. > > > As I recall the slide mentioned something about threading problems. > > > So, either they were using the Linux version and HotSpot was crashing > > > or they wanted to use the native version on an SMP box and use some sort > > > of kernel threading so it would use all of the processors. > > > > For scalability purposes, they would need 'native' FreeBSD threads. The > > linux thread stuff works, but doesn't scale more. > > True. I note that there is now a KSE based pthreads library in -CURRENT. > This will eventually become the target for the JDK, which will hopefully > address a lot of issues in this regard. Yep. It will help a lot, but... * Only after it get into usable shape (it's pretty expiremental now) * Only after signaling become working (not yet implmeneted) * Only after 5.x-RELEASE become real and stable release (not early than 6 months from now, per current estimates) * And last, assuming KSE stuff working as expected (looks promising and quite real) > > Plus, the person who was pushing the effort was a big PHP fan, so there > > was little liklihood Java would have been chosen. > > I'm actually a pretty big fan of PHP for web based stuff myself :). It > has several problems, but I find it very good for what it was designed > to do. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 8:23:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E7537B401; Wed, 30 Oct 2002 08:23:50 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C9C43E3B; Wed, 30 Oct 2002 08:23:49 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA15768; Wed, 30 Oct 2002 09:23:35 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9UGNZkv038362; Wed, 30 Oct 2002 09:23:35 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15808.1927.423109.796378@emerger.yogotech.com> Date: Wed, 30 Oct 2002 09:23:35 -0700 To: Alexey Zelkin Cc: Greg Lewis , Nate Williams , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? In-Reply-To: <20021030182502.A52856@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > > I read the same thing, but I wasn't quite sure what he was driving at. > > > > As I recall the slide mentioned something about threading problems. > > > > So, either they were using the Linux version and HotSpot was crashing > > > > or they wanted to use the native version on an SMP box and use some sort > > > > of kernel threading so it would use all of the processors. > > > > > > For scalability purposes, they would need 'native' FreeBSD threads. The > > > linux thread stuff works, but doesn't scale more. > > > > True. I note that there is now a KSE based pthreads library in -CURRENT. > > This will eventually become the target for the JDK, which will hopefully > > address a lot of issues in this regard. > > Yep. It will help a lot, but... > > * Only after it get into usable shape (it's pretty expiremental now) True. > * Only after signaling become working (not yet implmeneted) I thought they had gotten signaling working as well as could be expected? > * Only after 5.x-RELEASE become real and stable release (not early than > 6 months from now, per current estimates) I'm guessing that something like the JDK would be a great way to wring out the bits, so the sooner someone starts working on porting the JDK to using it, the quicker the bugs will get found and fixed. I doubt anything would be as good at testing the code than the JDK. :) :) > * And last, assuming KSE stuff working as expected (looks promising > and quite real) We can hope... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 8:36:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC9BA37B406 for ; Wed, 30 Oct 2002 08:36:42 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0354E43E7B for ; Wed, 30 Oct 2002 08:36:39 -0800 (PST) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.4) with ESMTP id g9UJb7vR027118; Wed, 30 Oct 2002 19:37:07 GMT (envelope-from phantom@phantom.cris.net) Received: (from phantom@localhost) by phantom.cris.net (8.12.2/8.12.2) id g9UGfPMZ053086; Wed, 30 Oct 2002 18:41:25 +0200 (EET) (envelope-from phantom) Date: Wed, 30 Oct 2002 18:41:24 +0200 From: Alexey Zelkin To: Nate Williams Cc: Greg Lewis , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030184124.A52982@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> <15808.1927.423109.796378@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15808.1927.423109.796378@emerger.yogotech.com>; from nate@yogotech.com on Wed, Oct 30, 2002 at 09:23:35AM -0700 X-Operating-System: FreeBSD 4.5-STABLE i386 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 hi, On Wed, Oct 30, 2002 at 09:23:35AM -0700, Nate Williams wrote: > > * Only after signaling become working (not yet implmeneted) > > I thought they had gotten signaling working as well as could be > expected? Unfortunatelly not yet. John said that he's working on this, and it'll be in tree before 5.0-RELEASE. src/lib/libpthread/thread/thr_kill.c: : int : _pthread_kill(pthread_t pthread, int sig) : { : /* : * All signals are unsupported : */ : return (EINVAL); : } > > * Only after 5.x-RELEASE become real and stable release (not early than > > 6 months from now, per current estimates) > > I'm guessing that something like the JDK would be a great way to wring > out the bits, so the sooner someone starts working on porting the JDK to > using it, the quicker the bugs will get found and fixed. I doubt > anything would be as good at testing the code than the JDK. :) :) Sure. I also doubt that there's something more complex to test than JDK. :-] At least not being Sun Engeneer and not having access to design and other documentation, as well as testing methodics, etc :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 8:38:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77A4037B406 for ; Wed, 30 Oct 2002 08:38:24 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id AED5643E75 for ; Wed, 30 Oct 2002 08:38:23 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA15887; Wed, 30 Oct 2002 09:38:13 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g9UGcCrb038523; Wed, 30 Oct 2002 09:38:13 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15808.2804.430278.803110@emerger.yogotech.com> Date: Wed, 30 Oct 2002 09:38:12 -0700 To: Alexey Zelkin Cc: Nate Williams , Greg Lewis , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? In-Reply-To: <20021030184124.A52982@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> <15808.1927.423109.796378@emerger.yogotech.com> <20021030184124.A52982@phantom.cris.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > * Only after signaling become working (not yet implmeneted) > > > > I thought they had gotten signaling working as well as could be > > expected? > > Unfortunatelly not yet. John said that he's working on this, and it'll > be in tree before 5.0-RELEASE. > > src/lib/libpthread/thread/thr_kill.c: *sigh* > > > * Only after 5.x-RELEASE become real and stable release (not early than > > > 6 months from now, per current estimates) > > > > I'm guessing that something like the JDK would be a great way to wring > > out the bits, so the sooner someone starts working on porting the JDK to > > using it, the quicker the bugs will get found and fixed. I doubt > > anything would be as good at testing the code than the JDK. :) :) > > Sure. I also doubt that there's something more complex to test than JDK. :-] > > At least not being Sun Engeneer and not having access to design > and other documentation, as well as testing methodics, etc :-( IMO, it's not as difficult as *some* would lead you to believe. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 8:50: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DB8D37B401 for ; Wed, 30 Oct 2002 08:50:05 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3131843E9E for ; Wed, 30 Oct 2002 08:50:02 -0800 (PST) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.4) with ESMTP id g9UJoavR027465; Wed, 30 Oct 2002 19:50:36 GMT (envelope-from phantom@phantom.cris.net) Received: (from phantom@localhost) by phantom.cris.net (8.12.2/8.12.2) id g9UGstq4053235; Wed, 30 Oct 2002 18:54:55 +0200 (EET) (envelope-from phantom) Date: Wed, 30 Oct 2002 18:54:55 +0200 From: Alexey Zelkin To: Nate Williams Cc: Greg Lewis , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030185455.C52982@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> <15808.1927.423109.796378@emerger.yogotech.com> <20021030184124.A52982@phantom.cris.net> <15808.2804.430278.803110@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15808.2804.430278.803110@emerger.yogotech.com>; from nate@yogotech.com on Wed, Oct 30, 2002 at 09:38:12AM -0700 X-Operating-System: FreeBSD 4.5-STABLE i386 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 hi, On Wed, Oct 30, 2002 at 09:38:12AM -0700, Nate Williams wrote: > > > > * Only after 5.x-RELEASE become real and stable release (not early than > > > > 6 months from now, per current estimates) > > > > > > I'm guessing that something like the JDK would be a great way to wring > > > out the bits, so the sooner someone starts working on porting the JDK to > > > using it, the quicker the bugs will get found and fixed. I doubt > > > anything would be as good at testing the code than the JDK. :) :) > > > > Sure. I also doubt that there's something more complex to test than JDK. :-] > > > > At least not being Sun Engeneer and not having access to design > > and other documentation, as well as testing methodics, etc :-( > > IMO, it's not as difficult as *some* would lead you to believe. It's my personal opinion. Since until now I am only person who's working on debuging & fixing problems in HotSpot 1.4, it was easy for me to believe :-) I already hit few times into situations when fixing a bug or making workaround is not fixing real bug, but hiding it. So, it will reapear in other place later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 9:14:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1179437B401 for ; Wed, 30 Oct 2002 09:14:49 -0800 (PST) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A4BB43E77 for ; Wed, 30 Oct 2002 09:14:48 -0800 (PST) (envelope-from fuzzy@electricrain.com) Received: (qmail 5145 invoked by uid 540); 30 Oct 2002 17:14:47 -0000 Date: Wed, 30 Oct 2002 09:14:47 -0800 From: Chris Doherty To: Alexey Zelkin Cc: java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030171447.GC10117@zot.electricrain.com> Reply-To: chris-freebsd@randomcamel.net References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021030182502.A52856@phantom.cris.net> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. Organization: The Inside Foundation 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 On Wed, Oct 30, 2002 at 06:25:02PM +0200, Alexey Zelkin said: > * Only after 5.x-RELEASE become real and stable release (not early than > 6 months from now, per current estimates) holy christmas. are you sure? current@ has been chattering as if the release date is relatively near (several people have been concerned about installer and upgrade problems or incongruencies) but the dates on the releng page haven't changed. is http://www.freebsd.org/releases/5.0R/schedule.html completely invalid at the moment, or are you thinking of the timeframe wherein 5.x gets the kinks out and becomes 5.1 or 5.2? chris ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 9:37:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CCEB37B406 for ; Wed, 30 Oct 2002 09:37:50 -0800 (PST) Received: from ns.silverpoint.com.ua (gt-silverpoint.silverpoint.com.ua [212.82.193.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64EF943E4A for ; Wed, 30 Oct 2002 09:37:46 -0800 (PST) (envelope-from old@silverpoint.com.ua) Received: from bizarre.office.silverpoint.com.ua (root@dyomin.office.silverpoint.com.ua [10.0.0.176]) by ns.silverpoint.com.ua (8.11.2/8.11.2) with ESMTP id g9UHZQB12828; Wed, 30 Oct 2002 19:35:26 +0200 Received: from bizarre.office.silverpoint.com.ua (old@localhost.office.silverpoint.com.ua [127.0.0.1]) by bizarre.office.silverpoint.com.ua (8.12.6/8.12.6) with ESMTP id g9UHe1Dw069936; Wed, 30 Oct 2002 19:40:01 +0200 (EET) (envelope-from old@bizarre.office.silverpoint.com.ua) Received: (from old@localhost) by bizarre.office.silverpoint.com.ua (8.12.6/8.12.3/Submit) id g9UHe03p069904; Wed, 30 Oct 2002 19:40:00 +0200 (EET) Date: Wed, 30 Oct 2002 19:40:00 +0200 From: Dmitry Dyomin To: "Thomas T. Veldhouse" Cc: freebsd-java@freebsd.org Subject: Resin 2.1.5?? Message-ID: <20021030174000.GA65430@silverpoint.com.ua> Reply-To: 00a101c2739a$9cd2be50$8204dca7@northamerica.corp.microsoft.com Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline User-Agent: Mutt/1.4i 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 > Has anybody managed to get resin 2.1.5 working on FreeBSD? > > I was able to get it [mod_cauch] compiled with a simple makefile > modification, but I can't seem to get Resin itself to start > ($RESIN_HOME/bin/httpd.sh start). The JVM (native 1.3.1p7) starts and runs, > but Resin NEVER opens any ports for listening. 8080 never becomes > available. Tomcat 4.1.12 works fine, so I think the JVM is alright. > > Can anybody give me a hint? i tryed resin on linux-sun-jdk-1.3.1.05_1 and it did work. configured it with all options where apache and jni are mentioned. yes, there were some problems with compiling it, but makefile modifications did their work, and resin is now working wihtout any problems. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 9:44:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76F5437B404 for ; Wed, 30 Oct 2002 09:44:14 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E5D43E3B for ; Wed, 30 Oct 2002 09:44:11 -0800 (PST) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.4) with ESMTP id g9UKj3vR028857; Wed, 30 Oct 2002 20:45:03 GMT (envelope-from phantom@phantom.cris.net) Received: (from phantom@localhost) by phantom.cris.net (8.12.2/8.12.2) id g9UHnLMd053631; Wed, 30 Oct 2002 19:49:21 +0200 (EET) (envelope-from phantom) Date: Wed, 30 Oct 2002 19:49:21 +0200 From: Alexey Zelkin To: Chris Doherty Cc: java@FreeBSD.ORG Subject: Re: wake up call for Sun? Message-ID: <20021030194921.A53550@phantom.cris.net> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> <20021030171447.GC10117@zot.electricrain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021030171447.GC10117@zot.electricrain.com>; from chris-freebsd@randomcamel.net on Wed, Oct 30, 2002 at 09:14:47AM -0800 X-Operating-System: FreeBSD 4.5-STABLE i386 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 hi, On Wed, Oct 30, 2002 at 09:14:47AM -0800, Chris Doherty wrote: > On Wed, Oct 30, 2002 at 06:25:02PM +0200, Alexey Zelkin said: > > * Only after 5.x-RELEASE become real and stable release (not early than > > 6 months from now, per current estimates) > > holy christmas. are you sure? current@ has been chattering as if the > release date is relatively near (several people have been concerned about > installer and upgrade problems or incongruencies) but the dates on the > releng page haven't changed. is > http://www.freebsd.org/releases/5.0R/schedule.html completely invalid at > the moment, or are you thinking of the timeframe wherein 5.x gets the > kinks out and becomes 5.1 or 5.2? Yep. 5.0 is developers and early adopters only. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 13: 8:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9B5C37B401 for ; Wed, 30 Oct 2002 13:08:41 -0800 (PST) Received: from ncsmtp02.ogw.rr.com (ncsmtp02.ogw.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 970A843E42 for ; Wed, 30 Oct 2002 13:08:40 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from mail6.nc.rr.com (fe6 [24.93.67.53]) by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9UL8Uur022064; Wed, 30 Oct 2002 16:08:30 -0500 (EST) Received: from nc.rr.com ([24.74.128.130]) by mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 30 Oct 2002 16:08:37 -0500 Message-ID: <3DC04A50.D8FB8B4D@nc.rr.com> Date: Wed, 30 Oct 2002 16:08:32 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lewis Cc: maruyama@yogotech.com, freebsd-java@freebsd.org Subject: Re: LimeWire crash gdb information References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com> <3DBB4CEA.E0DC7E1C@nc.rr.com> <3DBB5250.8DA88B27@nc.rr.com> <20021030172314.A31631@misty.eyesbeyond.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Hello All, I am no expert in c, but is it possible that the system is reusing a file descriptor before the jvm code has reset the fd_flags[fd]? The LimeWire software is opening and closing sockets left and right very quickly, so could this be a timing issue with this panic? I would really like to help out debugging, so if someone does not mind giving me a quick tutoring lesson on the code and gdb, I'll jump right in! Thanks Michael Mercer Greg Lewis wrote: > On Sat, Oct 26, 2002 at 10:41:20PM -0400, Michael E Mercer wrote: > > If I am to assume that each method call below calls the method mentioned right above it, > > then why is the res_send method calling socket found in iomgr.c? > > > > res_send is found in libc and therefore one would think that this would call the > > systems socket method. Am I totally wrong here? > > IIRC you are correct. The block of __strong_reference code at the bottom > of iomgr.c is supposed to stop this and allow libc routines that use > things like socket internally to do so. I've cc'ed Fuyuhiko Maruyama-san > who originally added this code and hopefully he will correct me if my > memory is incorrect. > > > (gdb) where > > #0 0x280b8b74 in kill () from /usr/lib/libc.so.4 > > #1 0x280f9c4d in abort () from /usr/lib/libc.so.4 > > #2 0x281765b9 in Abort () at ../../../src/share/javavm/runtime/interpreter.c:1449 > > #3 0x281b3e95 in panic (format=0x2807df80 "\"%s\", line %d: assertion failure\n") > > at ../../../src/share/javavm/runtime/util.c:126 > > #4 0x28076d28 in socket (domain=2, type=2, protocol=0) > > at ../../../../src/solaris/hpi/green_threads/src/iomgr.c:2360 > > #5 0x280c96f8 in res_send () from /usr/lib/libc.so.4 <<<<<<<<<<========= calls socket in > > iomgr.c > > #6 0x280ccd21 in res_query () from /usr/lib/libc.so.4 > > #7 0x280cd1fc in res_querydomain () from /usr/lib/libc.so.4 > > #8 0x280ccf3e in res_search () from /usr/lib/libc.so.4 > > #9 0x280d8ec8 in _gethostbydnsname () from /usr/lib/libc.so.4 > > #10 0x280d79b4 in gethostbyname2 () from /usr/lib/libc.so.4 > > #11 0x280d7931 in gethostbyname () from /usr/lib/libc.so.4 > > #12 0x2d4d48ba in gethostbyname_r (name=0x853b6d0 "www.paonet.org", hptr=0x2dec7968, > > buf=0x2dec7564 "arch.gif", buflen=1024, h_errnop=0x2dec755c) > > at ../../../src/solaris/native/java/net/InetAddressImpl.c:340 > > #13 0x2d4d4529 in Java_java_net_InetAddressImpl_lookupAllHostAddr (env=0x8880e04, > > this=0x2dec79d0, > > host=0x8acd3a8) at ../../../src/solaris/native/java/net/InetAddressImpl.c:193 > > #14 0x28177768 in invoke_O_O (o=0x28eb1b78, mb=0x826699c, args_size=2, ee=0x8880e04) > > at ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj_g/invokers.c:555 > > #15 0x28183126 in ExecuteJava_C (initial_pc=0x2dec7ee8 "Ö\r\001±,\\\020(@}\a(ßB\034(", > > ee=0x8880e04) at ../../../src/share/javavm/runtime/executeJava.c:1579 > > #16 0x28174982 in do_execute_java_method_vararg (ee=0x8880e04, obj=0x28e6b798, > > method_name=0x8055b38 "run", method_signature=0x8055258 "()V", mb=0x0, > > isStaticCall=FALSE, > > args=0x2dec7f70 > > "\200\016\210\b\004\016\210\b\230\177ì-')\e(l)\e(\004\016\210\b¸\177ì-Ì)\e(\230·æ(\004\016\210\b¸\177ì-½)\e(l)\e(è\177ì-\034Ì\n(\003", > > otherBits=0x0, shortFloats=FALSE) > > at ../../../src/share/javavm/runtime/interpreter.c:573 > > #17 0x28174178 in execute_java_dynamic_method (ee=0x8880e04, obj=0x28e6b798, > > method_name=0x281c3ea0 "run", signature=0x281c42de "()V") > > at ../../../src/share/javavm/runtime/interpreter.c:288 > > #18 0x2819fbc8 in ThreadRT0 (p=0x28e6b798) at > > ../../../src/share/javavm/runtime/jvm.c:2101 > > #19 0x281b29cc in saveStackBase (args=0x2819fb74) > > at ../../../src/share/javavm/runtime/threads.c:139 > > #20 0x2807af39 in start_func (func=0x281b296c , args=0xbfbfd998) > > at ../../../../src/solaris/hpi/green_threads/src/threads_md.c:351 > > #21 0x0 in ?? () > > (gdb) > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 17:28:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06ACD37B401 for ; Wed, 30 Oct 2002 17:28:43 -0800 (PST) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACFCE43E4A for ; Wed, 30 Oct 2002 17:28:38 -0800 (PST) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g9V1Qqe18151 for ; Thu, 31 Oct 2002 11:56:53 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Thu, 31 Oct 2002 11:58:15 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id LAA02800 for ; Thu, 31 Oct 2002 11:51:32 +1030 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VW7LNQHF; Thu, 31 Oct 2002 11:51:31 +1030 Date: Thu, 31 Oct 2002 11:38:11 +1030 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au Reply-To: Alex.Wilkinson@dsto.defence.gov.au To: freebsd-java@freebsd.org Subject: why linux-sun-jdk13 ? Message-ID: <20021031112943.C53751-100000@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Howdy all, I just wanted to ask why we need linux-sun-jdk13 distfile and linux_base to install the native FreeBSD jdk13 port ? Thanks - aW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 21:20:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEE637B401 for ; Wed, 30 Oct 2002 21:20:38 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D550C43E4A for ; Wed, 30 Oct 2002 21:20:37 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 1877kN-0006Wh-02 for freebsd-java@freebsd.org; Wed, 30 Oct 2002 22:20:00 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1877jr-0006AL-02; Wed, 30 Oct 2002 22:19:28 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V5JI435487; Thu, 31 Oct 2002 15:49:18 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 15:49:18 +1030 From: Greg Lewis To: "Wilkinson,Alex" Cc: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031154918.A35475@misty.eyesbeyond.com> References: <20021031112943.C53751-100000@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021031112943.C53751-100000@squirm.dsto.defence.gov.au>; from Alex.Wilkinson@dsto.defence.gov.au on Thu, Oct 31, 2002 at 11:38:11AM +1030 X-Spam-Status: No, hits=-3.0 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_01_02,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Thu, Oct 31, 2002 at 11:38:11AM +1030, Wilkinson,Alex wrote: > I just wanted to ask why we need linux-sun-jdk13 distfile and linux_base to install the > native FreeBSD jdk13 port ? Bootstrapping. You need a 1.3 compiler to build 1.3. Once you've got it compiled you can remove them and do port updates with NATIVE_BOOTSTRAP to avoid having to reinstall them. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 21:26:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3C8E37B401 for ; Wed, 30 Oct 2002 21:26:50 -0800 (PST) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5894943E7B for ; Wed, 30 Oct 2002 21:26:50 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1877qb-0001zO-05 for freebsd-java@freebsd.org; Wed, 30 Oct 2002 22:26:26 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1877mF-0007rq-05; Wed, 30 Oct 2002 22:21:56 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V5LpN35500; Thu, 31 Oct 2002 15:51:51 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 15:51:51 +1030 From: Greg Lewis To: Michael E Mercer Cc: Greg Lewis , maruyama@yogotech.com, freebsd-java@FreeBSD.ORG Subject: Re: LimeWire crash gdb information Message-ID: <20021031155151.B35475@misty.eyesbeyond.com> References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com> <3DBB4CEA.E0DC7E1C@nc.rr.com> <3DBB5250.8DA88B27@nc.rr.com> <20021030172314.A31631@misty.eyesbeyond.com> <3DC04A50.D8FB8B4D@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DC04A50.D8FB8B4D@nc.rr.com>; from mmercer@nc.rr.com on Wed, Oct 30, 2002 at 04:08:32PM -0500 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Wed, Oct 30, 2002 at 04:08:32PM -0500, Michael E Mercer wrote: > I am no expert in c, but is it possible that the system is reusing a file descriptor before the > jvm code has reset the fd_flags[fd]? > > The LimeWire software is opening and closing sockets left and right very quickly, > so could this be a timing issue with this panic? > > I would really like to help out debugging, so if someone does not mind giving me > a quick tutoring lesson on the code and gdb, I'll jump right in! Well, I think you were right with your initial observation. The internal call to socket() in libc (presumably to send out a query to the nameserver) shouldn't be calling back into the JVM. Whatever else might be going on, this is the root cause. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 21:49:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4659237B401 for ; Wed, 30 Oct 2002 21:49:22 -0800 (PST) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC1B243E6E for ; Wed, 30 Oct 2002 21:49:20 -0800 (PST) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g9V5lOe16447 for ; Thu, 31 Oct 2002 16:17:24 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.2.10) with ESMTP id ; Thu, 31 Oct 2002 16:18:41 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id QAA23266; Thu, 31 Oct 2002 16:14:12 +1030 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VW7LN5HV; Thu, 31 Oct 2002 16:14:12 +1030 Date: Thu, 31 Oct 2002 16:00:52 +1030 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au Reply-To: Alex.Wilkinson@dsto.defence.gov.au To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: why linux-sun-jdk13 ? In-Reply-To: <20021031154918.A35475@misty.eyesbeyond.com> Message-ID: <20021031155655.I90689-100000@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Hi there, Thanks for your reply. You said: "port updates" Are you talking about portupgrade ? If not how do you *upgrade* it and specify the .if !defined(NATIVE_BOOTSTRAP) ? Thanks - aW Bootstrapping. You need a 1.3 compiler to build 1.3. Once you've got it compiled you can remove them and do port updates with NATIVE_BOOTSTRAP to avoid having to reinstall them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 21:58:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EAE037B401 for ; Wed, 30 Oct 2002 21:58:24 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E91843E42 for ; Wed, 30 Oct 2002 21:58:24 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1878LU-0002bI-03; Wed, 30 Oct 2002 22:58:21 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1878LJ-0002ZX-03; Wed, 30 Oct 2002 22:58:10 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V5w6J35709; Thu, 31 Oct 2002 16:28:06 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 16:28:05 +1030 From: Greg Lewis To: "Wilkinson,Alex" Cc: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031162805.A35599@misty.eyesbeyond.com> References: <20021031154918.A35475@misty.eyesbeyond.com> <20021031155655.I90689-100000@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021031155655.I90689-100000@squirm.dsto.defence.gov.au>; from Alex.Wilkinson@dsto.defence.gov.au on Thu, Oct 31, 2002 at 04:00:52PM +1030 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_02_03,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Thu, Oct 31, 2002 at 04:00:52PM +1030, Wilkinson,Alex wrote: > Hi there, > > Thanks for your reply. > > You said: "port updates" > > Are you talking about portupgrade ? If not how do you *upgrade* it and specify the > .if !defined(NATIVE_BOOTSTRAP) ? I don't know enough about portupgrade to tell you. Since I maintain the port I've always got the latest version :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:24:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC5E837B401 for ; Wed, 30 Oct 2002 22:24:27 -0800 (PST) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5BC343E77 for ; Wed, 30 Oct 2002 22:24:26 -0800 (PST) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g9V6Mee21685 for ; Thu, 31 Oct 2002 16:52:40 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.2.10) with ESMTP id ; Thu, 31 Oct 2002 16:53:51 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id QAA22147; Thu, 31 Oct 2002 16:47:35 +1030 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VW7LN6TL; Thu, 31 Oct 2002 16:47:35 +1030 Date: Thu, 31 Oct 2002 16:34:15 +1030 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au Reply-To: Alex.Wilkinson@dsto.defence.gov.au To: Greg Lewis Cc: "Wilkinson,Alex" , Subject: Re: why linux-sun-jdk13 ? In-Reply-To: <20021031162805.A35599@misty.eyesbeyond.com> Message-ID: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Ok, I think you have misinterpreted what I have said. Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: 1. I do a pkg_delete of jdk13. 2. Then I do a fresh install of jdk-the-updated-version. Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. Or do you install the jdk-updated-version first and then pkg_delete the older version ? - aW I don't know enough about portupgrade to tell you. Since I maintain the port I've always got the latest version :). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:30:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FCE637B401 for ; Wed, 30 Oct 2002 22:30:36 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D63D43E3B for ; Wed, 30 Oct 2002 22:30:35 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id g9V6U7uk071255; Thu, 31 Oct 2002 19:30:07 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id g9V6U7ep071254; Thu, 31 Oct 2002 19:30:07 +1300 (NZDT) (envelope-from jonc) Date: Thu, 31 Oct 2002 19:30:07 +1300 From: Jonathan Chen To: "Wilkinson,Alex" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031063007.GA71137@grimoire.chen.org.nz> References: <20021031162805.A35599@misty.eyesbeyond.com> <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> User-Agent: Mutt/1.4i 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 On Thu, Oct 31, 2002 at 04:34:15PM +1030, Wilkinson,Alex wrote: > Ok, I think you have misinterpreted what I have said. > > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > 1. I do a pkg_delete of jdk13. > 2. Then I do a fresh install of jdk-the-updated-version. > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. The correct way is with sysutils/portupgrade: # portupgrade -m -DNATIVE_BOOTSTRAP jdk works for me every time. -- Jonathan Chen ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:33:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2858737B401 for ; Wed, 30 Oct 2002 22:33:58 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE5A43E77 for ; Wed, 30 Oct 2002 22:33:57 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1878tx-0005ld-03; Wed, 30 Oct 2002 23:33:57 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1878tw-0005lN-03; Wed, 30 Oct 2002 23:33:56 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V6Xqw42641; Thu, 31 Oct 2002 17:03:52 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 17:03:51 +1030 From: Greg Lewis To: "Wilkinson,Alex" Cc: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031170351.B35730@misty.eyesbeyond.com> References: <20021031162805.A35599@misty.eyesbeyond.com> <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au>; from Alex.Wilkinson@dsto.defence.gov.au on Thu, Oct 31, 2002 at 04:34:15PM +1030 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Thu, Oct 31, 2002 at 04:34:15PM +1030, Wilkinson,Alex wrote: > Ok, I think you have misinterpreted what I have said. > > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > 1. I do a pkg_delete of jdk13. > 2. Then I do a fresh install of jdk-the-updated-version. > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. > > Or do you install the jdk-updated-version first and then pkg_delete the older version ? This is what you can do: make -DNATIVE_BOOTSTRAP pkg_delete make -DNATIVE_BOOTSTRAP install So, the package deletion is performed after the build (which requires the compiler to do bootstrapping) but before the install (which doesn't require a JDK). You might also be able to do this with the 'reinstall' target, but I don't remember exactly what that does. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:34: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CC4E37B401 for ; Wed, 30 Oct 2002 22:34:01 -0800 (PST) Received: from flora.isecure.com.au (ns1.isecure.com.au [202.125.0.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5733243E77 for ; Wed, 30 Oct 2002 22:33:59 -0800 (PST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from leal.securenet.com.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.isecure.com.au (8.11.3/8.11.3) with ESMTP id g9V6Xrd19514; Thu, 31 Oct 2002 17:33:53 +1100 Received: (from root@localhost) by leal.securenet.com.au (8.12.6/8.12.6) id g9V6XrYL004162; Thu, 31 Oct 2002 17:33:53 +1100 (EST) Received: from nodnsquery(10.11.3.10) by leal.securenet.com.au via csmap (V6.0) id srcAAANaaiii; Thu, 31 Oct 02 17:33:52 +1100 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) by gibbons.securenet.com.au (8.12.3/8.12.3/Debian -4) with ESMTP id g9V6XqQO030022; Thu, 31 Oct 2002 17:33:52 +1100 Received: from xena.aipo.gov.au (xena.aipo.gov.au [10.0.100.52]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g9V6Xqn60765; Thu, 31 Oct 2002 17:33:52 +1100 (EST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from newton.aipo.gov.au (newton.aipo.gov.au [10.0.100.18]) by xena.aipo.gov.au (8.11.1/8.11.2) with ESMTP id g9V6XpW42159; Thu, 31 Oct 2002 17:33:52 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: from newton.aipo.gov.au (localhost [127.0.0.1]) by newton.aipo.gov.au (8.12.6/8.12.3) with ESMTP id g9V6XpMB059375; Thu, 31 Oct 2002 17:33:51 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: (from carl@localhost) by newton.aipo.gov.au (8.12.6/8.12.3/Submit) id g9V6XpJ7059374; Thu, 31 Oct 2002 17:33:51 +1100 (EST) X-Authentication-Warning: newton.aipo.gov.au: carl set sender to carl@xena.ipaustralia.gov.au using -f Subject: Re: why linux-sun-jdk13 ? From: Carl Makin To: Alex.Wilkinson@dsto.defence.gov.au Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> References: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 31 Oct 2002 17:33:51 +1100 Message-Id: <1036046031.26849.151.camel@newton.aipo.gov.au> Mime-Version: 1.0 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 On Thu, 2002-10-31 at 17:04, Wilkinson,Alex wrote: > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > 1. I do a pkg_delete of jdk13. > 2. Then I do a fresh install of jdk-the-updated-version. > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. > > Or do you install the jdk-updated-version first and then pkg_delete the older version ? The best way is to define NATIVE_BOOTSTRAP=YES in your environment and then use "portupgrade -v jdk13" to upgrade it. "portupgrade" is a port in /usr/ports/sysutils which you can install the normal way first. This might also work; 1. define NATIVE_BOOTSTRAP 2. cd /usr/ports/java/jdk13 3. make build 3. pkg_delete jdk-1.3.1xxxx (whatever version you have) 4. make install I haven't tried this though. Once you start using portupgrade, the rest is painful. Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:34:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB63B37B401 for ; Wed, 30 Oct 2002 22:34:38 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4572843E75 for ; Wed, 30 Oct 2002 22:34:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1878ub-0005va-03; Wed, 30 Oct 2002 23:34:37 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1878ua-0005vK-03; Wed, 30 Oct 2002 23:34:37 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V6YWK43033; Thu, 31 Oct 2002 17:04:32 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 17:04:32 +1030 From: Greg Lewis To: Jonathan Chen Cc: "Wilkinson,Alex" , Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031170432.C35730@misty.eyesbeyond.com> References: <20021031162805.A35599@misty.eyesbeyond.com> <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> <20021031063007.GA71137@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021031063007.GA71137@grimoire.chen.org.nz>; from jonc@chen.org.nz on Thu, Oct 31, 2002 at 07:30:07PM +1300 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Thu, Oct 31, 2002 at 07:30:07PM +1300, Jonathan Chen wrote: > On Thu, Oct 31, 2002 at 04:34:15PM +1030, Wilkinson,Alex wrote: > > Ok, I think you have misinterpreted what I have said. > > > > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > > > 1. I do a pkg_delete of jdk13. > > 2. Then I do a fresh install of jdk-the-updated-version. > > > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. > > The correct way is with sysutils/portupgrade: > > # portupgrade -m -DNATIVE_BOOTSTRAP jdk > > works for me every time. Cool. I knew someone would know how to do it with portupgrade :-). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:43: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEFBF37B401 for ; Wed, 30 Oct 2002 22:43:00 -0800 (PST) Received: from carme.recalldesign.com (carme.recalldesign.com [203.15.93.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34BB643E4A for ; Wed, 30 Oct 2002 22:42:59 -0800 (PST) (envelope-from mike@vee.net) Received: from io.internal.recalldesign.com (mail.internal.recalldesign.com [203.15.93.150]) by carme.recalldesign.com (8.12.5/8.12.5) with ESMTP id g9V6gp9O077315; Thu, 31 Oct 2002 17:12:52 +1030 (CST) (envelope-from mike@vee.net) Received: from vee.net (polarlander.internal.recalldesign.com [203.15.93.252]) by io.internal.recalldesign.com (8.12.5/8.12.5) with ESMTP id g9V6go0v045604; Thu, 31 Oct 2002 17:12:50 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3DC0D0EA.30303@vee.net> Date: Thu, 31 Oct 2002 17:12:50 +1030 From: Michael Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-au, en-gb, en, ja MIME-Version: 1.0 To: Jonathan Chen Cc: "Wilkinson,Alex" , Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? References: <20021031162805.A35599@misty.eyesbeyond.com> <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> <20021031063007.GA71137@grimoire.chen.org.nz> In-Reply-To: <20021031162805.A35599@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-1.5 required=8.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK,AWL version=2.31 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 Jonathan Chen wrote: > The correct way is with sysutils/portupgrade: > > # portupgrade -m -DNATIVE_BOOTSTRAP jdk > > works for me every time. And for even better user experience, add something like the following to your /usr/local/etc/pkgtools.conf file (only after you've installed the native port first): MAKE_ARGS = { 'java/jdk13' => 'NATIVE_BOOTSTRAP=1', ... } That way, you can just run: portupgrade jdk But this is getting off-topic... :) /mike -- Mike Gratton "fitter, healthier, and more productive / like a pig in a cage on antibiotics." - Radiohead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 30 22:59:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 198E637B401 for ; Wed, 30 Oct 2002 22:59:33 -0800 (PST) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C324B43E6E for ; Wed, 30 Oct 2002 22:59:31 -0800 (PST) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g9V6vje25206 for ; Thu, 31 Oct 2002 17:27:45 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.2.10) with ESMTP id ; Thu, 31 Oct 2002 17:29:19 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id RAA14940; Thu, 31 Oct 2002 17:22:18 +1030 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VW7LN8BX; Thu, 31 Oct 2002 17:22:18 +1030 Date: Thu, 31 Oct 2002 17:08:58 +1030 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au Reply-To: Alex.Wilkinson@dsto.defence.gov.au To: Carl Makin Cc: Alex.Wilkinson@dsto.defence.gov.au, Subject: Re: why linux-sun-jdk13 ? In-Reply-To: <1036046031.26849.151.camel@newton.aipo.gov.au> Message-ID: <20021031170831.H90689-100000@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 /etc/make.conf ? - aW The best way is to define NATIVE_BOOTSTRAP=YES in your environment and then use "portupgrade -v jdk13" to upgrade it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 31 8:23: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDFFE37B401 for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) Received: from skul.freebsd.org (skul.freebsd.org [216.136.204.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F7CE43E3B for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) (envelope-from ) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by skul.freebsd.org (8.12.6/8.12.6) with ESMTP id g9VGMvDC036077 for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A07543E3B for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) (envelope-from ) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 1BCB855CAB for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) (envelope-from ) Received: by hub.freebsd.org (Postfix) via BOUNCE id 1952D37B404; Thu, 31 Oct 2002 08:22:57 -0800 (PST) Date: Thu, 31 Oct 2002 08:22:57 -0800 (PST) From: MAILER-DAEMON@FreeBSD.ORG (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: java@skul.FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="158E737B401.1036081377/hub.freebsd.org" Message-Id: <20021031162257.1952D37B404@hub.freebsd.org> 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 This is a MIME-encapsulated message. --158E737B401.1036081377/hub.freebsd.org Content-Description: Notification Content-Type: text/plain This is the Postfix program at host hub.freebsd.org. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program : mail forwarding loop for java-port@mx1.freebsd.org --158E737B401.1036081377/hub.freebsd.org Content-Description: Delivery error report Content-Type: message/delivery-status Reporting-MTA: dns; hub.freebsd.org Arrival-Date: Thu, 31 Oct 2002 08:22:57 -0800 (PST) Final-Recipient: rfc822; java-port@mx1.freebsd.org Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; mail forwarding loop for java-port@mx1.freebsd.org --158E737B401.1036081377/hub.freebsd.org Content-Description: Undelivered Message Content-Type: message/rfc822 Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 158E737B401 for ; Thu, 31 Oct 2002 08:22:57 -0800 (PST) Received: from skul.freebsd.org (skul.freebsd.org [216.136.204.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E5A43E3B for ; Thu, 31 Oct 2002 08:22:56 -0800 (PST) (envelope-from java@skul.FreeBSD.org) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by skul.freebsd.org (8.12.6/8.12.6) with ESMTP id g9VGMuDC036074 for ; Thu, 31 Oct 2002 08:22:56 -0800 (PST) (envelope-from java@skul.FreeBSD.org) From: Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3212D43E42 for ; Thu, 31 Oct 2002 08:22:56 -0800 (PST) (envelope-from java@skul.FreeBSD.org) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 20CB155B1C for ; Thu, 31 Oct 2002 08:22:56 -0800 (PST) (envelope-from java@skul.FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 1EAC137B404; Thu, 31 Oct 2002 08:22:56 -0800 (PST) Delivered-To: java-port@mx1.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C10837B401 for ; Thu, 31 Oct 2002 08:22:56 -0800 (PST) Received: from skul.freebsd.org (skul.freebsd.org [216.136.204.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA48D43E42 for ; Thu, 31 Oct 2002 08:22:55 -0800 (PST) (envelope-from java@skul.FreeBSD.org) Received: (from java@localhost) by skul.freebsd.org (8.12.6/8.12.6) id g9VGMtkd036073 for java-port; Thu, 31 Oct 2002 08:22:55 -0800 (PST) (envelope-from java) Date: Thu, 31 Oct 2002 08:22:55 -0800 (PST) Message-Id: <200210311622.g9VGMtkd036073@skul.freebsd.org> To: java-port@skul.FreeBSD.org Subject: *BSD/JDK list test #2 This time sending from the new box. No need to reply. Nate --158E737B401.1036081377/hub.freebsd.org-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 31 12:43:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8BB37B401; Thu, 31 Oct 2002 12:43:48 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF6E43E42; Thu, 31 Oct 2002 12:43:47 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g9VKhWvn183792; Thu, 31 Oct 2002 15:43:32 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20021030171447.GC10117@zot.electricrain.com> References: <20021030142457.A30528@misty.eyesbeyond.com> <15807.23103.607937.532250@emerger.yogotech.com> <20021030151812.A30986@misty.eyesbeyond.com> <20021030182502.A52856@phantom.cris.net> <20021030171447.GC10117@zot.electricrain.com> Date: Thu, 31 Oct 2002 15:43:31 -0500 To: chris-freebsd@randomcamel.net, Alexey Zelkin From: Garance A Drosihn Subject: Re: wake up call for Sun? Cc: java@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 9:14 AM -0800 10/30/02, Chris Doherty wrote: >On Wed, Oct 30, 2002 at 06:25:02PM +0200, Alexey Zelkin said: > > * Only after 5.x-RELEASE become real and stable release (not early > > than 6 months from now, per current estimates) > >holy christmas. are you sure? current@ has been chattering as if >the release date is relatively near 5.0-release is very near (well, unless something screws up). That does not mean that it is ready to be used in a demanding production environment (and I think yahoo certainly qualifies as that!). Any prudent business would want to see 5.x in action for awhile before switching to it. Most people are assuming that we'll need to be at 5.1-release or 5.2-release before businesses would be comfortable with using it for business-critical production use. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 2 17:17:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C2837B401 for ; Sat, 2 Nov 2002 17:17:32 -0800 (PST) Received: from smg.is.titech.ac.jp (smg.is.titech.ac.jp [131.112.35.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEEC743E42 for ; Sat, 2 Nov 2002 17:17:31 -0800 (PST) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private (smg [131.112.35.1]) by smg.is.titech.ac.jp (Postfix) with ESMTP id 5B08C2B0E8; Sun, 3 Nov 2002 10:17:30 +0900 (JST) Date: Sun, 03 Nov 2002 10:16:16 +0900 Message-ID: <55of97wizj.wl@dittohead.is.titech.ac.jp> From: Fuyuhiko Maruyama To: Michael E Mercer Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: LimeWire crash gdb information In-Reply-To: <20021030172314.A31631@misty.eyesbeyond.com> References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com> <3DBB4CEA.E0DC7E1C@nc.rr.com> <3DBB5250.8DA88B27@nc.rr.com> User-Agent: Wanderlust/2.11.0 (Wonderwall) on XEmacs/21.5.5 (beets) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII 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 Hello, On Wed, 30 Oct 2002 17:23:14 +1030, Greg Lewis wrote: > > On Sat, Oct 26, 2002 at 10:41:20PM -0400, Michael E Mercer wrote: > > If I am to assume that each method call below calls the method mentioned right above it, > > then why is the res_send method calling socket found in iomgr.c? > > > > res_send is found in libc and therefore one would think that this would call the > > systems socket method. Am I totally wrong here? > > IIRC you are correct. The block of __strong_reference code at the bottom > of iomgr.c is supposed to stop this and allow libc routines that use > things like socket internally to do so. I've cc'ed Fuyuhiko Maruyama-san > who originally added this code and hopefully he will correct me if my > memory is incorrect. > I don't have enough time to check the JVM code right now. So I write about codes around iomgr.c very briefly here. JVM manages monitor, Java's lock object, and fd_flag for each integer number(FDs) and reuses such things during JVM process's life time. To reuse monitors, JVM creates monitors only when a newer numbered FDs are given. All other parts of JVM assume that all FDs have thier corresponding monitors and manipulate them without any checking other than java_g's assertion. Therefore, when JVM meet FDs without corresponding monitor, Segmentation Fault will be caused. To prevent this problem, __strong_reference are added to ensure all FDs related syscalls be watched by iomgr.c. For the case of java_g's assertion failure, it may show that there's some FDs related syscalls that aren't watched by iomgr.c. Michael's case, it seems that there's some syscalls that aren't wrapped by iomgr.c and it causes inconsistent states of fd_flag. Because some syscalls should be wrapped by iomgr.c, JVM cannot give up wrapping them. If libc's internal FDs may be leaked into JVM due to such necessary syscall wrappers, there's no other way than trying to wrap all syscalls by JVM(iomgr.c) to ensure that all FD related syscalls that potentially leaks FDs into JVM are managed by JVM. I will not be able to have enough time to analyze the problem more precisely right now because I will leave home for the next couple of weeks. I will visit Seattle for ACM conferences (JavaGrande-ISCOPE/OOPSLA). -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 2 19: 5:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DEA937B401 for ; Sat, 2 Nov 2002 19:05:40 -0800 (PST) Received: from mx7.roble.com (mx7.roble.com [206.40.34.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B6743E6E for ; Sat, 2 Nov 2002 19:05:40 -0800 (PST) (envelope-from marquis@roble.com) Date: Sat, 2 Nov 2002 19:05:33 -0800 (PST) From: Roger Marquis To: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <20021103030533.F1C0FDACC9@mx7.roble.com> 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 Greg Lewis wrote: > On Thu, Oct 31, 2002 at 11:38:11AM +1030, Wilkinson,Alex wrote: > > I just wanted to ask why we need linux-sun-jdk13 distfile and linux_base to install the > > native FreeBSD jdk13 port ? > > Bootstrapping. You need a 1.3 compiler to build 1.3. Once you've got it > compiled you can remove them and do port updates with NATIVE_BOOTSTRAP > to avoid having to reinstall them. Makes a good case for at least one binary distribution, especially with all the bloat required by linux-base... -- Roger Marquis Roble Systems Consulting http://www.roble.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message