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 2006/11/26 22:48:21 UTC

[jira] Created: (HARMONY-2324) [drlvm] Native stack contains wrong frame

[drlvm] Native stack contains wrong frame
-----------------------------------------

                 Key: HARMONY-2324
                 URL: http://issues.apache.org/jira/browse/HARMONY-2324
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: all
            Reporter: Ilya Berezhniuk
            Priority: Minor


When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

-- 
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

        

[jira] Resolved: (HARMONY-2324) [drlvm] Native stack contains wrong frame

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2324?page=all ]

Gregory Shimansky resolved HARMONY-2324.
----------------------------------------

    Resolution: Fixed

Patch applied at 479789. Please check that it was applied as expected.

> [drlvm] Native stack contains wrong frame
> -----------------------------------------
>
>                 Key: HARMONY-2324
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2324
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: wrong-JNI-frame.diff
>
>
> When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
> With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

-- 
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

        

[jira] Updated: (HARMONY-2324) [drlvm] Native stack contains wrong frame

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2324?page=all ]

Ilya Berezhniuk updated HARMONY-2324:
-------------------------------------

    Patch Info: [Patch Available]

> [drlvm] Native stack contains wrong frame
> -----------------------------------------
>
>                 Key: HARMONY-2324
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2324
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>         Attachments: wrong-JNI-frame.diff
>
>
> When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
> With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

-- 
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

        

[jira] Closed: (HARMONY-2324) [drlvm] Native stack contains wrong frame

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

Gregory Shimansky closed HARMONY-2324.
--------------------------------------


No response, assuming ok.

> [drlvm] Native stack contains wrong frame
> -----------------------------------------
>
>                 Key: HARMONY-2324
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2324
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: wrong-JNI-frame.diff
>
>
> When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
> With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

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


[jira] Updated: (HARMONY-2324) [drlvm] Native stack contains wrong frame

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2324?page=all ]

Ilya Berezhniuk updated HARMONY-2324:
-------------------------------------

    Attachment: wrong-JNI-frame.diff

Suggested patch fixes problem.

> [drlvm] Native stack contains wrong frame
> -----------------------------------------
>
>                 Key: HARMONY-2324
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2324
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>         Attachments: wrong-JNI-frame.diff
>
>
> When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
> With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

-- 
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

        

[jira] Assigned: (HARMONY-2324) [drlvm] Native stack contains wrong frame

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2324?page=all ]

Gregory Shimansky reassigned HARMONY-2324:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm] Native stack contains wrong frame
> -----------------------------------------
>
>                 Key: HARMONY-2324
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2324
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: wrong-JNI-frame.diff
>
>
> When native stack is requested from walk_native_stack_jit() function, and thread is stopped (is in native code), but not in JNI code, resulting stack trace contains wrong JNI frame among top frames.
> With such invalid JNI frame, st_print() function fails to syncronize native frames with Java frames obtained using StackIterator.

-- 
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