From owner-freebsd-java@FreeBSD.ORG Wed Jul 11 07:55:15 2007 Return-Path: X-Original-To: java@freebsd.org 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 1EE9016A400; Wed, 11 Jul 2007 07:55:15 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id ADE3613C465; Wed, 11 Jul 2007 07:55:14 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 97A5A8BFAE9; Wed, 11 Jul 2007 09:55:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FsNyicgV+QeJ; Wed, 11 Jul 2007 09:55:11 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4870D8BFAD2; Wed, 11 Jul 2007 09:55:11 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6B7t9kA027794; Wed, 11 Jul 2007 09:55:09 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 11 Jul 2007 09:55:09 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20070711075509.GA27702@freebsd.org> References: <469286A1.9020701@aldan.algebra.com> <20070710091334.40kgazmtwsg444w8@webmail.leidinger.net> <20070710224919.GA58192@misty.eyesbeyond.com> <20070711091646.tzcug58ty8o4o400@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070711091646.tzcug58ty8o4o400@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org, amd64@freebsd.org, java@freebsd.org, glewis@freebsd.org, "Mikhail T." Subject: Re: Linux JDK-1.5.0_12 (i386) unusable on amd64 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, 11 Jul 2007 07:55:15 -0000 > >I'll try it on 6.2-RELEASE-pmumble to make sure its working there. > > > >FWIW, I've had reports that linux-sun-jdk15 has been broken on > >-CURRENT/amd64 since around December, so MFC'ing changes may not > >actually improve the situation. Can you try it on current to see > >if it works for you? > > Regarding current it is important to know if this is with the default > 2.4 linux emulation, or with the 2.6 linux emulation. > > Apart from that Roman knows about some thread "limitation" which hits > us here (I let him comment upon this), and AFAIR the JDK also tries to > use epoll which is not available yet... but I may misremember about > the last part. well.. I know about some problem with pthread async thread cancelation. I think its related to the jdk brokeness with linux2.6. I hope to finish all my SoC duties "soon" and spend the rest of the SoC time hunting down bugs like this. if anyone want help: www.vlakno.cz/~rdivacky/pthread.c this program does crashdumps with 2.6 emulation. I'd be very glad if someone can help me with this. I slightly investigated this and it crashdumps on signal delivery (pthread_cancel is actually a signal delivery) so I guess something with stack or so is wrong... havent had the time to investigate further help is welcome! roman