Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 28378 invoked from network); 28 Mar 2008 10:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 10:24:44 -0000 Received: (qmail 62599 invoked by uid 500); 28 Mar 2008 10:24:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 62574 invoked by uid 500); 28 Mar 2008 10:24:43 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 62565 invoked by uid 99); 28 Mar 2008 10:24:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 03:24:43 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 10:24:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 686D6234C0AC for ; Fri, 28 Mar 2008 03:22:28 -0700 (PDT) Message-ID: <1729253824.1206699748426.JavaMail.jira@brutus> Date: Fri, 28 Mar 2008 03:22:28 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-5656) [drlvm][port][signals] VM does not show assertion dialog on failed asserts In-Reply-To: <1093140136.1206555445972.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 [ https://issues.apache.org/jira/browse/HARMONY-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky reassigned HARMONY-5656: ------------------------------------------ Assignee: Gregory Shimansky > [drlvm][port][signals] VM does not show assertion dialog on failed asserts > -------------------------------------------------------------------------- > > Key: HARMONY-5656 > URL: https://issues.apache.org/jira/browse/HARMONY-5656 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Windows > Reporter: Ilya Berezhniuk > Assignee: Gregory Shimansky > Attachments: assert_patch_03_2.patch > > > When an assertion fired, VM does not show assertion dialog on Windows regardless of "vm.assert_dialog" property. > The only case when assertion is displayed in a dialog is when crash handler is not initialized yet. > The problem appears because in current crash handler design all CRT events are set up in crash handler initialization to print comsole message and do not display a dialog. > The sceme supposed to re-enable CRT event setting in VEH. The problem with assert() is that the signal is caught neither in VEH nor in CRT handler. > I can see 2 approaches to fix the problem: > 1) Change CRT settings immediately when crash handler output flags are changed. This method introduces additional platform dependency and thus does not look good for me, but it shoul work stably. > 2) SIGABRT handler can be registered on Windows, but Unix-like signals handling looks ugly in Windows environment. > I'm going to try both methods, and provide a patch for working one. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.