tzdata_2021a-1+deb11u6_source.changes ACCEPTED into proposed-updates->stable-new

2022-10-01 Thread Debian FTP Masters
Mapping bullseye to stable.
Mapping stable to proposed-updates.

Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sat, 01 Oct 2022 23:34:39 +0200
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u6
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Changes:
 tzdata (2021a-1+deb11u6) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 10-no-leap-second-2022-12-31.patch: update leap-seconds.list, new
   expiration date on 28 June 2023.
 - 11-palestine-dst3.patch: Palestine transitions are now Saturdays at
   02:00. This means 2022 falls back 10-29 at 02:00, not 10-28 at 01:00.
Checksums-Sha1:
 bf0ca828b4fb9109d95eb259013ec8b2ac9c3944 2269 tzdata_2021a-1+deb11u6.dsc
 66f1ea4367ff83475c1025a595fd5efa5aeaf688 113564 
tzdata_2021a-1+deb11u6.debian.tar.xz
 e91acd62a9a2a7cce02feae4f09360c01f20279f 5715 
tzdata_2021a-1+deb11u6_source.buildinfo
Checksums-Sha256:
 2d3bf44d3a46c6d7af2dead664360f0e05835c83a6c0475851c2fd6ee2923c85 2269 
tzdata_2021a-1+deb11u6.dsc
 1d4e96a91bea03a87b99cc90a7e5b378f2ccc6a976966ceb3dcb80c9109e65cc 113564 
tzdata_2021a-1+deb11u6.debian.tar.xz
 188eb2994048cd2e4f84db948778b5fab9e34f394dc625e1f84af01c8e153608 5715 
tzdata_2021a-1+deb11u6_source.buildinfo
Files:
 943f509c1143d983f8e26297225dd247 2269 localization required 
tzdata_2021a-1+deb11u6.dsc
 b9c9208b84bfd606393ee560109e5b08 113564 localization required 
tzdata_2021a-1+deb11u6.debian.tar.xz
 1ca91cbd83fbe02b1e049eee68f3df07 5715 localization required 
tzdata_2021a-1+deb11u6_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmM4szUACgkQE4jA+Jno
M2uigA//VDYf4VEl1M71tSkw8YLoW/ZQlnIJl+fUbYZsYYU1OhztibNGr0Kodijt
bkYkyZIe400JESjLlk9CnsZOJfO4CbJx6nIVQvk45hJrFiJCPJ2M2yPwwX+FkvPr
6hnAerQRokcX02zinbD6stfgkRj3zRKol4Doom1XaPYbPZWHlEpojsKZ/CZVH0UZ
IsJBJG3jtIvP1dRuIquW3gRrsQYOyWv5mESKFPYdheUZ6Wl07LvBUmlpEogF8qvZ
vVVB6peXcqqBUq/NgP7NPLgwvOlTGP8y9q0fryZD+fGanrMmIm5xi3QlkMcumpLm
5udKtXRXth14bMNGfC8FiLHE3pN3Ac/pJfkv8Hlzvbs076AGCLGTtCz/jBze8Jja
RaA7qupAdPRjC72s2GXYcKyiIgc7E+c/RQxVucnoIheeQcsEF/EYvFLjjEUj3DqN
U6C+0vCObYMB6wB8BTgjIYfzRsAa0GAuOU/r4bmcoAOEM3ykSRK65GKguihR3q59
b2wtmAZAYJHsd7piG+rHyaDZk5ZNHTqZ/dDtPfrmVt+n9Ep7KVkyUrOiLIa5CYuZ
8saAHDQh/bhQ9vC1ZnKwVj60cMg2xN1ysxfbbSY3Mxr8wd8WYI6oD+XUv9s9KIU+
9uyG6pWb7Gu5CREyfgB7q9sJwrx/sBTSqBgQAhQSgtYLLNeTxBo=
=6Kam
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Bug#1020943: (no subject)

