[Bug 2067250] Re: /usr/bin/w -s segfaults

Alex Murray 2067250 at bugs.launchpad.net
Tue May 28 01:40:48 UTC 2024


I think a follow-up commit might also be needed
https://gitlab.com/procps-
ng/procps/-/commit/b113806ccfa706e73bc2e0005eb7606d08c03850 since the
code to print the results from sd_get_sessions() still has the wrong
test of `if (sessions >= 0)` - this instead should be `if (sessions >
0)` which is corrected in this additional commit

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/2067250

Title:
  /usr/bin/w -s segfaults

Status in procps package in Ubuntu:
  Triaged
Status in procps package in Debian:
  Confirmed

Bug description:
  procps 2:4.0.4-4ubuntu3

  Just running "w -s" segfaults:

  # w -s
   07:55:26 up 8 min,  3 users,  load average: 0.00, 0.03, 0.02
  USER     TTY      FROM              IDLE WHAT
  Segmentation fault (core dumped)

  I see if I can get a backtrace.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2067250/+subscriptions




More information about the foundations-bugs mailing list