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 Thu, 29 Nov 2007 08:42:43 GMT

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

Ilya Berezhniuk commented on HARMONY-5167:
------------------------------------------

I've tried to find wrong heap writes with Valgrind on Linux.
Valgrind reports >2500 memory errors (I'll list most frequent), but unfortunately there
are no wrong memory writes of incorrect free(); there are only memory reads.

---------------------------------------------------------
==18838== Conditional jump or move depends on uninitialised value(s)
==18838==    at 0x476609A: EncoderBase::Operands::add(EncoderBase::Operand const&) (enc_base.h:546)
==18838==    by 0x4764B7E: add_r(EncoderBase::Operands&, R_Opnd const&, Opnd_Size)
(encoder.inl:71)
---------------------------------------------------------
==18838== Conditional jump or move depends on uninitialised value(s)
==18838==    at 0x476609A: EncoderBase::Operands::add(EncoderBase::Operand const&) (enc_base.h:546)
==18838==    by 0x4764D6F: add_imm(EncoderBase::Operands&, Imm_Opnd const&) (encoder.inl:95)
---------------------------------------------------------
==18838== Conditional jump or move depends on uninitialised value(s)
==18838==    at 0x474CD00: String_Pool::hash_it(char const*, unsigned*, unsigned*) (String_Pool.cpp:109)
==18838==    by 0x474D219: String_Pool::lookup(char const*) (String_Pool.cpp:268)
---------------------------------------------------------
==12537== Conditional jump or move depends on uninitialised value(s)
==12537==    at 0x474CD00: String_Pool::hash_it(char const*, unsigned*, unsigned*) (String_Pool.cpp:109)
==12537==    by 0x474D219: String_Pool::lookup(char const*) (String_Pool.cpp:268)
==12537==    by 0x478E86D: get_exc_class(char const*) (exceptions_impl.cpp:42)
---------------------------------------------------------
==12537== Thread 11:
==12537== Conditional jump or move depends on uninitialised value(s)
==12537==    at 0x4844CDE: ref_enqueue_thread_func(void**) (ref_enqueue_thread.cpp:161)
==12537==    by 0x404D979: hythread_wrapper_start_proc (thread_native_basic.c:734)
==12537==    by 0x443A34A: start_thread (in /lib/libpthread-2.4.so)
==12537==    by 0x42BF65D: clone (in /lib/libc-2.4.so)
---------------------------------------------------------


> [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: 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.


Mime
View raw message