Ubuntu – apport-gtk 100% CPU usage on startup on Ubuntu (14.04 LTS)

apportcpu load

I'm getting 100% CPU usage at startup consistently by apport-gtk as shown here.

screenshot

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:

  1. 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
    
  2. I've disabled all options in System Settings > Security & Privacy > Diagnostics tab as shown below.

    screenshot

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?

Best Answer

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.