Article View: linux.debian.bugs.dist
Article #2268Bug#1152188: procps: w -t -p == SIGSEV
From: Tj
Date: Mon, 26 Oct 2026 16:50
Date: Mon, 26 Oct 2026 16:50
76 lines
5276 bytes
5276 bytes
Package: procps
Version: 2:4.0.4-9
Severity: normal
Tags: upstream
X-Debbugs-Cc: tj.iam.tj@proton.me
There is an upstream fix in commit 7425a392 "w: Do not crash with -pt":
https://gitlab.com/procps-ng/procps/-/commit/7425a3929cc80885dba77237a17fe472eed4b88a
$ gdb --args w -t -p
...
16:15:01 up 26 days, 6:59, 1 user, load average: 0.63, 0.85, 1.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
Program received signal SIGSEGV, Segmentation fault.
0x00005555555585b5 in print_terminal_user (longform=longform@entry=1, maxcmd=maxcmd@entry=119, from=from@entry=1, userlen=userlen@entry=8, fromlen=fromlen@entry=16,
ip_addresses=ip_addresses@entry=0, show_pids=1, first_start=6707, first_pid=3798, last_pid=3798, ttyname=0x7fffffffd3b0 "tty2", jcpu=2075586, pcpu=2075586,
cmdline=0x7fffffffd3e0 "/usr/lib/xorg/Xorg -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_NLFZIf -noreset -displayfd 16") at src/w.c:870
870 #else
(gdb) bt full
#0 0x00005555555585b5 in print_terminal_user (longform=longform@entry=1, maxcmd=maxcmd@entry=119, from=from@entry=1, userlen=userlen@entry=8, fromlen=fromlen@entry=16,
ip_addresses=ip_addresses@entry=0, show_pids=1, first_start=6707, first_pid=3798, last_pid=3798, ttyname=0x7fffffffd3b0 "tty2", jcpu=2075586, pcpu=2075586,
cmdline=0x7fffffffd3e0 "/usr/lib/xorg/Xorg -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_NLFZIf -noreset -displayfd 16") at src/w.c:870
ut_pid = -1
hertz = 100
session = 0x0
username = 0x0
ttypath = "/dev/tty2", '\000' <repeats 28 times>
uname = "root", '\000' <repeats 28 times>
pids_length = 0
u = 0x0
#1 0x000055555555894e in print_user_terminals (longform=longform@entry=1, maxcmd=maxcmd@entry=119, from=from@entry=1, userlen=userlen@entry=8, fromlen=fromlen@entry=16,
ip_addresses=ip_addresses@entry=0, show_pids=1, pids_info=0x555555561970, reap=0x5555555619a8) at src/w.c:939
i = 817
total_procs = <optimized out>
current_tty = <optimized out>
first_pid = 3798
last_start = <optimized out>
first_start = 6707
last_pid = 3798
cmdline = "/usr/lib/xorg/Xorg -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_NLFZIf -noreset -displayfd 16", '\000' <repeats 395 times>
ttyname = "tty2", '\000' <repeats 28 times>, "#"
jcpu = 2075586
pcpu = <optimized out>
#2 0x00005555555567a1 in main (argc=<optimized out>, argv=<optimized out>) at src/w.c:1117
-- System Information:
Debian Release: 13.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable'), (100, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.2.6+debian+tj (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: 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/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages procps depends on:
ii init-system-helpers 1.69~deb13u1
ii libc6 2.41-12+deb13u4
ii libncursesw6 6.5+20250216-2
ii libproc2-0 2:4.0.4-9
ii libsystemd0 257.13-1~deb13u1
ii libtinfo6 6.5+20250216-2
Versions of packages procps recommends:
ii linux-sysctl-defaults 4.12.1
ii psmisc 23.7-2
procps suggests no packages.
-- no debconf information
Technical Details
Message-ID:
<NSw3v-82Lb-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Tj <tj.iam.tj@proton.me> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152188: procps: w -t -p == SIGSEV Date: Mon, 26 Oct 2026 17:50:01 +0100 Message-ID: <NSw3v-82Lb-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 16:41:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.527 Reply-To: Tj <tj.iam.tj@proton.me>, 1152188@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: tj.iam.tj@proton.me, csmall@debian.org X-Debian-Pr-Message: report 1152188 X-Debian-Pr-Package: procps X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: procps Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999046 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 16:39:08 +0000 X-Original-Message-ID: <179303274865.3246547.7416441740057366855.reportbug@sunny.iam.tj>