[Bug 2080518] Re: /usr/bin/w:11:print_host:print_from:showinfo:main
Launchpad Bug Tracker
2080518 at bugs.launchpad.net
Thu Oct 10 17:59:52 UTC 2024
This bug was fixed in the package procps - 2:4.0.4-4ubuntu3.2
---------------
procps (2:4.0.4-4ubuntu3.2) noble; urgency=medium
* ps: Don't crash when using short option (LP: #2080518)
-- Shengjing Zhu <shengjing.zhu at canonical.com> Thu, 26 Sep 2024
16:44:05 +0800
** Changed in: procps (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
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/2080518
Title:
/usr/bin/w:11:print_host:print_from:showinfo:main
Status in procps package in Ubuntu:
Fix Released
Status in procps source package in Noble:
Fix Released
Bug description:
[Impact]
* Running `w -s` crashes. Segmentation fault. It only crashes when
there are users in `w` output.
[ Test Plan ]
* Launch a noble vm. If run `w` doesn't show any user (for example the shell is launched by lxc exec), then run `login -f root` to populate a user in `w` output.
* Install the version from -proposed, and run `w -hs`. It shouldn't crash.
* Run other `w` options, like without `-s`, and combine `-s` with other options as well. They all shouldn't crash.
[ Where problems could occur ]
* The backported patch only affects the `w` utility in procps. The
tests should cover most options of `w` utility. It may have
regressions if we miss some tests for the options.
[ Original description ]
Running `w -hs` crashes.
The Ubuntu Error Tracker has been receiving reports about a problem regarding procps. This problem was most recently seen with package version 2:4.0.4-4ubuntu4, the problem page at https://errors.ubuntu.com/problem/373d37cffbad5aec5447c867001913ba8278a791 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
917 crashes in the last month on Ubuntu 24.04 makes it #31 on
https://errors.ubuntu.com/?release=Ubuntu%2024.04&period=month
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2080518/+subscriptions
More information about the foundations-bugs
mailing list