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

JVM Crash in # Problematic frame: # J 569 C2 java.lang.Long.getChars(JI[C)V (221 bytes) @ 0x00007fb9b618dfd8 [0x00007fb9b618dc40+0x398]

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :
      # JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)

      A DESCRIPTION OF THE PROBLEM :
      The problem described in https://bugs.openjdk.java.net/browse/JDK-8144565 occurs rarely in 1.7.0_79-b15 .

      https://bugs.openjdk.java.net/browse/JDK-8144565 was closed as a duplicate of 6997311

      Three reasons while I think that issue is not a dupe and should be re-opened:
          * 6997311 is much older and is supposedly fixed in the version that the problem is reported with in 8144565.
          * 6997311 is fixed in 1.7.0_79-b15 where I see the issue.
          * 6997311 was a SIGFPE, 8144565 is a SIGSEGV .

      I see the issue occur in code which concatenates a string with a primitive long. So the compiler will be doing a StringBuffer.append(long) in this instance rather than a toString() as in 8144565 , but both methods call through to getChars which can fail.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      It's super-rare. Unable to reproduce.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      See https://bugs.openjdk.java.net/browse/JDK-8144565

      REPRODUCIBILITY :
      This bug can be reproduced rarely.

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: