You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2008/03/28 13:56:24 UTC
[jira] Created: (HARMONY-5663) [drlvm][port][signals] Crash handler
should not change a behavior of signals not requested by the VM
[drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
----------------------------------------------------------------------------------------------------
Key: HARMONY-5663
URL: https://issues.apache.org/jira/browse/HARMONY-5663
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Ilya Berezhniuk
Priority: Minor
When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5663) [drlvm][port][signals] Crash handler
should not change a behavior of signals not requested by the VM
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Berezhniuk closed HARMONY-5663.
------------------------------------
Thanks Gregory!
> [drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
> ----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5663
> URL: https://issues.apache.org/jira/browse/HARMONY-5663
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Assignee: Gregory Shimansky
> Priority: Minor
> Fix For: 5.0M6
>
> Attachments: sig_pass_02.patch
>
>
> When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
> On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
> On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5663) [drlvm][port][signals] Crash handler
should not change a behavior of signals not requested by the VM
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Berezhniuk updated HARMONY-5663:
-------------------------------------
Patch Info: [Patch Available]
> [drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
> ----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5663
> URL: https://issues.apache.org/jira/browse/HARMONY-5663
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Priority: Minor
> Attachments: sig_pass_02.patch
>
>
> When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
> On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
> On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5663) [drlvm][port][signals] Crash handler
should not change a behavior of signals not requested by the VM
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Berezhniuk updated HARMONY-5663:
-------------------------------------
Attachment: sig_pass_02.patch
The patch to fix the problem.
> [drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
> ----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5663
> URL: https://issues.apache.org/jira/browse/HARMONY-5663
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Priority: Minor
> Attachments: sig_pass_02.patch
>
>
> When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
> On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
> On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-5663) [drlvm][port][signals] Crash
handler should not change a behavior of signals not requested by the VM
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky reassigned HARMONY-5663:
------------------------------------------
Assignee: Gregory Shimansky
> [drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
> ----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5663
> URL: https://issues.apache.org/jira/browse/HARMONY-5663
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Assignee: Gregory Shimansky
> Priority: Minor
> Attachments: sig_pass_02.patch
>
>
> When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
> On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
> On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-5663) [drlvm][port][signals] Crash
handler should not change a behavior of signals not requested by the VM
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky resolved HARMONY-5663.
----------------------------------------
Resolution: Fixed
Fix Version/s: 5.0M6
Patch is applied at 642935.
> [drlvm][port][signals] Crash handler should not change a behavior of signals not requested by the VM
> ----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5663
> URL: https://issues.apache.org/jira/browse/HARMONY-5663
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Assignee: Gregory Shimansky
> Priority: Minor
> Fix For: 5.0M6
>
> Attachments: sig_pass_02.patch
>
>
> When VM signal handler is not registered in crash handler for particular signal/exception, crash handler must pass this signal/exception to OS for default procesing.
> On Windows it can be done by checking if signal is registered right from VEH, and returning EXCEPTION_CONTINUE_SEARCH. So all supported exceptions still can be caught.
> On Linux crash handler must not register signal handlers for the signals not requested by the VM, because default processing needs unregistering the handler and rethrowing the signal, which is not easy someties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.