Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 98588 invoked from network); 9 Sep 2006 16:25:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Sep 2006 16:25:05 -0000 Received: (qmail 97259 invoked by uid 500); 9 Sep 2006 16:25:04 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 97160 invoked by uid 500); 9 Sep 2006 16:25:04 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 97149 invoked by uid 99); 9 Sep 2006 16:25:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Sep 2006 09:25:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Sep 2006 09:25:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43C747142F1 for ; Sat, 9 Sep 2006 16:21:27 +0000 (GMT) Message-ID: <30701538.1157818887274.JavaMail.jira@brutus> Date: Sat, 9 Sep 2006 09:21:27 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-1364) Stack parameters for Exception Handling not initialized and asserts on access In-Reply-To: <5559073.1157069482381.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1364?page=all ] Geir Magnusson Jr reassigned HARMONY-1364: ------------------------------------------ Assignee: Geir Magnusson Jr > Stack parameters for Exception Handling not initialized and asserts on access > ----------------------------------------------------------------------------- > > Key: HARMONY-1364 > URL: http://issues.apache.org/jira/browse/HARMONY-1364 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Tested on NT, but same code problem on Linux > Reporter: Rana Dasgupta > Assigned To: Geir Magnusson Jr > Attachments: assertfix, linuxassert > > > Symptom: > -------------- On msvc build the following test hits an assert(0) in nt_exception_filter.cpp:240 > The stack parameters in the overflow exception handling code are uninitialized. This is a regression, since the test worked before. > Test case: > --------------- > public class Stack { > static int depth = 0; > public static void func() { > depth++; > func(); > } > public static void main(String[] args) { > try { > func(); > } catch (Throwable th) { > System.out.println("First SOE depth = " + depth); > System.out.println ("Caught = " + th); > } > } > } > Fix: attached > ---- > Testing: > ----------- > Ran all smoke tests against "build test" target. There is one failure( unrelated to the current issue of stack overflow ) on my test machine, but that is both before and after code changes. However, I am attaching failure log below. > INFO: TEST test_jthread_get_all_threads start > ERROR: Assertion '(thread_count)==(i)' failed at C:\Harmony\drlvm\vm\tests\unit\thread\test_ti_instrum.c:65 > ERROR: Assertion '(thread_count)==(0)' failed at C:\Harmony\drlvm\vm\tests\unit\thread\test_ti_instrum.c:39 > INFO: TEST test_jthread_get_all_threads: FAILED -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira