← Back to team overview

openjdk team mailing list archive

[Bug 1023132] [NEW] JVM crash in simple numerical computation

 

Public bug reported:

A simple numerical calculation reliably leads to a JVM crash. This is on
Kubuntu 11.10 and java version "1.6.0_23", OpenJDK Runtime Environment
(IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2), OpenJDK 64-Bit Server
VM (build 20.0-b11, mixed mode).

Changing various, seemingly superficial aspects of the test case makes
the crash go away so it appears to be due to just the right combination
of factors . For example, changing the ternary operator in the test case
"denom != 0 ? num / denom : 0" to just "num / denom" eliminates the
crash.

I have attached a self-contained test case - to run, pass the
"crash"file to Java's standard input. This bug occurs every time I run
the test case. I have also attached a crash report. Please let me know
if there's any other information I should provide.

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1023132

Title:
  JVM crash in simple numerical computation

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  A simple numerical calculation reliably leads to a JVM crash. This is
  on Kubuntu 11.10 and java version "1.6.0_23", OpenJDK Runtime
  Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2), OpenJDK
  64-Bit Server VM (build 20.0-b11, mixed mode).

  Changing various, seemingly superficial aspects of the test case makes
  the crash go away so it appears to be due to just the right
  combination of factors . For example, changing the ternary operator in
  the test case "denom != 0 ? num / denom : 0" to just "num / denom"
  eliminates the crash.

  I have attached a self-contained test case - to run, pass the
  "crash"file to Java's standard input. This bug occurs every time I run
  the test case. I have also attached a crash report. Please let me know
  if there's any other information I should provide.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1023132/+subscriptions


Follow ups

References