2022-10-01 Thread Aurelien Jarno
On 2022-10-01 22:36, Szilfai Balázs wrote:
> Core dump attached.

Thanks, could you please attach the following file instead of the text
output?

/var/lib/systemd/coredump/core.nscd.0.e89b6fce3d004f04b16f3e5a8f439a82.2560572.166465611000.zst

Regards
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processing of tzdata_2021a-1+deb11u6_source.changes

2022-10-01 Thread Debian FTP Masters
tzdata_2021a-1+deb11u6_source.changes uploaded successfully to localhost
along with the files:
  tzdata_2021a-1+deb11u6.dsc
  tzdata_2021a-1+deb11u6.debian.tar.xz
  tzdata_2021a-1+deb11u6_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



[Git][glibc-team/tzdata] Pushed new tag debian/2021a-1+deb11u6

2022-10-01 Thread Aurelien Jarno (@aurel32)


Aurelien Jarno pushed new tag debian/2021a-1+deb11u6 at GNU Libc Maintainers / 
tzdata

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/tzdata/-/tree/debian/2021a-1+deb11u6
You're receiving this email because of your account on salsa.debian.org.




[Git][glibc-team/tzdata][bullseye] 3 commits: Cherry-pick patches from upstream:

2022-10-01 Thread Aurelien Jarno (@aurel32)


Aurelien Jarno pushed to branch bullseye at GNU Libc Maintainers / tzdata


Commits:
23660ad0 by Aurelien Jarno at 2022-10-01T22:11:36+02:00
Cherry-pick patches from upstream:

* Cherry-pick patches from upstream:
  - 10-no-leap-second-2022-12-31.patch: update leap-seconds.list, new
expiration date on 28 June 2023.

- - - - -
45984ce9 by Aurelien Jarno at 2022-10-01T22:34:18+02:00
11-palestine-dst3.patch: Palestine transitions are now Saturdays at 02:00. This 
means 2022 falls back 10-29 at 02:00, not 10-28 at 01:00.

- - - - -
1664f45a by Aurelien Jarno at 2022-10-01T23:34:52+02:00
releasing package tzdata version 2021a-1+deb11u6

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/10-no-leap-second-2022-12-31.patch
- + debian/patches/11-palestine-dst3.patch
- debian/patches/series


View it on GitLab: 
https://salsa.debian.org/glibc-team/tzdata/-/compare/5e40f6337295f89ffc2056b589af4af7cc2b240e...1664f45ae467b4cc600399a5a4ae55cdcd82c7cd

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/tzdata/-/compare/5e40f6337295f89ffc2056b589af4af7cc2b240e...1664f45ae467b4cc600399a5a4ae55cdcd82c7cd
You're receiving this email because of your account on salsa.debian.org.




Bug#1020943: (no subject)

2022-10-01 Thread Szilfai Balázs

Core dump attached.

--
Balazs Szilfai
   PID: 2560572 (nscd)
   UID: 0 (root)
   GID: 0 (root)
Signal: 6 (ABRT)
 Timestamp: Sat 2022-10-01 22:28:30 CEST (4min 28s ago)
  Command Line: /usr/sbin/nscd
Executable: /usr/sbin/nscd
 Control Group: /system.slice/nscd.service
  Unit: nscd.service
 Slice: system.slice
   Boot ID: e89b6fce3d004f04b16f3e5a8f439a82
Machine ID: 6281f2bd2c1c58eb7848829248106cc6
  Hostname: www
   Storage: 
/var/lib/systemd/coredump/core.nscd.0.e89b6fce3d004f04b16f3e5a8f439a82.2560572.166465611000.zst
 (present)
 Disk Size: 156.5K
   Message: Process 2560572 (nscd) of user 0 dumped core.

