Activity log for bug #1044857

Date Who What changed Old value New value Message
2012-09-01 23:33:59 Marc Madaule bug added bug
2012-09-01 23:38:02 Marc Madaule bug added subscriber OpenJDK
2012-09-02 08:35:03 Marc Madaule description Some sines values are wrong in java. Using latest Ubuntu (12.04.1 32bits) and latest OpenJDK 7 (7~u3-2.1.1~pre1-1ubuntu3), I get wrong sine values with "server" VM. When using "cacao" VM, the results are correct. Correct value is also returned when using Oracle JRE on the same machine and on the .class generated by OpenJDK. No tests done in 64bits. Steps to produce : 1/ Install Ubuntu 12.04.1 32bits, check 'upgrade' during install. 2/ Install OpenJDK 7 sudo apt-get install openjdk-7-jdk 3/ create file Test.java with the following content : public class Test { public static void main(String[] args) { System.out.println("" + Math.sin(1700000)); } } 4/ compile Test.java to Test.class javac Test.java 5/ run Test with server VM java -server Test It prints out a wrong answer : 1.6099231170917123E-29 5/ run Test with cacao VM java -cacao Test It prints out the right answer: 0.5711113510481804 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: openjdk-7-jdk 7~u3-2.1.1~pre1-1ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24 Uname: Linux 3.2.0-29-generic-pae i686 ApportVersion: 2.0.1-0ubuntu12 Architecture: i386 Date: Sun Sep 2 01:03:54 2012 InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: openjdk-7 UpgradeStatus: No upgrade log present (probably fresh install) Some sines values are wrong in java. Using latest Ubuntu (12.04.1 32bits) and latest OpenJDK 7 (7~u3-2.1.1~pre1-1ubuntu3), I get wrong sine values with "server" VM. When using "cacao" VM, the results are correct. Correct value is also returned when using Oracle JRE on the same machine and on the .class generated by OpenJDK. No tests done in 64bits. I'm posting this bug report from a vmware virtual machine, but this bug has been spotted on multiple non-virtual computers. In some cases, instead of returning a wrong value the JVM crashes. (see example here www.java-forum.org/allgemeine-java-themen/140418-java-vm-crash-math-sin-double.html) Steps to produce : 1/ Install Ubuntu 12.04.1 32bits, check 'upgrade' during install. 2/ Install OpenJDK 7 sudo apt-get install openjdk-7-jdk 3/ create file Test.java with the following content : public class Test {    public static void main(String[] args) {       System.out.println("" + Math.sin(1700000));    } } 4/ compile Test.java to Test.class javac Test.java 5/ run Test with server VM java -server Test It prints out a wrong answer : 1.6099231170917123E-29 5/ run Test with cacao VM java -cacao Test It prints out the right answer: 0.5711113510481804 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: openjdk-7-jdk 7~u3-2.1.1~pre1-1ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24 Uname: Linux 3.2.0-29-generic-pae i686 ApportVersion: 2.0.1-0ubuntu12 Architecture: i386 Date: Sun Sep 2 01:03:54 2012 InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3) ProcEnviron:  TERM=xterm  PATH=(custom, no user)  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: openjdk-7 UpgradeStatus: No upgrade log present (probably fresh install)
2012-09-02 09:10:16 Damien Raude-Morvan bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678228
2012-09-02 09:10:16 Damien Raude-Morvan bug task added openjdk
2012-09-02 09:45:40 Bug Watch Updater openjdk: status Unknown Fix Released
2012-09-03 14:38:43 Matthias Klose openjdk-7 (Ubuntu): status New Fix Released
2012-09-03 14:39:19 Matthias Klose nominated for series Ubuntu Precise
2012-09-03 14:39:19 Matthias Klose bug task added openjdk-7 (Ubuntu Precise)
2012-09-03 14:39:33 Matthias Klose openjdk-7 (Ubuntu Precise): importance Undecided Medium
2012-09-03 14:39:33 Matthias Klose openjdk-7 (Ubuntu Precise): status New In Progress
2012-09-03 14:40:39 Matthias Klose openjdk-7 (Ubuntu Precise): milestone precise-updates
2012-09-11 20:52:09 Launchpad Janitor openjdk-7 (Ubuntu Precise): status In Progress Fix Released
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1711
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1713
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1716
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1717
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1718
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1719
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1723
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1724
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1725
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-1726
2012-09-11 20:52:09 Launchpad Janitor cve linked 2012-4681