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

REGRESSION: JVM/java process crashes while running SwingSet2

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta3
    • CPU:
      generic, x86
    • OS:
      generic, windows_98, windows_2000, windows_xp
    • Verification:
      Verified

      Description



      Name: rmT116609 Date: 08/17/2001


      1.4.0-beta2-b76 mixed mode

      1. Started SwingSet2 (java -jar SwingSet2.jar)
      2. Switched to Windows Look and Feel
          ( Look and Feel Menu -> Windows Style ... )
      3. Pressed F10 to activate the menu bar
      4. Pressed up, down, right and left arrows rapidly to search through
         menus.

      The application disappeared, and I received the following log file:


      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D374F8B
      Function=JNI_GetCreatedJavaVMs+0xD41B
      Library=d:\temp\j2sdk1.4.0\jre\bin\client\jvm.dll

      Current Java thread:
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(WToolkit.java:222)
      at java.lang.Thread.run(Thread.java:539)

      Dynamic libraries:
      0x00400000 - 0x00406000 d:\temp\j2sdk1.4.0\jre\bin\java.exe
      0x77F80000 - 0x77FF9000 D:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0A000 D:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F36000 D:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DAF000 D:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 D:\WINNT\system32\MSVCRT.dll
      0x6D330000 - 0x6D446000 d:\temp\j2sdk1.4.0\jre\bin\client\jvm.dll
      0x77E10000 - 0x77E75000 D:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 D:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 D:\WINNT\System32\WINMM.dll
      0x75E60000 - 0x75E7A000 D:\WINNT\System32\IMM32.DLL
      0x6D1D0000 - 0x6D1D7000 d:\temp\j2sdk1.4.0\jre\bin\hpi.dll
      0x6D300000 - 0x6D30D000 d:\temp\j2sdk1.4.0\jre\bin\verify.dll
      0x6D210000 - 0x6D227000 d:\temp\j2sdk1.4.0\jre\bin\java.dll
      0x6D320000 - 0x6D32D000 d:\temp\j2sdk1.4.0\jre\bin\zip.dll
      0x6D000000 - 0x6D0F1000 D:\Temp\j2sdk1.4.0\jre\bin\awt.dll
      0x77800000 - 0x7781D000 D:\WINNT\System32\WINSPOOL.DRV
      0x77A50000 - 0x77B45000 D:\WINNT\system32\ole32.dll
      0x6D180000 - 0x6D1D0000 D:\Temp\j2sdk1.4.0\jre\bin\fontmanager.dll
      0x6D2E0000 - 0x6D2E7000 D:\Temp\j2sdk1.4.0\jre\bin\nio.dll
      0x75030000 - 0x75044000 D:\WINNT\System32\WS2_32.dll
      0x75020000 - 0x75028000 D:\WINNT\System32\WS2HELP.DLL
      0x6D2D0000 - 0x6D2DE000 D:\Temp\j2sdk1.4.0\jre\bin\net.dll
      0x75050000 - 0x75058000 D:\WINNT\System32\WSOCK32.dll
      0x72800000 - 0x72846000 D:\WINNT\System32\DDRAW.dll
      0x728A0000 - 0x728A6000 D:\WINNT\System32\DCIMAN32.dll
      0x08E40000 - 0x08F04000 D:\WINNT\System32\mxicd.dll
      0x6E420000 - 0x6E426000 D:\WINNT\System32\INDICDLL.dll
      0x20420000 - 0x2042B000 D:\WINNT\TRAYHOOK.dll
      0x775A0000 - 0x777E0000 D:\WINNT\system32\SHELL32.dll
      0x70BD0000 - 0x70C1C000 D:\WINNT\system32\SHLWAPI.DLL
      0x71700000 - 0x7178A000 D:\WINNT\system32\COMCTL32.DLL
      0x6D280000 - 0x6D29E000 D:\Temp\j2sdk1.4.0\jre\bin\jpeg.dll
      0x30000000 - 0x30016000 D:\Program Files\Iomega\DriveIcons\IMGHOOK.DLL
      0x1C000000 - 0x1C009000 D:\PROGRA~1\Netscape\COMMUN~1.51
      \Program\AIM\idlemon.dll
      0x77920000 - 0x77942000 D:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 D:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 D:\WINNT\System32\PSAPI.DLL

      Local Time = Thu Aug 16 10:17:50 2001
      Elapsed Time = 539
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002D7
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b76 mixed mode)
      #
      (Review ID: 130165)
      ======================================================================

      Name: rmT116609 Date: 08/28/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      While running the SwingSet2demo, I was on the OptionPane Demo, and was switching
      back and forth from Windows Look and feel and Java look and feel while clicking
      on several of the buttons that load the option panes. Then the VM crashed and I
      got a Client-side Hotspot error:

      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D374F8B
      Function=JNI_GetCreatedJavaVMs+0xD41B
      Library=d:\jdks\jdk1.4beta2\jre\bin\client\jvm.dll

      Current Java thread:
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(WToolkit.java:222)
              at java.lang.Thread.run(Thread.java:539)

      Dynamic libraries:
      0x00400000 - 0x00406000 d:\jdks\jdk1.4beta2\bin\java.exe
      0x77F80000 - 0x77FFB000 C:\WIN2K\System32\ntdll.dll
      0x77DB0000 - 0x77E0B000 C:\WIN2K\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 C:\WIN2K\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 C:\WIN2K\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WIN2K\system32\MSVCRT.dll
      0x6D330000 - 0x6D446000 d:\jdks\jdk1.4beta2\jre\bin\client\jvm.dll
      0x77E10000 - 0x77E74000 C:\WIN2K\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WIN2K\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WIN2K\System32\WINMM.dll
      0x6D1D0000 - 0x6D1D7000 d:\jdks\jdk1.4beta2\jre\bin\hpi.dll
      0x6D300000 - 0x6D30D000 d:\jdks\jdk1.4beta2\jre\bin\verify.dll
      0x6D210000 - 0x6D227000 d:\jdks\jdk1.4beta2\jre\bin\java.dll
      0x6D320000 - 0x6D32D000 d:\jdks\jdk1.4beta2\jre\bin\zip.dll
      0x6D000000 - 0x6D0F1000 D:\jdks\jdk1.4beta2\jre\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WIN2K\System32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WIN2K\System32\IMM32.dll
      0x77A50000 - 0x77B46000 C:\WIN2K\system32\ole32.dll
      0x6D180000 - 0x6D1D0000 D:\jdks\jdk1.4beta2\jre\bin\fontmanager.dll
      0x6D2E0000 - 0x6D2E7000 D:\jdks\jdk1.4beta2\jre\bin\nio.dll
      0x75030000 - 0x75043000 C:\WIN2K\System32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WIN2K\System32\WS2HELP.DLL
      0x6D2D0000 - 0x6D2DE000 D:\jdks\jdk1.4beta2\jre\bin\net.dll
      0x75050000 - 0x75058000 C:\WIN2K\System32\WSOCK32.dll
      0x728A0000 - 0x728A6000 C:\WIN2K\System32\DCIMAN32.dll
      0x0AE10000 - 0x0B0F0000 C:\WIN2K\System32\nvoglnt.dll
      0x61210000 - 0x6121C000 C:\Program Files\Microsoft
      Hardware\Mouse\POINT32.dll
      0x6D280000 - 0x6D29E000 D:\jdks\jdk1.4beta2\jre\bin\jpeg.dll
      0x51000000 - 0x51044000 C:\WIN2K\System32\ddraw.dll
      0x61220000 - 0x6122E000 C:\Program Files\Microsoft
      Hardware\Mouse\MSH_ZWF.dll
      0x6D130000 - 0x6D152000 D:\jdks\jdk1.4beta2\jre\bin\dcpr.dll
      0x77920000 - 0x77943000 C:\WIN2K\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WIN2K\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WIN2K\System32\PSAPI.DLL

      Local Time = Tue Aug 28 17:25:08 2001
      Elapsed Time = 125
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002D7
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b77 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1036.log.
      # Please refer to the file for further information.
      #
      (Review ID: 130856)
      ======================================================================

      Name: rmT116609 Date: 08/30/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      Unfortunately, I cannot give exact steps; however, "fiddling around" with the
      file chooser for a while seems to consistently make it crash, but it does not
      happen for any one reason, as far as I can tell.


      (Review ID: 131026)
      ======================================================================

      Name: rmT116609 Date: 08/31/2001


      C:\Steve\Programs\java>java -version
      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      This is just FYI, this bug does not affect me, I was just testing something.

      VM crashes when just using very simple test application normally. I downloaded
      merlin-beta2 because the native Windows menus sounded cool, which they were,
      and wrote a little test program but it crashed.

      First, the error, then the source code:

      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D374F8B
      Function=JNI_GetCreatedJavaVMs+0xD41B
      Library=c:\apps\jdk1.4\jre\bin\client\jvm.dll

      Current Java thread:
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(WToolkit.java:222)
      at java.lang.Thread.run(Thread.java:539)

      Dynamic libraries:
      0x00400000 - 0x00406000 c:\apps\jdk1.4\bin\java.exe
      0x77F80000 - 0x77FF9000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0A000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DAF000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D330000 - 0x6D446000 c:\apps\jdk1.4\jre\bin\client\jvm.dll
      0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x6D1D0000 - 0x6D1D7000 c:\apps\jdk1.4\jre\bin\hpi.dll
      0x6D300000 - 0x6D30D000 c:\apps\jdk1.4\jre\bin\verify.dll
      0x6D210000 - 0x6D227000 c:\apps\jdk1.4\jre\bin\java.dll
      0x6D320000 - 0x6D32D000 c:\apps\jdk1.4\jre\bin\zip.dll
      0x6D000000 - 0x6D0F1000 C:\Apps\jdk1.4\jre\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.dll
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x6D180000 - 0x6D1D0000 C:\Apps\jdk1.4\jre\bin\fontmanager.dll
      0x6D2E0000 - 0x6D2E7000 C:\Apps\jdk1.4\jre\bin\nio.dll
      0x75030000 - 0x75044000 C:\WINNT\System32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
      0x6D2D0000 - 0x6D2DE000 C:\Apps\jdk1.4\jre\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
      0x72800000 - 0x72846000 C:\WINNT\System32\DDRAW.dll
      0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
      0x69000000 - 0x6910E000 C:\WINNT\System32\ATIO2KAB.dll
      0x1C000000 - 0x1C009000 C:\Program Files\AIM95\idlemon.dll
      0x77920000 - 0x77942000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x0AB40000 - 0x0AB4B000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Thu Aug 30 22:53:16 2001
      Elapsed Time = 15
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002D7
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b77 mixed mode)
      #

      *********************************
      ***** Now, the Source:
      *********************************

      package test.swing14;

      import java.awt.*;
      import java.awt.event.*;
      import javax.swing.*;
      import javax.swing.event.*;

      public class TestFrame extends JFrame {
      public TestFrame() {
      super("Test for Swing 1.4 Windows Interface");

      JMenuBar menuBar = new JMenuBar();
      JMenu menuFile = new JMenu("File");
      JMenuItem menuFileOpen = new JMenuItem("Open");
      JMenuItem menuFileSave = new JMenuItem("Save");
      JMenuItem menuFileExit = new JMenuItem("Exit");
      menuFile.add(menuFileOpen);
      menuFile.add(menuFileSave);
      menuFile.add(menuFileExit);
      menuBar.add(menuFile);
      JMenu menuEdit = new JMenu("Edit");
      JMenuItem menuEditCopy = new JMenuItem("Copy");
      JMenuItem menuEditPaste = new JMenuItem("Paste");
      menuEdit.add(menuEditCopy);
      menuEdit.add(menuEditPaste);
      menuBar.add(menuEdit);
      setJMenuBar(menuBar);

      JPanel pane = new JPanel(new FlowLayout());
      JButton button = new JButton("Test");
      pane.add(button);

      setContentPane(pane);
      pack();
      }

      public static void main(String args[]) {
      try {
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      } catch (Exception e) { }
      TestFrame tf = new TestFrame();
      tf.show();
      tf.addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
      System.exit(0);
      }
      });
      }
      }
      (Review ID: 131091)
      ======================================================================

      Name: rmT116609 Date: 09/06/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      I am creating a JPopupMenu when the users right-clicks on a JTree. I have just changed from development using jdk1.4 beta to jdk1.4 beta 2. The problem did not seem to occur in jdk1.4 beta.


      (Review ID: 131468)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rraysunw Richard Ray (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: