harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5326) [drlvm][jit][jet][EUT] An attempt to debug EUT suite as JUnit plug-in leads to assertion.
Date Wed, 19 Dec 2007 13:12:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553348
] 

Pavel Pervov commented on HARMONY-5326:
---------------------------------------

The stack trace is as follows:
----------------------------------------------------------
Stack trace:
  0: raise (??:-1)
  1: abort (??:-1)
  2: ?? (??:-1)
  3: ?? (??:-1)
  4: ?? (??:-1)
  5: ?? (??:-1)
  6: __fxprintf (??:-1)
  7: asprintf (??:-1)
  8: ?? (??:-1)
  9: ?? (??:-1)
 10: ?? (??:-1)
 11: __assert_fail (??:-1)
 12: ?? (??:-1)
 13: ?? (??:-1)
 14: ?? (??:-1)
 15: Dll_JIT::get_root_set_from_stack_frame(Method*, void*, JitFrameContext const*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/include/dll_jit_intf.h:71)
 16: check_ref (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/root_set_enum_common.cpp:170)
 17: vm_enumerate_root_reference (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/root_set_enum_common.cpp:182)
 18: Jitrino::Jet::rt_enum(void*, Method*, void*, JitFrameContext*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/jitrino/src/jet/rt.cpp:362)
 19: JIT_get_root_set_from_stack_frame (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/jitrino/src/vm/JITInterface.cpp:357)
 20: Dll_JIT::get_root_set_from_stack_frame(Method*, void*, JitFrameContext const*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/include/dll_jit_intf.h:81)
 21: vm_enumerate_root_set_single_thread_on_stack(StackIterator*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/root_set_enum_common.cpp:315)
 22: vm_enumerate_thread(VM_thread*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:223)
 23: vm_enumerate_the_current_thread (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:68)
 24: stop_the_world_root_set_enumeration (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:133)
 25: vm_enumerate_root_set_all_threads (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/gc/stop_the_world_root_set_enum.cpp:149)
 26: gc_reclaim_heap(GC*, unsigned int) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/gc_gen/src/common/gc_common.cpp:366)
 27: fspace_alloc(unsigned int, Allocator*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/gc_gen/src/trace_forward/fspace_alloc.cpp:80)
 28: nos_alloc(unsigned int, Allocator*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/gc_gen/src/gen/gen.cpp:293)
 29: gc_alloc (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/gc_gen/src/thread/mutator_alloc.cpp:91)
 30: vm_malloc_with_thread_pointer(unsigned int, unsigned long long, void*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jit/jit_runtime_support.cpp:2498)
 31: 0x00002AAAAC6439AF  <Generated stub>
 32: ?? (??:-1)
 33: java/util/HashMap.createHashedEntry(Ljava/lang/Object;II)Ljava/util/HashMap$Entry; (HashMap.java:591)
 34: java/util/HashMap.putImpl(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (HashMap.java:574)
 35: java/util/HashMap.putAllImpl(Ljava/util/Map;)V (HashMap.java:620)
 36: java/util/HashMap.putAll(Ljava/util/Map;)V (HashMap.java:610)
 37: org/eclipse/ui/internal/WorkbenchWindow.submitGlobalActions()V (WorkbenchWindow.java:583)
 38: org/eclipse/ui/internal/WorkbenchWindow.registerGlobalAction(Lorg/eclipse/jface/action/IAction;)V
(WorkbenchWindow.java:558)
 39: org/eclipse/ui/internal/WorkbenchWindowConfigurer$WindowActionBarConfigurer.registerGlobalAction(Lorg/eclipse/jface/action/IAction;)V
(WorkbenchWindowConfigurer.java:230)
 40: org/eclipse/ui/application/ActionBarAdvisor.register(Lorg/eclipse/jface/action/IAction;)V
(ActionBarAdvisor.java:190)
 41: org/eclipse/ui/internal/ide/WorkbenchActionBuilder.makeActions(Lorg/eclipse/ui/IWorkbenchWindow;)V
(WorkbenchActionBuilder.java:1095)
 42: org/eclipse/ui/application/ActionBarAdvisor.fillActionBars(I)V (ActionBarAdvisor.java:147)
 43: org/eclipse/ui/internal/ide/WorkbenchActionBuilder.fillActionBars(I)V (WorkbenchActionBuilder.java:360)
 44: org/eclipse/ui/internal/WorkbenchWindow.fillActionBars(I)V (WorkbenchWindow.java:3294)
 45: org/eclipse/ui/internal/WorkbenchWindow.<init>(I)V (WorkbenchWindow.java:380)
 46: org/eclipse/ui/internal/Workbench.newWorkbenchWindow()Lorg/eclipse/ui/internal/WorkbenchWindow;
(Workbench.java:1725)
 47: org/eclipse/ui/internal/Workbench.access$14(Lorg/eclipse/ui/internal/Workbench;)Lorg/eclipse/ui/internal/WorkbenchWindow;
(Workbench.java:1724)
 48: org/eclipse/ui/internal/Workbench$18.runWithException()V (Workbench.java:1001)
 49: org/eclipse/ui/internal/StartupThreading$StartupRunnable.run()V (StartupThreading.java:31)
 50: org/eclipse/swt/widgets/RunnableLock.run()V (RunnableLock.java:35)
 51: org/eclipse/swt/widgets/Synchronizer.runAsyncMessages(Z)Z (Synchronizer.java:123)
 52: org/eclipse/swt/widgets/Display.runAsyncMessages(Z)Z (Display.java:3296)
 53: org/eclipse/swt/widgets/Display.readAndDispatch()Z (Display.java:2974)
 54: org/eclipse/ui/application/WorkbenchAdvisor.openWindows()Z (WorkbenchAdvisor.java:797)
 55: org/eclipse/ui/internal/Workbench$25.runWithException()V (Workbench.java:1342)
 56: org/eclipse/ui/internal/StartupThreading$StartupRunnable.run()V (StartupThreading.java:31)
 57: org/eclipse/swt/widgets/Synchronizer.syncExec(Ljava/lang/Runnable;)V (Synchronizer.java:152)
 58: org/eclipse/ui/internal/UISynchronizer.syncExec(Ljava/lang/Runnable;)V (UISynchronizer.java:118)
 59: org/eclipse/swt/widgets/Display.syncExec(Ljava/lang/Runnable;)V (Display.java:3897)
 60: org/eclipse/ui/internal/StartupThreading.runWithoutExceptions(Lorg/eclipse/ui/internal/StartupThreading$StartupRunnable;)V
(StartupThreading.java:94)
 61: org/eclipse/ui/internal/Workbench.init()Z (Workbench.java:1337)
 62: org/eclipse/ui/internal/Workbench.runUI()I (Workbench.java:2319)
 63: org/eclipse/ui/internal/Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I (Workbench.java:2219)
 64: org/eclipse/ui/internal/Workbench$4.run()V (Workbench.java:466)
 65: org/eclipse/core/databinding/observable/Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V
(Realm.java:289)
 66: org/eclipse/ui/internal/Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I
(Workbench.java:461)
 67: org/eclipse/ui/PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I
(PlatformUI.java:149)
 68: org/eclipse/ui/internal/ide/application/IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;
(IDEApplication.java:106)
 69: org/eclipse/pde/internal/junit/runtime/UITestApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;
(UITestApplication.java:52)
 70: org/eclipse/equinox/internal/app/EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppHandle.java:153)
 71: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:106)
 72: org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseAppLauncher.java:76)
 73: org/eclipse/core/runtime/adaptor/EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;
