apport-gtk segfaults on attempting to report a bug

Bug #1298782 reported by themusicgod1
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

* Pretty new install off of 14.04 install media, very few non-default packages installed (however one of them is a newer version of firefox)
* Tried to report a bug on a package, for example:

ubuntu-bug ubuntu-bug

results in:

Segmentation fault (core dumped)

debugging with pdb results in

themusicgod1@snowden:/usr/share/apport$ pdb ./apport-gtk ubuntu-bug
> /usr/share/apport/apport-gtk(3)<module>()
-> '''GTK Apport user interface.'''
(Pdb) next
> /usr/share/apport/apport-gtk(14)<module>()
-> import os.path, sys, subprocess, os, re, errno
(Pdb) next
> /usr/share/apport/apport-gtk(16)<module>()
-> from gi.repository import GObject, GLib, Wnck, GdkX11, Gdk
(Pdb) next
^[[A> /usr/share/apport/apport-gtk(17)<module>()
-> try:
(Pdb) next
> /usr/share/apport/apport-gtk(18)<module>()
-> from gi.repository import Gtk
(Pdb) next
> /usr/share/apport/apport-gtk(24)<module>()
-> import apport
(Pdb) next
ImportError: 'No module named apport'
> /usr/share/apport/apport-gtk(24)<module>()
-> import apport
(Pdb) next
--Return--
> /usr/share/apport/apport-gtk(24)<module>()->None
-> import apport
(Pdb) next
ImportError: 'No module named apport'
> <string>(1)<module>()->None
(Pdb) next
--Return--
> <string>(1)<module>()->None
(Pdb) next
Traceback (most recent call last):
  File "/usr/lib/python2.7/pdb.py", line 1314, in main
    pdb._runscript(mainpyfile)
  File "/usr/lib/python2.7/pdb.py", line 1233, in _runscript
    self.run(statement)
  File "/usr/lib/python2.7/bdb.py", line 400, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "./apport-gtk", line 24, in <module>
    import apport
ImportError: No module named apport
Uncaught exception. Entering post mortem debugging

Doesn't seem to matter if it's root or regular user:

root@snowden:/usr/share/apport# ./apport-gtk ubuntu-bug
Segmentation fault (core dumped)

* When programs crash it seems like the 'would you like to report a problem' comes up, but when run on the cli it just seems to segfault.
* I did not see any core file.

Apport.log :
ERROR: apport (pid 3520) Thu Mar 27 21:32:12 2014: another apport instance is already running, aborting
ERROR: apport (pid 3508) Thu Mar 27 21:32:13 2014: called for pid 2142, signal 11, core limit 0
ERROR: apport (pid 3508) Thu Mar 27 21:32:13 2014: executable: /usr/lib/unity/unity-panel-service (command line "/usr/lib/unity/unity-panel-service")
ERROR: apport (pid 3508) Thu Mar 27 21:32:40 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 3508) Thu Mar 27 21:34:29 2014: wrote report /var/crash/_usr_lib_unity_unity-panel-service.1000.crash
ERROR: apport (pid 3563) Thu Mar 27 21:34:54 2014: called for pid 3546, signal 11, core limit 0
ERROR: apport (pid 3563) Thu Mar 27 21:34:54 2014: executable: /usr/lib/i386-linux-gnu/indicator-session/indicator-session-service (command line "/usr/lib/i386-linux-gnu/indicator-session/indicator-session-service")
ERROR: apport (pid 3563) Thu Mar 27 21:35:02 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 3563) Thu Mar 27 21:35:34 2014: wrote report /var/crash/_usr_lib_i386-linux-gnu_indicator-session_indicator-session-service.1000.crash
ERROR: apport (pid 3862) Thu Mar 27 21:40:07 2014: called for pid 3654, signal 11, core limit 0
ERROR: apport (pid 3862) Thu Mar 27 21:40:08 2014: executable: /usr/lib/i386-linux-gnu/indicator-session/indicator-session-service (command line "/usr/lib/i386-linux-gnu/indicator-session/indicator-session-service")
ERROR: apport (pid 3862) Thu Mar 27 21:40:11 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 3862) Thu Mar 27 21:41:22 2014: wrote report /var/crash/_usr_lib_i386-linux-gnu_indicator-session_indicator-session-service.1000.crash
ERROR: apport (pid 16350) Fri Mar 28 00:14:04 2014: called for pid 16340, signal 11, core limit 0
ERROR: apport (pid 16350) Fri Mar 28 00:14:04 2014: script: /usr/share/oneconf/oneconf-service, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/oneconf/oneconf-service")
ERROR: apport (pid 16350) Fri Mar 28 00:14:04 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 16350) Fri Mar 28 00:14:18 2014: wrote report /var/crash/_usr_share_oneconf_oneconf-service.1000.crash
ERROR: apport (pid 16361) Fri Mar 28 00:14:21 2014: called for pid 16356, signal 11, core limit 0
ERROR: apport (pid 16361) Fri Mar 28 00:14:21 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk")
ERROR: apport (pid 16361) Fri Mar 28 00:14:21 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 16361) Fri Mar 28 00:14:37 2014: wrote report /var/crash/_usr_share_apport_apport-gtk.1000.crash
ERROR: apport (pid 16371) Fri Mar 28 00:14:39 2014: called for pid 16367, signal 11, core limit 0
ERROR: apport (pid 16371) Fri Mar 28 00:14:39 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk")
ERROR: apport (pid 16371) Fri Mar 28 00:14:39 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 16371) Fri Mar 28 00:14:39 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17203) Fri Mar 28 01:02:05 2014: called for pid 17181, signal 11, core limit 0
ERROR: apport (pid 17203) Fri Mar 28 01:02:05 2014: script: /usr/share/oneconf/oneconf-service, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/oneconf/oneconf-service")
ERROR: apport (pid 17203) Fri Mar 28 01:02:05 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17203) Fri Mar 28 01:02:05 2014: apport: report /var/crash/_usr_share_oneconf_oneconf-service.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17815) Fri Mar 28 01:15:16 2014: called for pid 17810, signal 11, core limit 0
ERROR: apport (pid 17815) Fri Mar 28 01:15:16 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk xul-ext-ubufox")
ERROR: apport (pid 17815) Fri Mar 28 01:15:17 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17815) Fri Mar 28 01:15:17 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17825) Fri Mar 28 01:15:26 2014: called for pid 17821, signal 11, core limit 0
ERROR: apport (pid 17825) Fri Mar 28 01:15:26 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk xul-ext-ubufox")
ERROR: apport (pid 17825) Fri Mar 28 01:15:26 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17825) Fri Mar 28 01:15:26 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17837) Fri Mar 28 01:15:40 2014: called for pid 17833, signal 11, core limit 0
ERROR: apport (pid 17837) Fri Mar 28 01:15:40 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk ubuntu-bug")
ERROR: apport (pid 17837) Fri Mar 28 01:15:40 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17837) Fri Mar 28 01:15:40 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17859) Fri Mar 28 01:16:31 2014: called for pid 17855, signal 11, core limit 0
ERROR: apport (pid 17859) Fri Mar 28 01:16:31 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk ubuntu-bug")
ERROR: apport (pid 17859) Fri Mar 28 01:16:31 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17859) Fri Mar 28 01:16:31 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 17888) Fri Mar 28 01:19:38 2014: called for pid 17884, signal 11, core limit 0
ERROR: apport (pid 17888) Fri Mar 28 01:19:38 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk apport-bug")
ERROR: apport (pid 17888) Fri Mar 28 01:19:38 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 17888) Fri Mar 28 01:19:38 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 18002) Fri Mar 28 01:22:02 2014: called for pid 17998, signal 11, core limit 0
ERROR: apport (pid 18002) Fri Mar 28 01:22:02 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 ./apport-gtk")
ERROR: apport (pid 18002) Fri Mar 28 01:22:02 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 18002) Fri Mar 28 01:22:19 2014: wrote report /var/crash/_usr_share_apport_apport-gtk.1000.crash
ERROR: apport (pid 18012) Fri Mar 28 01:22:21 2014: called for pid 18008, signal 11, core limit 0
ERROR: apport (pid 18012) Fri Mar 28 01:22:21 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk")
ERROR: apport (pid 18012) Fri Mar 28 01:22:21 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 18012) Fri Mar 28 01:22:21 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 18066) Fri Mar 28 01:23:06 2014: called for pid 18046, signal 11, core limit 0
ERROR: apport (pid 18066) Fri Mar 28 01:23:06 2014: script: /usr/share/oneconf/oneconf-service, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/oneconf/oneconf-service")
ERROR: apport (pid 18066) Fri Mar 28 01:23:07 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 18066) Fri Mar 28 01:23:22 2014: wrote report /var/crash/_usr_share_oneconf_oneconf-service.1000.crash
ERROR: apport (pid 18083) Fri Mar 28 01:23:25 2014: called for pid 18079, signal 11, core limit 0
ERROR: apport (pid 18083) Fri Mar 28 01:23:25 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 /usr/share/apport/apport-gtk")
ERROR: apport (pid 18083) Fri Mar 28 01:23:25 2014: debug: session gdbus call: (true,)

