Bug#1095677: lowmem installer UI frames start getting corrupted (UTF-8 as cp437(?)) after first stage of install (@ scanning install media stage)
наб <[email protected]>
| Newsgroups | gmane.linux.debian.devel.cd |
|---|---|
| Message-ID | <hl2qfssed2uikmcidt7mif2rfd7gwegbd5utpfg4zlslx2hhh2__11261.6760119394$1739206660$gmane$org@tarta.nabijaczleweli.xyz> |
Package: debian-cd
Severity: normal
Hi!
Reported by a friend, I'm reproing in QEMU
(> 4G; truncate -s 4G 4G; qemu-system-x86_64 -enable-kvm -smp 2 -m 500m -cdrom debian-testing-amd64-netinst.iso 4G -bios /usr/share/ovmf/OVMF.fd
and non-lowmem with -m 2g)
but platform probably irrelevant;
happens on debian-12.5.0-amd64-netinst.iso
debian-12.9.0-amd64-netinst.iso
debian-testing-amd64-netinst.iso (dated 2025-02-10 11:30)
Please see attached jpeg.
Repro by just mashing through all the defaults.
This looks like it corresponds to the switch from cp437 box-drawing frames
(M-DM-DM-DM-D) to the thin UTF-8 ones (M-^CM-^TM-^@M-^CM-^TM-^@M-^CM-^TM-^@M-^CM-^TM-^@)
(sorry the d-i busybox doesn't have od, cat -A is the best I could do).
AFAICT, there's no reason for this to happen: all the processes have
LANG=C.UTF-8, which does exist regardless of the mode,
so it's not an incidental bad reinterpretation of UTF-8 box-drawing
characters as bytes in the C locale in some writer process or whatever
(but then I can hardly probe all the incidental processes for LANG[UAGE]/LC_* with /proc/environ;
pulling in strace confirms C.UTF-8 works).
The VT is -iutf8 by default; stty -F /dev/tty0 -iutf8 and clicking
through for a redraw fixes it,
but non-lowmem doesn't need this to transition properly.
I've exhausted everything I could think of to dissect this outside-in,
the particular mechanics of d-i here are opaque to me.
Best,
(unnamed)
(image/png, 4.2 KB) - not displayed
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmeqLqkACgkQvP0LAY0m WPFrBQ//UyMxYG/lCBdfyW+mIsFMD+eYsfO1Ib6m95MsjWGbOnfpGIfvlK0g39hJ Mf74GjwDWx1EayCFklm9IJ7e419J01Rib2ihJyEv1t2xwEIC8DSqxMQiykx87rs3 vSzknVe2NxLA8SN53FGb8d6K+PblUZfRA+og94BbIZi6WUbutB/Y59Zf+V3cSdBN XOTlfZIXNtGXPKgmfDAk1bizZSKyFBzlAL5snD/KiduJy1ROhQk5Aq1Pej+FHOU7 7jq7y4lUC0Skrr9MDDkMPxiREzxklroVi6XFFTdflfhS7zhqS0m0FloA/5XHAIan W2v+5kLg+RyA98Dl2BhFl6PxFvHuIO3JtvejfbJhgaBN2QukPyaNZdSvZHOwfMnE /7wTcdJD/7slX2dRJLOW/P4CBR8/kL1l8aNekr4AFMT/nj731BygyNsijIrowlbz mZtIGeB0BT3vKW7AF49k6JHBZ4lTfPuCfkBYk3iVWtUPnYVe4kZYWqlQurrAR9KO 3DAEWPk+m/W5ajRELWgMF/vfw2I7aOx+GEh2tUvHXohy6I0Xl1T/ZTMTbNnlA5U9 +EoJjU416T5xNc5fKC35gGDzxvH5zUt8k94bIzFJH0HXGjrP+oRJ8Udah4fiZ1xT 1LZnvdUi7/x/DjLd3Lsv2vp6lNb5a4LE62Q9BYaBh694FJOw0AY= =EJIr -----END PGP SIGNATURE-----