Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2070

[drlvm][thread] Unhandled exception in java.exe while java.util.jar module tests execution


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
    • Environment:
      WIN XP, msvc, debug


      While execution tests for archive module:

      ant -Dtest.jre.home=<PATH TO win_ia32_msvc_release/deploy/jre> -Dbuild.module=archive

      runtime sporadically terminates (1 time out of ~4) with one of errors:

      1. java.exe - Application error

      When debugging the message and stack are available:

      Unhandled exception at 0x7c964ed1 in java.exe: 0xC0000008: An invalid HANDLE was specified.

      address :7c964ed1 < it points to leave>

      7C964EA8 nop
      7C964EA9 nop
      7C964EAA nop
      7C964EAB mov edi,edi
      7C964EAD push ebp
      7C964EAE mov ebp,esp
      7C964EB0 sub esp,50h
      7C964EB3 mov eax,dword ptr [ebp+8]
      7C964EB6 and dword ptr [ebp-48h],0
      7C964EBA and dword ptr [ebp-40h],0
      7C964EBE mov dword ptr [ebp-50h],eax
      7C964EC1 lea eax,[ebp-50h]
      7C964EC4 push eax
      7C964EC5 mov dword ptr [ebp-4Ch],1
      7C964ECC call 7C90EBAC
      7C964ED1 leave
      7C964ED2 ret 4
      7C964ED5 nop
      7C964ED6 nop
      7C964ED7 nop
      7C964ED8 nop
      7C964ED9 nop
      7C964EDA mov edi,edi
      7C964EDC push ebp
      7C964EDD mov ebp,esp
      7C964EDF push ebx
      7C964EE0 push esi
      7C964EE1 mov esi,dword ptr [ebp+8]
      7C964EE4 mov eax,dword ptr [esi]
      7C964EE6 imul eax,eax,7FFFFFEDh
      7C964EEC push edi
      7C964EED mov ecx,7FFFFFC3h
      7C964EF2 add eax,ecx
      7C964EF4 mov edi,7FFFFFFFh
      7C964EF9 xor edx,edx
      7C964EFB mov ebx,edi
      7C964EFD div eax,ebx
      7C964EFF mov ebx,edx
      7C964F01 mov eax,edx
      7C964F03 imul eax,eax,7FFFFFEDh
      7C964F09 add eax,ecx
      7C964F0B xor edx,edx
      7C964F0D div eax,edi
      7C964F0F pop edi

      2. sometimes it fails with

      [junit] FinalizerThread: FinalizerThread terminated by java.lang.InternalErr
      or: Thread Manager internal error 720006
      [junit] Uncaught exception in FinalizerThread:
      [junit] java.lang.RuntimeException: FinalizerThread interrupted
      [junit] at java.lang.FinalizerThread.run(Unknown Source)
      [junit] Caused by: java.lang.InternalError: Thread Manager internal error 72
      [junit] at java.lang.Object.notify(Unknown Source)
      [junit] ... 1 more

      see also http://issues.apache.org/jira/browse/HARMONY-1845

      3. or just hangs

      Unfortunally I was not managed to reproduce the situation with short reproducer.
      I've run only java.util.jar tests, other - excluded:
      <exclude name="org/apache/harmony/archive/tests/internal/pack200/*.java" />
      <exclude name="org/apache/harmony/archive/tests/java/util/zip/*.java" />




            • Assignee:
              gshimansky Gregory Shimansky
              tatyana.v.doubtsova@intel.com tatyana doubtsova
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: