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/02/04 02:23:07 UTC

[jira] Created: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

[drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
------------------------------------------------------------------------------------------

                 Key: HARMONY-5452
                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Ilya Berezhniuk


While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).

Suggested patch fixes this problem for both Linux signal handler and crash handling code.
With this patch crash info is successfully printed for pure native thread.

Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5452:
-------------------------------------

    Attachment: H-5452.patch

Updated patch: shutdown.TestInterrupt now passes.

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>         Attachments: H-5452.patch, H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-5452:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5452.patch, H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5452:
-------------------------------------

    Patch Info: [Patch Available]

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>         Attachments: H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk closed HARMONY-5452.
------------------------------------


Thanks Gregory!

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5452.patch, H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5452:
-------------------------------------

    Patch Info:   (was: [Patch Available])

Looks like the patch breaks shutdown.TestInterrupt test.
I'll check the problem.

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>         Attachments: H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-5452.
----------------------------------------

    Resolution: Fixed

Patch is applied at 618668.

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5452.patch, H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5452) [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5452:
-------------------------------------

    Attachment: H-5452.patch

> [drlvm][signals] Signal handler and crash handler crash themselves for pure native threads
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5452
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5452
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>         Attachments: H-5452.patch
>
>
> While processing signals on Linux, or processing crash on both Windows and Linux, VM crashes again in this code when current thread is not attached to VM (i.e. TLS does not hold VM_thread structure pointer).
> Suggested patch fixes this problem for both Linux signal handler and crash handling code.
> With this patch crash info is successfully printed for pure native thread.
> Some improvements were also made in Linux signal handler for stability and unification.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.