(EclipseStarter.java:363)
 74: ?? (??:-1)
 75: JIT_execute_method_default (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:357)
 76: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/em/src/DrlEMImpl.cpp:521)
 77: ExecuteMethod (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/em/src/em_intf.cpp:44)
 78: vm_execute_java_method_array (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jit/ini.cpp:67)
 79: CallStaticObjectMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jni/jni_method.cpp:1206)
 80: org/eclipse/core/runtime/adaptor/EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
(EclipseStarter.java:176)
 81: 0x00002AAABF16CD45  <Generated stub>
 82: ?? (??:-1)
 83: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:317)
 84: org/eclipse/equinox/launcher/Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V
(Main.java:504)
 85: org/eclipse/equinox/launcher/Main.basicRun([Ljava/lang/String;)V (Main.java:443)
 86: org/eclipse/equinox/launcher/Main.run([Ljava/lang/String;)I (Main.java:1169)
 87: ?? (??:-1)
 88: JIT_execute_method_default (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:350)
 89: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/em/src/DrlEMImpl.cpp:521)
 90: ExecuteMethod (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/em/src/em_intf.cpp:44)
 91: vm_execute_java_method_array (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jit/ini.cpp:67)
 92: call_static_method_no_ref_result (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jni/jni_method.cpp:1158)
 93: CallStaticVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jni/jni_method.cpp:1566)
 94: CallStaticVoidMethodV(JNIEnv_External*, _jobject*, _jmethodID*, __va_list_tag*) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jni/jni_method.cpp:1550)
 95: CallStaticVoidMethod(JNIEnv_External*, _jobject*, _jmethodID*, ...) (/nfs/site/proj/drl/mrt1/users/ppervov/harmony-fed/working_vm/vm/vmcore/src/jni/jni_method.cpp:1540)
 96: main_runJavaMain (../shared/main.c:1341)
 97: invocation (../shared/main.c:744)
 98: gpProtectedMain (../shared/main.c:393)
 99: main (../shared/cmain.c:146)

The failure happens when enumerating frame 45.

> [drlvm][jit][jet][EUT] An attempt to debug EUT suite as JUnit plug-in leads to assertion.
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5326
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5326
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>
> Assertion happened during stack enumeration. One of the roots reported are out of the
Java heap. It looks like minor dword of 64-bit reference is spoiled.
> For reproduction instruction see HARMONY-5303. The only difference is that instead of
"Run as..." select "Debug as..."

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