apport-gtk hangs for some time when Cancel button pressed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I ran `ubuntu-bug gnome-terminal`, but then realized a second or so later that's not what I had intended to do. I therefore clicked the Cancel button on the "Collecting problem information / Information is being collected that may help the developers fix the problem you report." dialog that had popped up. It hung, i.e., the back-and-forth progress bar in the dialog stopped moving, and nothing else happened, and it's still sitting several minutes later doing nothing.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: apport 2.20.10-0ubuntu13
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 9 09:21:14 2018
InstallationDate: Installed on 2018-09-27 (42 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitec
SourcePackage: apport
UpgradeStatus: Upgraded to cosmic on 2018-11-08 (0 days ago)
modified.
mtime.conffile.
summary: |
- ubuntu-bug hangs when Cancel button pressed + apport-gtk hangs for some time when Cancel button pressed |
Thanks for reporting the bug and providing an easy step to reproduce.
I could kind-of reproduce this behavior in a Ubuntu 20.04 (focal) VM: Run "ubuntu-bug gnome-terminal" and then click directly on abort. The windows froze for several seconds (but not mintues) until it closes. On Ubuntu 22.04 it hang for around three seconds. On Ubuntu 18.04 it hang for around 4 seconds.
I don't know why the window hanged for several minutes on your system (maybe your system is significant slower or you hit another bug as well.
Apport should instantly hide the window and stop the collection.