ERROR: apport (pid 18083) Fri Mar 28 01:23:25 2014: apport: report /var/crash/_usr_share_apport_apport-gtk.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS
ERROR: apport (pid 18115) Fri Mar 28 01:28:07 2014: called for pid 18113, signal 11, core limit 0
ERROR: apport (pid 18115) Fri Mar 28 01:28:07 2014: script: /usr/share/apport/apport-gtk, interpreted by /usr/bin/python3.4 (command line "/usr/bin/python3 ./apport-gtk ubuntu-bug")
ERROR: apport (pid 18115) Fri Mar 28 01:28:07 2014: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 18115) Fri Mar 28 01:28:23 2014: wrote report /var/crash/_usr_share_apport_apport-gtk.0.crash

Tried purging and reinstalling apport-gtk, same thing

root@snowden:/usr/share/apport# apt-cache policy apport-gtk
apport-gtk:
  Installed: 2.13.3-0ubuntu1
  Candidate: 2.13.3-0ubuntu1
  Version table:
 *** 2.13.3-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status

Tags: trusty
Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Jakub Liška (liska-jakub) wrote :

I'm getting this error, but only when using nvidia proprietary driver :

May 2 11:05:21 lisak kernel: [ 71.350777] apt-check[2392]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fff02f32fe8 error 14 in python3.4[400000+354000]
May 2 11:05:21 lisak kernel: [ 71.492139] apport[2393]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fffea07f428 error 14 in python3.4[400000+354000]
May 2 11:05:21 lisak kernel: [ 71.492162] Process 2393(apport) has RLIMIT_CORE set to 1
May 2 11:05:21 lisak kernel: [ 71.492164] Aborting core
May 2 11:05:23 lisak kernel: [ 73.351741] apport-checkrep[2396]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fff28a26378 error 14 in python3.4[400000+354000]
May 2 11:05:23 lisak kernel: [ 73.493450] apport[2397]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fffc1208e38 error 14 in python3.4[400000+354000]
May 2 11:05:23 lisak kernel: [ 73.493473] Process 2397(apport) has RLIMIT_CORE set to 1
May 2 11:05:23 lisak kernel: [ 73.493475] Aborting core
May 2 11:05:23 lisak kernel: [ 73.623298] apport-checkrep[2398]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fffb3c755c8 error 14 in python3.4[400000+354000]
May 2 11:05:24 lisak kernel: [ 73.764436] apport[2399]: segfault at 17bf6 ip 0000000000017bf6 sp 00007fff1a649818 error 14 in python3.4[400000+354000]
May 2 11:05:24 lisak kernel: [ 73.764459] Process 2399(apport) has RLIMIT_CORE set to 1
May 2 11:05:24 lisak kernel: [ 73.764461] Aborting core

