harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Ozhdikhin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4790) [drlvm][jit] Assertions in JET code during root set enumeration
Date Wed, 19 Sep 2007 04:02:43 GMT

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

Pavel Ozhdikhin commented on HARMONY-4790:
------------------------------------------

About in 1 run of 5 I see another assertion failed: 

    assert(*virtual_flag == true);

in jvmti_step.cpp:510

The stack trace is the following:

 	harmonyvm.dll!_assert(const char * expr=0x007e7624, const char * filename=0x007e75d8, unsigned
int lineno=510)  Line 295	C
>	harmonyvm.dll!jvmti_start_single_step_in_virtual_method(DebugUtilsTI * ti=0x012f4c30,
VMBreakPoint * bp=0x034ffa8c, void * data=0x02eda030)  Line 510 + 0x1f	C++
 	harmonyvm.dll!jvmti_process_jit_single_step_event(TIEnv * unused_env=0x00000000, VMBreakPoint
* bp=0x034ffa8c, void * data=0x02eda030)  Line 608 + 0x11	C++
 	harmonyvm.dll!VMBreakPoints::process_native_breakpoint()  Line 631 + 0x25	C++
 	harmonyvm.dll!process_native_breakpoint_event()  Line 1288	C++
 	harmonyvm.dll!asm_process_native_breakpoint_event()  Line 1300	C++
 	1261d44c()	
 	harmonyvm.dll!vm_invoke_native_array_stub(unsigned int * args=0x034ffd0c, int sz=1, void
* f=0x020ed6f0)  Line 77	C++
 	harmonyvm.dll!JIT_execute_method_default(void * jit=0x00000000, _jmethodID * methodID=0x0268a7d0,
jvalue * return_value=0x00000000, jvalue * args=0x034ffef4)  Line 200	C++
 	em.dll!DrlEMImpl::executeMethod(_jmethodID * meth=0x0268a7d0, jvalue * return_value=0x00000000,
jvalue * args=0x034ffef4)  Line 514 + 0x16	C++
 	em.dll!ExecuteMethod(_jmethodID * meth=0x0268a7d0, jvalue * return_value=0x00000000, jvalue
* args=0x034ffef4)  Line 43 + 0x21	C++
 	harmonyvm.dll!vm_execute_java_method_array(_jmethodID * method=0x0268a7d0, jvalue * result=0x00000000,
jvalue * args=0x034ffef4)  Line 62 + 0x1c	C++
 	harmonyvm.dll!Objects_To_Finalize::do_finalization(int quantity=0)  Line 519 + 0xf	C++
 	harmonyvm.dll!vm_do_finalization(int quantity=0)  Line 631	C++
 	harmonyvm.dll!finalizer_thread_func(void * * args=0x02bfad58)  Line 230 + 0x7	C++
 	hythr.dll!thread_start_proc(void * arg=0x00424290)  Line 648 + 0x9	C
 	hythr.dll!_threadstartex(void * ptd=0x0038e950)  Line 241 + 0xd	C
 	kernel32.dll!77e66063() 	


> [drlvm][jit] Assertions in JET code during root set enumeration
> ---------------------------------------------------------------
>
>                 Key: HARMONY-4790
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4790
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>         Environment: Windows/x86
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>
> While investigating HARMONY-4388 I've observed several kinds of assertions on debug build.
> All these assertions have occurred in JET code, and all call stacks contain root set
enumeration.
> To reproduce this bug:
> - checkout stress suite;
> - start stress tests on debug build.
> The whole stress suite executes too long, so I started this test separately. Command
line (to start from stress/qa directory) is about:
>  ..../win_ia32_msvc_debug/deploy/jdk/jre/bin/java -classpath "bin/classes;../../tools/th.dest/bin/th.jar"
org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT014.EventTest014
> Note: to run correctly on Windows these tests require SystemRoot environment variable
to be set to Windows folder.
> I observed 3 different assertions, but the following is most often:
> assert (method_get_num_handlers(method) == 0)
> Stack trace:
> ------------------------------- 
> 	jitrino.dll!_assert(const char * expr=0x0167c26c, const char * filename=0x0167c234,
unsigned int lineno=273)  Line 295	C
>  	jitrino.dll!Jitrino::Jet::rt_enum(void * jit=0x012187d8, Method * method=0x0230b0b8,
void * henum=0x00000000, JitFrameContext * context=0x02b692ec)  Line 273 + 0x2e bytes	C++
>  	jitrino.dll!JIT_get_root_set_from_stack_frame(void * jit=0x012187d8, Method * method=0x0230b0b8,
void * enum_handle=0x00000000, JitFrameContext * context=0x02b692ec)  Line 380 + 0x15 bytes
C++
>  	harmonyvm.dll!Dll_JIT::get_root_set_from_stack_frame(Method * method=0x0230b0b8, void
* enum_handle=0x00000000, const JitFrameContext * context=0x02b692ec)  Line 104 + 0x18 bytes
C++
>  	harmonyvm.dll!vm_enumerate_root_set_single_thread_on_stack(StackIterator * si=0x02b692e8)
 Line 302 + 0x39 bytes	C++
>  	harmonyvm.dll!vm_enumerate_thread(VM_thread * thread=0x0287b1b0)  Line 213 + 0x9 bytes
C++
>  	harmonyvm.dll!stop_the_world_root_set_enumeration()  Line 110 + 0xc bytes	C++
>  	harmonyvm.dll!vm_enumerate_root_set_all_threads()  Line 142	C++
>  	gc_gen.dll!gc_reclaim_heap(GC * gc=0x019d68b0, unsigned int gc_cause=2)  Line 330 +
0x8 bytes	C++
>  	gc_gen.dll!lspace_alloc(unsigned int size=8000016, Allocator * allocator=0x01af6c70)
 Line 228 + 0xe bytes	C++
>  	gc_gen.dll!gc_alloc(unsigned int size=8000016, unsigned int ah=19661968, void * unused_gc_tls=0x011fa304)
 Line 82 + 0x10 bytes	C++
>  	harmonyvm.dll!vm_new_vector_using_vtable_and_thread_pointer(int length=1000000, unsigned
int vector_handle=19661968, void * tp=0x011fa304)  Line 219 + 0x14 bytes	C++
>  	harmonyvm.dll!vm_rt_new_vector_using_vtable_and_thread_pointer(int length=1000000,
unsigned int vector_handle=19661968, void * tp=0x011fa304)  Line 113 + 0x11 bytes	C++

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