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] Resolved: (HARMONY-3061) [drlvm][jit] debug OPT asserts on EHWA
Date Thu, 22 Feb 2007 13:57:05 GMT

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

Alexey Varlamov resolved HARMONY-3061.
--------------------------------------

    Resolution: Fixed

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 ?? ()

> [drlvm][jit] debug OPT asserts on EHWA
> --------------------------------------
>
>                 Key: HARMONY-3061
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3061
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/ia32/debug
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Varlamov
>         Attachments: btr_memopndcopy_patch.diff, H-3061-jbct.diff, IRManager.diff
>
>
> To reproduce: 
> working_vm/build/>sh build.sh ehwa.test -Dehwa.test.mode=opt
> ...
>      [java] java: /export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/shared/BitSet.h:74:
bool Jitrino::BitSet::getBit(unsigned int) const: Assertion `words != 0 && bitNumber
< setSize' failed.
>      [java] SIGABRT in VM code.
>      [java] Stack trace:
>      [java] 	1: ?? (??:-1)
>      [java] 	2: abort (??:-1)
>      [java] 	3: __assert_fail (??:-1)
>      [java] 	4: Jitrino::BitSet::getBit(unsigned int) const (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/shared/BitSet.h:75)
>      [java] 	5: Jitrino::Ia32::SpillGen::pass0() (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:786)
>      [java] 	6: Jitrino::Ia32::SpillGen::runImpl() (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp:612)
>      [java] 	7: Jitrino::Ia32::SessionAction::run() (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2155)
>      [java] 	8: Jitrino::runPipeline(Jitrino::CompilationContext*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:226)
>      [java] 	9: Jitrino::compileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:261)
>      [java] 	10: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:286)
>      [java] 	11: JIT_compile_method_with_params (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:278)
>      [java] 	12: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams)
(/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/include/dll_jit_intf.h:86)
>      [java] 	13: compile_do_compilation_jit(Method*, JIT*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:645)
>      [java] 	14: vm_compile_method (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/C_Interface.cpp:2462)
>      [java] 	15: DrlEMImpl::compileMethod(Method*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:545)
>      [java] 	16: CompileMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:49)
>      [java] 	17: compile_do_compilation (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:753)
>      [java] 	18: compile_me(Method*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/compile.cpp:773)
>      [java] 	19: IP is 0x410A6162 <native code>
>      [java] 	20: ?? (??:-1)
>      [java] 	21: org/eclipse/swt/custom/CTabFolder.updateItems(I)Z (CTabFolder.java:-1)
>      [java] SIGSEGV in VM code.
>      [java] Stack trace:
>      [java] 	22: Jitrino::Ia32::StackInfo::readByteSize(unsigned char const*) const (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32StackInfo.cpp:107)
>      [java] 	23: Jitrino::Ia32::RuntimeInterface::getBcLocationForNative(Jitrino::MethodDesc*,
unsigned long long, unsigned short*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp:78)
>      [java] 	24: Jitrino::Jitrino::GetBcLocationForNative(Jitrino::MethodDesc*, unsigned
long long, unsigned short*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/main/Jitrino.cpp:358)
>      [java] 	25: get_bc_location_for_native (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:586)
>      [java] 	26: Dll_JIT::get_bc_location_for_native(Method*, void*, unsigned short*)
(/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/include/dll_jit_intf.h:240)
>      [java] 	27: get_file_and_line (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/stack/stack_trace.cpp:62)
>      [java] 	28: st_get_java_method_info (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/stack/stack_dump.cpp:198)
>      [java] 	29: st_print_stack(Registers*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/stack/stack_dump.cpp:244)
>      [java] 	30: abort_handler(int, siginfo*, void*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/linux/signals_ia32.cpp:648)
>      [java] 	31: general_signal_handler(int, siginfo*, void*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/linux/signals_ia32.cpp:718)
>      [java] <end of stack trace>
>      [java] Java Result: 139

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