apport-gtk 100% CPU usage on startup on Ubuntu (14.04 LTS)
Take a look and delete all files in /var/crash/
:
rm /var/crash/*
I suddenly had the same problem apport-gtk taking 100% on every restart.
Seemed there was a huge (2GB+) bogus crash file in /var/crash/ that couldn't be parsed. After several minutes of waiting I always ended up with this rather mysterious dialog:
This problem report is damaged and cannot be processed. Error('Incorrect padding',)
After I deleted the file in /var/crash/
both issues were gone.
Related videos on Youtube
![ehsanullahjan](https://i.stack.imgur.com/pByn5.png?s=256&g=1)
ehsanullahjan
Son, husband, dad, programmer, gamer… Certainly a class that violates the SRP ;)
Updated on September 18, 2022Comments
-
ehsanullahjan almost 2 years
I'm getting 100% CPU usage at startup consistently by apport-gtk as shown here.
According to Apport wiki shouldn't even be running on my machine since it's not a beta version (although I upgraded from 14.04 LTS Beta 2 to the release version).
Finally, I have tried the following to no avail:
-
Disable apport as described here
$ cat /etc/default/apport # set this to 0 to disable apport, or to 1 to enable it # you can temporarily override this with # sudo service apport start force_start=1 enabled=0
-
I've disabled all options in System Settings > Security & Privacy > Diagnostics tab as shown below.
Brief system info:
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty $ uname -a Linux architect 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I've run out of ideas and am not sure what I can do to fix this issue. Any ideas?
-
Avinash Raj about 10 yearsjust kill the apport-gtk process.
-
ehsanullahjan about 10 yearsThe processes (4 of 'em as shown) go away by themselves after like 15-20 seconds so I don't want to kill them, not to mention having to start the computer by killing something every time would be weird ;).
-
Admin over 9 yearsDo you really need it? I removed apport with apt-get.
-
ccpizza over 5 years
sudo apt remove apport
-
-
demel almost 10 yearsMaybe relevant: bugs.launchpad.net/ubuntu/+source/apport/+bug/970837
-
ehsanullahjan almost 10 yearsUnfortunately I had to re-install for some reason soon after I posted the question. After the new installation, it's working perfectly fine. If I have to guess, I'd blame it on the fact that my installation was an upgrade to 14.04 from beta 2. I guess that screwed apport somehow.
-
Janghou almost 10 yearsA re-install will clear
/var/crash/*
as well, but to solve the issue a manual clear is much easier. -
rviertel over 7 yearsapport-gtk was taking up 100% of my cpu usage when starting the Atom text editor, and Atom was extremely slow to load or quit. After clearing /var/crash it works perfectly for me
-
Colin D over 3 yearsI get intermittent things with apport-gtk taking 100% CPU, maybe it is error reporting but it is driving my laptop crazy. It's like I have headphones on, take my headphones off, and I hear my laptop fans going insane. Maybe this is related to me being a webdeveloper and crashing chrome tabs? Will have to try this answer, but it doesn't happen for me on every startup, it's like after I crash something