Debian Bug report logs -
#1053706
procps: [w] no "from" data and segfault with parameter -s
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, tecnosegugio@gmail.com, Craig Small <csmall@debian.org>:
Bug#1053706; Package procps.
(Mon, 09 Oct 2023 11:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Pierpaolo Toniolo <tecnosegugio@gmail.com>:
New Bug report received and forwarded. Copy sent to tecnosegugio@gmail.com, Craig Small <csmall@debian.org>.
(Mon, 09 Oct 2023 11:09:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: procps
Version: 2:4.0.4-2
Severity: normal
X-Debbugs-Cc: tecnosegugio@gmail.com
Dear Maintainer,
I was trying to read the DISPLAY value from the output of 'w' command but with
version 2:4.0.4-2 there is no value in the "FROM" column.
These are some examples of the actual output:
$ w
13:00:24 up 19 min, 1 user, load average: 0,16, 0,15, 0,19
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
tecnoseg tty2 - 12:40 19:42 44.43s 0.01s
/usr/libexec/gnome-session-binary
$ w -i
12:52:37 up 11 min, 1 user, load average: 0,10, 0,22, 0,25
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
tecnoseg tty2 - 12:40 11:55 32.15s 0.01s
/usr/libexec/gnome-session-binary
$ w -s
12:53:16 up 12 min, 1 user, load average: 0,20, 0,24, 0,25
USER TTY FROM IDLE WHAT
Errore di segmentazione [*]
[*] = italian for "Segmentation error"
Previous version of the command give this output:
$ w
13:02:45 up 1:18, 2 users, load average: 1,34, 0,92, 0,93
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
kiosk tty7 :0 11:45 1:18m 15:55 0.18s
/usr/bin/openbox --startup /usr/lib/x86_64-linux-gnu/openbox-autostart OPENBOX
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-2-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.65.2
ii libc6 2.37-12
ii libncursesw6 6.4+20230625-2
ii libproc2-0 2:4.0.4-2
ii libsystemd0 254.5-1
ii libtinfo6 6.4+20230625-2
Versions of packages procps recommends:
ii psmisc 23.6-1
procps suggests no packages.
-- Configuration Files:
/etc/sysctl.conf changed:
kernel.printk = 3 4 1 3
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#1053706; Package procps.
(Wed, 11 Oct 2023 06:30:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Craig Small <csmall@debian.org>:
Extra info received and forwarded to list.
(Wed, 11 Oct 2023 06:30:06 GMT) (full text, mbox, link).
Message #10 received at 1053706@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 1053706 fixed-upstream
thankyou
On Mon, 9 Oct 2023 at 22:09, Pierpaolo Toniolo <tecnosegugio@gmail.com>
wrote:
> I was trying to read the DISPLAY value from the output of 'w' command but
> with
> version 2:4.0.4-2 there is no value in the "FROM" column.
>
It's not really giving anything useful printing :0 Also with systemd
and/or wayland it's not technically :0 anymore.
$ w -s
> 12:53:16 up 12 min, 1 user, load average: 0,20, 0,24, 0,25
> USER TTY FROM IDLE WHAT
> Errore di segmentazione [*]
> [*] = italian for "Segmentation error"
>
That's upstream issue 301 (https://gitlab.com/procps-ng/procps/-/issues/301)
which is fixed upstream.
- Craig
[Message part 2 (text/html, inline)]
Added tag(s) fixed-upstream.
Request was from Craig Small <csmall@debian.org>
to control@bugs.debian.org.
(Wed, 11 Oct 2023 06:30:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 02:19:14 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.