Harmony
  1. Harmony
  2. HARMONY-2307

[drlvm][security] org.apache.harmony.security.tests.x509.PolicyQualifierInfoTest crashes VM (intermittent)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      SUSE 9, gcc, debug

      Description

      Running security module tests in perTest mode iteratively 50 times on SUSE9 on svn = r478052, I revealed the intermittent crash (2 times out of 50) while org.apache.harmony.security.tests.x509.PolicyQualifierInfoTest execution:
      [junit] java: /export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/class_support/Initialize.cpp:92: void Class::initial
      [junit] SIGABRT in VM code.
      [junit] Stack trace:
      [junit] 1: ?? (??:-1)
      [junit] 2: abort (??:-1)
      [junit] 3: __assert_fail (??:-1)
      [junit] 4: Class::initialize() (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/class_support/Initialize.cpp:9
      [junit] 5: class_initialize_ex(Class*) (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/class_support/Initiali
      [junit] 6: compile_do_compilation (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:755)
      [junit] 7: compile_jit_a_method(Method*) (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:840)
      [junit] 8: IP is 0x410E6172 <native code>
      [junit] 9: org/apache/harmony/security/asn1/ASN1Type.decode([B)Ljava/lang/Object; (ASN1Type.java:98)
      [junit] 10: org/apache/harmony/security/tests/x509/PolicyQualifierInfoTest$TestWorker1.run()V (PolicyQualifierInfoTest.
      [junit] 11: java/lang/Thread.runImpl()V (??:-1)
      [junit] 12: vm_invoke_native_array_stub (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/util/ia32/base/invoke
      [junit] 13: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/export/users/tdoubtso/harmony/drlvm/trun
      [junit] 14: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/export/users/tdoubtso/harmony/drlvm/trunk/vm/em/s
      [junit] 15: ExecuteMethod (/export/users/tdoubtso/harmony/drlvm/trunk/vm/em/src/em_intf.cpp:43)
      [junit] 16: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/export/users/tdoubtso/harmony/drlvm/trunk/vm/
      [junit] 17: call_method_no_ref_result (/export/users/tdoubtso/harmony/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:184)
      [junit] 18: CallVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/export/users/tdoubtso/harmony/drlvm/tr
      [junit] 19: wrapper_proc (/export/users/tdoubtso/harmony/drlvm/trunk/vm/thread/src/thread_java_basic.c:101)
      [junit] 20: thread_start_proc (/export/users/tdoubtso/harmony/drlvm/trunk/vm/thread/src/thread_native_basic.c:714)
      [junit] 21: dummy_worker (threadproc/unix/thread.c:139)
      [junit] 22: start_thread (??:-1)
      [junit] 23: clone (??:-1)
      [junit] <end of stack trace>
      [junit] Test org.apache.harmony.security.tests.x509.PolicyQualifierInfoTest FAILED

      This test sometimes hangs on Win XP, see http://issues.apache.org/jira/browse/HARMONY-2284, case 4).

        Issue Links

          Activity

          Hide
          Gregory Shimansky added a comment -

          Closing as duplicate of HARMONY-2248.

          Show
          Gregory Shimansky added a comment - Closing as duplicate of HARMONY-2248 .
          Hide
          Pavel Rebriy added a comment -

          Patch for the issue is attached to H-2248

          Show
          Pavel Rebriy added a comment - Patch for the issue is attached to H-2248

            People

            • Assignee:
              Unassigned
              Reporter:
              tatyana doubtsova
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development