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
| 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-
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-
ProcVersionSign
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
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-
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: java-common
UpgradeStatus: No upgrade log present (probably fresh install)

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.