[Bug 1821412] Please test proposed package
Brian Murray
1821412 at bugs.launchpad.net
Tue Dec 7 16:25:33 UTC 2021
Hello Brian, or anyone else affected,
Accepted update-notifier into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
notifier/3.192.30.10 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1821412
Title:
"System program problem" report button does nothing
Status in update-notifier package in Ubuntu:
Fix Released
Status in update-notifier source package in Bionic:
Won't Fix
Status in update-notifier source package in Focal:
Fix Committed
Status in update-notifier source package in Hirsute:
Fix Committed
Status in update-notifier source package in Impish:
Fix Committed
Bug description:
[Impact]
* Users, already annoyed that software has crashed and they have an
unwanted dialog instead, are unable to click the report button to
let us know about the crash.
* Two identical-looking dialogs exist - one on the system-crash
path, and one spawned by the background update-notifier process.
The system crash one is the failing one, the update-notifier one
is fine. The system crash one shows first, and users may not
bother to approve the second one given that the first didn't do
anything
* We receive fewer crash reports
[Test Plan]
* sudo xeyes &
* sudo kill -11 $PID from above
* receive crash notification
* click "Report problem..."
* We should see the report procedure start
[Where problems could occur]
* By the nature of the supplied fix, if the report process hangs
around, the normal systemd cleanup procedures would fail to clean
it up. This same risk is present for report processes initiated
on the non-system-crash report code path.
* Wayland is still affected even with this fix, for different reasons
(LP: #1947929)
[Other Info]
Q: Systemd says KillMode=process is not recommended
https://www.freedesktop.org/software/systemd/man/systemd.kill.html
In this case, killing the other processes in the control-group is part
of the problem.
The system crash dialog is a relatively simple bit of code that shows
a dialog, then runs a report process. This dialog process is spawned
as part of a chain of processes downstream from
update-notifier-crash.service.
This dialog runs the report process using g_spawn_async(). After
spawning the report process, there isn't any particular reason to keep
the dialog process around, so it exits. This exit is triggering the
KillMode behavior, and because the report process is in the control
group, the report process is killed.
Another possibility for addressing the process management is to run
the report process synchronously - keep the dialog process around
until the report is done and just make the dialog not visible. This
is not a workable answer in this case because with the current gtk
code usage, the dialog sticks around - even after the call to
gtk_widget_destroy()! This appears to be due to usage of
gtk_dialog_run(). Long term I recommend we modernize this code.
My initial fix for this LP was in that direction.
https://git.launchpad.net/~dbungert/update-notifier/commit/?id=06058d5705ed7cd636206c1ee72c376ec903fe74
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1821412/+subscriptions
More information about the foundations-bugs
mailing list