You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Xiao-Feng Li (JIRA)" <ji...@apache.org> on 2007/05/23 15:38:16 UTC

[jira] Assigned: (HARMONY-3941) [drlvm][gc_gen] EUT suite 'ui' crashes during stress test execution when gc_gen is used with Out of Memory

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

Xiao-Feng Li reassigned HARMONY-3941:
-------------------------------------

    Assignee: Xiao-Feng Li

> [drlvm][gc_gen] EUT suite 'ui' crashes during stress test execution when gc_gen is used with Out of Memory
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3941
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3941
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows XP/2003 (ia32) Linux SLES9 (ia32)
>            Reporter: Nina Rinskaya
>         Assigned To: Xiao-Feng Li
>         Attachments: stacktrace_linux.txt
>
>
> EUT suite 'ui' crashes (intermittently, but very often, ~9 times out of 10 runs) during stress testcase (org.eclipse.ui.tests.operations.WorkbenchOperationStressTests.test115761) execution when gc_gen is used with one of the following outputs:
> Windows:
> -----------------------------------
>      [java] Assertion failed: hythread_is_suspend_enabled(), file C:\labdrl_qa\CC-BT2.0
> \build\checkouts\drlvm\vm\vmcore\src\jni\jni.cpp, line 1568
>      This application has requested the Runtime to terminate it in an unusual way.
>      This application has requested the Runtime to terminate it in an unusual way.
>      Please contact the application's support team for more information.
>      Please contact the application's support team for more information.
>      Out of Memory!
> -----------------------------------
> or just:
> -----------------------------------
> Out of Memory!
> -----------------------------------
> Linux (please find full log attached):
> -----------------------------------
>      [exec]      [java] java: 
> /export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/gen/gen.cpp:414: void 
> gc_gen_reclaim_heap(GC_Gen*):
>  Assertion `0' failed.
>      [exec]      [java] Out of Memory!
>      [exec]      [java] SIGABRT in VM code.
>      [exec]      [java] Stack trace:
>      [exec]      [java]   0: ?? (??:-1)
>      [exec]      [java]   1: abort (??:-1)
>      [exec]      [java]   2: __assert_fail (??:-1)
>      [exec]      [java]   3: gc_gen_reclaim_heap(GC_Gen*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/gen/gen.cpp:418)
>      [exec]      [java]   4: gc_reclaim_heap(GC*, unsigned int) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/common/gc_common
> .cpp:297)
>      [exec]      [java]   5: fspace_alloc(unsigned int, Allocator*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/trace_forwar
> d/fspace_alloc.cpp:66)
>      [exec]      [java]   6: nos_alloc(unsigned int, Allocator*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/gen/gen.cpp:267
> )
>      [exec]      [java]   7: gc_alloc 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/gc_gen/src/thread/mutator_alloc.cpp:79)
>      [exec]      [java]   8: vm_new_vector_using_vtable_and_thread_pointer(int, unsigned int, void*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/work
> ing_vm/vm/vmcore/src/object/vm_arrays.cpp:217)
>      [exec]      [java]   9: vm_rt_new_vector_using_vtable_and_thread_pointer(int, unsigned int, void*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/w
> orking_vm/vm/vmcore/src/jit/jit_runtime_support.cpp:112)
>      [exec]      [java]  10: 0x41A58A35  <Generated stub>
>      [exec]      [java]  11: ?? (??:-1)
>      [exec]      [java]  12: java/lang/String.getBytes()[B (String.java:-1)
>      [exec]      [java]  13: java/io/PrintStream.print(Ljava/lang/String;)V (PrintStream.java:481)
>      [exec]      [java]  14: java/io/PrintStream.println(Ljava/lang/String;)V (PrintStream.java:-1)
>      [exec]      [java]  15: vm_invoke_native_array_stub 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/vmcore/src/util/ia32/base/invoke_n
> ative_stub_ia32.asm:41)
>      [exec]      [java]  16: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/
> vm/vmcore/src/util/ia32/base/ini_iA32.cpp:199)
>      [exec]      [java]  17: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/em/src
> /DrlEMImpl.cpp:509)
>      [exec]      [java]  18: ExecuteMethod 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/em/src/em_intf.cpp:43)
>      [exec]      [java]  19: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/vm
> core/src/jit/ini.cpp:60)
>      [exec]      [java]  20: call_method_no_ref_result 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/vmcore/src/jni/jni_method.cpp:187)
>      [exec]      [java]  21: CallVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_v
> m/vm/vmcore/src/jni/jni_method.cpp:225)
>      [exec]      [java]  22: invoke_primitive_method 
> (/export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/vmcore/src/kernel_classes/native/java_
> lang_reflect_VMReflection.cpp:186)
>      [exec]      [java]  23: org/eclipse/ui/tests/operations/WorkbenchOperationStressTests.test115761()V 
> (WorkbenchOperationStressTests.java:63)
>      [exec]      [java]  24: 0x6E7A7A43  <Generated stub>
>      [exec]      [java]  25: ?? (??:-1)
> ...
> -----------------------------------
> The issue was never reproduced when running the same test suite with -XX:gc_cc.dll.
> Steps to reproduce: 
> * Download archive from https://issues.apache.org/jira/browse/HARMONY-3556, unpack it to $work.dir
> * Change directory to $work.dir/tests/eut, update eut.properties file with appropriate values (set test.jre.home to Harmony jre location, vm.options to "-Xmx700m -showversion"). 
> * Make sure that PATH environment variable contains JRE 1.5 (use RI) and Apache
> Ant (version >=1.6.5), and that JAVA_HOME and ANT_HOME are properly set up. Make
> sure that 'unzip' tool can also be found in your PATH.
> * If you use proxy server,
> specify proxy settings by setting ANT_OPTS environment variable:
> Windows:
>     set ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"
> Linux:
>     export ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"
> * For Linux only: make sure that X server is up and running and set $DISPLAY
> environment variable to the appropriate value.
> Run: 
> ant setup
> ant -Dtests="ui" | tee log
> When execution is complete, go through log file and consider the part of the log between lines 
>      [exec]      [echo] Running org.eclipse.ui.tests.UiTestSuite
> and
>      [exec]      [echo] Running org.eclipse.jface.tests.AllTests
> Reproduced on: 
> svn = r540603, (May 22 2007), Windows/ia32/msvc 1310, debug build
> svn = r540593, (May 22 2007), Linux/ia32/gcc 3.3.3, debug build
> Please let me know if you have any troubles reproducing the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.