harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Astapchuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3234) [drlvm][jit] debug OPT segfaults on EHWA
Date Wed, 14 Mar 2007 13:06:09 GMT

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

Alex Astapchuk updated HARMONY-3234:
------------------------------------

    Attachment: 0001-Fix-for-HARMONY-3234-SwitchInst-did-not-allow-to-replaceOpnd-safely.patch

The fix.

> [drlvm][jit] debug OPT segfaults on EHWA
> ----------------------------------------
>
>                 Key: HARMONY-3234
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3234
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: any OS / ia32 arch
>            Reporter: Alexey Varlamov
>         Attachments: 0001-Fix-for-HARMONY-3234-SwitchInst-did-not-allow-to-replaceOpnd-safely.patch
>
>
> 0xb5a3620c in Jitrino::Ia32::Opnd::RuntimeInfo::getKind (this=0x0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.h:171

> (gdb) bt 
> #0 0xb5a3620c in Jitrino::Ia32::Opnd::RuntimeInfo::getKind (this=0x0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.h:171

> #1 0xb5aa07a5 in Jitrino::Ia32::SwitchInst::getNumTargets (this=0x9f5a7700) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:697

> #2 0xb5aa1b5d in Jitrino::Ia32::SwitchInst::verify (this=0x9f5a7700) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:770

> #3 0xb5aa2c08 in Jitrino::Ia32::Inst::setOpnd (this=0x9f5a7700, index=0, opnd=0x9f36becc)
at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:313

> #4 0xb5aa2eda in Jitrino::Ia32::Inst::replaceOpnd (this=0x9f5a7700, oldOpnd=0x9f5a7800,
newOpnd=0x9f36becc, opndRoleMask=255) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:330

> #5 0xb5ad9aa6 in Jitrino::Ia32::SpillGen::simplify (this=0x9e0c86d4, inst=0x9f5a7700,
opnd=0x9f55dc00) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:1256

> #6 0xb5adae63 in Jitrino::Ia32::SpillGen::pass1 (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:952

> #7 0xb5adc786 in Jitrino::Ia32::SpillGen::runImpl (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:621

> #8 0xb5a93f96 in Jitrino::Ia32::SessionAction::run (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2234

> #9 0xb5b2c035 in Jitrino::runPipeline (c=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:226

> #10 0xb5b2c1ec in Jitrino::compileMethod (cc=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:261

> #11 0xb5b2c30e in Jitrino::Jitrino::CompileMethod (cc=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:286

> #12 0xb5a08e2f in JIT_compile_method_with_params (jit=0x8099568, compilation=0xbfabf6e4,
method_handle=0x91fd8b0, compilation_params={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 = 1, exe_do_local_var_mapping = 0, exe_insert_write_barriers = 0,
exe_provide_access_to_this = 0, exe_restore_context_after_unwind = 0, exe_notify_compiled_method_load
= 0}) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:278

> #13 0xb6b547da in Dll_JIT::compile_method_with_params (this=0x8099568, compilation=0xbfabf6e4,
method=0x91fd8b0, 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, exe_notify_compiled_method_load = 0}) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/include/dll_jit_intf.h:86

> #14 0xb6b4a614 in compile_do_compilation_jit (method=0x91fd8b0, jit=0x8099568) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:647

> #15 0xb6af8f7c in vm_compile_method (jit=0x8099568, method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/C_Interface.cpp:2474

> #16 0xb5d9433a in DrlEMImpl::compileMethod (this=0x8098a90, mh=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:570

> #17 0xb5db3810 in CompileMethod (method_handle=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:49

> #18 0xb6b4bd88 in compile_do_compilation (method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:757

> #19 0xb6b4bf9c in compile_me (method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:777

> #20 0xb5e08162 in ?? () 
> #21 0x091fd8b0 in ?? () 
> #22 0xbfac0a1c in ?? () 
> #23 0x080b84e4 in ?? () 
> #24 0x00000000 in ?? () 
> [ Show ยป ] Alexey Varlamov [22/Feb/07 05:55 AM] Now eclipse shows main window but segfaults
with the same stack on both Linux and Windows; I'm going to file separate issue. 0xb5a3620c
in Jitrino::Ia32::Opnd::RuntimeInfo::getKind (this=0x0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.h:171
(gdb) bt #0 0xb5a3620c in Jitrino::Ia32::Opnd::RuntimeInfo::getKind (this=0x0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.h:171
#1 0xb5aa07a5 in Jitrino::Ia32::SwitchInst::getNumTargets (this=0x9f5a7700) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:697
#2 0xb5aa1b5d in Jitrino::Ia32::SwitchInst::verify (this=0x9f5a7700) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:770
#3 0xb5aa2c08 in Jitrino::Ia32::Inst::setOpnd (this=0x9f5a7700, index=0, opnd=0x9f36becc)
at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:313
#4 0xb5aa2eda in Jitrino::Ia32::Inst::replaceOpnd (this=0x9f5a7700, oldOpnd=0x9f5a7800, newOpnd=0x9f36becc,
opndRoleMask=255) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:330
#5 0xb5ad9aa6 in Jitrino::Ia32::SpillGen::simplify (this=0x9e0c86d4, inst=0x9f5a7700, opnd=0x9f55dc00)
at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:1256
#6 0xb5adae63 in Jitrino::Ia32::SpillGen::pass1 (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:952
#7 0xb5adc786 in Jitrino::Ia32::SpillGen::runImpl (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:621
#8 0xb5a93f96 in Jitrino::Ia32::SessionAction::run (this=0x9e0c86d4) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2234
#9 0xb5b2c035 in Jitrino::runPipeline (c=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:226
#10 0xb5b2c1ec in Jitrino::compileMethod (cc=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:261
#11 0xb5b2c30e in Jitrino::Jitrino::CompileMethod (cc=0xbfabf5e0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:286
#12 0xb5a08e2f in JIT_compile_method_with_params (jit=0x8099568, compilation=0xbfabf6e4, method_handle=0x91fd8b0,
compilation_params={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
= 1, exe_do_local_var_mapping = 0, exe_insert_write_barriers = 0, exe_provide_access_to_this
= 0, exe_restore_context_after_unwind = 0, exe_notify_compiled_method_load = 0}) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:278
#13 0xb6b547da in Dll_JIT::compile_method_with_params (this=0x8099568, compilation=0xbfabf6e4,
method=0x91fd8b0, 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, exe_notify_compiled_method_load = 0}) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/include/dll_jit_intf.h:86
#14 0xb6b4a614 in compile_do_compilation_jit (method=0x91fd8b0, jit=0x8099568) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:647
#15 0xb6af8f7c in vm_compile_method (jit=0x8099568, method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/C_Interface.cpp:2474
#16 0xb5d9433a in DrlEMImpl::compileMethod (this=0x8098a90, mh=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:570
#17 0xb5db3810 in CompileMethod (method_handle=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:49
#18 0xb6b4bd88 in compile_do_compilation (method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:757
#19 0xb6b4bf9c in compile_me (method=0x91fd8b0) at /export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:777
#20 0xb5e08162 in ?? () #21 0x091fd8b0 in ?? () #22 0xbfac0a1c in ?? () #23 0x080b84e4 in
?? () #24 0x00000000 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