Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1171235 > unrolled thread

Bug#1053706: procps: [w] no "from" data and segfault with parameter -s

Started byPierpaolo Toniolo <tecnosegugio@gmail.com>
First post2023-10-09 13:10 +0200
Last post2023-10-11 08:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1053706: procps: [w] no "from" data and segfault with parameter -s Pierpaolo Toniolo <tecnosegugio@gmail.com> - 2023-10-09 13:10 +0200
    Bug#1053706: procps: [w] no "from" data and segfault with parameter -s Craig Small <csmall@debian.org> - 2023-10-11 08:40 +0200

#1171235 — Bug#1053706: procps: [w] no "from" data and segfault with parameter -s

FromPierpaolo Toniolo <tecnosegugio@gmail.com>
Date2023-10-09 13:10 +0200
SubjectBug#1053706: procps: [w] no "from" data and segfault with parameter -s
Message-ID<HmWj7-eBi0-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1171378

FromCraig Small <csmall@debian.org>
Date2023-10-11 08:40 +0200
Message-ID<HnB2W-f2eK-3@gated-at.bofh.it>
In reply to#1171235

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web