Your message dated Sat, 21 Nov 2026 19:21:20 +0000
with message-id <[email protected]>
and subject line Bug#1148483: fixed in cwidget 0.5.18-6.1
has caused the Debian Bug report #1148483,
regarding aptitude: Exit after 'Building view' "Uncaught exception: Unable to 
read from stdin: Invalid argument" in testing on arm64
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 [email protected]
immediately.)


-- 
1148483: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148483
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.8.13-8.1
Severity: important
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: arm64

Dear Maintainer,

Package: aptitude
Version: 0.8.13-7

System:
- Raspberry Pi arm64
- Linux 6.18.39+rpt-rpi-v8
- glibc 2.43
- ncurses 6.6

The aptitude curses interface exits immediately with:

Uncaught exception: Unable to read from stdin: Invalid argument

The failure is reproducible from:
- SSH sessions
- PuTTY
- Console terminal /dev/tty1
- script(1)

Non-interactive aptitude commands work:

aptitude search '~i'
aptitude update

The interface starts, builds the package view and displays package groups, then 
exits.

GDB catchpoint on the final exception shows:

cwidget::toplevel::input_thread::fatal_input_error::dispatch()
cwidget::toplevel::mainloop()

Relevant debugging performed:
- Tested aptitude 0.8.13-8.1 and 0.8.13-7
- Tested libcwidget4 0.5.18-6+b3 and 0.5.18-6+b2
- Tested apt/libapt-pkg 3.3.3 and 3.0.3
- Tested TERM=putty, xterm and vt100
- Tested via SSH and script(1)
- Python curses applications work correctly

strace of input operations shows repeated:

ppoll([{fd=0, events=POLLIN}], ...) = 0

and no failing read(), poll(), or ioctl() returning EINVAL was observed.

I also tried a fresh install of the current Debian image (trixie)

1. Copy Pi image (trixie) to SD, boot and login
2. Install aptitude
3. Check it works
4. Change all references from trixie to testing in 
/etc/apt/sources.list.d/debian.sources so it's using the testing repository
5. sudo apt update
6. Update aptitude from 0.8.13-7 to 0.8.13-8.1 which is the current version in 
testing (sudo apt install aptitude=0.8.13-8.1)
7. Check aptitude still works
8. Update libc6 from 2.41-12+rpt1+deb13u4 to 2.43-5, current version in testing 
(sudo apt install libc6=2.43-5)
9. aptitude is now broken and fails as above.


-- Package-specific info:
Terminal: xterm
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 15.2.0
Compiled against:
  apt version 7.0.0
  NCurses version 6.6
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.5.20250216
  cwidget version: 0.5.18
  Apt version: 7.0.0

aptitude linkage:
        linux-vdso.so.1 (0x0000007f8018c000)
        libapt-pkg.so.7.0 => /usr/lib/aarch64-linux-gnu/libapt-pkg.so.7.0 
(0x0000007f7fab0000)
        libncursesw.so.6 => /usr/lib/aarch64-linux-gnu/libncursesw.so.6 
(0x0000007f7fa50000)
        libtinfo.so.6 => /usr/lib/aarch64-linux-gnu/libtinfo.so.6 
(0x0000007f7fa00000)
        libsigc-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libsigc-2.0.so.0 
(0x0000007f7f9d0000)
        libcwidget.so.4 => /usr/lib/aarch64-linux-gnu/libcwidget.so.4 
(0x0000007f7f8b0000)
        libsqlite3.so.0 => /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 
(0x0000007f7f710000)
        libboost_iostreams.so.1.90.0 => 
/usr/lib/aarch64-linux-gnu/libboost_iostreams.so.1.90.0 (0x0000007f7f6d0000)
        libxapian.so.30 => /usr/lib/aarch64-linux-gnu/libxapian.so.30 
(0x0000007f7f470000)
        libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 
(0x0000007f7f200000)
        libgcc_s.so.1 => /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 
(0x0000007f7f1c0000)
        libc.so.6 => /usr/lib/aarch64-linux-gnu/libc.so.6 (0x0000007f7f000000)
        /lib/ld-linux-aarch64.so.1 (0x0000007f80150000)
        libz.so.1 => /usr/lib/aarch64-linux-gnu/libz.so.1 (0x0000007f7efc0000)
        libbz2.so.1.0 => /usr/lib/aarch64-linux-gnu/libbz2.so.1.0 
(0x0000007f7ef90000)
        liblzma.so.5 => /usr/lib/aarch64-linux-gnu/liblzma.so.5 
(0x0000007f7ef40000)
        liblz4.so.1 => /usr/lib/aarch64-linux-gnu/liblz4.so.1 
(0x0000007f7eef0000)
        libzstd.so.1 => /usr/lib/aarch64-linux-gnu/libzstd.so.1 
(0x0000007f7ee20000)
        libudev.so.1 => /usr/lib/aarch64-linux-gnu/libudev.so.1 
(0x0000007f7edc0000)
        libsystemd.so.0 => /usr/lib/aarch64-linux-gnu/libsystemd.so.0 
(0x0000007f7ec90000)
        libcrypto.so.3 => /usr/lib/aarch64-linux-gnu/libcrypto.so.3 
(0x0000007f7e670000)
        libxxhash.so.0 => /usr/lib/aarch64-linux-gnu/libxxhash.so.0 
(0x0000007f7e640000)
        libm.so.6 => /usr/lib/aarch64-linux-gnu/libm.so.6 (0x0000007f7e570000)
        libuuid.so.1 => /usr/lib/aarch64-linux-gnu/libuuid.so.1 
(0x0000007f7e540000)
        libcap.so.2 => /usr/lib/aarch64-linux-gnu/libcap.so.2 
(0x0000007f7e510000)

-- System Information:
Debian Release: 13.7
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 6.18.50+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
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)

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-8.1
ii  libapt-pkg7.0             3.0.3
ii  libboost-iostreams1.90.0  1.90.0-6.1+b1
ii  libc6                     2.43-5
ii  libcwidget4               0.5.18-6+b2
ii  libgcc-s1                 14.2.0-19
ii  libncursesw6              6.5+20250216-2
ii  libsigc++-2.0-0v5         2.12.1-3
ii  libsqlite3-0              3.46.1-7+deb13u2
ii  libstdc++6                14.2.0-19
ii  libtinfo6                 6.5+20250216-2
ii  libxapian30               1.4.29-3+deb13u1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.22
ii  sensible-utils  0.0.25

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
pn  aptitude-doc-en | aptitude-doc  <none>
pn  debtags                         <none>
pn  tasksel                         <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cwidget
Source-Version: 0.5.18-6.1
Done: Paul Martin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cwidget, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Martin <[email protected]> (supplier of updated cwidget 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 [email protected])


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

Format: 1.8
Date: Fri, 06 Nov 2026 14:42:58 +0000
Source: cwidget
Architecture: source
Version: 0.5.18-6.1
Distribution: unstable
Urgency: medium
Maintainer: Manuel A. Fernandez Montecelo <[email protected]>
Changed-By: Paul Martin <[email protected]>
Closes: 1148483 1149546
Changes:
 cwidget (0.5.18-6.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix missing return code checking which causes crash with newer libc
     on arm64. (Closes: #1148483, #1149546)
Checksums-Sha1:
 9d27665e96993c3eb3cbe94131c69df6008383f5 2275 cwidget_0.5.18-6.1.dsc
 3c8fd2d3a0b68ae3b6c2021279189012f7058100 9996 cwidget_0.5.18-6.1.debian.tar.xz
 b7fe0fdd081d7ebcfb4f8d3b2e10e0b33e9b4ac2 7084 
cwidget_0.5.18-6.1_source.buildinfo
Checksums-Sha256:
 32923a2a9cdd032f68f667de35f8a59e7792af7f7b27dab3f5e5b30b1052d71a 2275 
cwidget_0.5.18-6.1.dsc
 22ca099aa5d9738b732b5426fad8b64e6c786542af4de4828f098ea19dfda46a 9996 
cwidget_0.5.18-6.1.debian.tar.xz
 e81b3b75f0622be6232d2b0a4340d6c5126ca07e1f65c5e201fec307283ca77f 7084 
cwidget_0.5.18-6.1_source.buildinfo
Files:
 f46442517d3c39cc5e59ff0305cd82c9 2275 libs optional cwidget_0.5.18-6.1.dsc
 7cd993c2e1153061132cd5e084d43306 9996 libs optional 
cwidget_0.5.18-6.1.debian.tar.xz
 0b76cc79f9a1302582602ce34c2c8233 7084 libs optional 
cwidget_0.5.18-6.1_source.buildinfo

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

iQIzBAEBCgAdFiEEqzoNLxJE86Wk//Z+8pAJMH9HEo8FAmruE+8ACgkQ8pAJMH9H
Eo+heg/9E9YrZ+eVLFBZv8xmRu9Wx7c4z/NARL8CCRHOJPzj/LCz00oo2uBEvZzI
OqVXS1s6O6+kZdXQ3Jzsl6a1BfuODv8g9Tr+zJ5QwfPT81MM9p/ONdnG2aRxfc1k
Y93fUaWObfS+h9tDSW3FJhLDzHqAXYf7gOwnlQeHuTkp80QYb0OOJ1VYLh3JBJnA
cpLWlGJcaT+cz/1HYUVnGY5Jp3E5sED3Xr1nulWR7YOQBthEBJvvfz5+rS/HRYEF
9wMho2ncHSxdowms0f0gJdRvycjjGOpgW9YR9jbrgdyuUFptfQt7RLyIpbZ4xozT
MHJRPfSE5pKtzp8aR2P9LnNQi/Kg93jQoOBLhvnhxQhBTpH6hluY5mAABiWw5/Bl
aa5+PX0wwIR3dFrWUtywkfreMupDLbaQqpusPH6tYh5lCgII+8OneezvDNl7BKot
cVeKIxnyRi3s0R9A8MENC4oRCc0AhcTpNUR1S/7Skc2qMhRCKJ9gGw4wkCknu9nZ
K9H2/tV8Dy0qNNgNcjhWV2Z/5hijcaVJa2Rj9i8sknFDeC5oBsW30Tzae+BJcvw6
Kn42BY8PD3AR0CJl1ATYgTGCP2e61Wqa/f1LAbT0RpC0NL0lVOYs0dPeW+9qzdqH
MYwObXb3zRppcvGto73TziWRRGAc+t4oq8r5OhuSv9pliHPCkzU=
=w0WU
-----END PGP SIGNATURE-----

Attachment: pgpAqqJlxQzKh.pgp
Description: PGP signature


--- End Message ---

Reply via email to