openjdk-6 fatal error (VM_Version::supports_cmov()) failed: illegal instruction

Bug #735600 reported by Chris Bainbridge
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using openjdk 6b20-1.9.7-0ubuntu1~10.04.1 (current version in 10.04.2 LTS)

# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 7
model name : VIA Samuel 2
stepping : 3
cpu MHz : 550.000
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow up
bogomips : 1100.03
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual

(This CPU lacks instructions cx8 cmov)

~# /usr/lib/jvm/java-6-openjdk/jre/bin/java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_x86.cpp:1042), pid=8735, tid=3077495664
# guarantee(VM_Version::supports_cmov()) failed: illegal instruction
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.7-0ubuntu1~10.04.1
# An error report file with more information is saved as:
# /home/guest/hs_err_pid8735.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
Aborted

Revision history for this message
D Cox (dmz01-spirail) wrote :

Im getting the same thing.

I dont know if they have tested that this actually works.

Revision history for this message
Shahram A (shahram-a-deactivatedaccount) wrote :

openjdk-6-jre fatal error

I have had similar problem, I am enclosing one of the log reports in my home folder of this error

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
Peter Belew (peterbe) wrote :

I have 10.04.3 LTS installed in an AMD-K6 system, as follows:

Ubuntu version and kernel version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"
Linux max 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 15:27:15 UTC 2011 i586 GNU/Linux
model name : AMD-K6(tm) 3D processor
cpu MHz : 400.895

The problem is that the JRE has been compiled for 686 cpus only, that have the CMOV instruction.

I have attached the error log from my AMD-K6 system.

Revision history for this message
Peter Belew (peterbe) wrote :

#4 is with JRE version: 6.0_20-b20 and Ubuntu 10.04.3 LTS

Revision history for this message
Peter Belew (peterbe) wrote :

I expect that this bug should also affect my VIA C3 (Samuel 2) systems but they have Debian Lenny installed. I was able to install the same (except for version) JDK and JRE modules in them, so those are still being compiled for 586 on Debian.

Revision history for this message
Peter Belew (peterbe) wrote :

I installed Lubuntu 10.04 on a system with a VIA C3 cpu

Linux distro/version and kernel version
Ubuntu 10.04.3 LTS
Linux trippy 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 15:27:15 UTC 2011 i686 GNU/Linux
vendor_id : CentaurHauls
model name : VIA Samuel 2
cpu MHz : 798.000

On this system, I also get many (total 673!) errors due to the lack of a CMOV instruction, when trying to install or update jdk or jre modules. I've enclosed a typical error log file.

The problem is the same on the VIA and the AMD K6 CPU's: this code was built for a 686, not a 586. Ubuntu 10.04 LTS was the last release which supported these processors. The code should have been built to 10.04 standards: allowing lack of CMOV.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.