harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2775) [drlvm] Eclipse 3.2 does not start with Jitrino.OPT
Date Mon, 18 Dec 2006 14:13:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2775?page=comments#action_12459334 ] 
            
Mikhail Fursov commented on HARMONY-2775:
-----------------------------------------

Alexey,
Stack you sent for Linux is for another potential JIT problem that is different from classloader's
problem. I hope it is just an illegal debug check. 
Here is Linux stack and it is the same as Windows one:

Stack trace:
        1: ?? (??:-1)
        2: abort (??:-1)
        3: __assert_fail (??:-1)
        4: UserDefinedClassLoader::DoLoadClass(Global_Env*, String const*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/class_support/classloader.cpp:1540)
        5: ClassLoader::LoadClass(Global_Env*, String const*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/class_support/classloader.cpp:1460)
        6: .L50 (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/class_support/java_type.cpp:135)
        7: type_info_get_class (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/class_support/C_Interface.cpp:2013)
        8: Jitrino::DrlVMCompilationInterface::getTypeFromDrlVMTypeHandle(TypeDesc*, bool)
(??:-1)
        9: Jitrino::DrlVMMethodSignatureDesc::getReturnType() (??:-1)
        10: Jitrino::JavaByteCodeTranslator::invokeinterface(unsigned int, unsigned int) (??:-1)
        11: .L265 (??:-1)
        12: Jitrino::JavaTranslator::translateMethod(Jitrino::CompilationInterface&, Jitrino::MethodDesc&,
Jitrino::IRBuilder&) (??:-1)
        13: Jitrino::TranslatorSession::translate() (??:-1)
        14: Jitrino::TranslatorSession::run() (??:-1)
        15: Jitrino::runPipeline(Jitrino::CompilationContext*) (??:-1)
        16: Jitrino::compileMethod(Jitrino::CompilationContext*) (??:-1)
        17: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (??:-1)
        18: JIT_compile_method_with_params (??:-1)
        19: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams)
