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

JVM crash in awt!NewHandler::handler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.3.1_08
    • Fix Version/s: 1.3.1_10
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      10
    • CPU:
      x86
    • OS:
      windows_2000

      Backports

        Description

        The following crash occurs in a production environment with the 1.3.1_08 Client JVM on Windows 2000. The application uses RMI and runs within JBoss. When the app server starts up, the object is instantiated and bound to the JNDI tree. Other applications look up this RMI server to invoke its remote methods. The crash only affects the JVM which is running the RMI server. The crash occurred almost every day at one particular customer site.

        The crash dump and WinDbg output (with awt.pdb in the symbol file path) is available at /net/dtstest04.east/space/kim/822843/sakonnet_dump.dmp and windbg.txt. With -XX:+ShowMessageBoxOnError, no dialog box appears (the debugger is lauched right away) so no Java thread dump is possible. There is also no Hotspot error log generated.

        The application had a small GUI, which has been removed, and the crash does not seem to happen as often. Also, the crash does not occur when the RMI application is standalone, not running within JBoss.

        Because the problem cannot be reproduced in a development environment, troubleshooting is limited. For instance, -server and -Xint cannot be tested. There is no native code in the application. Upgrade to 1.4.x is impossible because of JBoss complications.

        A quick analysis of the crash dump from CTE showed that the problem may be due to a null JNIEnv in line 77 of awt_new.cpp.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ccheung Calvin Cheung
                Reporter:
                klevesqusunw Kim Levesque (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: