From owner-freebsd-java Sun Dec 15 1:50:11 2002 Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0D7137B401 for ; Sun, 15 Dec 2002 01:50:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A995B43EC5 for ; Sun, 15 Dec 2002 01:50:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBF9o5x3032254 for ; Sun, 15 Dec 2002 01:50:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBF9o5mJ032253; Sun, 15 Dec 2002 01:50:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC6F037B401 for ; Sun, 15 Dec 2002 01:49:56 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AECD43EB2 for ; Sun, 15 Dec 2002 01:49:55 -0800 (PST) (envelope-from barner@in.tum.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 79C2A620F for ; Sun, 15 Dec 2002 10:49:54 +0100 (MET) Received: from mailhalle.informatik.tu-muenchen.de (mailhalle.informatik.tu-muenchen.de [131.159.0.26]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id 4C1657942 for ; Sun, 15 Dec 2002 10:49:54 +0100 (MET) Received: from mail.foo.bar (atleo2.leo.org [131.159.72.4]) by mailhalle.informatik.tu-muenchen.de (Postfix) with ESMTP id E6D3F6CB8E for ; Sun, 15 Dec 2002 10:49:52 +0100 (MET) Received: from kiste.foo.bar (kiste.foo.bar [10.0.0.100]) by mail.foo.bar (Postfix) with ESMTP id 70D7C2DF for ; Sun, 15 Dec 2002 03:04:55 +0100 (CET) Received: by kiste.foo.bar (Postfix, from userid 1000) id 1228B20B99; Sun, 15 Dec 2002 03:04:53 +0100 (CET) Message-Id: <20021215020453.1228B20B99@kiste.foo.bar> Date: Sun, 15 Dec 2002 03:04:53 +0100 (CET) From: Simon Barner Reply-To: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/46269: ports/java: jdk 1.3.1 p7 fails to build with gcc optimization for k6 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 >Number: 46269 >Category: java >Synopsis: ports/java: jdk 1.3.1 p7 fails to build with gcc optimization for k6 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 15 01:50:05 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD kiste.foo.bar 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Nov 24 15:24:21 CET 2002 simon@kiste.foo.bar:/usr/src/sys/compile/KISTE i386 machine: CPU: AMD-K6(tm) 3D+ Processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x591 Stepping = 1 Features=0x8021bf AMD Features=0x80000800 libraries & tools: glib-1.2.10_8 gtk-1.2.10_9 nspr-4.1.2 open-motif-2.2.2_1 XFree86-4.2.0_1,1 linux-jdk-1.3.1 gcc --version: 2.95.4 >Description: Building the native JDK 1.3.1 p7 (jdk-1.3.1p7_2), I encountered the following problem: Everything builds fine, except for the files work/j2sdk1.3.1/src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c work/j2sdk1.3.1/src/share/native/sun/awt/medialib/mlib_c_ImageConv5x5.c Here are the relevant parts of my /etc/make.conf (/etc/defaults/make.conf is unmodified and kept up to date): CPUTYPE="k6-2" CFLAGS= -O -pipe -march=k6 -mcpu=k6 These are the error messages for the first file (the ones for the second file are equivalent): (long lines!) /usr/bin/gcc -O3 -O -pipe -march=k6 -mcpu=k6 -W -Wall -Wno-unused -Wno-parentheses -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-simon-021215-02:50"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/awt/medialib -I../../../../src/solaris/native/sun/awt/medialib -I../../../../src/solaris/native/sun/awt/medialib/medialib -c -o ../../../../build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj/mlib_c_ImageConv3x3.o ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_c_conv3x3_32nw': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:499: syntax error before `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:503: invalid lvalue in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:503: `k7' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:503: (Each undeclared identifier is reported only once ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:503: for each function it appears in.) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:503: `k8' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_c_conv3x3_32ext': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:579: syntax error before `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:584: invalid lvalue in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:584: `k7' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:584: `k8' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_c_conv3x3_16nw': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:663: syntax error before `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:672: invalid lvalue in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:672: `k7' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:672: `k8' undeclared (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_c_conv3x3_16ext': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:783: syntax error before `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:793: invalid lvalue in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:793: `k7' undeclare d (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:793: `k8' undeclare d (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_ c_conv3x3_8nw': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:907: syntax error b efore `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:919: invalid lvalue in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:919: `k7' undeclare d (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:919: `k8' undeclare d (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c: In function `mlib_ c_conv3x3_8ext': ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:1032: syntax error before `1' ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:1045: invalid lvalu e in assignment ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:1045: `k7' undeclar ed (first use in this function) ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c:1045: `k8' undeclar ed (first use in this function) gmake[4]: *** [../../../../build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj/mlib_ c_ImageConv3x3.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/image/gener ic' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/image/gener ic' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/image' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun' gmake: *** [all] Error 1 *** Error code 2 The error appears 4 times: build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj/mlib_c_ImageConv3x3.o build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj/mlib_c_ImageConv5x5.o build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj_g/mlib_c_ImageConv3x2.o build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj_g/mlib_c_ImageConv5x5.o >How-To-Repeat: Build the java/jdk13 port with the -march=k6 -mcpu=k6 gcc flags: e.g. put CPUTYPE="k6-2" CFLAGS= -O -pipe -march=k6 -mcpu=k6 into /etc/make.conf cd /usr/ports/java/jdk13 make build >Fix: Build the object files without AMD k6 optimization, i.e. cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/image/generic /usr/bin/gcc -O3 -O -pipe -march=k6 -W -Wall -Wno-unused -Wno-parentheses -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-toor-021215-01:34"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/awt/medialib -I../../../../src/solaris/native/sun/awt/medialib -I../../../../src/solaris/native/sun/awt/medialib/medialib -c -o ../../../../build/bsd-i386/tmp/sun/sun.awt.medialib/mlib_image/obj/ mlib_c_ImageConv3x3.o ../../../../src/share/native/sun/awt/medialib/mlib_c_ImageConv3x3.c etc. and continue the build of the port: cd /usr/ports/java/jdk13 make build => removing -mcpu=k6 is enough. Decreading the optimization level to -O or disabling optimization at all does not help. Maybe this is a gcc bug? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 16 8:44: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 EB5FE37B401 for ; Mon, 16 Dec 2002 08:44:48 -0800 (PST) Received: from fs.quynh-and-brian.org (dsl-64-131-121-185.telocity.com [64.131.121.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 246C643E4A for ; Mon, 16 Dec 2002 08:44:46 -0800 (PST) (envelope-from brian@quynh-and-brian.org) Received: (qmail 1405 invoked from network); 16 Dec 2002 16:44:43 -0000 Received: from host1.quynh-and-brian.org (HELO brians.aymanllc.com) ([10.1.1.1]) (envelope-sender ) by host1.quynh-and-brian.org (qmail-ldap-1.03) with SMTP for ; 16 Dec 2002 16:44:43 -0000 Content-Type: text/plain; charset="us-ascii" From: Brian Skrab To: freebsd-java@freebsd.org Subject: Eclipse Port??? Date: Mon, 16 Dec 2002 11:44:32 -0500 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212161144.32333.brian@quynh-and-brian.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 Hello, I've read archives of this list that seem to indicate that there is a por= t of=20 the Eclipse IDE in the works. Can someone tell me where I can find this=20 port-in-progress, and possibly what the requirements are to run it? Thanks, ~brian skrab brian@quynh-and-brian.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 16 11: 1:14 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 C105C37B401 for ; Mon, 16 Dec 2002 11:01:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6863143EDA for ; Mon, 16 Dec 2002 11:01:12 -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 gBGJ1Cx3021865 for ; Mon, 16 Dec 2002 11:01:12 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBGJ1Bvr021848 for java@freebsd.org; Mon, 16 Dec 2002 11:01:11 -0800 (PST) Date: Mon, 16 Dec 2002 11:01:11 -0800 (PST) Message-Id: <200212161901.gBGJ1Bvr021848@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 Dec 16 12:17:36 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 9A55937B404 for ; Mon, 16 Dec 2002 12:17:34 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 4479243EB2 for ; Mon, 16 Dec 2002 12:17:27 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 5124 invoked by uid 1048); 16 Dec 2002 20:17:20 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.15 (clamscan: 0.54. spamassassin: 2.42. Clear:. Processed in 0.314661 secs); 16 Dec 2002 20:17:20 -0000 Received: from unknown (HELO ?192.168.100.100?) (80.134.191.181) by ultrakoreggd.org with SMTP; 16 Dec 2002 20:17:19 -0000 Date: Mon, 16 Dec 2002 21:17:18 +0100 From: Marc Recht To: Brian Skrab , freebsd-java@FreeBSD.ORG Subject: Re: Eclipse Port??? Message-ID: <40510000.1040069838@leeloo.intern.geht.de> In-Reply-To: <200212161144.32333.brian@quynh-and-brian.org> References: <200212161144.32333.brian@quynh-and-brian.org> X-Mailer: Mulberry/3.0.0b9 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========464868336==========" 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 --==========464868336========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > I've read archives of this list that seem to indicate that there is a > port of the Eclipse IDE in the works. Can someone tell me where I can > find this port-in-progress, and possibly what the requirements are to > run it? I'm working on an eclipse port. But, because of some work related stuff, I=20 didn't spent much time on it lately. Fuyuhiko Maruyama is also working on a = port of the GTK version. Regards, Marc "Premature optimization is the root of all evil." -- Donald E. Knuth --==========464868336========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9/jTO7YQCetAaG3MRAtpJAJ9hofi/S3WXKEZwM0a6I8nTqpXW8ACfQx++ HxfNHLAn2zNBcyHw6GS2fTQ= =IjQc -----END PGP SIGNATURE----- --==========464868336==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 16 14:50: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 4353437B401 for ; Mon, 16 Dec 2002 14:50:58 -0800 (PST) Received: from c0mailgw08.prontomail.com (mailgw.prontomail.com [207.183.238.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DBB643EDE for ; Mon, 16 Dec 2002 14:50:53 -0800 (PST) (envelope-from DerekYoung@easy.com) Received: from c0web107 (207.183.238.63) by c0mailgw08.prontomail.com (NPlex 6.0.045) id 3DFE28F50000022D for freebsd-java@freebsd.org; Mon, 16 Dec 2002 12:34:35 -0800 X-Version: easygroup 6.3.3.2329.0 X-SenderIP: 63.156.88.68 X-SenderID: 24844284 From: "Derek Young" Message-Id: <13FF8EDA65AD73F4E9656AFABD4D4FEF@DerekYoung.easy.com> Date: Mon, 16 Dec 2002 14:33:50 -0600 X-Priority: Normal Content-Type: text/plain; charset=iso-8859-1 To: freebsd-java@freebsd.org Subject: Umm... Java... X-Mailer: Web Based Pronto Mime-Version: 1.0 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 You know... I appreciate all the great work put into porting jdks over to FreeBSD. I ususally find myself using the latest release from sun under linux emulation though... A small suggestion might be this, perhaps the fastest way to keep FreeBSD current with the latest releases of Java might be for the linux emulation to be worked on to the point to where it can run the linux jdk's perfectly. Complex java apps like IDEA crash the hell out of jdk1.4_01 :) But if the linux emulation was perfect, then everytime sun released a new JDK we could use in on FreeBSD :) Plus, considering what a complex program a JDK is... it will point out lots of bugs in Linux emulation. One funny aspect is how using the linux jdk, it properly(depending on who you ask) uses threads with rfork, so you get multiple processes, that is kind of cool. easy.com Sent by Mail at easy.com, an easyGroup company. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 17 2:25:38 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 A2EB237B401 for ; Tue, 17 Dec 2002 02:25:36 -0800 (PST) Received: from par033x2.europe.ra.rockwell.com (raeurfw.ra.rockwell.com [195.61.102.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED2343EC2 for ; Tue, 17 Dec 2002 02:25:35 -0800 (PST) (envelope-from mkes@ra.rockwell.com) Received: from ferda.cze.ra.rockwell.com ([10.70.136.33]) by par033x2.europe.ra.rockwell.com with SMTP (8.7.6/8.7.3) id LAA20334 for ; Tue, 17 Dec 2002 11:16:57 +0100 (MET) Received: (qmail 39194 invoked from network); 17 Dec 2002 10:16:57 -0000 Received: from unknown (HELO ra.rockwell.com) (10.70.136.125) by euczprgmult002.cze.ra.rockwell.com with SMTP; 17 Dec 2002 10:16:57 -0000 Message-ID: <3DFEFA12.50601@ra.rockwell.com> Date: Tue, 17 Dec 2002 11:18:58 +0100 From: Miroslav Kes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Subject: JBoss port & JAVA_HOME variable Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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, I have some troubles to make the JBoss port to compile JSPs so I would like to ask some questions. I tried to compile and run the example that comes with JBoss distribution (by the way it would be good to create xdoclet port for FreeBSD) but I got an error message that indicated that Jetty couldn't find javac classes. Jetty expects tools.jar file at $JAVA_HOME/lib/tools.jar to be able to compile JSPs. The question is how should I correctly define the JAVA_HOME variable when the JBoss is started at the boot time. JBoss is started through /usr/local/bin/jboss3ctl which is a binary file and I haven't found any info what it really does. It seems to me that it doesn't use the run.sh script that comes installed in the bin directory of the JBoss installation tree (at least I haven't found messages related to the "JBoss Bootstrap Environment" in any log file or on the screen). The JBoss is run as user www which is just a virtual user - www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin and I don't know how could I define JAVA_HOME for that user. So what is the correctly way to define the JAVA_HOME variable for JBoss ? And one more problem. When the JBoss starts at the boot time is looks like it starts correctly but form some reason it shutdowns (see the tail of the stdout.log bellow ). When I start it manually again JBoss starts OK. Thanks Mira euczprgmkes2:/usr/local/jboss3.0/log> tail -30 stdout.log 10:31:57,768 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@dd74e173 10:31:57,768 INFO [JARDeployer] Started 10:31:57,839 INFO [SARDeployer] Creating 10:31:57,839 INFO [SARDeployer] Created 10:31:57,839 INFO [SARDeployer] Starting 10:31:57,840 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@dd73e97b 10:31:57,895 INFO [SARDeployer] Started 10:31:57,895 INFO [Server] Core system initialized 10:31:57,906 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.0/server/default/conf/jboss-service.xml 10:31:58,588 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.0/server/default/lib/jnet.jar 10:31:58,633 INFO [MainDeployer] Successfully completed deployment of package: file:/usr/local/jboss3.0/server/default/lib/jnet.jar 10:31:58,634 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.0/server/default/lib/castor.jar 10:31:58,830 INFO [Server] undeploying all packages 10:31:58,831 INFO [MainDeployer] Undeploying file:/usr/local/jboss3.0/server/default/lib/jnet.jar 10:31:58,833 INFO [MainDeployer] Cleaned Deployment file:/usr/local/jboss3.0/server/default/lib/jnet.jar 10:31:58,833 INFO [MainDeployer] Undeployed file:/usr/local/jboss3.0/server/default/lib/jnet.jar 10:31:58,834 INFO [MainDeployer] Undeployed 1 deployed packages 10:31:58,834 INFO [Server] Shutting down all services Shutting down 10:31:58,835 INFO [ServiceController] Stopping 3 services 10:31:58,837 INFO [SARDeployer] Stopping 10:31:58,837 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@dd73e97b 10:31:58,936 INFO [SARDeployer] Stopped 10:31:58,936 INFO [JARDeployer] Stopping 10:31:58,937 INFO [JARDeployer] Stopped 10:31:58,937 INFO [MainDeployer] Stopping 10:31:58,938 INFO [MainDeployer] Stopped 10:31:58,938 INFO [ServiceController] Stopped 3 services 10:31:58,938 INFO [Server] Shutdown complete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 17 5: 3: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 032FF37B401 for ; Tue, 17 Dec 2002 05:03:14 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id DD64443EA9 for ; Tue, 17 Dec 2002 05:03:12 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: (qmail 2598 invoked from network); 17 Dec 2002 22:03:01 +0900 Received: from cr1-167-204.seaple.icc.ne.jp (HELO firstbase.westbay.fa.jp) (219.117.167.204) by ml02vsv.sv.jcnet.ad.jp with SMTP; 17 Dec 2002 22:03:01 +0900 Content-Type: text/plain; charset="iso-8859-1" From: Michael Westbay To: java@FreeBSD.ORG Subject: Re: JBoss port & JAVA_HOME variable Date: Tue, 17 Dec 2002 22:02:42 +0900 User-Agent: KMail/1.4.2 References: <3DFEFA12.50601@ra.rockwell.com> In-Reply-To: <3DFEFA12.50601@ra.rockwell.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212172202.42416.westbay@seaple.icc.ne.jp> 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 Kes-san wrote: > [...] but I got an error message that indicated that Jetty couldn't > find javac classes. Jetty expects tools.jar file at > $JAVA_HOME/lib/tools.jar to be able to compile JSPs. > The question is how should I correctly define the JAVA_HOME variable > when the JBoss is started at the boot time. JBoss is started through > /usr/local/bin/jboss3ctl which is a binary file and I haven't found any > info what it really does. [...] There should be a .sh script in /usr/local/etc/rc.d to start jboss. Just= set=20 and export JAVA_HOME there before the start/stop/* case statement. That = will=20 take care of it at system startup. After system startup, you can use that script, or set JAVA_HOME in your=20 =2Eprofile to start/stop via jboss3ctl at the command line. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 17 6:24:35 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 D918637B401 for ; Tue, 17 Dec 2002 06:24:34 -0800 (PST) Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D0B43ED4 for ; Tue, 17 Dec 2002 06:24:32 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.93 #1) id 18OIdS-0000yS-00; Tue, 17 Dec 2002 15:23:50 +0100 Subject: Re: Eclipse Port??? From: "Georg-W. Koltermann" To: Marc Recht Cc: Brian Skrab , freebsd-java@FreeBSD.ORG In-Reply-To: <40510000.1040069838@leeloo.intern.geht.de> References: <200212161144.32333.brian@quynh-and-brian.org> <40510000.1040069838@leeloo.intern.geht.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 17 Dec 2002 15:23:48 +0100 Message-Id: <1040135030.427.28.camel@hunter.muc.macsch.com> 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 Am Mo, 2002-12-16 um 21.17 schrieb Marc Recht: > > I've read archives of this list that seem to indicate that there is a > > port of the Eclipse IDE in the works. Can someone tell me where I can > > find this port-in-progress, and possibly what the requirements are to > > run it? I run the GTK version of eclipse that Fuyuhiko MARUYAMA posted, see http://www.freebsd.org/cgi/getmsg.cgi?fetch=112630+0+/usr/local/www/db/text/2002/freebsd-java/20021201.freebsd-java It runs quite nicely, even with FreeBSD native JDK 1.3.1 and hotspot. -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 17 17:14: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 13C3D37B401 for ; Tue, 17 Dec 2002 17:14:41 -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 99EF343EC2 for ; Tue, 17 Dec 2002 17:14:40 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18OSmm-0000mR-00; Tue, 17 Dec 2002 17:14:08 -0800 Date: Tue, 17 Dec 2002 17:14:08 -0800 To: "Georg-W. Koltermann" Cc: Marc Recht , Brian Skrab , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Eclipse Port??? Message-ID: <20021218011408.GA2997@gnuppy.monkey.org> References: <200212161144.32333.brian@quynh-and-brian.org> <40510000.1040069838@leeloo.intern.geht.de> <1040135030.427.28.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1040135030.427.28.camel@hunter.muc.macsch.com> 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, Dec 17, 2002 at 03:23:48PM +0100, Georg-W. Koltermann wrote: > I run the GTK version of eclipse that Fuyuhiko MARUYAMA posted, see > http://www.freebsd.org/cgi/getmsg.cgi?fetch=112630+0+/usr/local/www/db/text/2002/freebsd-java/20021201.freebsd-java > > It runs quite nicely, even with FreeBSD native JDK 1.3.1 and hotspot. You are one brave person. ;) Glad to know it works. Folks that have been having problems with running various Swing happy applications and IDEs should upgrade their X libraries to the latest version and try running that stuff again. There was a thread stack allocation problem that was recently fixed in the X sources. Anybody getting a crash with HotSpot should send a bug report with a postmortem examination of the core file with gdb. I can't guarantee that I or anybody else can get to it any time soon (doing other stuff at the moment), but I probably will allocate time for HotSpot when the ucontext changes to libc_r get committed (/me doesn't know the status of that yet). Thanks bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Dec 18 6: 9: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 69E7C37B401 for ; Wed, 18 Dec 2002 06:09:27 -0800 (PST) Received: from icarus.apache.org (icarus.apache.org [63.251.56.143]) by mx1.FreeBSD.org (Postfix) with SMTP id ED46443EA9 for ; Wed, 18 Dec 2002 06:09:26 -0800 (PST) (envelope-from hgomez@apache.org) Received: (qmail 44203 invoked from network); 18 Dec 2002 14:09:24 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by localhost.apache.org with SMTP; 18 Dec 2002 14:09:24 -0000 Message-ID: <3E0081C5.7070702@apache.org> Date: Wed, 18 Dec 2002 15:10:13 +0100 From: Henri Gomez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: java@freebsd.org Subject: Need binaries for jk 1.2.2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N 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 to all, I wonder if someone on the list could provide to me, mod_jk release manager, a mod_jk.so for Apache 1.3 (with/without SSL) and Apache 2.0.43 , binaries which will present in jakarta-tomcat-connector binaries directory. ---- JK 1.2.2 maintenance release is available at : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/ Changes with JK 1.2.2: * tomcat_trend.pl updated script to support changed logging of aborted requests * jk set correctly the content-type in Apache 2.0, making it ready to works with mod_deflate and AddOutputFilterByType * jk will check result of get_endpoint and handle a failure. This call can fail if the allocation for the endpoint fails because of low memory conditions causing a dereference of NULL when we try and access the endpoint Sources, Linux (flat/rpms) and iSeries binaries are already available, Windows, Solaris, MacOS X binaries will be released soon. Regards. iSeries Note: Previous JK binaries for iSeries (AS/400) were built without TERASPACE support nor multi-threading support code and should be considered incorrect. Production sites should upgrade to this version. Binaries Providers: We're looking for binaries contributors for AIX and FreeBSD (Apache 1.3 (w/wo SSL) and Apache 2.0.42 or higher). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Dec 18 13:40: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 66C0237B401; Wed, 18 Dec 2002 13:40:28 -0800 (PST) Received: from hotmail.com (f111.pav2.hotmail.com [64.4.37.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FD943EA9; Wed, 18 Dec 2002 13:40:28 -0800 (PST) (envelope-from bbfst4wtsf253@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 18 Dec 2002 13:38:13 -0800 Received: from 203.227.236.216 by pv2fd.pav2.hotmail.msn.com with HTTP; Wed, 18 Dec 2002 21:38:13 GMT X-Originating-IP: [203.227.236.216] From: =?ks_c_5601-1987?B?xMnGwyC4tg==?= To: freebsd-alpha@freebsd.org Subject: =?ks_c_5601-1987?B?oaG6/LG4uK4gwfGwzLDUIMfRufggx8/A2i4uLiEh?= Date: Wed, 18 Dec 2002 21:38:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=ks_c_5601-1987; format=flowed Message-ID: X-OriginalArrivalTime: 18 Dec 2002 21:38:13.0330 (UTC) FILETIME=[C46DAB20:01C2A6DD] 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 live10girls

¼ºÇö¾Æ ´©µåÁý °ø°³

 

 

 

º¸·¯ °¡±â

º» À¥»çÀÌÆ®´Â ÀÎÅÍ³Ý ¼ºÀÎ Àü¹® Æ÷¸£³ë »çÀÌÆ®·Î, ¹ýÀûÀ¸·Î ÀÌ·¯ÇÑ ³»¿ëÀ» ¿­¶÷
ÇÒ ¼ö ¾ø´Â ¸¸ 20¼¼ÀÇ ¿¬·É ¹Ì¸¸À̳ª ÀÌ¿Í°°Àº À½¶õÇÑ ³»¿ë¿¡ °ÅºÎ°¨À» °®´Â »ç¶÷
µéÀº ÀÔÀåÀ» ±ÝÇÕ´Ï´Ù.
¶ÇÇÑ º» »çÀÌÆ®´Â ¹ýÀûÀ¸·Î ÀÎÅͳݿ¡¼­ À½¶õ¹°À» Àü¼ÛÇÏ´Â °ÍÀÌ ±ÝÁöµÈ Áö¿ª À̳ª
±¹°¡¸¦ ´ë»óÀ¸·Î ÇÏ´Â ¼­ºñ½º°¡ ¾Æ´ÔÀ» ¹àÈü´Ï´Ù. À§ÀÇ »çÇ׿¡ µ¿ÀÇÇÏÁö ¾Ê´Â ´Ù¸é
Àý´ë·Î µé¾î¿ÀÁö ¸¶½Ê½Ã¿À.

This web site contains sexually oriented adult material which is not
suitable for those who are under the age of 20. If you
are under the age of 20 or find material of an adult nature offensive, or
if you are accessing this site from a country where adult material is
specifically prohibited by law, please leave this site immediately. By
entering this web page you are acknowledging that you are in fact 20 years
of age or older, and therefore we will hold no responsibility for any adult
material you find on this web site. All models on this site are 20 years of
age or older. We do not promote violent, malignant, or child pornography.
If you understand and accept these terms you may enter.

_________________________________________________________________ °í.. °¨.. µµ.. »ç.. ¶û.. ¸¸.. µé.. ±â.. MSN ·¯ºê http://www.msn.co.kr/love/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Dec 19 11:43: 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 31EAE37B401 for ; Thu, 19 Dec 2002 11:43:03 -0800 (PST) Received: from midgard.dhs.org (dhcp065-024-189-179.columbus.rr.com [65.24.189.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4303043ED4 for ; Thu, 19 Dec 2002 11:43:01 -0800 (PST) (envelope-from caa@midgard.dhs.org) Received: from midgard.dhs.org (localhost [127.0.0.1]) by midgard.dhs.org (8.12.6/8.12.6) with ESMTP id gBJJgxVf008526; Thu, 19 Dec 2002 14:42:59 -0500 (EST) (envelope-from caa@midgard.dhs.org) Received: (from caa@localhost) by midgard.dhs.org (8.12.6/8.12.6/Submit) id gBJJgoPC008525; Thu, 19 Dec 2002 14:42:50 -0500 (EST) Date: Thu, 19 Dec 2002 14:42:50 -0500 From: Charles Anderson To: Greg Lewis Cc: Fuyuhiko Maruyama , Michael E Mercer , freebsd-java@FreeBSD.ORG Subject: Re: LimeWire crash gdb information Message-ID: <20021219194250.GC11902@midgard.dhs.org> Mail-Followup-To: Greg Lewis , Fuyuhiko Maruyama , Michael E Mercer , freebsd-java@FreeBSD.ORG 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> <55of97wizj.wl@dittohead.is.titech.ac.jp> <20021112163230.A95899@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021112163230.A95899@misty.eyesbeyond.com> 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 I just had limewire crash while running java_g, so I poked around a bit. I found this. (gdb) where #0 0x280b8b58 in kill () from /usr/lib/libc.so.4 #1 0x280fa109 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 0x28072dd0 in open (fname=0x280fb600 ".", flags=0) at ../../../../src/solaris/hpi/green_threads/src/iomgr.c:744 #5 0x28094d52 in realpath () from /usr/lib/libc.so.4 #6 0x2c339be8 in canonicalize ( original=0x8c77f00 "/home/mp3/work/Clash_-_Lost_In_The_Supermarket.mp3", resolved=0x2e2b557c "/home/mp3/work/Clash_-_Clampdown.mp3", len=1024) at ../../../src/solaris/native/java/io/canonicalize_md.c:188 #7 0x2c3389ee in Java_java_io_UnixFileSystem_canonicalize (env=0x85f1e04, this=0x2e2b59d0, pathname=0x887d194) at ../../../src/solaris/native/java/io/UnixFileSystem_md.c:119 #8 0x28177768 in invoke_O_O (o=0x28ea91b0, mb=0x8106700, args_size=2, ee=0x85f1e04) at ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj_g/invokers.c:555 #9 0x28183126 in ExecuteJava_C (initial_pc=0x2e2b5ee8 "Ö\r\001±", ee=0x85f1e04) at ../../../src/share/javavm/runtime/executeJava.c:1579 #10 0x28174982 in do_execute_java_method_vararg (ee=0x85f1e04, obj=0x28e77cd8, method_name=0x8053b38 "run", method_signature=0x8053258 "()V", mb=0x0, isStaticCall=FALSE, args=0x2e2b5f70 "\200\036_\b\004\036_\b\230_+.')\e(l)\e(\004\036_\b¸_+.Ì)\e(Ø|ç(\004\036_\b¸_+.½)\e(l)\e(è_+.\020Ì\n(\003", otherBits=0x0, shortFloats=FALSE) at ../../../src/share/javavm/runtime/interpreter.c:573 #11 0x28174178 in execute_java_dynamic_method (ee=0x85f1e04, obj=0x28e77cd8, method_name=0x281c3ea0 "run", signature=0x281c42de "()V") at ../../../src/share/javavm/runtime/interpreter.c:288 #12 0x2819fbc8 in ThreadRT0 (p=0x28e77cd8) at ../../../src/share/javavm/runtime/jvm.c:2101 #13 0x281b29cc in saveStackBase (args=0x2819fb74) at ../../../src/share/javavm/runtime/threads.c:139 #14 0x2807af39 in start_func (func=0x281b296c , args=0xbfbfdd90) at ../../../../src/solaris/hpi/green_threads/src/threads_md.c:351 #15 0x0 in ?? () Boiled down to this hunk of code. 735 736 while(1) { 737 newfd = (*systable[SYS_OPEN].addr)(fname, flags, mode); 738 if ((newfd != -1) || 739 ((errno != EAGAIN) && (errno != EINTR))) { 740 break; 741 } 742 } 743 744 SIMPLE_INITFD(newfd, open); #define SIMPLE_INITFD(newfd, funcname) \ if (1) { \ if (newfd >= 0) { \ Log1(1, #funcname " fd: %d \n", newfd); \ sysAssert(fd_flags[newfd] == 0); \ fd_flags[newfd] = 0; \ if (initialize_monitors(newfd) == HPI_FALSE) { /* Out of memory */ \ (*systable[SYS_CLOSE].addr)(newfd); /* Close new fd */ \ errno = ENOMEM; \ newfd = -1; \ } \ } else { \ Log1(1, #funcname " error: %d\n", errno); \ } \ } else \ ((void) 0) fd_flags[newfd] is not zero (gdb) print newfd $1 = 1024 whats newfd allocated at? #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) max_files = MIN(FD_SETSIZE, nbr_files.rlim_cur); #else max_files = nbr_files.rlim_cur; #endif fdmon = (sys_mon_t **) calloc(max_files, sizeof(sys_mon_t *)); if (fdmon == 0) { VM_CALL(panic)("out of memory"); /* Fatal startup error */ } for (i = 0; i < PREALLOCATE_FDS; ++i) { if (initialize_monitors(i) == HPI_FALSE) { VM_CALL(panic)("out of memory"); /* Fatal startup error */ } } fd_flags = (char *) calloc(max_files, sizeof(char)); # ulimit -n 15360 (It's set pretty big because samba likes lots of fds.) FD_SETSIZE? Not redefined anywhere.... # grep FD_SETSIZE /usr/include/sys/types.h * FD_SETSIZE may be defined by the user, but the default here should #ifndef FD_SETSIZE #define FD_SETSIZE 1024 oops, no wonder it didn't like the 1024th fd. Maybe that MIN should be MAX? I'm compiling right now, to see how this works. -Charlie -- Charles Anderson caa@columbus.rr.com No quote, no nothin' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Dec 19 13:16: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 0CDCE37B401 for ; Thu, 19 Dec 2002 13:16:29 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDCE443EC2 for ; Thu, 19 Dec 2002 13:16:27 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18P7zS-0005gh-02 for freebsd-java@freebsd.org; Thu, 19 Dec 2002 14:13:58 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18P7xk-0004bX-02; Thu, 19 Dec 2002 14:12:13 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gBJLC7I50965; Fri, 20 Dec 2002 07:42:07 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 20 Dec 2002 07:42:06 +1030 From: Greg Lewis To: Charles Anderson Cc: Greg Lewis , Fuyuhiko Maruyama , Michael E Mercer , freebsd-java@FreeBSD.ORG Subject: Re: LimeWire crash gdb information Message-ID: <20021220074206.A50951@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> <55of97wizj.wl@dittohead.is.titech.ac.jp> <20021112163230.A95899@misty.eyesbeyond.com> <20021219194250.GC11902@midgard.dhs.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021219194250.GC11902@midgard.dhs.org>; from caa@midgard.dhs.org on Thu, Dec 19, 2002 at 02:42:50PM -0500 X-Spam-Status: No, hits=-4.1 required=8.0 tests=IN_REP_TO,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES, 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 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 19, 2002 at 02:42:50PM -0500, Charles Anderson wrote: > I just had limewire crash while running java_g, so I poked around a bit. > I found this. I think this has already been sorted out. See attached patch. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-iomgr.c" $FreeBSD$ --- ../src/solaris/hpi/green_threads/src/iomgr.c 13 Oct 2001 04:41:31 -0000 1.7 +++ ../src/solaris/hpi/green_threads/src/iomgr.c 5 Dec 2002 08:36:42 -0000 @@ -193,7 +193,7 @@ errno = saved_errno; \ } else ((void) 0) -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define SIMPLE_INITFD(newfd, funcname) \ if (1) { \ if (newfd >= 0) { \ @@ -412,14 +412,18 @@ * As a temporary fix, bump up the number of open * file descriptors to OPEN_MAX. */ - nbr_files.rlim_cur = nbr_files.rlim_max; - setrlimit(RLIMIT_NOFILE, &nbr_files); - #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) - max_files = MIN(FD_SETSIZE, nbr_files.rlim_cur); + /* On *BSDs, `select' syscall possibly be used in native methods. + * Therefore, we should limit the maximum number of files opened + * simultaneously to modest number, that can be treated by our syscall + * wrapper. + */ + nbr_files.rlim_cur = MIN(FD_SETSIZE, nbr_files.rlim_max); #else - max_files = nbr_files.rlim_cur; + nbr_files.rlim_cur = nbr_files.rlim_max; #endif + setrlimit(RLIMIT_NOFILE, &nbr_files); + max_files = nbr_files.rlim_cur; fdmon = (sys_mon_t **) calloc(max_files, sizeof(sys_mon_t *)); if (fdmon == 0) { --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message