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] Closed: (HARMONY-2789) [drlvm][x86_64][jitrino] All drlvm cunit tests crash in Jitrino on SuSE10 x86_64
Date Wed, 28 Feb 2007 18:09:00 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gregory Shimansky closed HARMONY-2789.
--------------------------------------

    Resolution: Cannot Reproduce

I've checked today on revision 512840 and this bug doesn't seem to be reproducible any more.
Maybe it is because JIT is now compiled in debug mode by default. In this case it is likely
that the crash happened because of a bug in gcc on SLES10 x86_64.

> [drlvm][x86_64][jitrino] All drlvm cunit tests crash in Jitrino on SuSE10 x86_64
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-2789
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2789
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Gregory Shimansky
>
> When running "build test" I've found that all of cunit tests of drlvm crash in Jitrino
code on SLES10 x86_64. They work on SLES9, so maybe it is some compiler bug (gcc used on SLES10
is 4.1.0). The VM itself works, it can execute "build smoke.test" and "build kernel.test".
gdb log looks like this:
> gashiman@mstmrtd102 ~/work/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/semis/vm/_cunit.tests/_bin
> $ gdb test_java_attrs core.19995
> /* SKIPPED loading libraries */
> #0  0x00002ae3cf609faf in EncoderBase::encode_aux (
>     stream=0x2aaaaabc4ffd "ÌÌÌ" <Address 0x2aaaaabc5000 out of bounds>, 
>     aux=772, opnds=@0x7fffdc21ab90, odesc=0x2ae3cf996d88, 
>     pargsCount=0x7fffdc21ab44, prex=0x2aaaaabc4ffc)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/port/src/encoder/ia32_em64t/enc_base.cpp:157
> 157                 modrm.mod = 3; // 11
> (gdb) p modrm
> $1 = (ModRM &) @0x2aaaaabc4ffd: Cannot access memory at address 0x2aaaaabc4ffd
> (gdb) bt
> #0  0x00002ae3cf609faf in EncoderBase::encode_aux (
>     stream=0x2aaaaabc4ffd "ÌÌÌ" <Address 0x2aaaaabc5000 out of bounds>, 
>     aux=772, opnds=@0x7fffdc21ab90, odesc=0x2ae3cf996d88, 
>     pargsCount=0x7fffdc21ab44, prex=0x2aaaaabc4ffc)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/port/src/encoder/ia32_em64t/enc_base.cpp:157
> #1  0x00002ae3cf60a7b2 in EncoderBase::encode (
>     stream=0x2aaaaabc4ffd "ÌÌÌ" <Address 0x2aaaaabc5000 out of bounds>, 
>     mn=Mnemonic_JMP, opnds=@0x7fffdc21ab90)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/port/src/encoder/ia32_em64t/enc_base.cpp:356
> #2  0x00002ae3cf554244 in jump (
>     stream=0x2aaaaabc4ffc "ÿÌÌÌ" <Address 0x2aaaaabc5000 out of bounds>, 
>     rm=@0x2ae3cfb0d080, sz=size_64)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/port/src/encoder/ia32_em64t/encoder.inl:591
> #3  0x00002ae3cf55469b in jump (
>     stream=0x2aaaaabc4ffc "ÿÌÌÌ" <Address 0x2aaaaabc5000 out of bounds>, 
>     target=0x2ae3d08a7140 "H\201ìØ")
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/port/src/encoder/ia32_em64t/encoder.inl:615
> #4  0x00002ae3cf5532e5 in compile_gen_compile_me (method=0xa8bbd0)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/util/em64t/base/compile_em64t.cpp:252
> #5  0x00002ae3cf52a58d in Class::assign_offsets_to_methods (this=0xa7bbc8, 
>     env=0x544168)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Prepare.cpp:772
> #6  0x00002ae3cf52b68b in Class::prepare (this=0xa7bbc8, env=0x544168)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Prepare.cpp:1265
> #7  0x00002ae3cf54749c in ClassLoader::LoadVerifyAndPrepareClass (
>     this=0x557b80, env=0x544168, name=0xa6fbf8)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:344
> #8  0x00002ae3cf52e167 in Class::_resolve_class (this=0xa65390, env=0x544168, 
>     cp_index=32)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Resolve.cpp:165
> #9  0x00002ae3cf52f218 in Class::_resolve_field (this=0xa65390, env=0x544168, 
>     cp_index=38)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Resolve.cpp:416
> #10 0x00002ae3cf52f796 in _resolve_static_field (env=0x544168, clss=0xa65390, 
>     cp_index=38, putfield=false)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Resolve.cpp:514
> #11 0x00002ae3cf52f83d in resolve_static_field (h=0x7fffdc21dcb0, c=0xa65390, 
>     index=38, putfield=0)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/Resolve.cpp:743
> #12 0x00002ae3d1465b08 in Jitrino::Jet::Compiler::handle_ik_obj ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #13 0x00002ae3d146634d in Jitrino::Jet::Compiler::handle_inst ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #14 0x00002ae3d1496a36 in Jitrino::Jet::Compiler::comp_gen_insts ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #15 0x00002ae3d1496fe2 in Jitrino::Jet::Compiler::comp_gen_code_bb ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> ---Type <return> to continue, or q <return> to quit---
> #16 0x00002ae3d1498bb0 in Jitrino::Jet::Compiler::compile ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #17 0x00002ae3d14dae96 in Jitrino::Jet::compile_with_params ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #18 0x00002ae3d13814e8 in JIT_compile_method_with_params ()
>    from /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
> #19 0x00002ae3cf559d84 in Dll_JIT::compile_method_with_params (this=0x57abe0, 
>     compilation=0x7fffdc21dcb0, method=0xa80a40, flags=
>       {exe_notify_method_entry = 0, exe_notify_method_exit = 0, exe_notify_field_access
= 0, exe_notify_field_modification = 0, exe_notify_exception_throw = 0, exe_notify_exception_catch
= 0, exe_notify_monitor_enter = 0, exe_notify_monitor_exit = 0, exe_notify_contended_monitor_enter
= 0, exe_notify_contended_monitor_exit = 0, exe_do_method_inlining = 0, exe_do_code_mapping
= 0, exe_do_local_var_mapping = 0, exe_insert_write_barriers = 0, exe_provide_access_to_this
= 0, exe_restore_context_after_unwind = 0})
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/include/dll_jit_intf.h:86
> #20 0x00002ae3cf550879 in compile_do_compilation_jit (method=0xa80a40, 
>     jit=0x57abe0)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:599
> #21 0x00002ae3cf506fe1 in vm_compile_method (jit=0x57abe0, method=0xa80a40)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/class_support/C_Interface.cpp:2454
> #22 0x00002ae3d11195a2 in DrlEMImpl::compileMethod (this=0x5769e0, mh=0xa80a40)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/em/src/DrlEMImpl.cpp:545
> #23 0x00002ae3d113504a in CompileMethod (method_handle=0xa80a40)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/em/src/em_intf.cpp:49
> #24 0x00002ae3cf551b43 in compile_do_compilation (method=0xa80a40, flags=
>       {insert_write_barriers = 0, opt_level = 8, dynamic_profile = 0})
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:679
> #25 0x00002ae3cf551d7a in compile_jit_a_method (method=0xa80a40)
>     at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:730
> #26 0x00002ae3d08a7224 in ?? ()
> #27 0x0000000000a80a40 in ?? ()
> #28 0x0000000000000000 in ?? ()

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