Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 11:18:13 +0200
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Cc:        =?utf-8?q?K=C3=BAti_Zsolt?= <kuti.zsolt@prolan.hu>
Subject:   Re: java execution stalls indefinitely
Message-ID:  <201001071118.14700.achill@matrix.gatewaynet.com>
In-Reply-To: <20100107091859.3befff18@kuti-zsolt.intranet.prolan.hu>
References:  <20100107091859.3befff18@kuti-zsolt.intranet.prolan.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.<init>(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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001071118.14700.achill>