[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993772: marked as done (/usr/bin/localedef: --list-archive /lib/locale/C.UTF-8/LC_COLLATE segfaults)



Your message dated Sun, 05 Dec 2021 16:04:41 +0000
with message-id <E1mtu0H-000Fy7-EE@fasolo.debian.org>
and subject line Bug#993772: fixed in glibc 2.32-5
has caused the Debian Bug report #993772,
regarding /usr/bin/localedef: --list-archive /lib/locale/C.UTF-8/LC_COLLATE segfaults
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 owner@bugs.debian.org
immediately.)


-- 
993772: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993772
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc-bin
Version: 2.31-17
Severity: normal
File: /usr/bin/localedef

Dear Maintainer,

-- >8 --
$ localedef --list-archive /lib/locale/C.UTF-8/LC_COLLATE
Segmentation fault
-- >8 --

Not sure what it's supposed to do, but it's not this.

Traces attached ‒ strace from this system (sid),
but ltrace from Buster, seemingly no x32 upstream support.

Best,
наб

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: amd64, i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc-bin depends on:
ii  libc6  2.31-17

Versions of packages libc-bin recommends:
ii  manpages  5.10-1

libc-bin suggests no packages.

-- no debconf information
execve("/bin/localedef", ["localedef", "--list-archive", "/lib/locale/C.UTF-8/LC_COLLATE"], 0xffa78ce0 /* 22 vars */) = 0
brk(NULL)                               = 0x57517000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7ee1000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=36301, ...}) = 0
mmap(NULL, 36301, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7ed8000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnux32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\336\1\0004\0\0\0"..., 512) = 512
fstat(3, {st_mode=S_IFREG|0755, st_size=1785544, ...}) = 0
mmap(NULL, 1794324, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7d21000
mmap(0xf7d3d000, 1347584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0xf7d3d000
mmap(0xf7e86000, 307200, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0xf7e86000
mmap(0xf7ed1000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1af000) = 0xf7ed1000
mmap(0xf7ed5000, 8468, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7ed5000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0xf7ee1f80)     = 0
mprotect(0xf7ed1000, 8192, PROT_READ)   = 0
mprotect(0x565be000, 24576, PROT_READ)  = 0
mprotect(0xf7f0c000, 4096, PROT_READ)   = 0
munmap(0xf7ed8000, 36301)               = 0
brk(NULL)                               = 0x57517000
brk(0x57538000)                         = 0x57538000
brk(0x57539000)                         = 0x57539000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3041504, ...}) = 0
mmap(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7b21000
mmap(NULL, 2596864, PROT_READ, MAP_PRIVATE, 3, 0x6d000) = 0xf78a7000
close(3)                                = 0
openat(AT_FDCWD, "/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1519554, ...}) = 0
stat("/lib/locale/C.UTF-8/LC_COLLATE", {st_mode=S_IFREG|0644, st_size=1519554, ...}) = 0
read(3, "\27\20\5 \23\0\0\0T\0\0\0X\0\0\0\\\0\0\0\\\4\0\08\302\3\0\364\375\3\0"..., 56) = 56
mmap(NULL, 536870912, PROT_NONE, MAP_SHARED, 3, 0) = 0xd78a7000
mmap(0xd78a7000, 1519554, PROT_READ, MAP_SHARED|MAP_FIXED, 3, 0) = 0xd78a7000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xd78a6ff0} ---
+++ killed by SIGSEGV +++
getenv("POSIXLY_CORRECT")                                                                                 = nil
setlocale(LC_MESSAGES, "")                                                                                = "en_GB.UTF-8"
setlocale(LC_CTYPE, "")                                                                                   = "en_GB.UTF-8"
textdomain("libc")                                                                                        = "libc"
argp_parse(0x564272b1d3a0, 3, 0x7ffda28dcc98, 0)                                                          = 0
open64("/lib/locale/C.UTF-8/LC_COLLATE", 0, 0373460)                                                      = 3
__fxstat64(1, 3, 0x7ffda28dc7d0)                                                                          = 0
__xstat64(1, "/lib/locale/C.UTF-8/LC_COLLATE", 0x7ffda28dc860)                                            = 0
read(3, "\027\020\005 \023", 56)                                                                          = 56
mmap64(0, 0x20000000, 0, 1)                                                                               = 0x7f1cbf6dc000
__getpagesize(0, 0x20000000, 0, 0x7f1cdfff0133)                                                           = 4096
mmap64(0x7f1cbf6dc000, 0x17283a, 1, 17)                                                                   = 0x7f1cbf6dc000
qsort(0x5642731ad3f0, 63, 16, 0x564272b06510 <no return ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.32-5
Done: Aurelien Jarno <aurel32@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, 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 993772@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 05 Dec 2021 16:46:21 +0100
Source: glibc
Architecture: source
Version: 2.32-5
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 993772 997912 998008 998622
Changes:
 glibc (2.32-5) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/control.in/libc: add a breaks against tinydns (<< 1:1.05-14).
     Closes: #997912.
   * debian/debhelper.in/libc-bin.postinst: stop replacing older versions from
     /etc/nsswitch.conf.  Closes: #998008.
   * debian/patches/git-updates.diff: update from upstream stable branch:
     - Fix bad conversion from ISO-2022-JP-3 with iconv (CVE-2021-43396).
       Closes: #998622.
   * debian/control.in/main: rename libselinux-dev build-dependency into
     libselinux1-dev.
   * debian/patches/any/submitted-localedef-check-magic.patch: new patch to
     display a proper error message for bad locale-archive files.  Closes:
     #993772.
Checksums-Sha1:
 560b798973f581043f04a1d6366e67b5b8d81700 9618 glibc_2.32-5.dsc
 a0eb9c0193df6da9bd7d4a7047af3e9d56a14a1a 843876 glibc_2.32-5.debian.tar.xz
 0402c1ae60fd84928ceb74fbedcbdcec3e047a65 8816 glibc_2.32-5_source.buildinfo
Checksums-Sha256:
 1689141a43c6090a5e2fd200ec8a5fb36f5478dac700bd444b6cd96cb9922801 9618 glibc_2.32-5.dsc
 660a9364e12c2653087cb0fc7d3b3aacfd8dfc7c0c09ea0ec0cb6f43526b9e6d 843876 glibc_2.32-5.debian.tar.xz
 45a7be05a5c0de43bcd86f260364272d4bae2d584bda9eebb0facdaa874236c2 8816 glibc_2.32-5_source.buildinfo
Files:
 041666cf7b37ad3cef28959999863701 9618 libs required glibc_2.32-5.dsc
 774d0260e37031e7bb81ddf3f6f3da50 843876 libs required glibc_2.32-5.debian.tar.xz
 a7acc8d24d476b8c2b3436876fe99094 8816 libs required glibc_2.32-5_source.buildinfo

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

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmGs4NEACgkQE4jA+Jno
M2vTtBAAkiSAwQmowpcXdcI00N1x3cIjudsMxb20edbJSAKy6o6pJchP0+F6neLZ
rywymlc8foAjmwKGa9xAxeM33fDqixQCLWxFic05/5u80C+WBve4EMGIODANtCIc
PpBZrcOtglmOFRu91Z4/myAIuvvhVAfm70MHcdUJMbAPGg8FtZud1N6fZWpbExmM
yIwtjMZphmfMRdgKfK4seqFTDxLNoQQhaHKOh8L17YhRHzG+Rlan1Md2N5gtofiV
s0V9WzJjEPzNgxQmMaWrAbS8GF+HQuxNwVhYimPqXjFjYSpnwIh9rWbtNyhG2kC8
YjrkdKEuVc6kapFGj4rDGTM7olr4bfoJGPDVBaw/BVIDOCbmk/0TpsQOD0Ld8YI4
vpVhB/zVcs2VDvuyUFPi/vV+xXTla5AXQdC3IVTtbUujPsvgl7p2HHkVEkLHC1TX
jFL+EKMXtSTF5sjD+MZk/4v1uWSX6EPchTS2zKuAuUJWm+YjqiLPsmWJrwaS7zS5
+8lSjy/6FE7RPXHTdem5C4Qab+/ob5YZPqUZXNJdbPtCk3XgZKPlq0YRPmgEew/4
4BM7BtCqJ9T1wrALZtqFWt8CWMFF14rpg2+l6W4zoPYm5AuZSr0unygZFroDNN7b
Vm0VDooPiFkOPB1jAJE0e6TaN/IB5h4+gfge+7trV7ql6YH2MAE=
=TfvJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: