Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 60813 invoked from network); 19 Dec 2006 11:26:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 11:26:44 -0000 Received: (qmail 66338 invoked by uid 500); 19 Dec 2006 11:26:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 66237 invoked by uid 500); 19 Dec 2006 11:26:52 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 66223 invoked by uid 99); 19 Dec 2006 11:26:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 03:26:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 03:26:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1A0D071428E for ; Tue, 19 Dec 2006 03:26:21 -0800 (PST) Message-ID: <9193578.1166527581103.JavaMail.jira@brutus> Date: Tue, 19 Dec 2006 03:26:21 -0800 (PST) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-2789) [drlvm][x86_64][jitrino] All drlvm cunit tests crash in Jitrino on SuSE10 x86_64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [drlvm][x86_64][jitrino] All drlvm cunit tests crash in Jitrino on SuSE10 x= 86_64 ---------------------------------------------------------------------------= ----- Key: HARMONY-2789 URL: http://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 exe= cute "build smoke.test" and "build kernel.test". gdb log looks like this: gashiman@mstmrtd102 ~/work/em64t2/trunk/working_vm/build/lnx_em64t_gcc_debu= g/semis/vm/_cunit.tests/_bin $ gdb test_java_attrs core.19995 /* SKIPPED loading libraries */ #0 0x00002ae3cf609faf in EncoderBase::encode_aux ( stream=3D0x2aaaaabc4ffd "=C3=8C=C3=8C=C3=8C"
,=20 aux=3D772, opnds=3D@0x7fffdc21ab90, odesc=3D0x2ae3cf996d88,=20 pargsCount=3D0x7fffdc21ab44, prex=3D0x2aaaaabc4ffc) 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 =3D 3; // 11 (gdb) p modrm $1 =3D (ModRM &) @0x2aaaaabc4ffd: Cannot access memory at address 0x2aaaaab= c4ffd (gdb) bt #0 0x00002ae3cf609faf in EncoderBase::encode_aux ( stream=3D0x2aaaaabc4ffd "=C3=8C=C3=8C=C3=8C"
,=20 aux=3D772, opnds=3D@0x7fffdc21ab90, odesc=3D0x2ae3cf996d88,=20 pargsCount=3D0x7fffdc21ab44, prex=3D0x2aaaaabc4ffc) 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=3D0x2aaaaabc4ffd "=C3=8C=C3=8C=C3=8C"
,=20 mn=3DMnemonic_JMP, opnds=3D@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=3D0x2aaaaabc4ffc "=C3=BF=C3=8C=C3=8C=C3=8C"
,=20 rm=3D@0x2ae3cfb0d080, sz=3Dsize_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=3D0x2aaaaabc4ffc "=C3=BF=C3=8C=C3=8C=C3=8C"
,=20 target=3D0x2ae3d08a7140 "H\201=C3=AC=C3=98") 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=3D0xa8bbd0) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/util/em64t/base/compile_em64t.cpp:252 #5 0x00002ae3cf52a58d in Class::assign_offsets_to_methods (this=3D0xa7bbc8= ,=20 env=3D0x544168) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/Prepare.cpp:772 #6 0x00002ae3cf52b68b in Class::prepare (this=3D0xa7bbc8, env=3D0x544168) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/Prepare.cpp:1265 #7 0x00002ae3cf54749c in ClassLoader::LoadVerifyAndPrepareClass ( this=3D0x557b80, env=3D0x544168, name=3D0xa6fbf8) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/classloader.cpp:344 #8 0x00002ae3cf52e167 in Class::_resolve_class (this=3D0xa65390, env=3D0x5= 44168,=20 cp_index=3D32) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/Resolve.cpp:165 #9 0x00002ae3cf52f218 in Class::_resolve_field (this=3D0xa65390, env=3D0x5= 44168,=20 cp_index=3D38) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/Resolve.cpp:416 #10 0x00002ae3cf52f796 in _resolve_static_field (env=3D0x544168, clss=3D0xa= 65390,=20 cp_index=3D38, putfield=3Dfalse) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/Resolve.cpp:514 #11 0x00002ae3cf52f83d in resolve_static_field (h=3D0x7fffdc21dcb0, c=3D0xa= 65390,=20 index=3D38, putfield=3D0) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/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 to continue, or q 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=3D0x57a= be0,=20 compilation=3D0x7fffdc21dcb0, method=3D0xa80a40, flags=3D {exe_notify_method_entry =3D 0, exe_notify_method_exit =3D 0, exe_not= ify_field_access =3D 0, exe_notify_field_modification =3D 0, exe_notify_exc= eption_throw =3D 0, exe_notify_exception_catch =3D 0, exe_notify_monitor_en= ter =3D 0, exe_notify_monitor_exit =3D 0, exe_notify_contended_monitor_ente= r =3D 0, exe_notify_contended_monitor_exit =3D 0, exe_do_method_inlining = =3D 0, exe_do_code_mapping =3D 0, exe_do_local_var_mapping =3D 0, exe_inser= t_write_barriers =3D 0, exe_provide_access_to_this =3D 0, exe_restore_conte= xt_after_unwind =3D 0}) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/include/dll_jit_intf.h:86 #20 0x00002ae3cf550879 in compile_do_compilation_jit (method=3D0xa80a40,=20 jit=3D0x57abe0) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/jit/compile.cpp:599 #21 0x00002ae3cf506fe1 in vm_compile_method (jit=3D0x57abe0, method=3D0xa80= a40) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/class_support/C_Interface.cpp:2454 #22 0x00002ae3d11195a2 in DrlEMImpl::compileMethod (this=3D0x5769e0, mh=3D0= xa80a40) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/em/s= rc/DrlEMImpl.cpp:545 #23 0x00002ae3d113504a in CompileMethod (method_handle=3D0xa80a40) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/em/s= rc/em_intf.cpp:49 #24 0x00002ae3cf551b43 in compile_do_compilation (method=3D0xa80a40, flags= =3D {insert_write_barriers =3D 0, opt_level =3D 8, dynamic_profile =3D 0}= ) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/jit/compile.cpp:679 #25 0x00002ae3cf551d7a in compile_jit_a_method (method=3D0xa80a40) at /nfs/ims/proj/drl/mrt1/users/gregory/em64t2/trunk/working_vm/vm/vmco= re/src/jit/compile.cpp:730 #26 0x00002ae3d08a7224 in ?? () #27 0x0000000000a80a40 in ?? () #28 0x0000000000000000 in ?? () --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira