All versions of the JRE doesn't intall properly, all of them result in java using 100% CPU without exucuting code contained in jar file

Bug #2012837 reported by Paul
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-common (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

To reproduce:
1 - Install Ubuntu 22.04 in a KVM virtual machine (can be minimized or not, failed with both)
2 - sudo apt install default-jre-headless

The install doesn't complete because cleanup of jar file used in hooks. Will hang at 100% CPU usage on a single core until killall java -9

Running any jar results in the same behavior, maximum usage on one thread, until killed.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: default-jre-headless 2:1.11-72build2
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Mar 26 21:57:49 2023
InstallationDate: Installed on 2023-03-26 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: java-common
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul (pcserra) wrote :
Revision history for this message
Paul (pcserra) wrote :

It was a VM configuration issue. CPU virtualization extensions were disabled, and so was kvm, it was actually ruining qemu as hypervisor. The OS was a little sluggish, but java was so catastrophically affected that it failed to make it to a single print statement. Quite funny that a whole collection of entire operating systems were working OK but not java.

Changed in java-common (Ubuntu):
status: New → Invalid
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Oh, that gave me a real scare =)
Thank you for figuring this out!!!!

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.