Your message dated Tue, 17 Oct 2023 15:50:04 +0000
with message-id <e1qsmka-00ba5k...@fasolo.debian.org>
and subject line Bug#1054022: fixed in ncurses 6.4+20231016-1
has caused the Debian Bug report #1054022,
regarding libncursesw6: broken in GNU Screen
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.)


-- 
1054022: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054022
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libncursesw6
Version: 6.4+20231007-1
Severity: grave
Justification: renders package unusable

With libncursesw6 6.4+20231007-1, I get the following issue:

$ screen -dRR mutt /usr/bin/mutt
[screen is terminating]

after a few seconds (or immediately "[screen is terminating]" when
I hit a key). When rebuilding Mutt with debug support, this shows
that Mutt is actually running, but with no output, and I don't know
why it terminates.

Same issue with

  screen -dRR mutt sh -c "true; /usr/bin/mutt"

but

  screen -dRR mutt sh -c "sleep 1; /usr/bin/mutt"

appears to work. Some kind of race condition?

With

  /usr/bin/screen -dRR mutt strace -f -o str.out -s 256 /usr/bin/mutt

the strace output ends with

659013 openat(AT_FDCWD, "/usr/share/terminfo/s/screen.xterm-256color", 
O_RDONLY) = 3
659013 geteuid()                        = 1000
659013 setfsuid(1000)                   = 1000
659013 getegid()                        = 1000
659013 setfsgid(1000)                   = 1000
659013 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=3615, ...}, 
AT_EMPTY_PATH) = 0
659013 read(3, "\36\2=\0&\0\17\0q\1\247\5screen.xterm-256color|GNU Screen with 
xterm using 256 
colors\0\1\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0\0\0\0\0\0\0\0\0\0\0\1\0P\0\0\0\10\0\0\0\30\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\1\0\0\0\0\1\0\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P\0W\0\377\377Y\0f\0\377\377j\0n\0x\0|\0\377\377\377\377\200\0\204\0\211\0\216\0\377\377\240\0\245\0\377\377\377\377\252\0\257\0\264\0\271\0\302\0\306\0\315\0\377\377"...,
 32768) = 3615
