Bug 927434

Summary: gnome-abrt calls gtk functions from unix signal handler
Product: [Fedora] Fedora Reporter: Luis Mendes <luisnor.mendes>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jberan, jfilak, kathy74
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:490dd69541b5c554ccfd9951adc678a0a7cb2cfd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 928771 (view as bug list) Environment:
Last Closed: 2013-04-10 01:35:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 928771    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Luis Mendes 2013-03-25 21:49:29 UTC
Version-Release number of selected component:
gnome-abrt-0.2.9-1.fc18

Additional info:
cmdline:        python /usr/bin/gnome-abrt
dso_list:       pygobject3-base-3.4.2-6.fc18.i686
executable:     /usr/bin/gnome-abrt
kernel:         3.8.4-202.fc18.i686
uid:            1000
ureports_counter: 1

Truncated backtrace:
views.py:255:_reload_problems:AttributeError: 'NoneType' object has no attribute 'get_iter_first'

Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 243, in <module>
    exit_code = app.run(app_cmdline)
  File "/usr/lib/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
  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 121, in changed
    self.wnd._reload_problems(source)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 255, in _reload_problems
    self._select_problem_iter(self.tv_problems.get_model().get_iter_first())
AttributeError: 'NoneType' object has no attribute 'get_iter_first'

Local variables in innermost frame:
p: <gnome_abrt.problems.Problem instance at 0x8c8f02c>
old: None
problems: [<gnome_abrt.problems.Problem instance at 0x8c8f02c>]
self: <OopsWindow object at 0x8ae4194 (gnome_abrt+views+OopsWindow at 0x8b3c008)>
source: <gnome_abrt.problems.MultipleSources object at 0x8ae0e8c>

Comment 1 Luis Mendes 2013-03-25 21:49:35 UTC
Created attachment 716222 [details]
File: backtrace

Comment 2 Luis Mendes 2013-03-25 21:49:38 UTC
Created attachment 716223 [details]
File: core_backtrace

Comment 3 Luis Mendes 2013-03-25 21:49:41 UTC
Created attachment 716224 [details]
File: environ

Comment 4 Jakub Filak 2013-03-26 08:08:30 UTC
Thank you for the report.

Fixed in upstream git:

commit b32d423a998db5db45b4569a77f50a45e9cfec3d
Author: Jakub Filak <jfilak>
Date:   Mon Mar 25 17:20:17 2013 +0100

    Use IOChannel approach in order to make signal handling synchronous
    
    - closes #17
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Michal Toman <mtoman>

Comment 5 Fedora Update System 2013-03-29 10:17:12 UTC
gnome-abrt-0.2.10-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.10-1.fc18

Comment 6 Fedora Update System 2013-04-10 01:35:50 UTC
gnome-abrt-0.2.10-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.