harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5656) [drlvm][port][signals] VM does not show assertion dialog on failed asserts
Date Fri, 28 Mar 2008 10:22:28 GMT

     [ 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"
> The only case when assertion is displayed in a dialog is when crash handler is not initialized
> 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.

View raw message