harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2248) [drlvm] failed assert(m_initializing_thread == 0) on eclipse startup
Date Thu, 30 Nov 2006 11:03:24 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2248?page=all ]

Pavel Rebriy updated HARMONY-2248:
----------------------------------

    Attachment: classloader_initialize.patch

Added synchronization for class stage change into class initialization phase.


> [drlvm] failed assert(m_initializing_thread == 0) on eclipse startup
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2248
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2248
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM, App-Oriented Bug Reports
>            Reporter: Alexey Varlamov
>            Priority: Critical
>         Attachments: classloader_initialize.patch
>
>
> Debug DRLVM fails on assert(m_initializing_thread == 0) while starting Eclipse 3.2.
> Release version works just fine.
> java: /export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/Initialize.cpp:92:
void Class::initialize(): Assertion `m_initializing_thread == 0' failed.
> SIGABRT in VM code.
> Stack trace:
> 	1: ?? (??:-1)
> 	2: abort (??:-1)
> 	3: __assert_fail (??:-1)
> 	4: Class::initialize() (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/Initialize.cpp:93)
> 	5: class_initialize_ex(Class*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/Initialize.cpp:238)
> 	6: class_initialize(Class*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/class_support/Initialize.cpp:218)
> 	7: IP is 0x410E8864 <native code>
> 	8: org/eclipse/ui/PlatformUI.createDisplay()Lorg/eclipse/swt/widgets/Display; (PlatformUI.java:161)
> 	9: org/eclipse/ui/internal/ide/IDEApplication.createDisplay()Lorg/eclipse/swt/widgets/Display;
(IDEApplication.java:122)
> 	10: org/eclipse/ui/internal/ide/IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;
(IDEApplication.java:75)
> 	11: org/eclipse/core/internal/runtime/PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;
(PlatformActivator.java:78)
> 	12: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:92)
> 	13: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:68)
> 	14: org/eclipse/core/runtime/adaptor/EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseStarter.java:396)
> 	15: org/eclipse/core/runtime/adaptor/EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
(EclipseStarter.java:177)
> 	16: vm_invoke_native_array_stub (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
> 	17: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:206)
> 	18: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:489)
> 	19: ExecuteMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:43)
> 	20: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/ini.cpp:51)
> 	21: CallStaticObjectMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1134)
> 	22: Java_java_lang_reflect_VMReflection_invokeMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:226)
> 	23: IP is 0x4118D223 <native code>
> 	24: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:381)
> 	25: org/eclipse/core/launcher/Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V
(Main.java:336)
> 	26: org/eclipse/core/launcher/Main.basicRun([Ljava/lang/String;)V (Main.java:280)
> 	27: org/eclipse/core/launcher/Main.run([Ljava/lang/String;)I (Main.java:977)
> 	28: org/eclipse/core/launcher/Main.main([Ljava/lang/String;)V (Main.java:952)
> 	29: vm_invoke_native_array_stub (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
> 	30: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:199)
> 	31: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:489)
> 	32: ExecuteMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:43)
> 	33: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/ini.cpp:51)
> 	34: call_static_method_no_ref_result (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1089)
> 	35: CallStaticVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1467)
> 	36: invoke_primitive_method (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:184)
> 	37: Java_java_lang_reflect_VMReflection_invokeMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:222)
> 	38: IP is 0x4118D223 <native code>
> 	39: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:381)
> 	40: org/apache/harmony/vm/JarRunner.main([Ljava/lang/String;)V (JarRunner.java:80)
> 	41: vm_invoke_native_array_stub (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
> 	42: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:199)
> 	43: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/DrlEMImpl.cpp:489)
> 	44: ExecuteMethod (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/em/src/em_intf.cpp:43)
> 	45: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jit/ini.cpp:51)
> 	46: call_static_method_no_ref_result (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1089)
> 	47: CallStaticVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1467)
> 	48: CallStaticVoidMethodV(JNIEnv_External*, _jobject*, _jmethodID*, char*) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1454)
> 	49: CallStaticVoidMethod(JNIEnv_External*, _jobject*, _jmethodID*, ...) (/export/users2/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1444)
> 	50: ?? (??:-1)
> 	51: ?? (??:-1)
> 	52: ?? (??:-1)
> 	53: ?? (??:-1)
> 	54: hysig_protect (??:-1)
> 	55: ?? (??:-1)
> 	56: __libc_start_main (??:-1)
> 	57: ?? (??:-1)
> <end of stack trace>

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