[Bug 2080518] Re: /usr/bin/w:11:print_host:print_from:showinfo:main

Shengjing Zhu 2080518 at bugs.launchpad.net
Fri Sep 27 08:24:03 UTC 2024


** Description changed:

  [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.
+ should cover most options of `w` utility. It may regression 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

** Description changed:

  [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 regression if we miss
- some tests for the options.
+ 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

-- 
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:
  Triaged

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