659013 read(3, "", 28672)               = 0
659013 close(3)                         = 0
659013 ioctl(1, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(1, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(1, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(1, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(1, TIOCGWINSZ, {ws_row=105, ws_col=333, ws_xpixel=3676, 
ws_ypixel=2124}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCSETSW, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 write(2, "\33[6n", 4)            = 4
659013 read(2, "", 19)                  = 0
659013 write(2, "\33[10000;10000H", 14) = 14
659013 write(2, "\33[6n", 4)            = 4
659013 read(2, "", 19)                  = 0
659013 write(2, "\33[437457153;385880577H", 22) = 22
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCSETSW, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCSETSW, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 write(2, "\33[6n", 4)            = 4
659013 read(2, "", 19)                  = 0
659013 write(2, "\33[10000;10000H", 14) = 14
659013 write(2, "\33[6n", 4)            = 4
659013 read(2, "", 19)                  = 0
659013 write(2, "\33[437457153;385880577H", 22) = 22
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCSETSW, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 ioctl(2, TCGETS, {c_iflag=ICRNL|IUTF8, 
c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, 
c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
659013 mmap(NULL, 564432896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f7cbc5ff000
659013 write(2, "Error opening terminal: screen.xterm-256color.\n", 47) = 47
659013 exit_group(1)                    = ?
659013 +++ exited with 1 +++

Downgrading the ncurses packages to 6.4+20230625-2 makes this problem
disappear.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages libncursesw6 depends on:
ii  libc6      2.37-12
ii  libtinfo6  6.4+20231007-1

Versions of packages libncursesw6 recommends:
ii  libgpm2  1.20.7-10+b1

libncursesw6 suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

--- End Message ---
--- Begin Message ---
Source: ncurses
Source-Version: 6.4+20231016-1
Done: Sven Joachim <svenj...@gmx.de>

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

Debian distribution maintenance software
pp.
Sven Joachim <svenj...@gmx.de> (supplier of updated ncurses 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: Tue, 17 Oct 2023 17:34:56 +0200
Source: ncurses
Architecture: source
Version: 6.4+20231016-1
Distribution: unstable
Urgency: medium
Maintainer: Ncurses Maintainers <ncur...@packages.debian.org>
Changed-By: Sven Joachim <svenj...@gmx.de>
Closes: 1054022
Changes:
 ncurses (6.4+20231016-1) unstable; urgency=medium
 .
   * New upstream patchlevel.
     - Make the recent change to setupterm optional and disable it
       by default (Closes: #1054022).
Checksums-Sha1:
 4eaa4a9d1494f67e33b8694eae38e764a5467004 3807 ncurses_6.4+20231016-1.dsc
 2cbcdbaeac2e5975d46ac0e9e4de515a34de80dd 3666201 
ncurses_6.4+20231016.orig.tar.gz
 ebb0b878c330aea0d15f41b19b066ea84a4b3922 729 
ncurses_6.4+20231016.orig.tar.gz.asc
 9dbf89c1bb3793f7b85fa8c0a1cc7b42b48e8a33 48800 
ncurses_6.4+20231016-1.debian.tar.xz
 9fc4195c1c25e6451631aafc1dd5848c08050e58 5684 
ncurses_6.4+20231016-1_source.buildinfo
Checksums-Sha256:
 d8f896d72cbc71450664cde520bc444a91f5526bb8b24a5abadde403f87e1331 3807 
ncurses_6.4+20231016-1.dsc
 07c48ace643c96d444dece3f3a221dace65d3a91f6374651b815cc66b88829e8 3666201 
ncurses_6.4+20231016.orig.tar.gz
 50955e77e6e3553812de25b9494e411a71b8abaad7345e1b9f49fb64ba3ee9de 729 
ncurses_6.4+20231016.orig.tar.gz.asc
 5faa024afc6c1c298b445b96c6af13eebdfba207873229f11804acc5158cbd04 48800 
ncurses_6.4+20231016-1.debian.tar.xz
 ae485bf36595c4a1bb1855b099132bbe37340442a7f2c34d81af0b3c30caab71 5684 
ncurses_6.4+20231016-1_source.buildinfo
Files:
 a99a3a4168864be6cb586f5b6e983011 3807 libs required ncurses_6.4+20231016-1.dsc
 bb02744bcb68320a9693c2dd4c5e965c 3666201 libs required 
ncurses_6.4+20231016.orig.tar.gz
 00aac7d9e30669a1f59cd58674dc02e8 729 libs required 
ncurses_6.4+20231016.orig.tar.gz.asc
 595cc0326d09d80fdea54b24ae949b7d 48800 libs required 
ncurses_6.4+20231016-1.debian.tar.xz
 6d199d65c2874d7e322e4d3521115338 5684 libs required 
ncurses_6.4+20231016-1_source.buildinfo

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

iQIzBAEBCgAdFiEEKF8heKgv5Jai5p4QOxBucY1rMawFAmUuqfYACgkQOxBucY1r
MawtqRAAt02lgALjIAdIOaEG3GIQPIVRf/kGgk7fgwBst04vmcdhU4CssWu4vUOl
qgx3hbq/WoE5fAUsXMUth+VlFPWOMZbQoUwIiRI5lBs5kBj+f07MkMk2pFEHsehH
XdNdY1N+DgMumtTD+ucHrsfZDEkUIyEBjyhN2xfV8vN1XDGaePs3rXrujcsWoyd9
fTV0rXY70MKPP4ADkd6b1wB+nAjyCX/4ruCXWcnkj93jdli/rNdHhiHN+KjzTo4C
CGOpCVYsOCqcPlld7/aq49j7pQglvpbHZtC8kHaG+TlPCn02M8O1voaZ8Ja0/JqT
Wa0Pk5b084fnxo/eOecuiy+56x5JZy6fSxy/Hej9jdybbc/heNJ32mtgyKqytVV/
8pJ4EDlegO45GKeebJXCptHHZ1GMD8DNB8/r2j5htYuyK/f7xUusp7RptLnIVZ2n
y092er69cwqCNCFWFhh7pTJSxxUe2VvYt+Xuvu0rFiG7KUJpXoWtXDU0cq2FxQCv
5X4dii+pdIPIgQgelacasCHQEA+SD0oCS6A3KpgMmj/coA4BN+zyOYVud3QUiEXP
rheeK1h9NKuaTOVCV5PnAKQtVm8kW49eDim8+9Lq5hBosBe0iPuyDSPTrMaVgoR4
FpuTfNsgWL0ZVErUqWZ2KuSREgBhj9UfL9MxHLosVvoeMHnGrWc=
=TN9k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to