From owner-freebsd-java@FreeBSD.ORG Mon May 10 09:46:26 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59C79106564A for ; Mon, 10 May 2010 09:46:26 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id A73C18FC1D for ; Mon, 10 May 2010 09:46:24 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4A9kMGX072894 for ; Mon, 10 May 2010 12:46:22 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4A9kM2o072893 for freebsd-java@freebsd.org; Mon, 10 May 2010 12:46:22 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Mon, 10 May 2010 12:46:21 +0300 User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005070902.22700.achill@matrix.gatewaynet.com> <4BE4843E.6030901@gmail.com> In-Reply-To: <4BE4843E.6030901@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201005101246.22215.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 09:46:26 -0000 =D3=F4=E9=F2 Saturday 08 May 2010 00:21:02 =EF/=E7 Peter Palmreuther =DD=E3= =F1=E1=F8=E5: >=20 > *erm* Maybe. For fixed conditions (which are seldom in my experience). Mo= st > times I've seen systems crashing here and there with no fixed script or > program if hardware dies. Simply because it's not deterministic what > temperature the system will have and what program will be at which memory > address. The only fixed crashing point can be the hard disk, which I thin= k I > can exclude due to the recompilation and therefore "relocation" on disk (= i.e. > different inodes being used). it has happened to me with my home FreeBSD box, crashing every morning at 0= 3:00, after a system upgrade (i think it was from 6.2->7.1). The easy answer was to accuse the software (upgrade), however what was most= probably happening was that the system upgrade made a previously hidden hardware problem to ap= pear. The system did not came back to stability, untill i replaced the motherboar= d. (after having tried changing the usual suspect RAM) The program causing the panic was periodic daily. =46or some reason, the same script on the same hardware with the previous 6= =2E2 kernel was working ok. >=20 > And to come to an end: if I see a program written in C++ (like OpenJDK/JV= M) > constantly fails on an assertion (like in my case: 'Error: assert(sp() >= =3D > inputs,"must have enough JVMS stack to execute")') I expect the assertion= to > not match first and think about corrupt memory a few hundred positions la= ter > on the "check list". That's at least what assertions are for: make the pr= ogram > fail if something is recognizable wrong. If every "assert fail" would be a > memory defect unless 100% proven not to be that would render assertions > useless, wouldn't it? >=20 > But thanks for your help and input; Maybe somebody else has any idea abou= t why > "sp()" is less than "input" when compiling (hotspot compiling?) this spec= ial > class in OpenJDK?!? Anyway Have your tried=20 =2D native jdk=20 =2D the binary diablo=20 =2D the linux jdk with linuxolator ?? =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Mon May 10 11:07:01 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45C331065677 for ; Mon, 10 May 2010 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9938FC15 for ; Mon, 10 May 2010 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4AB71kC082134 for ; Mon, 10 May 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4AB70tg082128 for freebsd-java@FreeBSD.org; Mon, 10 May 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 May 2010 11:07:00 GMT Message-Id: <201005101107.o4AB70tg082128@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 30 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 10 17:47:21 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A429E1065675 for ; Mon, 10 May 2010 17:47:21 +0000 (UTC) (envelope-from herve.quiroz@trancecode.org) Received: from 63.mail-out.ovh.net (63.mail-out.ovh.net [91.121.185.56]) by mx1.freebsd.org (Postfix) with SMTP id F08CE8FC21 for ; Mon, 10 May 2010 17:47:20 +0000 (UTC) Received: (qmail 4029 invoked by uid 503); 10 May 2010 17:28:10 -0000 Received: from b7.ovh.net (HELO mail187.ha.ovh.net) (213.186.33.57) by 63.mail-out.ovh.net with SMTP; 10 May 2010 17:28:10 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 10 May 2010 17:20:39 -0000 Received: from reverse2.evolix.net (HELO herve-laptop-componize) (herve.quiroz@trancecode.org@88.179.18.233) by ns0.ovh.net with SMTP; 10 May 2010 17:20:39 -0000 Date: Mon, 10 May 2010 19:20:37 +0200 From: Herve Quiroz To: "Osipov, Michael" Message-ID: <20100510172037.GA15924@herve-laptop-componize> Mail-Followup-To: "Osipov, Michael" , "freebsd-java@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.31-21-generic x86_64 User-Agent: Mutt/1.5.20 (2009-06-14) X-Ovh-Tracer-Id: 4640677942010487011 X-Ovh-Remote: 88.179.18.233 (reverse2.evolix.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Cc: "freebsd-java@freebsd.org" Subject: Re: Erratic JAVA_HOME output X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 17:47:21 -0000 On Fri, May 07, 2010 at 11:06:19AM +0200, Osipov, Michael wrote: > Then I wrote a litle test app: > public class JavaHomeInfo { > public static void main(String... args) { > System.out.println(System.getProperty("java.home")); > } > } > > And the output is: > $ java JavaHomeInfo > /usr/local/diablo-jdk1.6.0/jre FYI, I was intrigued and ran this on a Linux box. And it outputs the same thing as on FreeBSD: $ java JavaHomeInfo /usr/lib/jvm/java-6-sun-1.6.0.20/jre So it seems to me the behavior on your machine is correct. Herve From owner-freebsd-java@FreeBSD.ORG Mon May 10 18:50:05 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B07B91065677 for ; Mon, 10 May 2010 18:50:05 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 70C618FC20 for ; Mon, 10 May 2010 18:50:05 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (85-142-52-164.well-com.net [85.142.52.164]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id D42F713DF46 for ; Mon, 10 May 2010 22:33:20 +0400 (MSD) Date: Mon, 10 May 2010 22:33:12 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1078816735.20100510223312@serebryakov.spb.ru> To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: All-java-flavors common $PREFIX? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 18:50:05 -0000 Hello, Freebsd-java. Now I have: /usr/local/diablo-jdk1.6.0 /usr/local/openjdk6 /usr/local/openjdk6-fastdebug /usr/local/openjdk7 And it is not all possible variants for sure :) I think, it is good idea to have default $PREFIX for all JDKs and JREs (at least, native ones, but may be, linux-based ones too) set to "/usr/local/java" and have only one java-related directory in "/usr/local". What dou you think? --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-java@FreeBSD.ORG Tue May 11 06:05:00 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50E9B106566C for ; Tue, 11 May 2010 06:05:00 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id F35538FC0C for ; Tue, 11 May 2010 06:04:59 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 7889052; Tue, 11 May 2010 07:33:49 +0200 (MET DST) Date: Tue, 11 May 2010 07:33:49 +0200 From: Joerg Wunsch To: freebsd-java@freebsd.org Message-ID: <20100511053349.GO1868@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: org.apache.xml.resolver.tools.CatalogResolver needed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 06:05:00 -0000 Hello, I'm writing this on behalf of my wife, so sorry, my cluse about Java and XML are very limited. ;-) In order to get ant the ability to work with XML catalogs (so it doesn't have to fetch all XML schemes through the Internet all the time), it needs access to a "CatalogResolver" class which is part of Apache's xml-commons: http://xerces.apache.org/mirrors.cgi I couldn't find that anywhere in any of the ports. Would it make sense to add this as a prerequisite (maybe as an option) to devel/apache-ant? Or maybe as a standalone port (but then, how would ant get it into its CLASSPATH)? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-java@FreeBSD.ORG Tue May 11 19:29:56 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A061065670 for ; Tue, 11 May 2010 19:29:56 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id B338A8FC12 for ; Tue, 11 May 2010 19:29:55 +0000 (UTC) Received: by ewy24 with SMTP id 24so1475037ewy.13 for ; Tue, 11 May 2010 12:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Eb68jTtl9jPsOlYjeVl0EUyorMcSeDy8EVLDxnRmnDw=; b=XDglCfKlB6E8RWiApSN4KGihY8zSmuOuXpzO8AYq3GC72lccH1f2jX09HO+aRsSyY5 VAEcU6ynEKyWptbhCIC3UTef+2ZP8LBtSnSAkEMwPM+oWJOecwccAG0noOixIC08Z88e 4HVXrM81u+DlUNd2kL4qylBo0LdGUZgf+Bssc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=q3GfGVgJukL8EZAlf1R5/dTje3ip0dh5zGab4fR8IInyF9p85BZAWm33JUOvilUyaK gRMJNOgkWDAyuUrTq2oMpTv1ze5FupgVvdUI5xDuqSfOB45eO1U6FH5BvGL3R8rtqMio 2vJ8vHsrEQHqK3x2AQ6raQzNSa/h2KNyg+89c= Received: by 10.213.44.20 with SMTP id y20mr2619062ebe.17.1273606194316; Tue, 11 May 2010 12:29:54 -0700 (PDT) Received: from silverbox.sunrise.local (i577B5C62.versanet.de [87.123.92.98]) by mx.google.com with ESMTPS id 16sm3311572ewy.15.2010.05.11.12.29.51 (version=SSLv3 cipher=RC4-MD5); Tue, 11 May 2010 12:29:52 -0700 (PDT) Message-ID: <4BE9B02E.2010103@gmail.com> Date: Tue, 11 May 2010 21:29:50 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <201005070902.22700.achill@matrix.gatewaynet.com> <4BE4843E.6030901@gmail.com> <201005101246.22215.achill@matrix.gatewaynet.com> In-Reply-To: <201005101246.22215.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 19:29:56 -0000 Am 10.05.10 11:46, schrieb Achilleas Mantzios: > Στις Saturday 08 May 2010 00:21:02 ο/η Peter Palmreuther έγραψε: > The program causing the panic was periodic daily. > For some reason, the same script on the same hardware with the previous 6.2 kernel was working ok. *hmmm* OK. I have updated to OpenJDK some time after updating to FreeBSD8. Bot on the other hand my 'assertion' theory still stands: it's there for a defined (ugly in consequences but defined!) "way out" and the JVM "goes out" at exactly this 'assert'-statement. I still see a software related problem more probable than defect hardware :-) > Anyway > Have your tried > - native jdk Nope. Hesitated to compile this one as well. So much work :-/ Guess I'll go through it and test it. > - the binary diablo Not the binary, but a self compiled one. Works. For this issue. But I had other issues with it in the past and got the advice to use 'openjdk' as it's actively maintained (in opposite to diablo-jdk). Am I wrong? > - the linux jdk with linuxolator WTF? Should I really install and activate a linux emulation layer to get a stable running JRE/JDK? Is this advice just for making sure "other JVMs don't have this problem" or meant to be a "how to serve JVM on FreeBSD8" advice??? -- Best regards, Peter Palmreuther Lesen ist eine Tugend, die man erst einmal lernen muss. Textverständnis ist hierbei kein zwingendes Erfordernis. From owner-freebsd-java@FreeBSD.ORG Wed May 12 07:50:45 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DB881065674 for ; Wed, 12 May 2010 07:50:45 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 686428FC16 for ; Wed, 12 May 2010 07:50:43 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4C7ofbE098927 for ; Wed, 12 May 2010 10:50:41 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4C7ofcW098926 for freebsd-java@freebsd.org; Wed, 12 May 2010 10:50:41 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 12 May 2010 10:50:40 +0300 User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005101246.22215.achill@matrix.gatewaynet.com> <4BE9B02E.2010103@gmail.com> In-Reply-To: <4BE9B02E.2010103@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201005121050.41217.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 07:50:45 -0000 =D3=F4=E9=F2 Tuesday 11 May 2010 22:29:50 =EF/=E7 Peter Palmreuther =DD=E3= =F1=E1=F8=E5: > Am 10.05.10 11:46, schrieb Achilleas Mantzios: > > =CE=A3=CF=84=CE=B9=CF=82 Saturday 08 May 2010 00:21:02 =CE=BF/=CE=B7 Pe= ter Palmreuther =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:=20 > > The program causing the panic was periodic daily. > > For some reason, the same script on the same hardware with the previous= 6.2 kernel was working ok. >=20 > *hmmm* OK. I have updated to OpenJDK some time after updating to FreeBSD8= =2E Bot > on the other hand my 'assertion' theory still stands: it's there for a de= fined > (ugly in consequences but defined!) "way out" and the JVM "goes out" at > exactly this 'assert'-statement. I still see a software related problem m= ore > probable than defect hardware :-) >=20 > > Anyway > > Have your tried=20 > > - native jdk=20 >=20 > Nope. Hesitated to compile this one as well. So much work :-/ Guess I'll = go > through it and test it. >=20 > > - the binary diablo=20 >=20 > Not the binary, but a self compiled one. Works. For this issue. But I had > other issues with it in the past and got the advice to use 'openjdk' as i= t's > actively maintained (in opposite to diablo-jdk). Am I wrong? ???? Diablo is binary by definition, what do you mean by "self compiled"? >=20 > > - the linux jdk with linuxolator >=20 > WTF? Should I really install and activate a linux emulation layer to get a > stable running JRE/JDK? Is this advice just for making sure "other JVMs d= on't > have this problem" or meant to be a "how to serve JVM on FreeBSD8" advice= ??? 1st, to set up linux emulation is 30 seconds work. 2nd, it will not be a stable running JRE 3rd, if you feel so insecure with FreeBSD, then some linux distro maybe cou= ld save you some further frustrations. There is nobody here who can help, obviously. You may do any combination of the below: =2D submit a PR =2D See here: http://openjdk.java.net/projects/bsd-port/ =2D try the same openjdk version on linux or OSX, to break down the problem. =2D if you feel hacker enough, try to solve the problem by yourself and sub= mit a patch =2D contact the people who made the port. (apparently they dont read this l= ist) =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Wed May 12 08:26:29 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F7181065673 for ; Wed, 12 May 2010 08:26:29 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id BD19E8FC1C for ; Wed, 12 May 2010 08:26:28 +0000 (UTC) Received: by ewy24 with SMTP id 24so1628077ewy.13 for ; Wed, 12 May 2010 01:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=nF2xZ7DlSPykfgleHeq47WaI0YM3UGUty66yu2bWF9E=; b=rLXzlN1D/ImIx5aAOVPQL8aO1FzaHWJ9NrKuU6Iz7dIKyh8ZUbHG9cvhxQVR5oZfMr 1dNuEHHhTofI0vbbPeQJn+uw4i21eFFg3D7gjZTb7zIEooZDKW3rR2KFW3jehW6RTMYk rBZ4RhHzqMVwmNk/aAERN3ghqhB+TdPziO55E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=gdEPyKTu6rbDKCMFy+OgOWefXN4i88f28ZYqPt7rD0tObl0fts2SiTDYndRYeghzy2 zu8IjpiOMKdsGfV01KoD+sjvixVoSlsvN+Ts2mcN25fubpDoR1KNT1a0ofQJnY2nTOvR rf06jeXKIYEFFSsYn/iv/e4fMKTEUSrK4LPU0= Received: by 10.213.78.140 with SMTP id l12mr381447ebk.15.1273652784993; Wed, 12 May 2010 01:26:24 -0700 (PDT) Received: from silverbox.sunrise.local (i577B6AE7.versanet.de [87.123.106.231]) by mx.google.com with ESMTPS id 15sm3603374ewy.0.2010.05.12.01.26.23 (version=SSLv3 cipher=RC4-MD5); Wed, 12 May 2010 01:26:23 -0700 (PDT) Message-ID: <4BEA662E.9040108@gmail.com> Date: Wed, 12 May 2010 10:26:22 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <201005101246.22215.achill@matrix.gatewaynet.com> <4BE9B02E.2010103@gmail.com> <201005121050.41217.achill@matrix.gatewaynet.com> In-Reply-To: <201005121050.41217.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 08:26:29 -0000 On 12.05.10 09:50, Achilleas Mantzios wrote: > Στις Tuesday 11 May 2010 22:29:50 ο/η Peter Palmreuther έγραψε: >> Am 10.05.10 11:46, schrieb Achilleas Mantzios: >>> Ξ£Ο�ΞΉΟ� Saturday 08 May 2010 00:21:02 ΞΏ/Ξ· Peter Palmreuther Ξ­Ξ³Ο�Ξ±Ο�Ξ΅: >>> The program causing the panic was periodic daily. >>> For some reason, the same script on the same hardware with the previous 6.2 kernel was working ok. >> >> *hmmm* OK. I have updated to OpenJDK some time after updating to FreeBSD8. Bot >> on the other hand my 'assertion' theory still stands: it's there for a defined >> (ugly in consequences but defined!) "way out" and the JVM "goes out" at >> exactly this 'assert'-statement. I still see a software related problem more >> probable than defect hardware :-) >> >>> Anyway >>> Have your tried >>> - native jdk >> >> Nope. Hesitated to compile this one as well. So much work :-/ Guess I'll go >> through it and test it. >> >>> - the binary diablo >> >> Not the binary, but a self compiled one. Works. For this issue. But I had >> other issues with it in the past and got the advice to use 'openjdk' as it's >> actively maintained (in opposite to diablo-jdk). Am I wrong? > > ???? Diablo is binary by definition, what do you mean by "self compiled"? *erm* My fault. Last time I ran 'portupgrade' for 'diablo-jdk16' it did a lot of stuff and I left it running unattended as it seemed to take a while. After all this "openjdk-compiling" stuff I guess I mixed my remembrance about what exactly happened. Additionally I thought you meant "pkgadd -r" or "portupgrade -PP" when asking for "binary diablo". Mea culpa. To make myself clear: I tried diablo the way it comes through port installation; Which in fact seems to be binary. Stupid me. >>> - the linux jdk with linuxolator >> >> WTF? Should I really install and activate a linux emulation layer to get a >> stable running JRE/JDK? Is this advice just for making sure "other JVMs don't >> have this problem" or meant to be a "how to serve JVM on FreeBSD8" advice??? > > 1st, to set up linux emulation is 30 seconds work. I wasn't talking about a matter of time, although it took quite longer than 30 seconds to finish portupgrade installing linux_base. I was only wondering if it's "the way to go", activating an emulator, when there is (or should be) native support for one thing (like JVM). > 2nd, it will not be a stable running JRE Thanks. That answered my question, so it's only a validation using linux-jvm > 3rd, if you feel so insecure with FreeBSD, then some linux distro maybe could save you some further frustrations. If I'd feel insecure with FreeBSD I wouldn't have switched to it coming from Debian. And I can't see the point in my post implying I feel insecure on FreeBSD. I only wondered about the "emulation thing" and if I got something completely wrong. What I've read, seen and experienced about FreeBSD wasn't "let's emulate if it's already somewhere else", it was more: "If we need it, it should run natively, stable, open and quiet (enough)!". Sure, it's not "pure fun" not being able to run the Nexus Index updates right now, but all I'm looking for is find a way it works rock solid again. There's no frustration (yet) and I know there's no bug free software. And although I still have to get used to FreeBSD much more (I'm tainted with Linux, so I still figure the differences in handling the system) I'm quite happy with it. It (usually) "just works". > There is nobody here who can help, obviously. > You may do any combination of the below: > - submit a PR > - See here: http://openjdk.java.net/projects/bsd-port/ > - try the same openjdk version on linux or OSX, to break down the problem. > - if you feel hacker enough, try to solve the problem by yourself and submit a patch > - contact the people who made the port. (apparently they dont read this list) Thanks. The last point was one thing I was hoping for. Port-Maintainers of 'openjdk' being somehow subscribed to 'freebsd-java'. I'll try the other ports as well as soon as I get the time and than follow your advices and most probably open a PR. -- Thanks and best regards, Peter Palmreuther From owner-freebsd-java@FreeBSD.ORG Wed May 12 09:12:49 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4E69106566C for ; Wed, 12 May 2010 09:12:49 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4B92B8FC08 for ; Wed, 12 May 2010 09:12:48 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4C9CllF099617 for ; Wed, 12 May 2010 12:12:47 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4C9Ckw8099616 for freebsd-java@freebsd.org; Wed, 12 May 2010 12:12:46 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 12 May 2010 12:12:46 +0300 User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005121050.41217.achill@matrix.gatewaynet.com> <4BEA662E.9040108@gmail.com> In-Reply-To: <4BEA662E.9040108@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201005121212.46848.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 09:12:50 -0000 Peter, i think a have some spare time slots today. Can you point to me as to how i could try to reproduce the problem in a fast way? I tried looking at sonatype nexus, but it looked a little bit chaotic at first glance. (commercial vs open source, etc..) i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. -- Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Wed May 12 12:29:30 2010 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A08C1065670 for ; Wed, 12 May 2010 12:29:30 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id D10128FC0C for ; Wed, 12 May 2010 12:29:28 +0000 (UTC) Received: from lp.gddsn.org.cn (unknown [10.44.8.79]) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPA id 68A4E2E043; Wed, 12 May 2010 18:41:49 +0800 (CST) Message-ID: <4BEA9AED.7050005@gddsn.org.cn> Date: Wed, 12 May 2010 20:11:25 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; zh-CN; rv:1.9.1.9) Gecko/20100426 Thunderbird/3.0.4 MIME-Version: 1.0 To: java@freebsd.org, eclipse@freebsd.org Content-Type: multipart/mixed; boundary="------------000202030404020707010406" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: eclipse crashed with glib? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 12:29:30 -0000 This is a multi-part message in MIME format. --------------000202030404020707010406 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit hi,all after sucessed upgrade gnome from 2.28 to 2.30 on my 8.0 stable/amd64 box. and eclipse-devel always crashed by follow errors: # JRE version: 6.0-b17 # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode bsd-amd64 ) # Problematic frame: # C [libglib-2.0.so.0+0x1896c] g_base64_encode_step+0xcc # any helps with appreciate --------------000202030404020707010406 Content-Type: text/plain; name="hs_err_pid33750.log" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hs_err_pid33750.log" IwojIEEgZmF0YWwgZXJyb3IgaGFzIGJlZW4gZGV0ZWN0ZWQgYnkgdGhlIEphdmEgUnVudGlt ZSBFbnZpcm9ubWVudDoKIwojICBTSUdTRUdWICgweGIpIGF0IHBjPTB4MDAwMDAwMDg1NjE2 ZDk2YywgcGlkPTMzNzUwLCB0aWQ9MzQzNz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kgZmFtaWx5IDYgbW9kZWwgMTUgc3RlcHBpbmcgMTAsIGNtb3Ys IGN4OCwgZnhzciwgbW14LCBzc2UsIHNzZTIsIHNzZTMsIHNzc2UzCgpNZW1vcnk6IDRrIHBh Z2UsIHBoeXNpY2FsIDMwNjU5MzJrKDc2NjQ4M2sgZnJlZSkKCnZtX2luZm86IE9wZW5KREsg NjQtQml0IFNlcnZlciBWTSAoMTQuMC1iMTYpIGZvciBic2QtYW1kNjQgSlJFICgxLjYuMC1i MTcpLCBidWlsdCBvbiBBcHIgIDggMjAxMCAxMTo0MzowNCBieSAicm9vdCIgd2l0aCBnY2Mg NC4yLjEgMjAwNzA3MTkgIFtGcmVlQlNEXQoKdGltZTogV2VkIE1heSAxMiAyMDowMjoyMSAy MDEwCmVsYXBzZWQgdGltZTogMiBzZWNvbmRzCgo= --------------000202030404020707010406-- From owner-freebsd-java@FreeBSD.ORG Wed May 12 15:13:38 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3640E1065672 for ; Wed, 12 May 2010 15:13:38 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 0DAE48FC08 for ; Wed, 12 May 2010 15:13:37 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 676AA56538 for ; Wed, 12 May 2010 11:13:35 -0400 (EDT) Message-ID: <4BEAC59B.9040105@intertainservices.com> Date: Wed, 12 May 2010 11:13:31 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 676AA56538.ADC06 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 15:13:38 -0000 Hi, Has anyone noticed the following error message with an up to date 8-STABLE? It started happening for me when i updated to stable. Thanks. --- # java -version realpath: : No such file or directory openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b17) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) From owner-freebsd-java@FreeBSD.ORG Wed May 12 15:25:20 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 004D1106566B for ; Wed, 12 May 2010 15:25:19 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id BA8E68FC20 for ; Wed, 12 May 2010 15:25:19 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id o4CFPIof075904; Wed, 12 May 2010 08:25:18 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id o4CFPFEM075903; Wed, 12 May 2010 08:25:15 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 12 May 2010 08:25:15 -0700 From: Greg Lewis To: Mike Jakubik Message-ID: <20100512152515.GA75759@misty.eyesbeyond.com> References: <4BEAC59B.9040105@intertainservices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BEAC59B.9040105@intertainservices.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-java@freebsd.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 15:25:20 -0000 On Wed, May 12, 2010 at 11:13:31AM -0400, Mike Jakubik wrote: > Has anyone noticed the following error message with an up to date > 8-STABLE? It started happening for me when i updated to stable. > > Thanks. > > --- > # java -version > realpath: : No such file or directory > openjdk version "1.6.0" > OpenJDK Runtime Environment (build 1.6.0-b17) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) The javavm port uses realpath, so if java is /usr/local/bin/java, then you're using javavm. Is either /bin not in your path or do you not have a /bin/realpath? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed May 12 15:30:45 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B607B106564A for ; Wed, 12 May 2010 15:30:45 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1018FC08 for ; Wed, 12 May 2010 15:30:45 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 6BE8D5644E; Wed, 12 May 2010 11:30:44 -0400 (EDT) Message-ID: <4BEAC9A0.4050105@intertainservices.com> Date: Wed, 12 May 2010 11:30:40 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> In-Reply-To: <20100512152515.GA75759@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 6BE8D5644E.A1540 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Cc: glewis@FreeBSD.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 15:30:45 -0000 On 5/12/2010 11:25 AM, Greg Lewis wrote: > On Wed, May 12, 2010 at 11:13:31AM -0400, Mike Jakubik wrote: > >> Has anyone noticed the following error message with an up to date >> 8-STABLE? It started happening for me when i updated to stable. >> >> Thanks. >> >> --- >> # java -version >> realpath: : No such file or directory >> openjdk version "1.6.0" >> OpenJDK Runtime Environment (build 1.6.0-b17) >> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) >> > The javavm port uses realpath, so if java is /usr/local/bin/java, then > you're using javavm. Is either /bin not in your path or do you not have > a /bin/realpath? > > Yes, it seems that this is a problem with the javavmwrapper. I havent changed my PATH or deleted realpath. root@staging.local:~# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin root@staging.local:~# /bin/realpath usage: realpath [-q] path [...] From owner-freebsd-java@FreeBSD.ORG Wed May 12 15:40:26 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4228C1065679; Wed, 12 May 2010 15:40:26 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 016608FC1A; Wed, 12 May 2010 15:40:25 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id o4CFeOOb076073; Wed, 12 May 2010 08:40:25 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id o4CFeOVe076072; Wed, 12 May 2010 08:40:24 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 12 May 2010 08:40:24 -0700 From: Greg Lewis To: Mike Jakubik Message-ID: <20100512154024.GB75759@misty.eyesbeyond.com> References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BEAC9A0.4050105@intertainservices.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 15:40:26 -0000 On Wed, May 12, 2010 at 11:30:40AM -0400, Mike Jakubik wrote: > On 5/12/2010 11:25 AM, Greg Lewis wrote: > > On Wed, May 12, 2010 at 11:13:31AM -0400, Mike Jakubik wrote: > > > >> Has anyone noticed the following error message with an up to date > >> 8-STABLE? It started happening for me when i updated to stable. > >> > >> Thanks. > >> > >> --- > >> # java -version > >> realpath: : No such file or directory > >> openjdk version "1.6.0" > >> OpenJDK Runtime Environment (build 1.6.0-b17) > >> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) > >> > > The javavm port uses realpath, so if java is /usr/local/bin/java, then > > you're using javavm. Is either /bin not in your path or do you not have > > a /bin/realpath? > > Yes, it seems that this is a problem with the javavmwrapper. I havent > changed my PATH or deleted realpath. > > root@staging.local:~# echo $PATH > /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > root@staging.local:~# /bin/realpath > usage: realpath [-q] path [...] Sorry, too early to be replying to email. I bet what the problem is that you have a JVM listed in /usr/local/etc/javavms that doesn't actually exist. javamvm runs realpath on the VMs listed there. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed May 12 16:09:31 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1D041065673 for ; Wed, 12 May 2010 16:09:31 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id C5BB68FC12 for ; Wed, 12 May 2010 16:09:31 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 8956C5644E for ; Wed, 12 May 2010 12:09:30 -0400 (EDT) Message-ID: <4BEAD2B6.8080300@intertainservices.com> Date: Wed, 12 May 2010 12:09:26 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> In-Reply-To: <20100512154024.GB75759@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 8956C5644E.AE943 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 16:09:32 -0000 On 5/12/2010 11:40 AM, Greg Lewis wrote: > Sorry, too early to be replying to email. I bet what the problem is > that you have a JVM listed in /usr/local/etc/javavms that doesn't actually > exist. javamvm runs realpath on the VMs listed there. > > Hrm, unfortunately that doesn't seem to be the problem. root@staging.local:~# cat /usr/local/etc/javavms /usr/local/openjdk6/bin/java # OpenJDK6 root@staging.local:~# ls /usr/local/openjdk6/bin/java -rwxr-xr-x 1 root wheel 54410 May 11 15:41:11 2010 /usr/local/openjdk6/bin/java* root@staging.local:~# realpath /usr/local/openjdk6/bin/java /usr/local/openjdk6/bin/java From owner-freebsd-java@FreeBSD.ORG Wed May 12 16:16:12 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA5971065676 for ; Wed, 12 May 2010 16:16:12 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 75E768FC23 for ; Wed, 12 May 2010 16:16:12 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so100252eyd.9 for ; Wed, 12 May 2010 09:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Ytk1ttQZ+vb7603qeHKqSBnY5W8DDN2awF268tCzoe8=; b=afPtfpTtfkJTOVTRYb7hRN51rd5DXphE4G9/DBizWrrqyXwCQP4wvLTLZV37VyrN+p xFV2nBXOCFchhG5um1964EWjui9j1dCqsBE6+Em9Q/38jAFNAMvyf+9qp1MUKZ1qzWFv vyhHSMWnTiqreNaopz02A0Nh0qOGEijbMNEjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=GNmtxy6je833EFg1tNLZGgfIJb3a7O5W5yNdxW+mHgM4n56JcsqQ1zSLmW8XUhK4Nm SH9iWbS6k/ywyci0PuCgJhEU508Ux0kCq24sQaSNv5ZdMgfCTrqg+P/iB9hGJL/o4SX9 1vi3OJT3iqJNQhU0MkfewAzlxIIv7DtiTHETw= Received: by 10.213.98.197 with SMTP id r5mr3334801ebn.14.1273680971229; Wed, 12 May 2010 09:16:11 -0700 (PDT) Received: from silverbox.sunrise.local (i577B6AE7.versanet.de [87.123.106.231]) by mx.google.com with ESMTPS id 14sm173088ewy.14.2010.05.12.09.16.09 (version=SSLv3 cipher=RC4-MD5); Wed, 12 May 2010 09:16:09 -0700 (PDT) Message-ID: <4BEAD448.7080309@gmail.com> Date: Wed, 12 May 2010 18:16:08 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <201005121050.41217.achill@matrix.gatewaynet.com> <4BEA662E.9040108@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> In-Reply-To: <201005121212.46848.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 16:16:13 -0000 On 12.05.10 11:12, Achilleas Mantzios wrote: > Peter, > i think a have some spare time slots today. Can you point to me as to how i could > try to reproduce the problem in a fast way? thanks for your offer. I hope it's fast enough, for your spare time. I'll try to describe the shortest path I'm aware of. > I tried looking at sonatype nexus, but it looked a little bit chaotic at first glance. (commercial vs open source, etc..) ;-) > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. That should be perfect. My 'uname -a' gives: FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 What I've done: 1. Install openjdk6-b17_2 2. Install apache-tomcat-6.0.26 3. Download http://nexus.sonatype.org/downloads/older/nexus-webapp-1.4.1.war 4. mkdir /usr/local/apache-tomcat-6.0/webapps/nexus 5. chown www:www /usr/local/apache-tomcat-6.0/webapps/nexus 6. cd /usr/local/apache-tomcat-6.0/webapps/nexus 7. unzip -q /path/to/nexus-webapp-1.4.1.war 8. In /etc/rc.conf (or /etc/rc.conf.d/tomcat60 like I did) set (all on one line) tomcat60_java_opts=-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ -Djava.net.preferIPv4Stack=true\ -Dplexus.nexus-work=/path/to/sonatype-work/ 9. mkdir /path/to/sonatype-work/ 10. chown www /path/to/sonatype-work/ 11. Enable tomcat60 start (rc.conf, ...) 12. Start Tomcat using OpenJDK (i.e. by setting JAVA_HOME before calling start script) 13. Open Nexus web page (http://host:8080/nexus/, or whatever tomcat is set to) 14. Log in to Nexus (user: admin, pass: admin123) 15. Go to "Scheduled Tasks" in navigation on the left 16. Create task I named it "Refresh Indicies", it's of type "Download Indexes" for "All Repositories". Recurrence over here is "daily" at 1:15am. I'm not sure this matters, as I get the crash even when manually starting the task. 17. Right click task in task list, "Run" It'll now take some time, depending on repositories initially set up and download speed for index files. Over here it crashes in the middle of index refreshing, tomcat dies, core dumps and is gone. Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Remote indexes updated successfully for repository sonatype-sourceforge-releases 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Cascading merge of group indexes for group "public", where repository "sonatype-sourceforge-releases" is member. Hope it crashes at your side as well, for this would mean it's reproducible :-) -- Thanks and best regards, Peter Palmreuther Lesen ist eine Tugend, die man erst einmal lernen muss. Textverständnis ist hierbei kein zwingendes Erfordernis. From owner-freebsd-java@FreeBSD.ORG Wed May 12 16:50:14 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 832CA1065672 for ; Wed, 12 May 2010 16:50:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id F036F8FC1E for ; Wed, 12 May 2010 16:50:13 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4CGoMKN074034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 May 2010 19:50:22 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4CGo9Tj056232; Wed, 12 May 2010 19:50:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4CGo9OD056231; Wed, 12 May 2010 19:50:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 12 May 2010 19:50:09 +0300 From: Kostik Belousov To: Mike Jakubik Message-ID: <20100512165009.GB83316@deviant.kiev.zoral.com.ua> References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> <4BEAD2B6.8080300@intertainservices.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AdjLlRqdF7kYRNze" Content-Disposition: inline In-Reply-To: <4BEAD2B6.8080300@intertainservices.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-java@freebsd.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 16:50:14 -0000 --AdjLlRqdF7kYRNze Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 12, 2010 at 12:09:26PM -0400, Mike Jakubik wrote: > On 5/12/2010 11:40 AM, Greg Lewis wrote: > >Sorry, too early to be replying to email. I bet what the problem is > >that you have a JVM listed in /usr/local/etc/javavms that doesn't actual= ly > >exist. javamvm runs realpath on the VMs listed there. > > > > =20 >=20 > Hrm, unfortunately that doesn't seem to be the problem. >=20 > root@staging.local:~# cat /usr/local/etc/javavms > /usr/local/openjdk6/bin/java # OpenJDK6 >=20 > root@staging.local:~# ls /usr/local/openjdk6/bin/java > -rwxr-xr-x 1 root wheel 54410 May 11 15:41:11 2010=20 > /usr/local/openjdk6/bin/java* >=20 > root@staging.local:~# realpath /usr/local/openjdk6/bin/java > /usr/local/openjdk6/bin/java /usr/local/bin/javavm is shell script. Run it as "/bin/sh -x /usr/local/bin/javavm " and post the realpath invocation that generates the error. --AdjLlRqdF7kYRNze Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvq3EAACgkQC3+MBN1Mb4j9oACggcXhGtF4RnA6fU2q+o9U2kdi N8EAn3wFqzgNHVHy72fVE+kvbR+8Biz2 =eQiI -----END PGP SIGNATURE----- --AdjLlRqdF7kYRNze-- From owner-freebsd-java@FreeBSD.ORG Wed May 12 17:22:06 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8078A1065675 for ; Wed, 12 May 2010 17:22:06 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9958FC1E for ; Wed, 12 May 2010 17:22:06 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 849775644E for ; Wed, 12 May 2010 13:22:04 -0400 (EDT) Message-ID: <4BEAE3B8.6040805@intertainservices.com> Date: Wed, 12 May 2010 13:22:00 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> <4BEAD2B6.8080300@intertainservices.com> <20100512165009.GB83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100512165009.GB83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 849775644E.A01D9 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 17:22:06 -0000 On 5/12/2010 12:50 PM, Kostik Belousov wrote: > On Wed, May 12, 2010 at 12:09:26PM -0400, Mike Jakubik wrote: > >> On 5/12/2010 11:40 AM, Greg Lewis wrote: >> >>> Sorry, too early to be replying to email. I bet what the problem is >>> that you have a JVM listed in /usr/local/etc/javavms that doesn't actually >>> exist. javamvm runs realpath on the VMs listed there. >>> >>> >>> >> Hrm, unfortunately that doesn't seem to be the problem. >> >> root@staging.local:~# cat /usr/local/etc/javavms >> /usr/local/openjdk6/bin/java # OpenJDK6 >> >> root@staging.local:~# ls /usr/local/openjdk6/bin/java >> -rwxr-xr-x 1 root wheel 54410 May 11 15:41:11 2010 >> /usr/local/openjdk6/bin/java* >> >> root@staging.local:~# realpath /usr/local/openjdk6/bin/java >> /usr/local/openjdk6/bin/java >> > /usr/local/bin/javavm is shell script. > Run it as "/bin/sh -x /usr/local/bin/javavm" and post > the realpath invocation that generates the error. > root@staging.local:~# /bin/sh -x /usr/local/bin/javavm -version + _JAVAVM_SAVE_PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin + export PATH=/bin:/sbin:/usr/bin:/usr/sbin + _JAVAVM_PREFIX=/usr/local + _JAVAVM_CONF=/usr/local/etc/javavms + _JAVAVM_OPTS_CONF=/usr/local/etc/javavm_opts.conf + basename /usr/local/bin/javavm + _JAVAVM_PROG=javavm + _JAVAVM_MAKE=/usr/bin/make + [ javavm = javavm ] + echo 'javavm: warning: The use of '\''javavm'\'' as a synonym for '\''java'\'' is deprecated' javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated + _JAVAVM_PROG=java + [ -r /usr/local/etc/javavm_opts.conf ] + . /usr/local/etc/javavm_opts.conf + _JAVAVM_OPTS='' + setJavaHome + realpath '' realpath: : No such file or directory + realpath /usr/local + [ -n '' -a '' != /usr/local ] + unset JAVA_HOME + _JAVAVM_PORTSDIR='' + [ -r /usr/share/mk/bsd.port.mk ] + /usr/bin/make -f /usr/share/mk/bsd.port.mk -V PORTSDIR + _JAVAVM_PORTSDIR=/usr/ports + _JAVAVM_BSD_PORT_MK='' + [ -n /usr/ports -a -r /usr/ports/Mk/bsd.port.mk ] + _JAVAVM_BSD_PORT_MK=/usr/ports/Mk/bsd.port.mk + [ -n /usr/ports/Mk/bsd.port.mk ] + /usr/bin/make -f /usr/ports/Mk/bsd.port.mk -V JAVA_HOME USE_JAVA=yes + JAVA_HOME=/usr/local/openjdk6 + [ -n /usr/local/openjdk6 -a -f /usr/local/openjdk6/bin/java ] + _JAVAVM_PROG_PATH=/usr/local/openjdk6/bin + return 0 + [ 0 != 0 ] + [ -x /usr/local/openjdk6/bin/java ] + basename /usr/local/openjdk6 + setJavaOptions java openjdk6 + echo java + sed -e 's/\./_/g' -e s/-/_/g + local OPTS_PROG=java + echo openjdk6 + sed -e 's/\./_/g' -e s/-/_/g + local OPTS_JAVA_HOME=openjdk6 + eval echo '${JAVAVM_OPTS_openjdk6_java}' + local JAVA_HOME_PROG_OPTS= + eval echo '${JAVAVM_OPTS_openjdk6}' + local JAVA_HOME_OPTS= + eval echo '${JAVAVM_OPTS_java}' + local PROG_OPTS= + [ -n '' ] + [ -n '' ] + [ -n '' ] + [ -n '' ] + export JAVA_HOME + tryJavaCommand /usr/local/openjdk6/bin/java -version + [ -n '' ] + [ -x /usr/local/openjdk6/bin/java ] + [ -n /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin ] + export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin + exec /usr/local/openjdk6/bin/java -version openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b17) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) From owner-freebsd-java@FreeBSD.ORG Wed May 12 19:07:31 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 919A91065679 for ; Wed, 12 May 2010 19:07:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 12CA68FC0A for ; Wed, 12 May 2010 19:07:30 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4CJ7eaK085053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 May 2010 22:07:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4CJ7QNd056768; Wed, 12 May 2010 22:07:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4CJ7QMP056767; Wed, 12 May 2010 22:07:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 12 May 2010 22:07:26 +0300 From: Kostik Belousov To: Mike Jakubik Message-ID: <20100512190726.GD83316@deviant.kiev.zoral.com.ua> References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> <4BEAD2B6.8080300@intertainservices.com> <20100512165009.GB83316@deviant.kiev.zoral.com.ua> <4BEAE3B8.6040805@intertainservices.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q4+B1pX2h4duw/kc" Content-Disposition: inline In-Reply-To: <4BEAE3B8.6040805@intertainservices.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-java@freebsd.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 19:07:31 -0000 --Q4+B1pX2h4duw/kc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 12, 2010 at 01:22:00PM -0400, Mike Jakubik wrote: >=20 > On 5/12/2010 12:50 PM, Kostik Belousov wrote: > >On Wed, May 12, 2010 at 12:09:26PM -0400, Mike Jakubik wrote: > > =20 > >>On 5/12/2010 11:40 AM, Greg Lewis wrote: > >> =20 > >>>Sorry, too early to be replying to email. I bet what the problem is > >>>that you have a JVM listed in /usr/local/etc/javavms that doesn't=20 > >>>actually > >>>exist. javamvm runs realpath on the VMs listed there. > >>> > >>> > >>> =20 > >>Hrm, unfortunately that doesn't seem to be the problem. > >> > >>root@staging.local:~# cat /usr/local/etc/javavms > >>/usr/local/openjdk6/bin/java # OpenJDK6 > >> > >>root@staging.local:~# ls /usr/local/openjdk6/bin/java > >>-rwxr-xr-x 1 root wheel 54410 May 11 15:41:11 2010 > >>/usr/local/openjdk6/bin/java* > >> > >>root@staging.local:~# realpath /usr/local/openjdk6/bin/java > >>/usr/local/openjdk6/bin/java > >> =20 > >/usr/local/bin/javavm is shell script. > >Run it as "/bin/sh -x /usr/local/bin/javavm" and post > >the realpath invocation that generates the error. > > =20 >=20 >=20 > root@staging.local:~# /bin/sh -x /usr/local/bin/javavm -version > +=20 > _JAVAVM_SAVE_PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/s= bin:/usr/local/bin:/root/bin > + export PATH=3D/bin:/sbin:/usr/bin:/usr/sbin > + _JAVAVM_PREFIX=3D/usr/local > + _JAVAVM_CONF=3D/usr/local/etc/javavms > + _JAVAVM_OPTS_CONF=3D/usr/local/etc/javavm_opts.conf > + basename /usr/local/bin/javavm > + _JAVAVM_PROG=3Djavavm > + _JAVAVM_MAKE=3D/usr/bin/make > + [ javavm =3D javavm ] > + echo 'javavm: warning: The use of '\''javavm'\'' as a synonym for=20 > '\''java'\'' is deprecated' > javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated > + _JAVAVM_PROG=3Djava > + [ -r /usr/local/etc/javavm_opts.conf ] > + . /usr/local/etc/javavm_opts.conf > + _JAVAVM_OPTS=3D'' > + setJavaHome > + realpath '' > realpath: : No such file or directory The realpath(1) was given an empty path. According to SUSv4, realpath(3) should return ENOENT if "A component of file_name does not name an existing file or file_name points to an empty string." This was recently brought into standard compliance. Why javavm passes empty path to realpath(1), I do not know. > + realpath /usr/local > + [ -n '' -a '' !=3D /usr/local ] > + unset JAVA_HOME > + _JAVAVM_PORTSDIR=3D'' > + [ -r /usr/share/mk/bsd.port.mk ] > + /usr/bin/make -f /usr/share/mk/bsd.port.mk -V PORTSDIR > + _JAVAVM_PORTSDIR=3D/usr/ports > + _JAVAVM_BSD_PORT_MK=3D'' > + [ -n /usr/ports -a -r /usr/ports/Mk/bsd.port.mk ] > + _JAVAVM_BSD_PORT_MK=3D/usr/ports/Mk/bsd.port.mk > + [ -n /usr/ports/Mk/bsd.port.mk ] > + /usr/bin/make -f /usr/ports/Mk/bsd.port.mk -V JAVA_HOME USE_JAVA=3Dyes > + JAVA_HOME=3D/usr/local/openjdk6 > + [ -n /usr/local/openjdk6 -a -f /usr/local/openjdk6/bin/java ] > + _JAVAVM_PROG_PATH=3D/usr/local/openjdk6/bin > + return 0 > + [ 0 !=3D 0 ] > + [ -x /usr/local/openjdk6/bin/java ] > + basename /usr/local/openjdk6 > + setJavaOptions java openjdk6 > + echo java > + sed -e 's/\./_/g' -e s/-/_/g > + local OPTS_PROG=3Djava > + echo openjdk6 > + sed -e 's/\./_/g' -e s/-/_/g > + local OPTS_JAVA_HOME=3Dopenjdk6 > + eval echo '${JAVAVM_OPTS_openjdk6_java}' > + local JAVA_HOME_PROG_OPTS=3D > + eval echo '${JAVAVM_OPTS_openjdk6}' > + local JAVA_HOME_OPTS=3D > + eval echo '${JAVAVM_OPTS_java}' > + local PROG_OPTS=3D > + [ -n '' ] > + [ -n '' ] > + [ -n '' ] > + [ -n '' ] > + export JAVA_HOME > + tryJavaCommand /usr/local/openjdk6/bin/java -version > + [ -n '' ] > + [ -x /usr/local/openjdk6/bin/java ] > + [ -n=20 > /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/= root/bin=20 > ] > + export=20 > PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca= l/bin:/root/bin > + exec /usr/local/openjdk6/bin/java -version > openjdk version "1.6.0" > OpenJDK Runtime Environment (build 1.6.0-b17) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" --Q4+B1pX2h4duw/kc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvq/G4ACgkQC3+MBN1Mb4goYwCeNqmv34nW7OBz5Rm8BaeS3Adi iIAAnj9/ZMBORldeqZROO9ejOYzOQ+4A =zkAF -----END PGP SIGNATURE----- --Q4+B1pX2h4duw/kc-- From owner-freebsd-java@FreeBSD.ORG Wed May 12 19:50:36 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BCE01065672 for ; Wed, 12 May 2010 19:50:36 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 1C31C8FC13 for ; Wed, 12 May 2010 19:50:35 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id B2F685644E for ; Wed, 12 May 2010 15:50:34 -0400 (EDT) Message-ID: <4BEB0686.6050603@intertainservices.com> Date: Wed, 12 May 2010 15:50:30 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> <4BEAD2B6.8080300@intertainservices.com> <20100512165009.GB83316@deviant.kiev.zoral.com.ua> <4BEAE3B8.6040805@intertainservices.com> <20100512190726.GD83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100512190726.GD83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: B2F685644E.A09F9 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 19:50:36 -0000 On 5/12/2010 3:07 PM, Kostik Belousov wrote: > > The realpath(1) was given an empty path. > > According to SUSv4, realpath(3) should return ENOENT if "A component of > file_name does not name an existing file or file_name points to an empty > string." This was recently brought into standard compliance. > > Why javavm passes empty path to realpath(1), I do not know. > It appears the cause is because ${JAVA_HOME} is an empty variable. --- # # Set up an appropriate JAVA_HOME # setJavaHome() { echo Debug JAVA_HOME: ${JAVA_HOME} echo Debug JAVAVM_PREFIX: ${_JAVAVM_PREFIX} # Use JAVA_HOME if it's set, unless its set to /usr/local if [ -n "${JAVA_HOME}" -a \ "`realpath "${JAVA_HOME}"`" != "`realpath "${_JAVAVM_PREFIX}"`" ]; then if [ -n "${JAVA_HOME}" -a -f "${JAVA_HOME}/bin/${_JAVAVM_PROG}" ]; then _JAVAVM_PROG_PATH="${JAVA_HOME}/bin" return 0 elif [ -n "${JAVA_HOME}" -a \ -f "${JAVA_HOME}/jre/bin/${_JAVAVM_PROG}" ]; then _JAVAVM_PROG_PATH="${JAVA_HOME}/jre/bin" return 0 fi fi unset JAVA_HOME --- When i run the above: + setJavaHome + echo Debug JAVA_HOME: Debug JAVA_HOME: + echo Debug JAVAVM_PREFIX: /usr/local Debug JAVAVM_PREFIX: /usr/local + realpath '' realpath: : No such file or directory From owner-freebsd-java@FreeBSD.ORG Wed May 12 21:03:09 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFB03106566B for ; Wed, 12 May 2010 21:03:09 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 202F38FC13 for ; Wed, 12 May 2010 21:03:08 +0000 (UTC) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.4/8.14.4) with ESMTP id o4CKjGNx016659; Thu, 13 May 2010 00:45:16 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1273697116; bh=9fmmL9R3iq1AHJevrXBz8yLl4toViswo9s8cD23zcwI=; l=989; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=BIHwE4TNFsnSYBkBEiwYtMybvs30ip/+pBNgmHKFaX+GfY101UfyZD4INymmAz1Nz MpBx8RZedbbrD1qqaSnGMDO/tOliK/7YxxuYBaAwF4b2W7aNSVvMMvX2CUBHBfuUH0 nJXvydXU08k8t2cL1yAnW9j71BcstZi7Fmo3UB/k= Received: (from ache@localhost) by nagual.pp.ru (8.14.4/8.14.4/Submit) id o4CKjFIE016658; Thu, 13 May 2010 00:45:15 +0400 (MSD) (envelope-from ache) Date: Thu, 13 May 2010 00:45:13 +0400 From: Andrey Chernov To: Kostik Belousov Message-ID: <20100512204513.GA16566@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Kostik Belousov , Mike Jakubik , freebsd-java@FreeBSD.ORG References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com> <20100512154024.GB75759@misty.eyesbeyond.com> <4BEAD2B6.8080300@intertainservices.com> <20100512165009.GB83316@deviant.kiev.zoral.com.ua> <4BEAE3B8.6040805@intertainservices.com> <20100512190726.GD83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20100512190726.GD83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Mike Jakubik , freebsd-java@FreeBSD.ORG Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 21:03:09 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 12, 2010 at 10:07:26PM +0300, Kostik Belousov wrote: > According to SUSv4, realpath(3) should return ENOENT if "A component of > file_name does not name an existing file or file_name points to an empty > string." This was recently brought into standard compliance. According to POSIX too.=20 BTW, we still have several non-POSIX comnformant places in realpath(3)=20 related to not returning mandatory errors when required (see ERRORS=20 section in the latest POSIX draft). --=20 http://ache.pp.ru/ --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvrE1kACgkQVg5YK5ZEdN1GaACeJEUMMeYr1YsQyEBcIywcx0id J5EAoJFMrh700m84gEp4u5KtA4m2xOEI =0Z1J -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- From owner-freebsd-java@FreeBSD.ORG Thu May 13 07:44:53 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6952A1065677 for ; Thu, 13 May 2010 07:44:53 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id C00868FC0A for ; Thu, 13 May 2010 07:44:51 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4D7ioIt010502 for ; Thu, 13 May 2010 10:44:50 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4D7iosL010501 for freebsd-java@freebsd.org; Thu, 13 May 2010 10:44:50 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 13 May 2010 10:44:49 +0300 User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com> In-Reply-To: <4BEAD448.7080309@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201005131044.50068.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 07:44:53 -0000 =D3=F4=E9=F2 Wednesday 12 May 2010 19:16:08 =EF/=E7 Peter Palmreuther =DD= =E3=F1=E1=F8=E5: > On 12.05.10 11:12, Achilleas Mantzios wrote: > > Peter, > > i think a have some spare time slots today. Can you point to me as to h= ow i could > > try to reproduce the problem in a fast way? >=20 > thanks for your offer. I hope it's fast enough, for your spare time. I'll= try > to describe the shortest path I'm aware of. >=20 > > I tried looking at sonatype nexus, but it looked a little bit chaotic a= t first glance. (commercial vs open source, etc..) >=20 > ;-) >=20 > > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. >=20 > That should be perfect. My 'uname -a' gives: >=20 > FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tu= e Jan > 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > What I've done: >=20 > 1. Install openjdk6-b17_2 > 2. Install apache-tomcat-6.0.26 > 3. Download http://nexus.sonatype.org/downloads/older/nexus-webapp-1.4.1.= war > 4. mkdir /usr/local/apache-tomcat-6.0/webapps/nexus > 5. chown www:www /usr/local/apache-tomcat-6.0/webapps/nexus > 6. cd /usr/local/apache-tomcat-6.0/webapps/nexus > 7. unzip -q /path/to/nexus-webapp-1.4.1.war > 8. In /etc/rc.conf (or /etc/rc.conf.d/tomcat60 like I did) set (all on on= e line) >=20 > tomcat60_java_opts=3D-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ > -Djava.net.preferIPv4Stack=3Dtrue\ -Dplexus.nexus-work=3D/path/to/sonatyp= e-work/ >=20 > 9. mkdir /path/to/sonatype-work/ > 10. chown www /path/to/sonatype-work/ > 11. Enable tomcat60 start (rc.conf, ...) > 12. Start Tomcat using OpenJDK (i.e. by setting JAVA_HOME before calling = start > script) > 13. Open Nexus web page (http://host:8080/nexus/, or whatever tomcat is s= et to) > 14. Log in to Nexus (user: admin, pass: admin123) > 15. Go to "Scheduled Tasks" in navigation on the left > 16. Create task > I named it "Refresh Indicies", it's of type "Download Indexes" for "= All > Repositories". > Recurrence over here is "daily" at 1:15am. I'm not sure this matters= , as > I get the crash even when manually starting the task. > 17. Right click task in task list, "Run" >=20 I am to this task now, running it. i have two issues: a) I could not set type "Download Indexes" for "All Repositories". Task Type is ok set to Download Indexes, but Repository/Group has only two = options: =2D Public Repositories (Group) =2D Public Snapshot Repositories (Group) i set it to the first choice (Public Repositories (Group)) b) in the log file i get 2010-05-13 10:32:09 INFO - o.s.n.f.FeedRecorder:default - Downloading ind= exes for repository group Public Repositories (group) : Process started on = Thu May 13 10:32:09 EEST 2010, not yet finished. 2010-05-13 10:32:09 INFO - o.s.n.f.FeedRecorder:default - Downloading ind= exes for repository group Public Repositories (group) : Process started on = Thu May 13 10:32:09 EEST 2010, finished successfully on Thu May 13 10:32:09= EEST 2010 so i presume its finished? i run it again and it finished very fast.... did i miss smth? > It'll now take some time, depending on repositories initially set up and > download speed for index files. Over here it crashes in the middle of ind= ex > refreshing, tomcat dies, core dumps and is gone. > Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is >=20 > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Remote indexes > updated successfully for repository sonatype-sourceforge-releases > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Cascading mer= ge of > group indexes for group "public", where repository > "sonatype-sourceforge-releases" is member. >=20 > Hope it crashes at your side as well, for this would mean it's reproducib= le :-) =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu May 13 07:51:31 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21CF106567A for ; Thu, 13 May 2010 07:51:30 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 47F848FC0A for ; Thu, 13 May 2010 07:51:29 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4D7pSbU010557 for ; Thu, 13 May 2010 10:51:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4D7pRgv010556 for freebsd-java@freebsd.org; Thu, 13 May 2010 10:51:27 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com> In-Reply-To: <4BEAD448.7080309@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 13 May 2010 10:51:27 +0300 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Message-Id: <201005131051.27922.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes - upd X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 07:51:31 -0000 =D3=F4=E9=F2 Wednesday 12 May 2010 19:16:08 =EF/=E7 Peter Palmreuther =DD= =E3=F1=E1=F8=E5: > On 12.05.10 11:12, Achilleas Mantzios wrote: > > Peter, > > i think a have some spare time slots today. Can you point to me as to h= ow i could > > try to reproduce the problem in a fast way? >=20 > thanks for your offer. I hope it's fast enough, for your spare time. I'll= try > to describe the shortest path I'm aware of. >=20 > > I tried looking at sonatype nexus, but it looked a little bit chaotic a= t first glance. (commercial vs open source, etc..) >=20 > ;-) >=20 > > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. >=20 > That should be perfect. My 'uname -a' gives: >=20 > FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tu= e Jan > 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > What I've done: >=20 > 1. Install openjdk6-b17_2 > 2. Install apache-tomcat-6.0.26 > 3. Download http://nexus.sonatype.org/downloads/older/nexus-webapp-1.4.1.= war > 4. mkdir /usr/local/apache-tomcat-6.0/webapps/nexus > 5. chown www:www /usr/local/apache-tomcat-6.0/webapps/nexus > 6. cd /usr/local/apache-tomcat-6.0/webapps/nexus > 7. unzip -q /path/to/nexus-webapp-1.4.1.war > 8. In /etc/rc.conf (or /etc/rc.conf.d/tomcat60 like I did) set (all on on= e line) >=20 > tomcat60_java_opts=3D-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ > -Djava.net.preferIPv4Stack=3Dtrue\ -Dplexus.nexus-work=3D/path/to/sonatyp= e-work/ >=20 > 9. mkdir /path/to/sonatype-work/ > 10. chown www /path/to/sonatype-work/ > 11. Enable tomcat60 start (rc.conf, ...) > 12. Start Tomcat using OpenJDK (i.e. by setting JAVA_HOME before calling = start > script) > 13. Open Nexus web page (http://host:8080/nexus/, or whatever tomcat is s= et to) > 14. Log in to Nexus (user: admin, pass: admin123) > 15. Go to "Scheduled Tasks" in navigation on the left > 16. Create task > I named it "Refresh Indicies", it's of type "Download Indexes" for "= All > Repositories". > Recurrence over here is "daily" at 1:15am. I'm not sure this matters= , as > I get the crash even when manually starting the task. > 17. Right click task in task list, "Run" >=20 Its ok i set it to "All Repositories" Still it finishes instantly.... PS i run tomcat-6.0.24 instead of tomcat-6.0.26, but i doubt this has anything= to do.... Do you get the faulty behaviour in a fresh installation? > It'll now take some time, depending on repositories initially set up and > download speed for index files. Over here it crashes in the middle of ind= ex > refreshing, tomcat dies, core dumps and is gone. > Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is >=20 > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Remote indexes > updated successfully for repository sonatype-sourceforge-releases > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Cascading mer= ge of > group indexes for group "public", where repository > "sonatype-sourceforge-releases" is member. >=20 > Hope it crashes at your side as well, for this would mean it's reproducib= le :-) =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu May 13 08:04:42 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83997106566C for ; Thu, 13 May 2010 08:04:42 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 131338FC08 for ; Thu, 13 May 2010 08:04:41 +0000 (UTC) Received: by ewy24 with SMTP id 24so354399ewy.13 for ; Thu, 13 May 2010 01:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=7U1rjpiByf0fb7GADNbtbVWwgwKawLwOXCYdl+tnCNY=; b=oDsitmia3gax7ljDXE3p1vmt9R/OkE6qFWYWFCCX1PNPSEtoROLM3fUzaDMUXQFt1C hOS8myJf2bcVn4pQqHnKbZq4x3i04e2BDvfIA3BlfbQ0y0lGVI14egr4IU44L3Mkt/AK jL1wMdseQrrTgc3vidl7aacz8f+1P3OU8iiv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Wt72z4qt30DjX+65Est927XvVkLyp1xja7lAEOBehxr3++ugaLhDBqZhtpp3Z5Ns+B rWnaVpqtJhTbnGNQ+7WJ/+ZqDdHxVEkmYr+JIn2K/VwB86HSYyNq+T34UAajuEXvOfC+ DYkxSUYvlF3JFkPXaLQ+hNB2lMrOYxJtps+cQ= Received: by 10.213.52.199 with SMTP id j7mr1164044ebg.79.1273737880984; Thu, 13 May 2010 01:04:40 -0700 (PDT) Received: from silverbox.sunrise.local (i577B474D.versanet.de [87.123.71.77]) by mx.google.com with ESMTPS id 14sm555456ewy.2.2010.05.13.01.04.39 (version=SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 01:04:39 -0700 (PDT) Message-ID: <4BEBB296.4010105@gmail.com> Date: Thu, 13 May 2010 10:04:38 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com> <201005131051.27922.achill@matrix.gatewaynet.com> In-Reply-To: <201005131051.27922.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Subject: Re: openjdk6 crashes - upd X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 08:04:42 -0000 On 13.05.10 09:51, Achilleas Mantzios wrote: [...] > Its ok i set it to "All Repositories" > > Still it finishes instantly.... Damn :-/ > PS > i run tomcat-6.0.24 instead of tomcat-6.0.26, but i doubt this has anything to do.... Me too. > Do you get the faulty behaviour in a fresh installation? Guess I'll have to test this. Maybe it's something only occuring because of "Cascading merge of group indexes for group "public" [...]" (which is as mentioned the last output in stdout.log)?!? I'll give a fresh installation a try and report. But after your experience I bet it'll work and it's an issue only coming up on "real updating" :-/ Thanks a lot, and -- Best regards, Peter Palmreuther From owner-freebsd-java@FreeBSD.ORG Thu May 13 08:05:41 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBF3D106566C for ; Thu, 13 May 2010 08:05:40 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5BD8FC15 for ; Thu, 13 May 2010 08:05:39 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4D85coV010667 for ; Thu, 13 May 2010 11:05:38 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4D85cLA010666 for freebsd-java@freebsd.org; Thu, 13 May 2010 11:05:38 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com> In-Reply-To: <4BEAD448.7080309@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 13 May 2010 11:05:38 +0300 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Message-Id: <201005131105.38426.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes - upd #2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 08:05:41 -0000 =D3=F4=E9=F2 Wednesday 12 May 2010 19:16:08 =EF/=E7 Peter Palmreuther =DD= =E3=F1=E1=F8=E5: > On 12.05.10 11:12, Achilleas Mantzios wrote: > > Peter, > > i think a have some spare time slots today. Can you point to me as to h= ow i could > > try to reproduce the problem in a fast way? >=20 > thanks for your offer. I hope it's fast enough, for your spare time. I'll= try > to describe the shortest path I'm aware of. >=20 > > I tried looking at sonatype nexus, but it looked a little bit chaotic a= t first glance. (commercial vs open source, etc..) >=20 > ;-) >=20 > > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. >=20 > That should be perfect. My 'uname -a' gives: >=20 > FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tu= e Jan > 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > What I've done: >=20 > 1. Install openjdk6-b17_2 > 2. Install apache-tomcat-6.0.26 > 3. Download http://nexus.sonatype.org/downloads/older/nexus-webapp-1.4.1.= war > 4. mkdir /usr/local/apache-tomcat-6.0/webapps/nexus > 5. chown www:www /usr/local/apache-tomcat-6.0/webapps/nexus > 6. cd /usr/local/apache-tomcat-6.0/webapps/nexus > 7. unzip -q /path/to/nexus-webapp-1.4.1.war > 8. In /etc/rc.conf (or /etc/rc.conf.d/tomcat60 like I did) set (all on on= e line) >=20 > tomcat60_java_opts=3D-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ > -Djava.net.preferIPv4Stack=3Dtrue\ -Dplexus.nexus-work=3D/path/to/sonatyp= e-work/ >=20 > 9. mkdir /path/to/sonatype-work/ > 10. chown www /path/to/sonatype-work/ > 11. Enable tomcat60 start (rc.conf, ...) > 12. Start Tomcat using OpenJDK (i.e. by setting JAVA_HOME before calling = start > script) > 13. Open Nexus web page (http://host:8080/nexus/, or whatever tomcat is s= et to) > 14. Log in to Nexus (user: admin, pass: admin123) > 15. Go to "Scheduled Tasks" in navigation on the left > 16. Create task > I named it "Refresh Indicies", it's of type "Download Indexes" for "= All > Repositories". > Recurrence over here is "daily" at 1:15am. I'm not sure this matters= , as > I get the crash even when manually starting the task. > 17. Right click task in task list, "Run" >=20 updated to tomcat-6.0.26, still i run the task, and nothing bad happens, bu= t it finishes very quickly. is there anything i miss? > It'll now take some time, depending on repositories initially set up and > download speed for index files. Over here it crashes in the middle of ind= ex > refreshing, tomcat dies, core dumps and is gone. > Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is >=20 > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Remote indexes > updated successfully for repository sonatype-sourceforge-releases > 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Cascading mer= ge of > group indexes for group "public", where repository > "sonatype-sourceforge-releases" is member. >=20 > Hope it crashes at your side as well, for this would mean it's reproducib= le :-) =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu May 13 21:38:07 2010 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9280E106564A for ; Thu, 13 May 2010 21:38:07 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 047D38FC0A for ; Thu, 13 May 2010 21:38:06 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id B4117E043E; Fri, 14 May 2010 09:18:38 +1200 (NZST) Date: Fri, 14 May 2010 09:18:38 +1200 From: Jonathan Chen To: Ondrej Majerech Message-ID: <20100513211838.GA789@osiris.chen.org.nz> References: <4BEC6AD2.9070800@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BEC6AD2.9070800@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: java@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Eclipse causes segmentation fault in Java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 21:38:07 -0000 On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote: > Hey, > > I have a fresh FBSD 8-Stable/AMD64 installation and I want to run > Eclipse. This is what I get: > > [starlight] ~ > eclipse > realpath: : No such file or directory > # > # An unexpected error has been detected by Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000825d6d985, pid=11170, tid=0xa0ae40 > # > # Java VM: Java HotSpot(TM) 64-Bit Server VM > (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode) > # Problematic frame: > # C [libglib-2.0.so.0+0x18985] g_base64_encode_step+0xe5 > # > # An error report file with more information is saved as hs_err_pid11170.log > # > # Please submit bug reports to freebsd-java@FreeBSD.org > # At a guess, you recently upgraded to GNOME 2.30; and since it's been crashing. I just started seeing this myself since I updated yesterday. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around From owner-freebsd-java@FreeBSD.ORG Thu May 13 21:40:53 2010 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4609E106564A for ; Thu, 13 May 2010 21:40:53 +0000 (UTC) (envelope-from oxyd.oxyd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id BF1248FC0C for ; Thu, 13 May 2010 21:40:52 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so2043717fge.13 for ; Thu, 13 May 2010 14:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=knO+M3BmSoTeTYjxdPoc11JYJblTaKebSJZ5vbQi3bk=; b=IEKnVGPuv5QeJkKO78hqVIggyMzK4Tu+gA41YaYdryt17ACQMrkhO0S0eofbk/i4jh DbZVwSZaNj0Mf8/+H0ZgrjxPT09YY5xUYUiog2iDA4ZtW/o6tj+OokdfJ8E97zC+pYll JJ0nGYYbKN1FBG2S7dUiYbQt5X+GZdkiXQxDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=JTOZb+s8ZZpkf/a95Bd9Gd/DHHFFKVWJxxf/KZhKv3UMUkRWurUH/ZdF+HXb3GbB3E HwqH0MZ57kB4SWxhitTUxtvIuJ5Tl6wBTrOzSnDi2CkCViOO+Zm6y77QfwU+B9kTTnMk h7pEOrxjQJQkbWhxdFfhrYjOQ/U3ZM0oTCHHY= Received: by 10.87.47.3 with SMTP id z3mr1344575fgj.74.1273785045146; Thu, 13 May 2010 14:10:45 -0700 (PDT) Received: from [192.168.1.31] (adsl-static-82-202-0-211.praha.tiscali.cz [82.202.0.211]) by mx.google.com with ESMTPS id 12sm9629737fgg.14.2010.05.13.14.10.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 14:10:44 -0700 (PDT) Message-ID: <4BEC6AD2.9070800@gmail.com> Date: Thu, 13 May 2010 23:10:42 +0200 From: Ondrej Majerech User-Agent: Thunderbird 2.0.0.24 (X11/20100512) MIME-Version: 1.0 To: java@FreeBSD.org, freebsd-questions@FreeBSD.org Content-Type: multipart/mixed; boundary="------------070504040305060900090501" Cc: Subject: Eclipse causes segmentation fault in Java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 21:40:53 -0000 This is a multi-part message in MIME format. --------------070504040305060900090501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hey, I have a fresh FBSD 8-Stable/AMD64 installation and I want to run Eclipse. This is what I get: [starlight] ~ > eclipse realpath: : No such file or directory # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000825d6d985, pid=11170, tid=0xa0ae40 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode) # Problematic frame: # C [libglib-2.0.so.0+0x18985] g_base64_encode_step+0xe5 # # An error report file with more information is saved as hs_err_pid11170.log # # Please submit bug reports to freebsd-java@FreeBSD.org # Mentioned file is attached. I'm using jdk16 from ports. I have also tried with diablo-jdk from ports with exactly the same result. > java -version realpath: : No such file or directory java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_13_may_2010_21_53-b00) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-root_13_may_2010_21_53-b00, mixed mode) After Eclipse crashes like this, my system becomes unusably slow: in top I can see the java process using 43 GB of memory (the "SIZE" column) and being in "STOP" state. Java is then slowly consuming my physical memory until I reboot. It is apparantely trying to dump a core: > ls -lh ~/java.core -rw------- 1 oxyd oxyd 43G May 13 21:15 /usr/home/oxyd/java.core I need to say this is the largest coredump I've ever seen. Doing sysctl kern.coredump=0 and retrying Eclipse produces the same error but doesn't hang my machine. I'm also unsure about the "realpath: : No such file or directory" message that appears in the output, but I don't know what it means and Google doesn't help much. I'll be happy to hear any suggestions. ~ Ondra --------------070504040305060900090501 Content-Type: text/plain; name="hs_err_pid11170.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hs_err_pid11170.log" # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000825d6d985, pid=11170, tid=0xa0ae40 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode) # Problematic frame: # C [libglib-2.0.so.0+0x18985] g_base64_encode_step+0xe5 # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x0000000800a8e000): JavaThread "main" [_thread_in_native, id=10530368] siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0x0000000825a0d000 Registers: RAX=0x0000000000000000, RBX=0x00007fffffbec69c, RCX=0x0000000825dd1740, RDX=0x0000000000000000 RSP=0x00007fffffbec660, RBP=0x000000082a000000, RSI=0x0000000000000007, RDI=0x0000000825a0d000 R8 =0x000000082a70f6a8, R9 =0x00007fffffbec698, R10=0x0000000000000000, R11=0x0000000825a0cffe R12=0x00000010254c2346, R13=0x0000000000000000, R14=0x0000000000000000, R15=0x00000008257f1b50 RIP=0x0000000825d6d985, EFL=0x0000000000000001, ERR=0x0000000000000004 TRAPNO=0x000000000000000c Top of Stack: (sp=0x00007fffffbec660) 0x00007fffffbec660: 00007fffffbec698 0000000800000c48 0x00007fffffbec670: 00007fffffbec69c 000000082a000000 0x00007fffffbec680: 00000008254c1700 0000000825d6ded3 0x00007fffffbec690: 00007fffffbec774 0000000000000000 0x00007fffffbec6a0: 00000008009a8c20 000000082567d600 0x00007fffffbec6b0: 0000000000000000 00007fffffbfd910 0x00007fffffbec6c0: 00000008257f1ba0 0000000829ebca35 0x00007fffffbec6d0: 0000000829ebb190 0000000829662280 0x00007fffffbec6e0: 0000000829662289 0000000000000010 0x00007fffffbec6f0: 0000000000000000 0000000000000000 0x00007fffffbec700: 0000000000000000 0000000000000000 0x00007fffffbec710: 00000008009a8c20 00000008007ee3f9 0x00007fffffbec720: 0000000800000c48 00000008254c1700 0x00007fffffbec730: 0000000829662220 00000008257b22c0 0x00007fffffbec740: 00000008257f7fb0 00000008256a1b00 0x00007fffffbec750: 0000000800a36800 0000000800ab1880 0x00007fffffbec760: 0000000800a9b800 0000000829646ed0 0x00007fffffbec770: 00000000ffbfd910 0000002000000000 0x00007fffffbec780: 0000000600000020 00000008009a8c20 0x00007fffffbec790: 000000082567d600 0000000000000000 0x00007fffffbec7a0: 00007fffffbfd910 0000000828306150 0x00007fffffbec7b0: 0000000000000000 0000000000000000 0x00007fffffbec7c0: 0000000000000000 0000000000000000 0x00007fffffbec7d0: 0000000000000000 0000000000000000 0x00007fffffbec7e0: 0000000000000000 0000000000000000 0x00007fffffbec7f0: 0000000000000000 0000000000000000 0x00007fffffbec800: 0000000000000000 0000000000000000 0x00007fffffbec810: 0000000000000000 0000000000000000 0x00007fffffbec820: 0000000000000000 0000000000000000 0x00007fffffbec830: 0000000000000000 0000000000000000 0x00007fffffbec840: 0000000000000000 0000000000000000 0x00007fffffbec850: 0000000000000000 0000000000000000 Instructions: (pc=0x0000000825d6d985) 0x0000000825d6d975: b6 17 48 83 c7 01 44 89 d0 48 8d 0d bb 3d 06 00 0x0000000825d6d985: 0f b6 37 c1 f8 02 41 83 e2 03 4c 8d 5f 01 48 98 Stack: [0x00007fffffaff000,0x00007fffffbff000), sp=0x00007fffffbec660, free space=949k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libglib-2.0.so.0+0x18985] g_base64_encode_step+0xe5 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.gtk.OS._gdk_pixbuf_new_from_file([B[J)J+0 j org.eclipse.swt.internal.gtk.OS.gdk_pixbuf_new_from_file([B[J)J+9 j org.eclipse.swt.graphics.Image.(Lorg/eclipse/swt/graphics/Device;Ljava/lang/String;)V+64 j org.eclipse.jface.resource.URLImageDescriptor.createImage(ZLorg/eclipse/swt/graphics/Device;)Lorg/eclipse/swt/graphics/Image;+22 j org.eclipse.jface.resource.ImageDescriptor.createImage(Z)Lorg/eclipse/swt/graphics/Image;+5 j org.eclipse.jface.resource.ImageDescriptor.createImage()Lorg/eclipse/swt/graphics/Image;+2 j org.eclipse.ui.internal.Workbench.initializeImages()V+28 j org.eclipse.ui.internal.Workbench.createDisplay()Lorg/eclipse/swt/widgets/Display;+103 j org.eclipse.ui.PlatformUI.createDisplay()Lorg/eclipse/swt/widgets/Display;+0 j org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay()Lorg/eclipse/swt/widgets/Display;+0 j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+1 j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+66 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161 j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211 j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114 j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000800a88800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=10947392] 0x0000000800a89000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=10946944] 0x0000000800a89400 JavaThread "State Data Manager" daemon [_thread_blocked, id=10947840] 0x0000000800a8d800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10951424] 0x0000000800a8b400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10951872] 0x0000000800a8bc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10952320] 0x0000000800a8c400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10952768] 0x0000000800a8c800 JavaThread "Finalizer" daemon [_thread_blocked, id=10953216] 0x0000000800a8d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=10953664] =>0x0000000800a8e000 JavaThread "main" [_thread_in_native, id=10530368] Other Threads: 0x0000000800af8000 VMThread [id=10954112] 0x0000000800af7800 WatcherThread [id=10955456] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 11968K, used 7591K [0x000000081f8a0000, 0x00000008205f0000, 0x0000000824df0000) eden space 10304K, 62% used [0x000000081f8a0000,0x000000081feddeb0,0x00000008202b0000) from space 1664K, 72% used [0x00000008202b0000,0x00000008203dc018,0x0000000820450000) to space 1664K, 0% used [0x0000000820450000,0x0000000820450000,0x00000008205f0000) PSOldGen total 27328K, used 0K [0x0000000814df0000, 0x00000008168a0000, 0x000000081f8a0000) object space 27328K, 0% used [0x0000000814df0000,0x0000000814df0000,0x00000008168a0000) PSPermGen total 21248K, used 10495K [0x0000000804df0000, 0x00000008062b0000, 0x0000000814df0000) object space 21248K, 49% used [0x0000000804df0000,0x000000080582fdc8,0x00000008062b0000) Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.6.0/bin/java 0x0000000800657000 /lib/libthr.so.3 0x000000080076f000 /lib/libc.so.7 0x0000000800c00000 /usr/local/jdk1.6.0/jre/lib/amd64/server/libjvm.so 0x000000080144a000 /usr/lib/libstdc++.so.6 0x0000000801655000 /lib/libm.so.5 0x0000000801774000 /lib/libgcc_s.so.1 0x0000000801881000 /usr/local/jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so 0x000000080198d000 /usr/local/jdk1.6.0/jre/lib/amd64/libverify.so 0x0000000801a9e000 /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so 0x0000000801bd2000 /usr/local/jdk1.6.0/jre/lib/amd64/libzip.so 0x0000000801cdb000 /lib/libz.so.5 0x0000000825a00000 /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64_1.0.101.R34x_v20080731/eclipse_1116.so 0x0000000825b0e000 /usr/local/lib/libgobject-2.0.so.0 0x0000000825c51000 /usr/local/lib/libgthread-2.0.so.0 0x0000000825d55000 /usr/local/lib/libglib-2.0.so.0 0x0000000825f26000 /usr/local/lib/libintl.so.8 0x000000082602f000 /usr/local/lib/libiconv.so.3 0x0000000826229000 /usr/local/lib/libpcre.so.0 0x000000082635b000 /usr/local/lib/libgdk-x11-2.0.so.0 0x0000000826506000 /usr/local/lib/libpangocairo-1.0.so.0 0x0000000826612000 /usr/local/lib/libpangoft2-1.0.so.0 0x0000000826742000 /usr/local/lib/libpango-1.0.so.0 0x000000082688a000 /usr/local/lib/libXinerama.so.1 0x000000082698c000 /usr/local/lib/libXi.so.6 0x0000000826a9a000 /usr/local/lib/libXrandr.so.2 0x0000000826ba2000 /usr/local/lib/libXcursor.so.1 0x0000000826cac000 /usr/local/lib/libXcomposite.so.1 0x0000000826daf000 /usr/local/lib/libXext.so.6 0x0000000826ec0000 /usr/local/lib/libXdamage.so.1 0x0000000826fc2000 /usr/local/lib/libXfixes.so.3 0x00000008270c7000 /usr/local/lib/libcairo.so.2 0x000000082723f000 /usr/local/lib/libpixman-1.so.9 0x0000000827392000 /usr/local/lib/libfontconfig.so.1 0x00000008274c4000 /usr/local/lib/libfreetype.so.9 0x0000000827645000 /usr/local/lib/libexpat.so.6 0x0000000827768000 /usr/local/lib/libpng.so.6 0x000000082788e000 /usr/local/lib/libxcb-render-util.so.0 0x0000000827991000 /usr/local/lib/libxcb-render.so.0 0x0000000827a99000 /usr/local/lib/libXrender.so.1 0x0000000827ba2000 /usr/local/lib/libX11.so.6 0x0000000827dd1000 /usr/local/lib/libxcb.so.2 0x0000000827eeb000 /usr/local/lib/libXau.so.6 0x0000000827fee000 /usr/local/lib/libXdmcp.so.6 0x00000008280f3000 /usr/local/lib/libpthread-stubs.so.0 0x00000008281f4000 /usr/lib/librpcsvc.so.5 0x00000008282fd000 /usr/local/lib/libgdk_pixbuf-2.0.so.0 0x0000000828417000 /usr/local/lib/libgio-2.0.so.0 0x00000008285bc000 /usr/local/lib/libgmodule-2.0.so.0 0x00000008286bf000 /usr/local/lib/libgtk-x11-2.0.so.0 0x0000000828bbc000 /usr/local/lib/libatk-1.0.so.0 0x0000000829200000 /usr/local/lib/gtk-2.0/2.10.0/engines/libclearlooks.so 0x0000000828cdc000 /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 0x000000082932a000 /usr/local/jdk1.6.0/jre/lib/amd64/libnet.so 0x0000000829441000 /usr/local/jdk1.6.0/jre/lib/amd64/libnio.so 0x0000000829800000 /usr/home/oxyd/.eclipse/org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/bundles/129/1/.cp/libswt-gtk-3452.so 0x0000000829945000 /usr/home/oxyd/.eclipse/org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/bundles/129/1/.cp/libswt-pi-gtk-3452.so 0x0000000829ab4000 /usr/local/lib/libXtst.so.6 0x0000000829c18000 /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so 0x0000000829db3000 /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 0x0000000829eb9000 /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 0x0000000800511000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xms40m -Xmx256m -XX:MaxPermSize=256m java_command: /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -os freebsd -ws gtk -arch x86_64 -showsplash -launcher /usr/local/eclipse/eclipse -name Eclipse --launcher.library /usr/local/eclipse//plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64_1.0.101.R34x_v20080731/eclipse_1116.so -startup /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -exitdata 35c0009 -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -XX:MaxPermSize=256m -jar /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/jdk1.6.0 PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/home/oxyd/bin:/home/oxyd/scripts/:/home/oxyd/scripts/:/home/oxyd/scripts/ LD_LIBRARY_PATH=/usr/local/jdk1.6.0/jre/lib/amd64/server:/usr/local/jdk1.6.0/jre/lib/amd64:/usr/local/jdk1.6.0/jre/../lib/amd64::/usr/local/lib/libxul:/usr/local/lib/libxul SHELL=/usr/local/bin/zsh DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x5d5960], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x5d5960], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x4a9410], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGILL: [libjvm.so+0x4a9410], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x4ab600], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x4aa370], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGINT: [libjvm.so+0x4aa370], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGQUIT: [libjvm.so+0x4aa370], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGTERM: [libjvm.so+0x4aa370], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR2: [libjvm.so+0x4ab600], sa_mask[0]=0x00000000, sa_flags=0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #0 r207959: Wed May 12 14:25:58 CEST 2010 root@starlight:/usr/obj/usr/src/sys/STARLIGHT amd64 rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext Memory: 4k page, physical 1892032k(473008k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-p4-root_13_may_2010_21_53-b00) for bsd-amd64, built on May 13 2010 22:02:34 by "root" with gcc 4.2.1 20070719 [FreeBSD] --------------070504040305060900090501-- From owner-freebsd-java@FreeBSD.ORG Thu May 13 22:46:19 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 0C7E2106564A; Thu, 13 May 2010 22:46:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Thu, 13 May 2010 18:46:05 -0400 User-Agent: KMail/1.6.2 References: <4BEAC59B.9040105@intertainservices.com> <20100512190726.GD83316@deviant.kiev.zoral.com.ua> <4BEB0686.6050603@intertainservices.com> In-Reply-To: <4BEB0686.6050603@intertainservices.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_wEI7LLGeDsoJ5I5" Message-Id: <201005131846.08019.jkim@FreeBSD.org> Cc: Mike Jakubik , glewis@FreeBSD.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 22:46:19 -0000 --Boundary-00=_wEI7LLGeDsoJ5I5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 12 May 2010 03:50 pm, Mike Jakubik wrote: > On 5/12/2010 3:07 PM, Kostik Belousov wrote: > > The realpath(1) was given an empty path. > > > > According to SUSv4, realpath(3) should return ENOENT if "A > > component of file_name does not name an existing file or > > file_name points to an empty string." This was recently brought > > into standard compliance. > > > > Why javavm passes empty path to realpath(1), I do not know. > > It appears the cause is because ${JAVA_HOME} is an empty variable. > > --- > # > # Set up an appropriate JAVA_HOME > # > setJavaHome() { > > echo Debug JAVA_HOME: ${JAVA_HOME} > echo Debug JAVAVM_PREFIX: ${_JAVAVM_PREFIX} > > # Use JAVA_HOME if it's set, unless its set to /usr/local > if [ -n "${JAVA_HOME}" -a \ > "`realpath "${JAVA_HOME}"`" != "`realpath > "${_JAVAVM_PREFIX}"`" ]; then > if [ -n "${JAVA_HOME}" -a -f > "${JAVA_HOME}/bin/${_JAVAVM_PROG}" ]; then > _JAVAVM_PROG_PATH="${JAVA_HOME}/bin" > return 0 > elif [ -n "${JAVA_HOME}" -a \ > -f "${JAVA_HOME}/jre/bin/${_JAVAVM_PROG}" ]; then > _JAVAVM_PROG_PATH="${JAVA_HOME}/jre/bin" > return 0 > fi > fi > > unset JAVA_HOME > --- > > When i run the above: > > + setJavaHome > + echo Debug JAVA_HOME: > Debug JAVA_HOME: > + echo Debug JAVAVM_PREFIX: /usr/local > Debug JAVAVM_PREFIX: /usr/local > + realpath '' > realpath: : No such file or directory The attached patch should fix the annoyance. Jung-uk Kim --Boundary-00=_wEI7LLGeDsoJ5I5 Content-Type: text/plain; charset="iso-8859-1"; name="javavmwrapper.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="javavmwrapper.diff" --- javavmwrapper/Makefile.orig 2010-05-13 15:40:45.000000000 -0400 +++ javavmwrapper/Makefile 2010-05-13 15:31:00.000000000 -0400 @@ -8,7 +8,7 @@ # PORTNAME= javavmwrapper -PORTVERSION= 2.3.4 +PORTVERSION= 2.3.5 CATEGORIES= java MASTER_SITES= # none DISTFILES= # none --- javavmwrapper/src/javavmwrapper.sh.orig 2010-01-18 17:42:58.000000000 -0500 +++ javavmwrapper/src/javavmwrapper.sh 2010-05-13 15:30:32.000000000 -0400 @@ -479,16 +479,16 @@ # setJavaHome() { # Use JAVA_HOME if it's set, unless its set to %%PREFIX%% - if [ -n "${JAVA_HOME}" -a \ - "`realpath "${JAVA_HOME}"`" != "`realpath "${_JAVAVM_PREFIX}"`" ]; then - if [ -n "${JAVA_HOME}" -a -f "${JAVA_HOME}/bin/${_JAVAVM_PROG}" ]; then - _JAVAVM_PROG_PATH="${JAVA_HOME}/bin" - return 0 - elif [ -n "${JAVA_HOME}" -a \ - -f "${JAVA_HOME}/jre/bin/${_JAVAVM_PROG}" ]; then - _JAVAVM_PROG_PATH="${JAVA_HOME}/jre/bin" - return 0 - fi + if [ -n "${JAVA_HOME}" ]; then + if [ "`realpath "${JAVA_HOME}"`" != "`realpath "${_JAVAVM_PREFIX}"`" ]; then + if [ -f "${JAVA_HOME}/bin/${_JAVAVM_PROG}" ]; then + _JAVAVM_PROG_PATH="${JAVA_HOME}/bin" + return 0 + elif [ -f "${JAVA_HOME}/jre/bin/${_JAVAVM_PROG}" ]; then + _JAVAVM_PROG_PATH="${JAVA_HOME}/jre/bin" + return 0 + fi + fi fi unset JAVA_HOME --Boundary-00=_wEI7LLGeDsoJ5I5-- From owner-freebsd-java@FreeBSD.ORG Thu May 13 23:53:44 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 51512106564A; Thu, 13 May 2010 23:53:44 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Thu, 13 May 2010 19:53:34 -0400 User-Agent: KMail/1.6.2 References: <4BEAC59B.9040105@intertainservices.com> <4BEB0686.6050603@intertainservices.com> <201005131846.08019.jkim@FreeBSD.org> In-Reply-To: <201005131846.08019.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005131953.36641.jkim@FreeBSD.org> Cc: Mike Jakubik , glewis@freebsd.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 23:53:44 -0000 On Thursday 13 May 2010 06:46 pm, Jung-uk Kim wrote: > On Wednesday 12 May 2010 03:50 pm, Mike Jakubik wrote: > > On 5/12/2010 3:07 PM, Kostik Belousov wrote: > > > The realpath(1) was given an empty path. > > > > > > According to SUSv4, realpath(3) should return ENOENT if "A > > > component of file_name does not name an existing file or > > > file_name points to an empty string." This was recently brought > > > into standard compliance. > > > > > > Why javavm passes empty path to realpath(1), I do not know. > > > > It appears the cause is because ${JAVA_HOME} is an empty > > variable. > > > > --- > > # > > # Set up an appropriate JAVA_HOME > > # > > setJavaHome() { > > > > echo Debug JAVA_HOME: ${JAVA_HOME} > > echo Debug JAVAVM_PREFIX: ${_JAVAVM_PREFIX} > > > > # Use JAVA_HOME if it's set, unless its set to /usr/local > > if [ -n "${JAVA_HOME}" -a \ > > "`realpath "${JAVA_HOME}"`" != "`realpath > > "${_JAVAVM_PREFIX}"`" ]; then > > if [ -n "${JAVA_HOME}" -a -f > > "${JAVA_HOME}/bin/${_JAVAVM_PROG}" ]; then > > _JAVAVM_PROG_PATH="${JAVA_HOME}/bin" > > return 0 > > elif [ -n "${JAVA_HOME}" -a \ > > -f "${JAVA_HOME}/jre/bin/${_JAVAVM_PROG}" ]; then > > _JAVAVM_PROG_PATH="${JAVA_HOME}/jre/bin" > > return 0 > > fi > > fi > > > > unset JAVA_HOME > > --- > > > > When i run the above: > > > > + setJavaHome > > + echo Debug JAVA_HOME: > > Debug JAVA_HOME: > > + echo Debug JAVAVM_PREFIX: /usr/local > > Debug JAVAVM_PREFIX: /usr/local > > + realpath '' > > realpath: : No such file or directory > > The attached patch should fix the annoyance. FYI, the maintainer approved the patch and I just committed it. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Sat May 15 15:35:24 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 323A01065675; Sat, 15 May 2010 15:35:24 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A4878FC13; Sat, 15 May 2010 15:35:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4FFZNXw094143; Sat, 15 May 2010 15:35:23 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4FFZNdl094139; Sat, 15 May 2010 15:35:23 GMT (envelope-from jilles) Date: Sat, 15 May 2010 15:35:23 GMT Message-Id: <201005151535.o4FFZNdl094139@freefall.freebsd.org> To: jedrzej.nasiadek@gmail.com, jilles@FreeBSD.org, freebsd-java@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: java/112595: Java appletviewer frequently hangs (kse_release loop) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 15:35:24 -0000 Synopsis: Java appletviewer frequently hangs (kse_release loop) State-Changed-From-To: open->feedback State-Changed-By: jilles State-Changed-When: Sat May 15 15:34:43 UTC 2010 State-Changed-Why: Does this still happen in 7.0 or newer versions? If you are still using 6.x, try mapping libpthread to libthr. http://www.freebsd.org/cgi/query-pr.cgi?pr=112595