harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5075) [drlvm][jit][jet] assertion while handling SOE
Date Tue, 06 Nov 2007 13:15:50 GMT
[drlvm][jit][jet] assertion while handling SOE
----------------------------------------------

                 Key: HARMONY-5075
                 URL: https://issues.apache.org/jira/browse/HARMONY-5075
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: SLES10 x86
            Reporter: Alexey Varlamov


The regression test H4265 fails since CI moved from SLES9 to SLES10, the key difference is
OS stack limit changed from unlimit to 8192k.
To reproduce on SLES9:
>ulimit -s 8192
>sh build.sh reg.test -Dtest.case=H4265

    [java]     [junit] Running org.apache.harmony.drlvm.tests.regression.h4265.Test
     [java]     [junit] java: /export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/jitrino/src/jet/rt.cpp:274:
void Jitrino::Jet::rt_enum(void*, Method*, void*, JitFrameContext*): Assertion `method_get_num_handlers(method)
== 0' failed.
     [java]     [junit] SIGABRT in VM code.
     [java]     [junit] Stack trace:
     [java]     [junit] addr2line: '[vdso]': No such file
     [java]     [junit]   0: ?? (пїЅпїЅпїЅпїЅ6	пїЅXnпїЅhgGпїЅсі¬-
пїЅ6	пїЅoР- 4pGпїЅkпїЅпїЅпїЅxgGпїЅпїЅoР- 4pGпїЅпїЅoР- пїЅgGпїЅпїЅпїЅпїЅпїЅgGпїЅпїЅ@Л-
H7	пїЅXnпїЅпїЅgGпїЅпїЅпїЅЧ- H7	пїЅoР- пїЅgGпїЅoпїЅOпїЅH7
пїЅпїЅпїЅпїЅgGпїЅпїЅ@Л- ^Е- пїЅXnпїЅпїЅgGпїЅdпїЅД- :-1)
     [java]     [junit]   1: abort (??:-1)
     [java]     [junit]   2: __assert_fail (??:-1)
     [java]     [junit]   3: Jitrino::Jet::rt_enum(void*, Method*, void*, JitFrameContext*)
(/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/jitrino/src/jet/rt.cpp:276)
     [java]     [junit]   4: JIT_get_root_set_from_stack_frame (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/jitrino/src/vm/JITInterface.cpp:394)
     [java]     [junit]   5: Dll_JIT::get_root_set_from_stack_frame(Method*, void*, JitFrameContext
const*) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/include/dll_jit_intf.h:105)
     [java]     [junit]   6: vm_enumerate_root_set_single_thread_on_stack(StackIterator*)
(/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/gc/root_set_enum_common.cpp:314)
     [java]     [junit]   7: vm_enumerate_thread(VM_thread*) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:219)
     [java]     [junit]   8: vm_enumerate_the_current_thread (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:68)
     [java]     [junit]   9: stop_the_world_root_set_enumeration (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:131)
     [java]     [junit]  10: vm_enumerate_root_set_all_threads (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:147)
     [java]     [junit]  11: gc_reclaim_heap(GC*, unsigned int) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/gc_gen/src/common/gc_common.cpp:332)
     [java]     [junit]  12: lspace_alloc(unsigned int, Allocator*) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/gc_gen/src/los/lspace_alloc_collect.cpp:230)
     [java]     [junit]  13: gc_alloc (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/gc_gen/src/thread/mutator_alloc.cpp:82)
     [java]     [junit]  14: NewLongArray(JNIEnv_External*, int) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/jni/jni_array.cpp:434)
     [java]     [junit]  15: JNIEnv_External::NewLongArray(int) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/include/jni.h:1486)
     [java]     [junit]  16: Java_org_apache_harmony_vm_VMStack_getStackState (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/kernel_classes/native/org_apache_harmony_vm_VMStack.cpp:263)
     [java]     [junit]  17: 0xA5EF2F32  
     [java]     [junit]  18: java/lang/Throwable.fillInStackTrace()Ljava/lang/Throwable; (Throwable.java:84)
     [java]     [junit]  19: java/lang/Throwable.()V (Throwable.java:53)
     [java]     [junit]  20: java/lang/Error.()V (Error.java:38)
     [java]     [junit]  21: java/lang/VirtualMachineError.()V (VirtualMachineError.java:35)
     [java]     [junit]  22: java/lang/StackOverflowError.()V (StackOverflowError.java:35)
     [java]     [junit]  23: vm_invoke_native_array_stub (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
     [java]     [junit]  24: JIT_execute_method_default (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:200)
     [java]     [junit]  25: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/em/src/DrlEMImpl.cpp:521)
     [java]     [junit]  26: ExecuteMethod (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/em/src/em_intf.cpp:44)
     [java]     [junit]  27: vm_execute_java_method_array (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/jit/ini.cpp:67)
     [java]     [junit]  28: class_alloc_new_object_and_run_constructor(Class*, Method*, unsigned
char*) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/jit/jit_runtime_support.cpp:2658)
     [java]     [junit]  29: create_lazy_exception (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:155)
     [java]     [junit]  30: exn_propagate_exception (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:356)
     [java]     [junit]  31: exn_athrow_regs(Registers*, Class*, bool, bool) (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:575)
     [java]     [junit]  32: c_exception_handler (/export/users/cc/cc-common/build/checkouts/hdk/working_vm/vm/vmcore/src/util/linux/signals_ia32.cpp:177)
     [java]     [junit]  33: ?? (??:-1)
     [java]     [junit]  34: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V
(Test.java:94)
     [java]     [junit]  35: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V
(Test.java:95)
     [java]     [junit]  36: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V
(Test.java:95)
[SNIP]

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