harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4265) [drlvm][jit] Save quantity of try and catch blocks equals.
Date Tue, 06 Nov 2007 15:56:50 GMT

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

Gregory Shimansky commented on HARMONY-4265:
--------------------------------------------

Regression test for this bug H4265 started to fail for me on Linux x86 in debug mode. For
some reason when I run the test on command line it works. But when I run it as "./build.sh
reg.test -Dtest.case=H4265" it crashes on assertion in JET:

    [junit] Running org.apache.harmony.drlvm.tests.regression.h4265.Test
    [junit] java: /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/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.
    [junit] SIGABRT in VM code.
    [junit] Stack trace:
    [junit] addr2line: '[vdso]': No such file
    [junit]   0: ?? (�˷�7      ᓬ�\���:-1)
    [junit]   1: abort (??:-1)
    [junit]   2: __assert_fail (??:-1)
    [junit]   3: Jitrino::Jet::rt_enum(void*, Method*, void*, JitFrameContext*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/jitrino/src/jet/rt.cpp:276)
    [junit]   4: JIT_get_root_set_from_stack_frame (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/jitrino/src/vm/JITInterface.cpp:394)
    [junit]   5: Dll_JIT::get_root_set_from_stack_frame(Method*, void*, JitFrameContext const*)
(/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/include/dll_jit_intf.h:105)
    [junit]   6: vm_enumerate_root_set_single_thread_on_stack(StackIterator*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/gc/root_set_enum_common.cpp:314)
    [junit]   7: vm_enumerate_thread(VM_thread*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:219)
    [junit]   8: vm_enumerate_the_current_thread (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:68)
    [junit]   9: stop_the_world_root_set_enumeration (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:131)
    [junit]  10: vm_enumerate_root_set_all_threads (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:147)
    [junit]  11: gc_reclaim_heap(GC*, unsigned int) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/gc_gen/src/common/gc_common.cpp:332)
    [junit]  12: lspace_alloc(unsigned int, Allocator*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/gc_gen/src/los/lspace_alloc_collect.cpp:230)
    [junit]  13: gc_alloc (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/gc_gen/src/thread/mutator_alloc.cpp:82)
    [junit]  14: NewLongArray(JNIEnv_External*, int) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jni/jni_array.cpp:434)
    [junit]  15: JNIEnv_External::NewLongArray(int) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/include/jni.h:1486)
    [junit]  16: Java_org_apache_harmony_vm_VMStack_getStackState (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/kernel_classes/native/org_apache_harmony_vm_VMStack.cpp:263)
    [junit]  17: 0xA5EDEF32  <Generated stub>
    [junit]  18: java/lang/Throwable.fillInStackTrace()Ljava/lang/Throwable; (Throwable.java:84)
    [junit]  19: java/lang/Throwable.<init>()V (Throwable.java:53)
    [junit]  20: java/lang/Error.<init>()V (Error.java:38)
    [junit]  21: java/lang/VirtualMachineError.<init>()V (VirtualMachineError.java:35)
    [junit]  22: java/lang/StackOverflowError.<init>()V (StackOverflowError.java:35)
    [junit]  23: vm_invoke_native_array_stub (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit]  24: JIT_execute_method_default (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:200)
    [junit]  25: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/em/src/DrlEMImpl.cpp:521)
    [junit]  26: ExecuteMethod (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/em/src/em_intf.cpp:44)
    [junit]  27: vm_execute_java_method_array (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jit/ini.cpp:67)
    [junit]  28: class_alloc_new_object_and_run_constructor(Class*, Method*, unsigned char*)
(/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jit/jit_runtime_support.cpp:2658)
    [junit]  29: create_lazy_exception (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:155)
    [junit]  30: exn_propagate_exception (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:356)
    [junit]  31: exn_athrow_regs(Registers*, Class*, bool, bool) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/exception/exceptions_jit.cpp:575)
    [junit]  32: c_exception_handler (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/util/linux/signals_ia32.cpp:177)
    [junit]  33: ?? (??:-1)
    [junit]  34: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V (Test.java:94)
    [junit]  35: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V (Test.java:95)
    [junit]  36: org/apache/harmony/drlvm/tests/regression/h4265/Test._testRec2()V (Test.java:95)
<here go very many Java stack frames>

> [drlvm][jit] Save quantity of try and  catch blocks equals.
> -----------------------------------------------------------
>
>                 Key: HARMONY-4265
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4265
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Mikhail Fursov
>         Attachments: soe2.patch
>
>
> To save quantity of try and  catch blocks equals JIT support is required. 
> If JIT compile method which contains SOE exception handler, it should include test of
avalable stack inside  method code.

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