Module linux-vdso.so.1 with build-id 
666daae2012a328cd919217d994125e1ed871b2f
Module libtirpc.so.3 with build-id 
89d6760d8f004a33b2ad80e7277842ef8f3c4a43
Module libnsl.so.2 with build-id 
d7e4e187c5d3d36dc8386646d8d02910f2664a85
Module libnss_nis.so.2 with build-id 
da6295367de4844c0493a7d7b77d5e979ecc733b
Module libm.so.6 with build-id 
840fd8e1653b9fbc906a4af5405a6f59965d36b7
Module libnss_systemd.so.2 with build-id 
00e564b38edfa8893a50714d79de330045ff3188
Metadata for module libnss_systemd.so.2 owned by FDO found: {
"type" : "deb",
"os" : "debian",
"name" : "systemd",
"architecture" : "amd64",
"version" : "251.4-3",
"debugInfoUrl" : "https://debuginfod.debian.net;
}

Module libffi.so.8 with build-id 
bb0fa5371874ba431e7cd9dc2df93922de436fa9
Module libdl.so.2 with build-id 
0e02f550c7e69ddb870d32d0b012731abd38c6ce
Module libkeyutils.so.1 with build-id 
58715c0085b108b4060ef6c42feb8b33dbb7acb7
Module libgmp.so.10 with build-id 
25c73b398493c695a013a6d9d493a8316aac0fa0
Module libhogweed.so.6 with build-id 
568595f2db0c8a2a59fc8aeb153db78ca51d0168
Module libnettle.so.8 with build-id 
df9d509c9055db57df09603aab0fc4c66ad2837c
Module libtasn1.so.6 with build-id 
1d312752ce136a80ebceeb73404c90fbd4e4f78d
Module libunistring.so.2 with build-id 
7d2c9a24ad8e7cb72befdc06cd45cbddd5ee7f48
Module libidn2.so.0 with build-id 
ddba28970641f1f110f7585d57dc5867e2ee4ffd
Module libp11-kit.so.0 with build-id 
97832cbdb52c48f1422b9e70802112b0cc6587f3
Module libkrb5support.so.0 with build-id 
0db7b73d1aa611e567cbd11a12e0d5772297f0dd
Module libcom_err.so.2 with build-id 
fd7d5e74b171eb70aef1e490b0d39a34855d6272
Module libk5crypto.so.3 with build-id 
33306e3a67c4c2822256708bf7d56f275d769d43
Module libkrb5.so.3 with build-id 
99b080454d2a271374eea4f485e54f79e35cff92
Module libgnutls.so.30 with build-id 
333e23f509b65dbbd4c3f4c2dbbd1fe1296d358a
Module libsasl2.so.2 with build-id 
219485904088876b46f5790ecaa6d204c6aef6f3
Module libresolv.so.2 with build-id 
451d346f2df8ed37030cbe431632a955424c9562
Module libgssapi_krb5.so.2 with build-id 
f5ed686118c8d310382814da15fb570f1164a17c
Module liblber-2.5.so.0 with build-id 
d49303b94e9652136fa5c8f4ee83b7e9f4fef2a8
Module libldap-2.5.so.0 with build-id 
19951fdb1f798f0a068deddb786885cf2e2f328c
Module libnss_ldap.so.2 with build-id 
52ec90e743c29ce22cceca5927e8ed93615e7c68
Module libnss_compat.so.2 with build-id 
329cca90777665b39099add8e1f6ca7a4babf74e
Module libpthread.so.0 with build-id 
276b8e391d0c4cbf4ea22611a8c0ef078248c4dc
Module libcap-ng.so.0 with build-id 
ebf0e882db263bfb4ccf6af882585c5e52145112
Module libpcre2-8.so.0 with build-id 
5aa43e3778622f4b95261331e97a45be5b87481d
Module libc.so.6 with build-id 
e1e37d95dd7227113534a1bfeb2dfa9176f14449
Module libcap.so.2 with build-id 
a6034f7fc277ee9d9714c2b288b419498225156f
Module libaudit.so.1 with build-id 
591ea1717d114afaba5f4ea763f56a27af74357a
Module libselinux.so.1 with build-id 
827b23e6391a3374fa79e36bca36c41c8e6d29e4
Module nscd with build-id 
6393cb05a18407fd4856fd7eeccb87a8471155ab
Stack trace of thread 2560575:
#0  0x7f05dfb0457c n/a (libc.so.6 + 0x8957c)
#1  0x7f05dfab8a02 raise (libc.so.6 + 0x3da02)
#2  0x7f05dfaa3469 abort (libc.so.6 + 0x28469)
#3  0x7f05dfaa3395 n/a (libc.so.6 + 0x28395)
#4  0x7f05dfab1ab2 __assert_fail (libc.so.6 + 0x36ab2)
#5  0x5629b6c87116 n/a (nscd + 0x13116)
#6  0x5629b6c7c02e n/a (nscd + 0x802e)
#7 

