canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
538 stars 94 forks source link

Installer frozen, stuck at 100% CPU every time I enter 'Your name' #2392

Open vanvugt opened 1 year ago

vanvugt commented 1 year ago

What happened?

On a Surface Laptop 4, every single time I try to install Ubuntu 23.10(.1) it freezes while I type my full name under 'Your name'.

The ubuntu_desktop_installer process is stuck at 100% CPU. It seems to be both the primary thread and the io.flutter.ui thread that are both using 100% CPU.

What was expected?

I can install Ubuntu.

Steps to reproduce

Boot Ubuntu 23.10 from USB. Seems every install option I try results in the same bug and the only common factor is the laptop (Surface Laptop 4).

Workaround

Fill in "Your computer's name" before "Your name".

vanvugt commented 1 year ago

Still happening with noble 20231124, but exactly the same USB stick installs successfully on a Lenovo and on an HP. So I think the bug is rare enough to remove the critical tag.

phjbouwhuis commented 10 months ago

I had the same issue, but installing using only essentials worked for me.

vanvugt commented 10 months ago

Still happening in noble 20240125. Looks like there's some infinite loop in how "Your name" influences "Your computer's name".

vanvugt commented 10 months ago

Hilariously, booting the installation that froze part way through gives me an unthemed blue default GNOME initial boot experience. And following it through works. I get an Ubuntu installation in the end. Minus the hostname because GNOME doesn't ask for that.

Theory: Is this what happens if the install finishes in the background so fast you haven't entered your account details yet?

vanvugt commented 10 months ago

Workaround! Just enter your computer's name before your name. There's something broken in the computer name field if you let it auto-populate (see also #2394 so maybe a buffer overrun?).

mjburling commented 8 months ago

Workaround! Just enter your computer's name before your name. There's something broken in the computer name field if you let it auto-populate (see also #2394 so maybe a buffer overrun?).

Confirming the workaround after experiencing the very same things on my Surface Laptop 3 😉. Thanks!

vanvugt commented 8 months ago

Moved to https://bugs.launchpad.net/ubuntu-desktop-installer/+bug/2056169