(/export/users/mfursov/harmony_new/drlvm/vm/vmcore/include/dll_jit_intf.h:86)
        20: compile_do_compilation_jit(Method*, JIT*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/jit/compile.cpp:709)
        21: vm_compile_method (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/class_support/C_Interface.cpp:2454)
        22: DrlEMImpl::compileMethod(Method*) (/export/users/mfursov/harmony_new/drlvm/vm/em/src/DrlEMImpl.cpp:545)
        23: CompileMethod (/export/users/mfursov/harmony_new/drlvm/vm/em/src/em_intf.cpp:49)
        24: compile_do_compilation (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/jit/compile.cpp:789)
        25: compile_jit_a_method(Method*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/jit/compile.cpp:840)
        26: IP is 0x410C7162 <native code>
        27: ?? (??:-1)
        28: org/eclipse/core/internal/preferences/legacy/InitLegacyPreferences.init(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
(InitLegacyPreferences.java:-1)
        29: org/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper.applyRuntimeDefaults(Ljava/lang/String;Ljava/lang/ref/WeakReference;)Ljava/lang/ref/WeakReference;
(PreferenceServiceRegistryHelper.java:-1)
        30: org/eclipse/core/internal/preferences/PreferencesService.applyRuntimeDefaults(Ljava/lang/String;Ljava/lang/ref/WeakReference;)Ljava/lang/ref/WeakReference;
(PreferencesService.java:-1)
        31: org/eclipse/core/internal/preferences/DefaultPreferences.applyRuntimeDefaults()V
(DefaultPreferences.java:-1)
        32: org/eclipse/core/internal/preferences/DefaultPreferences.loadDefaults()V (DefaultPreferences.java:-1)
        33: org/eclipse/core/internal/preferences/DefaultPreferences.load()V (DefaultPreferences.java:-1)
        34: org/eclipse/core/internal/preferences/EclipsePreferences.create(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;Ljava/lang/Object;)Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
(EclipsePreferences.java:-1)
        35: org/eclipse/core/internal/preferences/EclipsePreferences.internalNode(Ljava/lang/String;ZLjava/lang/Object;)Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
(EclipsePreferences.java:-1)
        36: org/eclipse/core/internal/preferences/DefaultPreferences.node(Ljava/lang/String;Ljava/lang/Object;)Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
(DefaultPreferences.java:-1)
        37: org/eclipse/core/internal/preferences/legacy/PreferenceForwarder.getDefaultPreferences()Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
(PreferenceForwarder.java:-1)
        38: org/eclipse/core/internal/preferences/legacy/PreferenceForwarder.getString(Ljava/lang/String;)Ljava/lang/String;
(PreferenceForwarder.java:-1)
        39: org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.loadTheme()V (IntroModelRoot.java:-1)
        40: org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.loadChildren()V (IntroModelRoot.java:-1)
        41: org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.getChildren()[Lorg/eclipse/ui/internal/intro/impl/model/AbstractIntroElement;
(AbstractIntroContainer.java:-1)
        42: org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.loadModel()V (IntroModelRoot.java:-1)
        43: org/eclipse/ui/internal/intro/impl/model/loader/BaseExtensionPointManager.loadModel(Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/ui/internal/intro/impl/model/IntroModelRoot;
(BaseExtensionPointManager.java:-1)
        44: org/eclipse/ui/internal/intro/impl/model/loader/ExtensionPointManager.loadCurrentModel()V
(ExtensionPointManager.java:-1)
        45: org/eclipse/ui/internal/intro/impl/model/loader/ExtensionPointManager.getCurrentModel()Lorg/eclipse/ui/internal/intro/impl/model/IntroModelRoot;
(ExtensionPointManager.java:-1)
        46: org/eclipse/ui/intro/config/CustomizableIntroPart.init(Lorg/eclipse/ui/intro/IIntroSite;Lorg/eclipse/ui/IMemento;)V
(CustomizableIntroPart.java:-1)
        47: org/eclipse/ui/internal/ViewIntroAdapterPart.init(Lorg/eclipse/ui/IViewSite;Lorg/eclipse/ui/IMemento;)V
(ViewIntroAdapterPart.java:-1)
        48: org/eclipse/ui/internal/ViewReference.createPartHelper()Lorg/eclipse/ui/IWorkbenchPart;
(ViewReference.java:-1)
        49: org/eclipse/ui/internal/ViewReference.createPart()Lorg/eclipse/ui/IWorkbenchPart;
(ViewReference.java:-1)
        50: org/eclipse/ui/internal/WorkbenchPartReference.getPart(Z)Lorg/eclipse/ui/IWorkbenchPart;
(WorkbenchPartReference.java:-1)
        51: org/eclipse/ui/internal/Perspective.showView(Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/ui/IViewPart;
(Perspective.java:-1)
        52: org/eclipse/ui/internal/WorkbenchPage.busyShowView(Ljava/lang/String;Ljava/lang/String;I)Lorg/eclipse/ui/IViewPart;
(WorkbenchPage.java:-1)
        53: org/eclipse/ui/internal/WorkbenchPage.access$13(Lorg/eclipse/ui/internal/WorkbenchPage;Ljava/lang/String;Ljava/lang/String;I)Lorg/eclipse/ui/IViewPart;
(WorkbenchPage.java:-1)
        54: org/eclipse/ui/internal/WorkbenchPage$13.run()V (WorkbenchPage.java:-1)
        55: org/eclipse/swt/custom/BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V
(BusyIndicator.java:-1)
        56: org/eclipse/ui/internal/WorkbenchPage.showView(Ljava/lang/String;Ljava/lang/String;I)Lorg/eclipse/ui/IViewPart;
(WorkbenchPage.java:-1)
        57: org/eclipse/ui/internal/WorkbenchPage.showView(Ljava/lang/String;)Lorg/eclipse/ui/IViewPart;
(WorkbenchPage.java:-1)
        58: org/eclipse/ui/internal/WorkbenchIntroManager.createIntro(Lorg/eclipse/ui/IWorkbenchWindow;)V
(WorkbenchIntroManager.java:-1)
        59: org/eclipse/ui/internal/WorkbenchIntroManager.showIntro(Lorg/eclipse/ui/IWorkbenchWindow;Z)Lorg/eclipse/ui/intro/IIntroPart;
(WorkbenchIntroManager.java:-1)
        60: org/eclipse/ui/application/WorkbenchWindowAdvisor.openIntro()V (WorkbenchWindowAdvisor.java:-1)
        61: org/eclipse/ui/internal/ide/IDEWorkbenchWindowAdvisor.openIntro()V (IDEWorkbenchWindowAdvisor.java:-1)
        62: org/eclipse/ui/internal/WorkbenchWindow.open()I (WorkbenchWindow.java:-1)
        63: org/eclipse/ui/internal/Workbench.busyOpenWorkbenchWindow(Ljava/lang/String;Lorg/eclipse/core/runtime/IAdaptable;)Lorg/eclipse/ui/IWorkbenchWindow;
(Workbench.java:-1)
        64: org/eclipse/ui/internal/Workbench.doOpenFirstTimeWindow()V (Workbench.java:-1)
        65: org/eclipse/ui/internal/Workbench.access$10(Lorg/eclipse/ui/internal/Workbench;)V
(Workbench.java:-1)
        66: org/eclipse/ui/internal/Workbench$16.run()V (Workbench.java:-1)
        67: org/eclipse/ui/internal/Workbench.runStartupWithProgress(ILjava/lang/Runnable;)V
(Workbench.java:-1)
        68: org/eclipse/ui/internal/Workbench.openFirstTimeWindow()V (Workbench.java:-1)
        69: org/eclipse/ui/internal/WorkbenchConfigurer.openFirstTimeWindow()V (WorkbenchConfigurer.java:-1)
        70: org/eclipse/ui/application/WorkbenchAdvisor.openWindows()Z (WorkbenchAdvisor.java:-1)
        71: org/eclipse/ui/internal/Workbench.init()Z (Workbench.java:-1)
        72: org/eclipse/ui/internal/Workbench.runUI()I (Workbench.java:-1)
        73: org/eclipse/ui/internal/Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I
(Workbench.java:-1)
        74: org/eclipse/ui/PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I
(PlatformUI.java:-1)
        75: org/eclipse/ui/internal/ide/IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;
(IDEApplication.java:-1)
        76: org/eclipse/core/internal/runtime/PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;
(PlatformActivator.java:-1)
        77: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:-1)
        78: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:-1)
        79: org/eclipse/core/runtime/adaptor/EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseStarter.java:-1)
        80: vm_invoke_native_array_stub (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
        81: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:206)
        82: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users/mfursov/harmony_new/drlvm/vm/em/src/DrlEMImpl.cpp:514)
        83: ExecuteMethod (/export/users/mfursov/harmony_new/drlvm/vm/em/src/em_intf.cpp:43)
        84: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/jit/ini.cpp:51)
        85: CallStaticObjectMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/jni/jni_method.cpp:1226)
SIGSEGV in VM code.
Stack trace:
        86: CodeChunkInfo::get_jit() const (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/include/cci.h:47)
        87: get_file_and_line (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/stack/stack_trace.cpp:62)
        88: st_get_java_method_info (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/stack/stack_dump.cpp:198)
        89: st_print_stack(Registers*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/stack/stack_dump.cpp:247)
        90: abort_handler(int, siginfo*, void*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/util/linux/signals_ia32.cpp:650)
        91: general_signal_handler(int, siginfo*, void*) (/export/users/mfursov/harmony_new/drlvm/vm/vmcore/src/util/linux/signals_ia32.cpp:720)
<end of stack trace>


> [drlvm] Eclipse 3.2 does not start with Jitrino.OPT
> ---------------------------------------------------
>
>                 Key: HARMONY-2775
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2775
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM, App-Oriented Bug Reports
>         Environment: DRLVM Linux, Windows
>            Reporter: Alexey Varlamov
>            Priority: Blocker
>
> The DRLVM segfaults during Eclipse startup, this is reproduced 100% with -Xem:opt config.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message