Your message dated Mon, 24 Oct 2022 09:04:14 +0000
with message-id <e1omtnw-003cbw...@fasolo.debian.org>
and subject line Bug#1021062: fixed in bash 5.2-2
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: bash
Source-Version: 5.2-2
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
bash, 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.
Matthias Klose <d...@debian.org> (supplier of updated bash 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: SHA256

Format: 1.8
Date: Mon, 24 Oct 2022 10:34:28 +0200
Source: bash
Architecture: source
Version: 5.2-2
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1021062
Changes:
 bash (5.2-2) unstable; urgency=medium
 .
   * Apply upstream patches 001 - 002.
     - Expanding unset arrays in an arithmetic context can cause a
       segmentation fault.
     - Starting bash with an invalid locale specification for
       LC_ALL/LANG/LC_CTYPE can cause the shell to crash. Closes: #1021062.
Checksums-Sha1:
 f91b0ba1879f0400b965a0d194b4ff5a655fe9d3 2296 bash_5.2-2.dsc
 ea3ab01e90113ad03f99965e444398035b5422d8 86508 bash_5.2-2.debian.tar.xz
 fd4ef9d8a9c2692576249e98a92c7374a02a03e8 6942 bash_5.2-2_source.buildinfo
Checksums-Sha256:
 29d400729f7eef31fb181ffc3cf1d1099b3432f70da46dd702ae5872a5990efa 2296 
bash_5.2-2.dsc
 c4ea6d58fc2c50a6d34ea06522983eab47fc41345a34373c37f67eb3d89c853f 86508 
bash_5.2-2.debian.tar.xz
 67809c2a75bb2145a52857f27b656113ffdd8777c7d73f7cac642f33310a6030 6942 
bash_5.2-2_source.buildinfo
Files:
 4060b235f6918c28a593824b2d8802df 2296 base required bash_5.2-2.dsc
 1f75b0c9765575b90b5aef21e8b63af8 86508 base required bash_5.2-2.debian.tar.xz
 cd1c5c0c9e8cffaf35ccb4bdf74dc255 6942 base required bash_5.2-2_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmNWT4AQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9eILD/4gJSS+sz0DFspHD9gtI+r08ZiEqEYSFJih
TMXbE1NnMOk65ynj5C/09+yNkxq5U+5GFa+RC6X9HdVGS2v6CjHjv0XhBmIUPGxJ
WXgtxCQS7StJaL7g5JofookmxSDnCy13t6BCBrPn8L3KYl/6ddaNeLmUlTcdvJh8
d0VHri/ityetHKvTs0dtbDv90cNiJU5/T3XWu2++AK41bk1zol0o5tFK4T3JjWJz
7ln8uSFgrsaRaAwspN3ijJ8gIrTerlCltt3HMrHgA1pM1BVHsZTe7FLHkmwlvr6d
QuU0eyWlgQBeRxOq1t9oQuuTb757Uqi1cojRLZUpTT8kJBOYj+XxHeHIqjmLDsXO
kfILVJUMAwBE1xyrMBBo8KWWaeXg99giFoXSUyfgOubOQb55EYmacDpbjSYsgrx6
ZNRTMD5oJJXS0dmqDoO90bpzOmnaof+19qmohczvjcDwa94xZIQneZkNUeBNzdmp
N8HPUdVarIo9zBqte+uneYurw9ejsUhUEYmxcNTLZawyN9IUQujxO1GmZsG0MmlE
UvuKPilCmvTjVWBGUXTQWkozhI8E9jdg4Q0NdABXTEwU2XY18+KxmqO3DvPum8aq
j3a8sZNMIqfAEg81npnqaE0SbJtCLbf8ycVu4N9suVd5otQczarJ/zWwFw006+lm
JhSzWMWV6w==
=UyOH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to