From owner-freebsd-java@FreeBSD.ORG Fri May 7 21:21:10 2010 Return-Path: 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 8BA4A1065672 for ; Fri, 7 May 2010 21:21:10 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 15ECD8FC12 for ; Fri, 7 May 2010 21:21:09 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so110342eyd.9 for ; Fri, 07 May 2010 14:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=f9Ts2XpcPWEtACOY5sblywbC2hjCK0xgOCHU7I5Hlu0=; b=a/hNY0c9Sza2twShp7AVoSvet57Nbirva3TlcNE+lDVxVDmJwrdzURLOKK7LyCCEPS KAiJin+6B9X/1Tded1PEHTEeyOP355briOJQAZ7rcL5Imo3HUwfc5HRMJqEJISEq1AVe UpOFJMKWioulOrcrDliRC2H/WRJPLkWm3ZZjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=PNiPbvrnr0XPGvZEdAkUJ6Ts8VUwjMogdmJbY2ik9fVjDu8ljs4Zyrfu70rXmkojA/ 2DNEkJqjeSPDZJI3M3iWewJ8/Lccl+GmCzBKsPgzw945rrFtevopEAjUMY07UQbklvOX mz+1UjjH1kZTjO330viveU3o3vBQxtZjN97ik= Received: by 10.213.47.82 with SMTP id m18mr2233446ebf.64.1273267265891; Fri, 07 May 2010 14:21:05 -0700 (PDT) Received: from silverbox.sunrise.local (i577B5E80.versanet.de [87.123.94.128]) by mx.google.com with ESMTPS id 15sm1339480ewy.0.2010.05.07.14.21.03 (version=SSLv3 cipher=RC4-MD5); Fri, 07 May 2010 14:21:04 -0700 (PDT) Message-ID: <4BE4843E.6030901@gmail.com> Date: Fri, 07 May 2010 23:21:02 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <38DD588D-992A-4713-8D55-96B28E2D2AA2@moumantai.de> <4BE3A331.20607@gmail.com> <201005070902.22700.achill@matrix.gatewaynet.com> In-Reply-To: <201005070902.22700.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: openjdk6 crashes 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: Fri, 07 May 2010 21:21:10 -0000 Hello, On 07.05.10 08:02, Achilleas Mantzios wrote: > Hi, in your first message you said you got a "signal 6" SIGABRT, while with the fastdebug build > you got a "signal 4" SIGILL, so you dont have consistent behaviour. Yes, I've seen this too. My guess was the "normal" and the "fast-debug" build differ and therefore behave slightly different. > Are you sure your hardware is sane? *hmmm* Depends on what level of certainty you'd call 'being sure'. > Is your memory ok? I thought and think so. I have not seen any behavior that makes me think my memory is defect. The only thing crashing is OpenJDK and only when Sonatype Nexus updates indexes. > Did you run memtest86? Not before your mail. But just to be sure I now did. 4 passes, not a single error. It took approximately 2 hours, so if CPU load, and therefore system temperature, play a role, it should have been high enough. Sonatype Nexus running crashes immediately when index update is started, even if system is running only minutes. > Are your disks ok? Hope so. No signs of defect sectors. And as I reinstalled OpenJDK I'd guess binaries and libraries are on different sectors, so a defect sector corrupting them should not be very probable. At least the crash should look different, doesn't it? > Is your motherboard in a good condition? (no sounds, fans rotating fast, etc..) It is. fans are normal speeding and silent. No "beeps", no sounds, no recognizable anomalies. > Is your CPU in a good condition? > Do you experience any high temperatures on your CPU? I hope so. I haven't found any tool with reliable information about temperature or fan speed. But there's no hot air blown out or something like this. The machine I'm taking about runs day after day without any error. One exception: I start tomcat manually after first crash and index refresh, executed automatically if Tomcat runs, kicks in. So it's *ONLY* Sonatype Nexus index update that kills *ONLY* OpenJDK. > Note, that it is *100%* normal to have a problematic hardware, and the only > instance that the hardware problem is manifested to happen when running a > particular program or script (even consistently). *erm* Maybe. For fixed conditions (which are seldom in my experience). Most times I've seen systems crashing here and there with no fixed script or program if hardware dies. Simply because it's not deterministic what temperature the system will have and what program will be at which memory address. The only fixed crashing point can be the hard disk, which I think I can exclude due to the recompilation and therefore "relocation" on disk (i.e. different inodes being used). And to come to an end: if I see a program written in C++ (like OpenJDK/JVM) constantly fails on an assertion (like in my case: 'Error: assert(sp() >= inputs,"must have enough JVMS stack to execute")') I expect the assertion to not match first and think about corrupt memory a few hundred positions later on the "check list". That's at least what assertions are for: make the program fail if something is recognizable wrong. If every "assert fail" would be a memory defect unless 100% proven not to be that would render assertions useless, wouldn't it? But thanks for your help and input; Maybe somebody else has any idea about why "sp()" is less than "input" when compiling (hotspot compiling?) this special class in OpenJDK?!? -- Best regards, Peter Palmreuther