Revision history for this message
AdamQ (adam-quantrill) wrote :
Download full text (9.2 KiB)

I have seen this too and just in the last few minutes ironically when firefox opened this page!

I noticed the comment on nvidia so have just removed the quaddro card to see if it's going to go away.

Three crashes in 2 days - and it takes down the whole machine, no possibility of <ALT>F1 to check things or do a graceful shutdown.

from kern.log:

Feb 23 13:02:18 ubuntu kernel: [90912.228984] type=1400 audit(1456232538.215:105): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/zzz/.mission-control/accounts/accounts.cfg" pid=31146 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1474 ouid=0
Feb 23 13:02:55 ubuntu kernel: [90949.653160] apport-gtk[31229]: segfault at 0 ip 00007f167d2e45a7 sp 00007ffd28664bf8 error 4 in libgtk-3.so.0.1000.8[7f167d1cf000+500000]

and
Feb 24 10:35:47 ubuntu kernel: [ 303.002391] type=1400 audit(1456310147.335:100): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/xxx/.mission-control/accounts/accounts.cfg" pid=2447 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1474 ouid=0
Feb 24 10:36:05 ubuntu kernel: [ 321.119478] apport-gtk[2429]: segfault at 0 ip 00007fe8e3dfd5a7 sp 00007ffd6c806738 error 4 in libgtk-3.so.0.1000.8[7fe8e3ce8000+500000]
Feb 24 10:36:13 ubuntu kernel: [ 328.787260] apport-gtk[2431]: segfault at 0 ip 00007fbe0c0295a7 sp 00007ffda0ec9e18 error 4 in libgtk-3.so.0.1000.8[7fbe0bf14000+500000]
Feb 24 10:36:17 ubuntu kernel: [ 332.878827] apport-gtk[2433]: segfault at 0 ip 00007f7554cb95a7 sp 00007ffe61145588 error 4 in libgtk-3.so.0.1000.8[7f7554ba4000+500000]
Feb 24 10:36:29 ubuntu kernel: [ 345.453995] apport-gtk[2448]: segfault at 0 ip 00007f833c4c55a7 sp 00007ffdce908778 error 4 in libgtk-3.so.0.1000.8[7f833c3b0000+500000]
Feb 24 10:36:42 ubuntu kernel: [ 358.063111] apport-gtk[2456]: segfault at 0 ip 00007f2defa665a7 sp 00007ffc94175998 error 4 in libgtk-3.so.0.1000.8[7f2def951000+500000]
Feb 24 10:36:50 ubuntu kernel: [ 365.697123] apport-gtk[2707]: segfault at 0 ip 00007f60b3b995a7 sp 00007ffdc1cf6048 error 4 in libgtk-3.so.0.1000.8[7f60b3a84000+500000]
Feb 24 10:46:19 ubuntu kernel: [ 935.826821] type=1400 audit(1456310779.895:101): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=4527 comm="apparmor_parser"
Feb 24 10:46:19 ubuntu kernel: [ 935.826827] type=1400 audit(1456310779.895:102): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4527 comm="apparmor_parser"
Feb 24 10:46:19 ubuntu kernel: [ 935.827157] type=1400 audit(1456310779.895:103): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4527 comm="apparmor_parser"
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.