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>

index | next in thread | previous in thread | raw e-mail

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.

Στις Thursday 07 January 2010 10:18:59 ο/η Kúti Zsolt έγραψε:
> Hello,
> 
> 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.)
> 
> 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. 
> 
> 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.
> 
> 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).
> 
> Any idea appreciated!
> 
> Zsolt
> 
> 
> %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(ExternalProcess.java:219)
> at
> org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProcess.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(ExternalProcess.java:219)
> at
> org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProcess.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(ExternalProcess.java:219)
> at
> org.gradle.foundation.ipc.basic.ExternalProcess$IOPump.run(ExternalProcess.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.java:2279)
> at
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.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(ObjectSocketWrapper.java:54)
> at
> org.gradle.foundation.ipc.basic.Server.processCommunications(Server.java:245)
> at
> org.gradle.foundation.ipc.basic.Server.listenForConnections(Server.java:208)
> 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"
> 



-- 
Achilleas Mantzios


help

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