Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6830713

EXCEPTION_ACCESS_VIOLATION in jvm.dll with WinRunner

XMLWordPrintable

    • x86
    • windows_xp

      Customer is using 6u14 on WindowsXP with WinRunner 9.2, with Java addin 7.6. They observe everything works fine without WinRunner. It fails with WinRunner. The error is:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d968e10, pid=512, tid=3556
      #
      # JRE version: 6.0_14-b03
      # Java VM: Java HotSpot(TM) Client VM (14.0-b12 mixed mode windows-x86 )
      # Problematic frame:
      # V [jvm.dll+0x168e10]

      They disabled plugin2. They got the same error. The results were the same on these platforms and browsers.

      platforms tested: Windows XP SP2, SP3 and all Windows Server versions
      browsers tested: Internet Explorer 8, Firefox 3

      They report the probkem is related to the environment variables set by WinRunner,
      JAVA_TOOL_OPTIONS and _JAVA_OPTIONS. Here are their values.

      JAVA_TOOL_OPTIONS=-agentlib:micsupp

      _JAVA_OPTIONS=-Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SharedFiles\JavaAddin\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SharedFiles\JavaAddin\classes\mic.jar

      Testing by the customer shows WinRunner

      fails 6u10+ with plugin2
      fails 6u10+ with default plugin

      works with 5.0
      works 6u10+ with plugin2 after unsetting WinRunner's environment variables
      works 6u10+ with default after unsetting WinRunner's environment variables

      They asked why does setting WinRunner's environment variables cause EXCEPTION_ACCESS_VIOLATIONs with 6u10 and later releases. A hs-err is attached.
      The customer report they get EXCEPTION_ACCESS_VIOLATION with WinRunner 9.2 under the following conditions.

      * 6u10 with plugin2 enabled
      * 6u10 with plugin2 disabled
      * 6u14 with plugin2 enabled
      * 6u14 with plugin2 disabled

      Further, the customer reports they have the same problem with the Java Control Panel.

      They tried following our trouble-shooting advice. Setting the environment variables at the end of that PATH variable as c:\winrunner9.2\arch did not make any difference. They have the same problem.

      They downloaded userdump and set the environment variables in the Java Control Panel. It crashed.
      The attached log, hs_err_pid4540.log, happened when trying to use userdump to collect data.

            raginip Ragini Prasad (Inactive)
            tstatt Terry Statt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: