Your message dated Fri, 06 Feb 2026 08:10:14 +0000
with message-id <[email protected]>
and subject line Bug#1068904: fixed in procps 2:4.0.6-1
has caused the Debian Bug report #1068904,
regarding w: crashes because of the systemd support
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.)


-- 
1068904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068904
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:4.0.4-4
Severity: normal

I noticed that w is segfaulting sometimes. Backtracing it showed the
issue. Running `w -hs` crashes. The main function passes NULL utmp entry
together with the systemd session, while later print_from expects to be
able to access the utmp data.

(gdb) r
Starting program: /tmp/procps-4.0.4/src/.libs/w -hs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
print_host (host=host@entry=0x4c <error: Cannot access memory at address 0x4c>, 
len=16, len@entry=256, fromlen=fromlen@entry=16) at src/w.c:112
112                     if (*host == '\0') break;
(gdb) bt
#0  print_host (host=host@entry=0x4c <error: Cannot access memory at address 
0x4c>, len=16, len@entry=256, fromlen=fromlen@entry=16) at src/w.c:112
#1  0x0000555555557371 in print_from (session=session@entry=0x0, u=u@entry=0x0, 
ip_addresses=ip_addresses@entry=0, fromlen=fromlen@entry=16) at src/w.c:264
#2  0x0000555555557e6e in showinfo (session=0x5555555654d0 "1794", 
name=name@entry=0x55555555d800 "lumag", u=u@entry=0x0, 
formtype=formtype@entry=0, maxcmd=maxcmd@entry=156, from=from@entry=1,
    userlen=8, fromlen=16, ip_addresses=0, pids=0) at src/w.c:622
#3  0x000055555555671f in main (argc=<optimized out>, argv=<optimized out>) at 
src/w.c:831
(gdb) list src/w.c:831
826                                             if (!strcmp(name, user))
827                                                     
showinfo(sessions_list[i], name, NULL, longform,
828                                                              maxcmd, from, 
userlen, fromlen,
829                                                              ip_addresses, 
pids);
830                                     } else {
831                                             showinfo(sessions_list[i], 
name, NULL, longform, maxcmd,
832                                                      from, userlen, 
fromlen, ip_addresses, pids);
833                                     }
834                                     free(name);
835                                     free(sessions_list[i]);
(gdb) l src/w.c:264
259                     if (len) { /* IP address is non-empty, print it (and 
concatenate with display, if present) */
260                             fputs(buf, stdout);
261                             /* show the display part of the host or IPv6 
link addr. interface, if present */
262                             print_display_or_interface(u->ut_host, 
UT_HOSTSIZE, fromlen - len);
263                     } else { /* IP address is empty, print the host instead 
*/
264                             print_host(u->ut_host, UT_HOSTSIZE, fromlen);
265                     }
266             } else {  /* -i switch NOT used */
267                     print_host(u->ut_host, UT_HOSTSIZE, fromlen);
268             }



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

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
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=en_GB:en
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages procps depends on:
ii  init-system-helpers  1.66
ii  libc6                2.37-15
ii  libncursesw6         6.4+20240113-1
ii  libproc2-0           2:4.0.4-4
ii  libsystemd0          255.4-1
ii  libtinfo6            6.4+20240113-1

Versions of packages procps recommends:
ii  psmisc  23.7-1

procps suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: procps
Source-Version: 2:4.0.6-1
Done: Craig Small <[email protected]>

