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

Crash in msvcr100.dll and msvcr120.dll (JDK 1.8.0_131, 1.8.0_152 and even 9 ea 166)

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_10

      Description

      FULL PRODUCT VERSION :
      The tests have been performed with 3 different JDK's:
      - 1.8.0_131
      - 1.8.0_152
      - 9 ea 166

      FULL OS VERSION :
      Microsoft Windows [Version 10.0.15063]
      Windows Professional 64 bits

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      My Windows is freshly installed. In addition to the latest OS (and its updates), I re-installed Office 2016 and a few tools (WinRAR, Chrome, Firefox, VMWare, JDK).

      A DESCRIPTION OF THE PROBLEM :
      I faced a crash runtime with NetBeans. After googling, I found that post (https://bugs.openjdk.java.net/browse/JDK-8170517) stating the same issue.

      The crash is raised when the code "new JFileChooser(s)" is called.

      However, I also installed the same version of Windows in a VM as well as JDK 1.8.0_131.
      The sample code (see below) works fine.

      Any idea?

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just compile and run the sample code (see below)


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The below sample Java code should run without crashing.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      [1] Point break
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005d6e6adf, pid=6112, tid=0x00000000000008e8
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C [msvcr100.dll+0x36adf]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      # D:\SRC\hs_err_pid6112.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;

      public class Test extends JFrame {

      private String s;

      public static void main(String args[]) {
      try{
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      } catch(Exception e){
      e.printStackTrace();
      return;
      }
      String s = null;
      System.out.println("[1] Point break");
      JFileChooser chooser = new JFileChooser(s);
      System.out.println("[2] Point break");
      }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround found

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmatte Fairoz Matte
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: