Bug 920417 - gnome-abrt doesn't recover from errors caused by accessing of invalid problems
Summary: gnome-abrt doesn't recover from errors caused by accessing of invalid problems
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: rawhide
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8725957207523bd65b9536084d9...
: 922580 (view as bug list)
Depends On:
Blocks: 922647 922648 922649
TreeView+ depends on / blocked
 
Reported: 2013-03-12 04:27 UTC by Christopher Meng
Modified: 2016-12-01 00:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 922647 922648 922649 (view as bug list)
Environment:
Last Closed: 2013-03-28 12:13:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.32 KB, text/plain)
2013-03-12 04:28 UTC, Christopher Meng
no flags Details
File: core_backtrace (1.49 KB, text/plain)
2013-03-12 04:28 UTC, Christopher Meng
no flags Details
File: environ (1.53 KB, text/plain)
2013-03-12 04:28 UTC, Christopher Meng
no flags Details

Description Christopher Meng 2013-03-12 04:27:54 UTC
Version-Release number of selected component:
gnome-abrt-0.2.8-1.fc19

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.9.0-0.rc1.git0.4.fc19.i686.PAE
uid:            1000

Truncated backtrace:
dbus_problems.py:130:get_items:InvalidProblem: '/var/tmp/abrt/ccpp-2013-03-12-11:51:25-6163' is not a valid problem directory

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gnome_abrt/directory_problems.py", line 59, in check
    def check(self, *args):
  File "/usr/lib/python2.7/site-packages/gnome_abrt/controller.py", line 61, in <lambda>
    signal.signal(signal.SIGCHLD, lambda signum, frame: self._handle_signal(signum))
  File "/usr/lib/python2.7/site-packages/gnome_abrt/controller.py", line 37, in _handle_signal
    self.source.refresh()
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 266, in refresh
    self.notify()
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 255, in notify
    super(MultipleSources, self).notify(change_type, problem)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 60, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 120, in changed
    self.wnd._reload_problems(source)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 237, in _reload_problems
    self._add_problem_to_storage(p)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 213, in _add_problem_to_storage
    self.ls_problems.append(problem_to_storage_values(problem))
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 84, in problem_to_storage_values
    return ["{0!s}\n{1!s}".format(doN(app.name, _("N/A")), doN(problem['type'], "")),
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 123, in __getitem__
    loaded = self.__loaditems__(item)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 104, in __loaditems__
    items = self.source.get_items(self.problem_id, *args)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 130, in get_items
    raise errors.InvalidProblem(e.message)
InvalidProblem: '/var/tmp/abrt/ccpp-2013-03-12-11:51:25-6163' is not a valid problem directory

Local variables in innermost frame:
info: {}
self: <gnome_abrt.dbus_problems.DBusProblemSource object at 0x8633fec>
args: ('type',)
e: DBusException("'/var/tmp/abrt/ccpp-2013-03-12-11:51:25-6163' is not a valid problem directory",)
problem_id: '/var/tmp/abrt/ccpp-2013-03-12-11:51:25-6163'

Comment 1 Christopher Meng 2013-03-12 04:28:00 UTC
Created attachment 708761 [details]
File: backtrace

Comment 2 Christopher Meng 2013-03-12 04:28:02 UTC
Created attachment 708762 [details]
File: core_backtrace

Comment 3 Christopher Meng 2013-03-12 04:28:05 UTC
Created attachment 708763 [details]
File: environ

Comment 4 Jakub Filak 2013-03-12 07:39:07 UTC
Thank you for taking the time to report this bug. I fixed it yesterday.

Upstream commit caf50bcaeb1b755e3a84f508efebbca3f0bcb2fd

Comment 5 Jakub Filak 2013-03-18 07:27:36 UTC
*** Bug 922580 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.