We believe that the bug you reported is fixed in the latest version of
procps, 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.
Craig Small <[email protected]> (supplier of updated procps 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: Thu, 29 Jan 2026 21:34:30 +1100
Source: procps
Binary: libproc2-1 libproc2-1-dbgsym libproc2-dev procps procps-dbgsym
Architecture: source amd64
Version: 2:4.0.6-1
Distribution: experimental
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Description:
 libproc2-1 - library for accessing process information from /proc
 libproc2-dev - library for accessing process information from /proc
 procps     - /proc file system utilities
Closes: 469156 612146 883638 925437 926361 959375 978989 1068904 1080335 1108549
Changes:
 procps (2:4.0.6-1) experimental; urgency=medium
 .
   * New upstream version
     library and w: Don't check for sd_booted Closes: #1108549
     pgrep: Match on process ID Closes: #612146
     pgrep: Add --quiet option
     pmap: add -k option to print raw names from kernel
     ps.1: cols and collums alias width option Closes: #926361
     ps.1: Add format equivalents Closes: #925437
     slabtop: Increase column width Closes: #959375
     sysctl: Use options after --system  Closes: #978989
     w: Add terminal mode to show all terminal sessions
     w: Use process TTY as backup for user TTY Closes: #1080335
     w: Use correct return value for sd_get_sessions Closes: #1068904
     watch: Add --follow option Closes: #469156
     watch: 256 color support
     watch.1: Warn about -d permanent option Closes: #883638
Checksums-Sha1:
 dd0915bd4ffb9629c5bdb24ff60a5390607be903 2124 procps_4.0.6-1.dsc
 c7dea27ee8313ac96759c2e4cb6a0f6f181f8c24 1577796 procps_4.0.6.orig.tar.xz
 55855c8b6105621fdbfbdeab615d7ae53dadb595 29720 procps_4.0.6-1.debian.tar.xz
 36cc939c9573dfc116a37050162803f7abf32ab3 157972 
libproc2-1-dbgsym_4.0.6-1_amd64.deb
 725ec3e5863ff59a168362a11dfa4aeb1cb8ea72 71328 libproc2-1_4.0.6-1_amd64.deb
 89046aba1d6213a9e463cd6969556b654b7b5b1e 87844 libproc2-dev_4.0.6-1_amd64.deb
 afa34ee5adb284ff228484f409e915b905615a95 511992 procps-dbgsym_4.0.6-1_amd64.deb
 6eb1a175e3657a66262bc83b9d7cc8fd1617ddfd 7352 procps_4.0.6-1_amd64.buildinfo
 9c62c5b2d5b662069680ebb005e4e9e0449c54f5 985488 procps_4.0.6-1_amd64.deb
Checksums-Sha256:
 67666e43c0c3cca392ae6fdebfd25e7e4e23b1fd373bc9925e4c9de63fa37e6d 2124 
procps_4.0.6-1.dsc
 069333015b10e79440a0884b8d72400819b2ea8d1e77e2b2c3e75de5291eced4 1577796 
procps_4.0.6.orig.tar.xz
 c0173fe552b39bdf26eec6fa270916887a2c3ee5f7ae0999e1512c0341442e49 29720 
procps_4.0.6-1.debian.tar.xz
 49e162f751dd5880ebc59737b172262f87976a96fa895934743a05686e6bffee 157972 
libproc2-1-dbgsym_4.0.6-1_amd64.deb
 4bc92c14d4284e8086900f055776258463cf3b52ecb60b035c90ded161366484 71328 
libproc2-1_4.0.6-1_amd64.deb
 424785149e36e4f9d8a8c1d56d76997e8e492df2b14a06eddde9a02970ad7458 87844 
libproc2-dev_4.0.6-1_amd64.deb
 9329677d3981d7c4383ef7707f6c94469a68d48cda151d7f70b46693f81db56b 511992 
procps-dbgsym_4.0.6-1_amd64.deb
 89924cadcbb2d8e1a12a06df15d7ce850c564dbf32c9a4bb1e073a5fe49cac3d 7352 
procps_4.0.6-1_amd64.buildinfo
 c840314a3b18a0cb23ec9b9e0b184ebf69e963ea5fc058db2041f7239a548874 985488 
procps_4.0.6-1_amd64.deb
Files:
 a58827511a08b33160f8fe92a1ae1c5f 2124 admin optional procps_4.0.6-1.dsc
 7e41246e132394ae5d63ec52bd357af3 1577796 admin optional 
procps_4.0.6.orig.tar.xz
 b35c8a449bf4835edbc77b98acc94abb 29720 admin optional 
procps_4.0.6-1.debian.tar.xz
 575f9bfd05e8cab80626c40c6651fad2 157972 debug optional 
libproc2-1-dbgsym_4.0.6-1_amd64.deb
 0b218897a8a661c4428b504ffef27859 71328 libs optional 
libproc2-1_4.0.6-1_amd64.deb
 64762aa54fb99db57d562f9df77bb7e0 87844 libdevel optional 
libproc2-dev_4.0.6-1_amd64.deb
 8c6b2cace951327d7faa98083e658079 511992 debug optional 
procps-dbgsym_4.0.6-1_amd64.deb
 fbd8c63411a7b2b0745afc1c1c7beb3f 7352 admin optional 
procps_4.0.6-1_amd64.buildinfo
 41983b016eb3ebb9f2bb9b86c4fbde06 985488 admin important 
procps_4.0.6-1_amd64.deb

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

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAml7QaEACgkQAiFmwP88
hONXphAAhcNr8AyzoKU32YepHqkpSULX8EkSxmFZWqjIs8VVMQSdKERjsnlUq3VP
j2okPX5JHSumxbQEvui952EeS8SPReIFG21zDRWZt4QANRWp3B443YGO0f/+HUhc
CIZHM5ugVX53ClsM1oQ4KybVBVEOctRrbzl3MxpY2t7U/SQfPW9zqodwZ2x1m85K
u3U4TvkXeoGNAr6/e970jzvpLODh0AIzKMI/3cnsCxAjhhks9UaJNNNPd4KA2/9b
ByiMfo8mMt+mq6iilr0w0yV8slSfm/7IKbGPKteL2qaXd4T4N6ByYZJHd2dWAvl0
5+qvbL+LMFshpB2N0tdiMxzKchxZI7pdyiSu+IbuOc1JUVFcNnov2hSA/B0gFCrb
bJsTYeA0/ZKrQzWEyUHFu0oJd+wZe4cOUl9SZAxjFD3IvqT2DBvSRlazxxS01bxw
h+tDXyJ0pSsvykk0Hoi9BI+T1B/yoCS024epGV1Isd4yegf+gk495Ww5nDZctSko
x+N8ByeHUEYjrfTb+EgOryXKYbqlI3H7mc8O68X7zUf2CU9LYOtCTGUMM5rsaaaA
q4/PYayu6wCSnX7HH03DyEl1mky3uG38Cn6jjYvk654fLpu+kdVhMcKbX/xwrjCK
9CgaBXIDnHTC1sGYRLUrpVTp+lxqpPEJ6WCPhZ9pLCe5cUJdbH0=
=IXax
-----END PGP SIGNATURE-----

Attachment: pgpI33al8PCQH.pgp
Description: PGP signature


--- End Message ---

Reply via email to