Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79719 - [procps-ng] /usr/bin/w segfault using -shi flag
Attached to Project:
Arch Linux
Opened by Michael Brown (michael8rown) - Sunday, 17 September 2023, 13:26 GMT
Last edited by Christian Hesse (eworm) - Monday, 18 September 2023, 09:22 GMT
Opened by Michael Brown (michael8rown) - Sunday, 17 September 2023, 13:26 GMT
Last edited by Christian Hesse (eworm) - Monday, 18 September 2023, 09:22 GMT
|
DetailsDescription: Running w -shi results in a segmentation fault.
On Sep 9 I upgraded procps-ng 4.0.3-1 -> 4.0.4-1 on 3 separate laptops. Since that upgrade, I'm getting random segfaults from /usr/bin/w using "shi" flag on all 3 laptops. I use this command in a script that sends me a status email hourly. I've been running the command this way for over a year without issue. Beginning with 4.0.4, I'm getting random segfaults from that command. I'm running LTS kernel on all 3 machines. Additional info: * package version(s) - 4.0.4 (procps-ng 4.0.4-1) * config and/or log files etc. - journalctl for a recent event: Sep 17 08:07:35 computer kernel: w[5081]: segfault at 15c ip 000055f9e95259e8 sp 00007fff93fedcc0 error 4 in w[55f9e9525000+2000] likely on CPU 2 (core 1, socket 0) Sep 17 08:07:35 computer kernel: Code: 24 f8 0f 00 00 00 48 39 fc 75 eb 81 e6 ff 0f 00 00 48 29 f4 48 85 f6 74 06 48 83 4c 34 f8 00 49 89 e7 85 d2 0f 84 28 01 00 00 <49> 8b 84 24 5c 01 00 00 49 8b 94 24 64 01 00 00 48 89 c6 48 89 45 Sep 17 08:07:35 computer systemd[1]: Started Process Core Dump (PID 5082/UID 0). Sep 17 08:07:35 computer systemd-coredump[5083]: Process 5081 (w) of user 1000 dumped core. Sep 17 08:07:35 computer systemd[1]: systemd-coredump@5-5082-0.service: Deactivated successfully. Steps to reproduce: enter w -shi on the command line. |
This task depends upon
Closed by Christian Hesse (eworm)
Monday, 18 September 2023, 09:22 GMT
Reason for closing: Fixed
Additional comments about closing: procps-ng 4.0.4-2
Monday, 18 September 2023, 09:22 GMT
Reason for closing: Fixed
Additional comments about closing: procps-ng 4.0.4-2
Comment by loqs (loqs) -
Sunday, 17 September 2023, 13:46 GMT
Fixed by https://gitlab.com/procps-ng/procps/-/commit/79042e07fab9956135a21b1df7a69d1fbde7ef79