Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 12660 invoked from network); 1 Dec 2006 14:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 14:09:03 -0000 Received: (qmail 8293 invoked by uid 500); 1 Dec 2006 14:09:07 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 8267 invoked by uid 500); 1 Dec 2006 14:09:07 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 8243 invoked by uid 99); 1 Dec 2006 14:09:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 06:09:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 06:08:54 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gq93e-0005RZ-3z for dev@harmony.apache.org; Fri, 01 Dec 2006 15:08:06 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Dec 2006 15:08:06 +0100 Received: from gshimansky by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Dec 2006 15:08:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Gregory Shimansky Subject: Re: [dlrvm][jit][opt][x86_64] Running on Jitrino.OPT causes NPE on classlib code Date: Fri, 01 Dec 2006 17:07:55 +0300 Lines: 94 Message-ID: References: <469bff730611302150r793b34b7sdf7de6a6b4f5f071@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <469bff730611302150r793b34b7sdf7de6a6b4f5f071@mail.gmail.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Pavel Ozhdikhin wrote: > Gregory, > > Is it pure x86_64 problem, i.e. did you manage to run all kernel tests in > -Xem:opt mode on IA32 platforms? Yes I wouldn't do any commits if these tests failed on ia32. > Also when did you manage to pass kernel test on X86_64/-Xem:opt last time? > Hope this info will help to identify the issue. It looks like many > instabilities were introduced with the latest commits to DRLVM and this > might be one of them. Looking at my commits history, it looks like the last time I had a successful tests run on x86_64 is r480110 on Tuesday. The bug doesn't seem to be instability. It is quite stably reproducible in the same place. I'll try to find more details, like instruction which causes SIGSEGV. > On 12/1/06, Gregory Shimansky wrote: >> >> Gregory Shimansky wrote: >> > Hello >> > >> > Today while trying to run acceptance tests on x86_64 I've found that >> > kernel tests fail from the first test in pure Jitrino.OPT (-Xem:opt) >> > mode. I've tried running simple hello world application, and it does >> not >> > work any more. The NPE happens in class loader code before the main >> class. >> > >> > I know x86_64 is still not a very stable architecture, but this is >> > clearly a regression. I try to do all my commits checking on x86_64 >> > Linux. Starting from today no program work at all. This is strange >> > considering that I didn't see any significant commits to Jitrino for >> the >> > last 2 days. >> > >> > I've reproduced it on SuSE9 x86_64 and Gentoo x86_64. On SuSE10 x86_64 >> > something even worse has happened, need to investigate if anything at >> > all works on it so far (I mean Harmony, the system itself is ok). >> >> On SuSE10 the same problem is reproducible. In normal conditions hello >> world application is executed, on opt it fails with NPE. >> >> > Here is the stack trace. If I understand it correctly, the code >> SIGSEGVs >> > in java.net.URLClassLoader.getPermissions and the signal is treated as >> > hardware NPE. >> > >> > gashiman@mstmrtd106 ~/work/tests >> > $ >> > ../em64t/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jre/bin/java >> > Hello >> > Hello >> > >> > gashiman@mstmrtd106 ~/work/tests >> > $ >> > ../em64t/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jre/bin/java >> > -Xem:opt Hello >> > Uncaught exception in main: >> > java.lang.NullPointerException >> > at java.net.URLClassLoader.getPermissions(URLClassLoader.java) >> > at >> > java.lang.ClassLoader$SystemClassLoader.getPermissions(Unknown Source) >> > at >> java.security.SecureClassLoader.getPD(SecureClassLoader.java) >> > at >> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:70) >> > at java.net.URLClassLoader.findClassImpl(URLClassLoader.java >> :1137) >> > at java.net.URLClassLoader$4.run(URLClassLoader.java) >> > at java.net.URLClassLoader$4.run(URLClassLoader.java:1) >> > at java.security.AccessController.doPrivilegedImpl(Unknown >> Source) >> > at java.security.AccessController.doPrivileged(Unknown Source) >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:621) >> > at java.lang.ClassLoader.loadClass(Unknown Source) >> > at java.lang.ClassLoader$SystemClassLoader.loadClass(Unknown >> > Source) >> > at java.lang.ClassLoader.loadClass(Unknown Source) >> > FAILED to invoke JVM. >> >> >> -- >> Gregory >> >> > -- Gregory