From owner-freebsd-java@FreeBSD.ORG Thu Jan 7 12:58:35 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 D8DC11065695 for ; Thu, 7 Jan 2010 12:58:35 +0000 (UTC) (envelope-from kuti.zsolt@prolan.hu) Received: from fw2.prolan.hu (fw2.prolan.hu [193.68.50.107]) by mx1.freebsd.org (Postfix) with ESMTP id 693938FC23 for ; Thu, 7 Jan 2010 12:58:35 +0000 (UTC) Received: from fw2.prolan.hu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 7F9B081821D for ; Thu, 7 Jan 2010 13:58:32 +0100 (CET) Received: from saturn.intranet.prolan.hu (ftp.prolan.hu [193.91.83.252]) by fw2.prolan.hu (Postfix) with ESMTP id CAA7081812C for ; Thu, 7 Jan 2010 13:58:31 +0100 (CET) Received: from kuti-zsolt.intranet.prolan.hu ([193.91.83.116]) by saturn.intranet.prolan.hu with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Jan 2010 13:50:26 +0100 Date: Thu, 7 Jan 2010 13:50:27 +0100 From: =?UTF-8?B?S8O6dGk=?= Zsolt To: freebsd-java@freebsd.org Message-ID: <20100107135027.16b2ee53@kuti-zsolt.intranet.prolan.hu> In-Reply-To: <201001071118.14700.achill@matrix.gatewaynet.com> References: <20100107091859.3befff18@kuti-zsolt.intranet.prolan.hu> <201001071118.14700.achill@matrix.gatewaynet.com> Organization: Prolan ZRT. X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 07 Jan 2010 12:50:26.0564 (UTC) FILETIME=[FC166440:01CA8F97] 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 12:58:35 -0000 Thu, 7 Jan 2010 11:18:13 +0200 -n Achilleas Mantzios =C3=ADrta: > 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. Hello Achilleas, Thanks for the hint! Running truss shows after some time a repeating sequence of the following: ... gettimeofday({1262867164.433795 },0x0) =3D 0 (0x0) gettimeofday({1262867164.433851 },0x0) =3D 0 (0x0) clock_gettime(0,{1262867164.433889494 }) =3D 0 (0x0) _umtx_op(0x2820e260,0x8,0x1,0x2820e240,0xbf5e4cec,0x805b528) ERR#60 'Operation timed out' ... Unfortunately I do not know what this all mean, what setting (if any) can cause this behaviour. I searched for _umtx_op on the net and found a similarly behaving python and OOo case. There was no conclusion, just some suspect of some threading problem. I use some serious piece of java programs that work fine. It is possible that this is a generic OS (ports?) problem and has nothing to do with Java itself. Thanks! Zsolt Ps.: The only notable difference I can see between the two boxes, that the problem happens on a Gigabyte mother board with Intel(R) Core(TM)2 Duo CPU E8400, while the other is an Asus with AMD.=20