harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5167) [drlvm][shutdown] Some regression tests intermittently fail on shutdown in debug mode on win32
Date Fri, 30 Nov 2007 13:48:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547137

Ilya Berezhniuk commented on HARMONY-5167:

I think it's fix (probably partial fix).

I did not find an exact place where heap is corrupted.
I suspect that the problem appears because other threads are still running whie _exit() is
ececuted, so they are still working with heap.

I think the problem does not appear on JIT because heap is hardly used on Interpreter to create/delete
method stack/local vars.
So we need to stop other threads, and prevent threads starting and termination.

Unfortunately, I don't know what proper way can be used to stop all threads immediately. If
you know, please make your input to this patch.

> [drlvm][shutdown] Some regression tests intermittently fail on shutdown in debug mode
on win32
> ----------------------------------------------------------------------------------------------
>                 Key: HARMONY-5167
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5167
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows ia32 debug
>            Reporter: Gregory Shimansky
>         Attachments: H-5167.patch, TestHeap.class, TestHeap.java
> I previously thought that the bug is in HARMONY-5105, but CC shows that after the patch
has been committed, failures still continue. Most often failures are seen on verifier regression
test H3225. Win32 runtime checks C heap on shutdown in function exit, and this check fails.
It seems like a C heap memory corruption somewhere in VM.

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

View raw message