Bug#1020943: (no subject)

2022-10-01 Thread Szilfai Balázs

Package: nscd
Version: 2.35-1

kern.log:
Oct  1 16:07:02 www kernel: [1041475.994914] nscd[119940]: segfault at 0 ip 
7f6427012b59 sp 7f641b54e928 error 4 in libc.so.6[7f6426ee3000+17]
Oct  1 16:07:02 www kernel: [1041475.994920] Code: fe 7f 5c 17 e1 c5 f8 77 c3 0f 1f 
84 00 00 00 00 00 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 37 
01 00 00  fd 74 0f c5 fd d7 c1 85 c0 74 5b f3 0f bc c0 c5 f8 77 c3 0f 1f

syslog:
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/passwd` (1)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/group` (3)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/hosts` (4)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/resolv.conf` (5)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/services` (6)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 disabled inotify-based monitoring for file 
`/etc/netgroup': No such file or directory
Oct  1 16:07:02 www nscd: 119933 stat failed for file `/etc/netgroup'; will try 
again later: No such file or directory
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/nsswitch.conf` (7)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/nsswitch.conf` (7)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/nsswitch.conf` (7)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/nsswitch.conf` (7)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 monitoring file `/etc/nsswitch.conf` (7)
Oct  1 16:07:02 www nscd: 119933 monitoring directory `/etc` (2)
Oct  1 16:07:02 www nscd: 119933 Access Vector Cache (AVC) started
Oct  1 16:07:02 www kernel: [1041475.994914] nscd[119940]: segfault at 0 ip 
7f6427012b59 sp 7f641b54e928 error 4 in libc.so.6[7f6426ee3000+17]
Oct  1 16:07:02 www systemd[1]: nscd.service: Main process exited, code=killed, 
status=11/SEGV
Oct  1 16:07:02 www systemd[1]: nscd.service: Failed with result 'signal'.
Oct  1 16:07:02 www systemd[1]: nscd.service: Scheduled restart job, restart 
counter is at 504.
Oct  1 16:07:02 www systemd[1]: nscd.service: Start request repeated too 
quickly.
Oct  1 16:07:02 www systemd[1]: nscd.service: Failed with result 'signal'.

Package default /etc/nscd.conf file.

--
Balazs Szilfai



Bug#1020943: nscd: Segmention fault when trying to launch on Debian/testing

2022-10-01 Thread Aurelien Jarno
Hi,

On 2022-09-29 09:37, Adrian Immanuel Kiess wrote:
> Package: nscd
> Version: 2.35-1
> Severity: normal
> 
> Dear Maintainer,
> 
>* What led up to the situation?
>  Upgrading nscd on Debian/testing
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
>  apt -u dist-upgrade
>* What was the outcome of this action?
>  nscd segfaults when trying to launch
>* What outcome did you expect instead?
>  Working nscd
> 
> currently on Debian/testing, nscd crashes when trying to launch.

Unfortunately I am not able to reproduce this issue locally, I will
therefore need some help to diagnose the problem:

- Can you please share your /etc/nscd.conf?
- Do you have any related message available in dmesg?

> >From logwatch:
> 
>  WARNING:  Segmentation Faults in these executables
> nscd :  2461 Time(s)
> 
> Here is the journalctl output:
> 
> sept. 29 09:12:13 g6.lan.dac systemd[1]: Started Name Service Cache Daemon.
> sept. 29 09:12:15 g6.lan.dac systemd[1]: nscd.service: Main process exited,
> code=killed, status=11/SEGV

Would it be possible to share the corresponding core dump file? Sharing
it privately is also fine if you prefer.

Regards
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processed: Bug#1020974 marked as pending in glibc

2022-10-01 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 pending
Bug #1020974 [src:glibc] glibc: Please build with --disable-default-pie on 
sparc64
Added tag(s) pending.

-- 
1020974: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020974
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[Git][glibc-team/glibc][sid] debian/sysdeps/sparc64.mk: pass --disable-default-pie to configure. Closes: #1020974.

2022-10-01 Thread Aurelien Jarno (@aurel32)


Aurelien Jarno pushed to branch sid at GNU Libc Maintainers / glibc


Commits:
f9e6719f by Aurelien Jarno at 2022-10-01T21:31:15+02:00
debian/sysdeps/sparc64.mk: pass --disable-default-pie to configure. Closes: 
#1020974.

- - - - -


2 changed files:

- debian/changelog
- debian/sysdeps/sparc64.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/f9e6719fe0465574ce3255fefd37be90bea56e25

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/f9e6719fe0465574ce3255fefd37be90bea56e25
You're receiving this email because of your account on salsa.debian.org.




Bug#1021062: libc6: nonexistent locale crashes programs (for example, bash, gdb, ...)

2022-10-01 Thread Aurelien Jarno
control: reassign -1 bash
control: found -1 bash/5.2-1

Hi,

On 2022-10-01 21:01, Kan-Ru Chen wrote:
> 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 ...

FYI, this is the full backtrace with the debug packages installed:

#0  0x7f8079d0ccc7 in __GI_kill () at ../sysdeps/unix/syscall-template.S:120
#1  0x559be26519c9 in termsig_handler (sig=11) at .././sig.c:625
#2  0x559be2651c21 in termsig_handler (sig=) at 
.././sig.c:492
#3  termsig_sighandler (sig=) at .././sig.c:547
#4  
#5  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:74
#6  0x559be26b8682 in _rl_init_locale () at 
../../.././lib/readline/nls.c:150
#7  0x559be26b8772 in _rl_init_eightbit () at 
../../.././lib/readline/nls.c:227
#8  0x559be269766e in readline_initialize_everything () at 
../../.././lib/readline/readline.c:1292
#9  rl_initialize () at ../../.././lib/readline/readline.c:1183
#10 0x559be2662b05 in initialize_readline () at .././bashline.c:522
#11 0x559be26040a5 in yy_readline_get () at 
/usr/local/src/chet/src/bash/src/parse.y:1514
#12 0x559be2606aa1 in yy_getc () at 
/usr/local/src/chet/src/bash/src/parse.y:1462
#13 shell_getc (remove_quoted_newline=remove_quoted_newline@entry=1) at 
/usr/local/src/chet/src/bash/src/parse.y:2393
#14 0x559be2608eeb in read_token (command=0) at 
/usr/local/src/chet/src/bash/src/parse.y:3400
#15 0x559be260d05b in yylex () at 
/usr/local/src/chet/src/bash/src/parse.y:2890
#16 yyparse () at ./build-bash/y.tab.c:1854
#17 0x559be2603586 in parse_command () at .././eval.c:348
#18 0x559be2603714 in read_command () at .././eval.c:392
#19 0x559be26038c6 in reader_loop () at .././eval.c:139
#20 0x559be26023b5 in main (argc=1, argv=0x7ffe3da22078, 
env=0x7ffe3da22088) at .././shell.c:833

So the problem is that _rl_init_locale (from bash) calls strlen(NULL).

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

This is because you upgraded other packages than glibc (here bash), and the bug
is not in glibc. Downgrading bash fixes the issue. Reassigning the bug.

Regards
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processed: Re: Bug#1021062: libc6: nonexistent locale crashes programs (for example, bash, gdb, ...)

2022-10-01 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 bash
Bug #1021062 [libc6] libc6: nonexistent locale crashes programs (for example, 
bash, gdb, ...)
Bug reassigned from package 'libc6' to 'bash'.
No longer marked as found in versions glibc/2.35-1.
Ignoring request to alter fixed versions of bug #1021062 to the same values 
previously set
> found -1 bash/5.2-1
Bug #1021062 [bash] libc6: nonexistent locale crashes programs (for example, 
bash, gdb, ...)
Marked as found in versions bash/5.2-1.

-- 
1021062: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021062
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1020857: libc6: 2.35-1 breaks gdb on hppa

2022-10-01 Thread John David Anglin

More info is here:
https://sourceware.org/bugzilla/show_bug.cgi?id=29635

Bug breaks glibc build (gdb attach tests fail) and probably binutils build 
(test regressions).

The problem is the dp register is sometimes not initialized for the main 
application before
initializers are run.

The attached patch fixes issue.  It restores code removed in the fix for the 
tst-audit2 failure
some months ago.  I will commit upstream as soon as more testing completes.  
I'm currently
building a +b1 version of 2.35-1 with change.

Regards,
Dave Anglin

--
John David Anglin  dave.ang...@bell.net
diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h
index c865713be1..1d51948566 100644
--- a/sysdeps/hppa/dl-machine.h
+++ b/sysdeps/hppa/dl-machine.h
@@ -347,6 +347,16 @@ elf_machine_runtime_setup (struct link_map *l, struct 
r_scope_elem *scope[],
its return value is the user program's entry point.  */
 
 #define RTLD_START \
+/* Set up dp for any non-PIC lib constructors that may be called.  */  \
+static struct link_map * __attribute__((used)) \
+set_dp (struct link_map *map)  \
+{  \
+  register Elf32_Addr dp asm ("%r27"); \
+  dp = D_PTR (map, l_info[DT_PLTGOT]); \
+  asm volatile ("" : : "r" (dp));  \
+  return map;  \
+}  \
+   \
 asm (  \
 "  .text\n"\
 "  .globl _start\n"\
@@ -426,6 +436,13 @@ asm (  
\
   direct loader invocation.  Thus, argc and argv must be   \
   reloaded from from _dl_argc and _dl_argv.  */\
\
+   /* Load main_map from _rtld_local and setup dp. */  \
+"  addil   LT'_rtld_local,%r19\n"  \
+"  ldw RT'_rtld_local(%r1),%r26\n" \
+"  bl  set_dp, %r2\n"  \
+"  ldw 0(%r26),%r26\n" \
+"  copy%ret0,%r26\n"   \
+   \
/* Load argc from _dl_argc.  */ \
 "  addil   LT'_dl_argc,%r19\n" \
 "  ldw RT'_dl_argc(%r1),%r20\n"\
@@ -438,13 +455,10 @@ asm ( 
\
 "  ldw 0(%r20),%r24\n" \
 "  stw %r24,-44(%sp)\n"\
\
-   /* Call _dl_init(main_map, argc, argv, envp). */\
-"  addil   LT'_rtld_local,%r19\n"  \
-"  ldw RT'_rtld_local(%r1),%r26\n" \
-"  ldw 0(%r26),%r26\n" \
-   \
/* envp = argv + argc + 1 */\
 "  sh2add  %r25,%r24,%r23\n"   \
+   \
+   /* Call _dl_init(main_map, argc, argv, envp). */\
 "  bl  _dl_init,%r2\n" \
 "  ldo 4(%r23),%r23\n" /* delay slot */\
\


Bug#1021062: libc6: nonexistent locale crashes programs (for example, bash, gdb, ...)

2022-10-01 Thread Kan-Ru Chen
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  
ii  libc-l10n  2.35-1
pn  libnss-nis 
pn  libnss-nisplus 
ii  locales2.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: