- Package:
- libreadline8t64
- Source:
- libreadline8t64
- Description:
- GNU readline and history libraries, run-time libraries
- Submitter:
- Sebastian Reichel
- Date:
- 2025-09-06 13:03:02 UTC
- Severity:
- normal
- Tags:
Hi,
After upgrading libreadline8t64 from 8.2-6 to 8.3-2 iwctl (from the iwd
package) no longer works on my system and simply segfaults on start. My
system is a T14s Gen6 Snapdragon based on arm64. Downgrading libreadline8t64
to the previous 8.2-6 version fixes the issue. Here is a stacktrace of
the problem, which also points into libreadline functions:
---------------------------------------------------------------------------
(gdb) bt
#0 0x0000fffff7eb0398 in update_line (old=<optimized out>, old_face=<optimized out>,
new=<optimized out>, new_face=0xaaaaaab1c650 "", current_line=current_line@entry=0,
omax=<optimized out>, nmax=<optimized out>, inv_botlin=inv_botlin@entry=0) at ./display.c:2207
#1 0x0000fffff7eb3648 [PAC] in rl_redisplay () at ./display.c:1368
#2 0x0000aaaaaaaaf804 [PAC] in display_enable_cmd_prompt () at client/display.c:802
#3 0x0000aaaaaaaad004 [PAC] in get_managed_objects_callback (message=0xaaaaaab26070,
user_data=<optimized out>) at client/dbus-proxy.c:777
#4 0x0000fffff7f28328 [PAC] in handle_method_return (dbus=dbus@entry=0xaaaaaab027a0,
message=message@entry=0xaaaaaab26070) at ell/dbus.c:204
#5 0x0000fffff7f288fc [PAC] in message_read_handler (io=<optimized out>, user_data=0xaaaaaab027a0)
at ell/dbus.c:264
#6 0x0000fffff7f1d54c [PAC] in io_callback (fd=<optimized out>, events=1, user_data=0xaaaaaab02880)
at ell/io.c:105
#7 0x0000fffff7f1c3ec [PAC] in l_main_iterate (timeout=<optimized out>) at ell/main.c:461
#8 0x0000fffff7f1c4e8 [PAC] in l_main_run () at ell/main.c:508
#9 l_main_run () at ell/main.c:490
#10 0x0000fffff7f1c728 [PAC] in l_main_run_with_signal (
callback=callback@entry=0xaaaaaaaa8040 <signal_handler>, user_data=user_data@entry=0x0)
at ell/main.c:630
#11 0x0000aaaaaaaa7eb4 [PAC] in main (argc=1, argv=0xffffffffef58) at client/main.c:70
---------------------------------------------------------------------------
Thanks for maintaining readline,
(gdb) bt #0 0x00007ffff7ee1e38 in update_line (old=<optimized out>, old_face=0x5555555b1d80 '0' <repeats 27 times>, new=0x5555555b2190 "", new_face=0x5555555b25a0 "", current_line=current_line@entry=0, omax=27, nmax=0, inv_botlin=0) at ./display.c:2207 #1 0x00007ffff7ee4bfd in rl_redisplay () at ./display.c:1368 #2 0x0000555555562c81 in display_enable_cmd_prompt () at client/display.c:802 #3 0x000055555556042e in get_managed_objects_callback (message=0x5555555bbe60, user_data=<optimized out>) at client/dbus-proxy.c:777 #4 0x00007ffff7f370c5 in handle_method_return (dbus=dbus@entry=0x555555598770, message=message@entry=0x5555555bbe60) at ell/dbus.c:204 #5 0x00007ffff7f37631 in message_read_handler (io=<optimized out>, user_data=0x555555598770) at ell/dbus.c:264 #6 0x00007ffff7f2d020 in io_callback (fd=<optimized out>, events=1, user_data=0x555555598850) at ell/io.c:105 #7 0x00007ffff7f2c155 in l_main_iterate (timeout=<optimized out>) at ell/main.c:461 #8 0x00007ffff7f2c21c in l_main_run () at ell/main.c:508 #9 l_main_run () at ell/main.c:490 #10 0x00007ffff7f2c43f in l_main_run_with_signal (callback=callback@entry=0x55555555bb20 <signal_handler>, user_data=user_data@entry=0x0) at ell/main.c:630 #11 0x000055555555b9e3 in main (argc=1, argv=0x7fffffffe108) at client/main.c:70 Greetings,
Hi, It's me again. Apparently the bug has already been reported upstream (twice) by Arch with the first link having a patch, which supposedly fixes the issue and the second link having a minimal test case: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00005.html https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00006.html The patch has been provided by Chet Ramey, but is not yet part of any release (and/or upstream git) as far as I could see. Looks like Arch carries it downstream for now, so I suggest we do the same in Debian. Greetings,
We believe that the bug you reported is fixed in the latest version of readline, 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 1114021@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose <doko@debian.org> (supplier of updated readline 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) Format: 1.8 Date: Sat, 06 Sep 2025 11:35:13 +0200 Source: readline Built-For-Profiles: noudeb Architecture: source Version: 8.3-3 Distribution: unstable Urgency: medium Maintainer: Matthias Klose <doko@debian.org> Changed-By: Matthias Klose <doko@debian.org> Closes: 1114021 Changes: readline (8.3-3) unstable; urgency=medium . * Fix segfault, reported for iwd. Closes: #1114021. Checksums-Sha1: 61bc1dac2d1e82ebdfe65c6eac1f8f85af55ed0a 2817 readline_8.3-3.dsc 916c15ba1def8cc95e36fa6532f971cc8113e198 34188 readline_8.3-3.debian.tar.xz 4688e4c90b0ecfed5656651c04ce08cb17e39052 7955 readline_8.3-3_source.buildinfo Checksums-Sha256: eb1a1b3c36b5e3b127adf941dd2c861157b5861016ae2b63efc27f1b80742776 2817 readline_8.3-3.dsc 7c6bfc62ecdcc8d311534cfd01ef8c24117650a95aead8d2625c7f12f5793ad9 34188 readline_8.3-3.debian.tar.xz fe8a8e17bacd517c88e2aab80292ce03b432e51d69f72c8ae76f036aed0c4f94 7955 readline_8.3-3_source.buildinfo Files: aa9c1901deeaf0d98a00d1b581a12fde 2817 libs optional readline_8.3-3.dsc 1744cf97050a3173e32aee452bb56174 34188 libs optional readline_8.3-3.debian.tar.xz 256aca71e52ba84ac5a5c8f7514ad640 7955 libs optional readline_8.3-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmi8AL4QHGRva29AZGVi aWFuLm9yZwAKCRC9fqpgd4+m9Wm2D/4o5GsEhTfd0/Sov8c0tmA3p7V2iU6kG1Ju 9520pOLze0iWY6JBfmqWoPJVVb1bmI3HIr+rC4LeDKE0CXGkF9jz0o6B3b2rJ9f+ e4TrmS+DadIqSGnB6jqg+2Gndi7TZa4eRcShzKQKoPXnNrC99FeZYAXGGprgadu7 pUu8aeME90jPGIwlJPs3beMoYrbq+oA6dl2oDgZl4RF+ezISciJXLPeISK2pEHR/ vWrl/B7sLDwvRXprpH2nJbBinItNBCCB1bsLGgXgqbQO1uefHjC/kW5qbA+SKGLl iVNl5gL+CCuHVamjNWMXRxa7OBHKyQQ5pQGj+dyFWB4/nRtDCXRhNLhMm5Kpbdc+ 5gnIZ4GOw/o6Jko5IIcciE4ZhCoTtKzm5fRNFJp8rNFAefxmg3wUUkyekir5DxhZ BPzM1BFRgD6vMzxMvbIwFc5IEAtOl4iPrDQfi7iCg9H8kD74nfrkVaVi0X6noFPL 71KuBtWD58Bo73bqqBC+HDkTJfZD1mnyOTvGc1ATKpAq2TN97PzNdrL0dTt68kNi rTU8+Y8U1desPtj2c49NbN6DsgVZw81lT4Hl3wzyEWyz1sXd/x7NuQAT49qy0vIX QM8VeopV+AUNGdpnR+FD1ENle4zfmBt6EuFvImKlJeWRLtMOV2hdILebzSdQ01Nq cTwBjveYWw== =4vXL -----END PGP SIGNATURE-----