Your message dated Sat, 29 Oct 2022 17:07:53 +0000
with message-id <e1oopjj-00ftk7...@fasolo.debian.org>
and subject line Bug#1021062: fixed in readline 8.2-1.1
has caused the Debian Bug report #1021062,
regarding bash: non existent locale crashes bash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1021062: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021062
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.35-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: kos...@debian.org

Dear maintainer,

After upgrading to libc6 2.35-1 (or 2.36-1 in experimental), nonexistent locale 
setting
starts to crash the system.

This is dangerous because a remote system might not always have the same locale 
installed.
An auto update will soft-brick the system unless the sysadmin knows to set 
their LC_ALL=POSIX
before attempting to ssh.

Steps to reproduce:

>From a clean installed Debian sid, upgrade to libc6 2.35-1.
Only install C locale and en_US.UTF-8.

$ LC_ALL=ja_JP.UTF-8 bash
bash: warning: setlocale: LC_ALL: cannot change locale (ja_JP.UTF-8)
Segmentation fault (core dumped)

$ LC_ALL=ja_JP.UTF-8 gdb bash

Fatal signal: Segmentation fault
----- Backtrace -----
0x55ed3e1e8dcf ???
0x55ed3e2df312 ???
0x55ed3e2df488 ???
0x7f0b4a39ba9f ???
0x7f0b4b412204 _rl_init_locale
0x7f0b4b4122f1 _rl_init_eightbit
0x7f0b4b3f10f2 rl_initialize
... snip ...

Downgrade to 2.34-8 seems also don't fix the issue, probably some locale
state was invalidated when upgrading.

Thanks,
Kan-Ru


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii  libgcc-s1  12.2.0-3

Versions of packages libc6 recommends:
ii  libidn2-0  2.3.3-1+b1

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.79
pn  glibc-doc              <none>
ii  libc-l10n              2.35-1
pn  libnss-nis             <none>
pn  libnss-nisplus         <none>
ii  locales                2.35-1

-- debconf information:
  glibc/kernel-too-old:
  glibc/restart-failed:
  glibc/disable-screensaver:
  glibc/upgrade: true
* libraries/restart-without-asking: false
* glibc/restart-services: cron
  glibc/kernel-not-supported:

--- End Message ---
--- Begin Message ---
Source: readline
Source-Version: 8.2-1.1
Done: Adrian Bunk <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
readline, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1021...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (supplier of updated readline package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 15 Oct 2022 14:47:17 +0300
Source: readline
Architecture: source
Version: 8.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Adrian Bunk <b...@debian.org>
Closes: 1021062
Changes:
 readline (8.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add upstream fix for crash with invalid locale. (Closes: #1021062)
Checksums-Sha1:
 5501ebc126a834c926e9731a3de74762856af402 2595 readline_8.2-1.1.dsc
 8a5a4792bf917803c454fe825b074ffebcf4106c 29484 readline_8.2-1.1.debian.tar.xz
Checksums-Sha256:
 b10408a05c3181db5ccf34240c152020d43ec58703c41f39b1228e10c5fa6840 2595 
readline_8.2-1.1.dsc
 384e45522c28efb4cb4508a302b96fb729499d401f9f7c3f1b36a3bc145d09f5 29484 
readline_8.2-1.1.debian.tar.xz
Files:
 7cbfaafa518426f221ad84e23559c24b 2595 libs optional readline_8.2-1.1.dsc
 cbd8aa766f05402c6fa793e7dd4740f0 29484 libs optional 
readline_8.2-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmNKnqoACgkQiNJCh6LY
mLEjcA//ZU5vBlNxZj9Td2iVxGAfVIPqic5lHE/ds3djdisRSzZDnEC8yszvU5lR
27y8QeQzB3jdZKEXhD4pi9GJ5pnFrQQNOHdxEmaMBuYz+ZHCWDj7jLn5SzYjNtQp
jOW8iSXasLoX3pngMNjgCGLRSvOz8xtpzNxaz5oUchhp5m1M5TWIA6vxDfnr7d+7
MwSWd/rABQJLyr+DCKDlv5bBUFQYRq+DO2gJ0jt090TTojODcfeTp3Ffb/ogRw4M
gNFjYbrcBun9ol6kTfzvuanNmTMSpCxdK6o+0o/6q6gU8SHqxgbhiL6MLHYzfmS9
nTvCdpcEjMd+gHE1PiSViU3tv5xJMUjlsXPuJXSj6+C9DHZrXRDshCFmSosB1C5O
OEPqfsj/1cVbe/AtB6eL4u3QgwfMNgx3DqFcQs4n2sdUxAdOPEngRBWJeXaILRGA
p4HKB2saf/rSLjwDFCzJMYWeyCwLqzo69cxvOvzMvUdmOKGMPEcBy0me02h3+dmJ
zvGAPLVPMgy+Bgo6qexYGJhiDXBmtU3go8cyISd4p9WG0vTVsmlK1zvuOlyJ5Mw1
OHsbIDQq0V/ZIbaKphz9VND4DWKmvFidzcHAgLF/1YdAcQ8LFuS7b7s9j392aXQq
BQ2wGHGG3k7sFDZPRSbnAerxJ1jsE1NMR7p5xO0+PDxcGuYz0VA=
=B8LK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to