From owner-freebsd-java@FreeBSD.ORG Thu Jan 7 09:18:21 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 DF02C106566B for ; Thu, 7 Jan 2010 09:18:20 +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 CC19F8FC14 for ; Thu, 7 Jan 2010 09:18:18 +0000 (UTC) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o079IFtm048047; Thu, 7 Jan 2010 11:18:15 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o079IECN048046; Thu, 7 Jan 2010 11:18:14 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 7 Jan 2010 11:18:13 +0200 User-Agent: KMail/1.9.7 References: <20100107091859.3befff18@kuti-zsolt.intranet.prolan.hu> In-Reply-To: <20100107091859.3befff18@kuti-zsolt.intranet.prolan.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201001071118.14700.achill@matrix.gatewaynet.com> Cc: =?utf-8?q?K=C3=BAti_Zsolt?= Subject: Re: java execution stalls indefinitely 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, 07 Jan 2010 09:18:21 -0000 You could run both instances in the two machines with ktrace (1) or truss(1) to see what is the good instance running where the bad instance stalls. =CE=A3=CF=84=CE=B9=CF=82 Thursday 07 January 2010 10:18:59 =CE=BF/=CE=B7 K= =C3=BAti Zsolt =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hello, >=20 > I am running a gradle script on two apparently identical FreeBSD > installation (7.2 RELEASE, java version "1.6.0_03-p4", up-to-date > installed ports, gradle-0.8). > (gradle comes with its dependencies, beyond that it uses a jdk.) >=20 > On one of them it runs fine, on the other it is stalled at > compileGroovy task indefinitely. Nothing happens, no classes are > produced (only the dirs are made). > Using the openjdk6 makes no difference.=20 >=20 > I guess, ultimately there must be some difference on the OS level or in > the dependent ports, but have no clue where to find that. >=20 > The only trace I could get is by running the script via gradle's > gui, then cancel when stalled. Below see what is outputted (it is > quite possible that it has nothing to do with the case, though). >=20 > Any idea appreciated! >=20 > Zsolt >=20 >=20 > %gradle --gui > 07:59:12.140 [Thread-17] ERROR o.g.f.ipc.basic.ExternalProcess - Error > copying data java.io.IOException: Bad file descriptor > at java.io.FileInputStream.available(Native Method) > at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.copyData(ExternalP= rocess.java:219) > at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProces= s.java:198) > at java.lang.Thread.run(Thread.java:619) 07:59:12.140 [Thread-15] ERROR > o.g.f.ipc.basic.ExternalProcess - Error copying data > java.io.IOException: Stream closed at > java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134) > at java.io.BufferedInputStream.available(BufferedInputStream.java:381) > at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.copyData(ExternalP= rocess.java:219) > at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProces= s.java:208) > at java.lang.Thread.run(Thread.java:619) 07:59:12.142 [Thread-17] ERROR > o.g.f.ipc.basic.ExternalProcess - Error copying data > java.io.IOException: Bad file descriptor at > java.io.FileInputStream.available(Native Method) at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.copyData(ExternalP= rocess.java:219) > at > org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProces= s.java:198) > at java.lang.Thread.run(Thread.java:619) 07:59:12.490 [Thread-13] ERROR > o.g.f.ipc.basic.ObjectSocketWrapper - Reading Object > java.io.EOFException at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.jav= a:2279) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStrea= m.java:2748) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780) > at java.io.ObjectInputStream.(ObjectInputStream.java:280) at > org.gradle.foundation.ipc.basic.ObjectSocketWrapper.readObject(ObjectSock= etWrapper.java:54) > at > org.gradle.foundation.ipc.basic.Server.processCommunications(Server.java:= 245) > at > org.gradle.foundation.ipc.basic.Server.listenForConnections(Server.java:2= 08) > at org.gradle.foundation.ipc.basic.Server.access$000(Server.java:38) at > org.gradle.foundation.ipc.basic.Server$1.run(Server.java:136) at > java.lang.Thread.run(Thread.java:619) > _______________________________________________ > 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" >=20 =2D-=20 Achilleas Mantzios