Bug 1044350

Summary: [abrt] abrt: abrt-action-notify:120:emit_crash_dbus_signal:UnboundLocalError: local variable 'bus' referenced before assignment
Product: [Fedora] Fedora Reporter: Derek Morton <derek.morton25>
Component: abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: abrt-devel-list, dvlasenk, error, iprikryl, jberan, jfilak, mmilata, mtoman, spetreolle
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c43fb3f5a1f7529cc37c664be87cbc35dc1b3882
Whiteboard: abrt_hash:9408a7df22c5db7f43f3a7e25c767c58195aa175
Fixed In Version: abrt-2.1.11-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-12 05:05:20 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Derek Morton 2013-12-18 07:36:37 UTC
Version-Release number of selected component:
abrt-2.1.10-1.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /usr/bin/abrt-action-notify -d /var/tmp/abrt/ccpp-2013-12-18-00:08:21-13391
executable:     /usr/bin/abrt-action-notify
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N N
type:           Python
uid:            0

Truncated backtrace:
abrt-action-notify:120:emit_crash_dbus_signal:UnboundLocalError: local variable 'bus' referenced before assignment

Traceback (most recent call last):
  File "/usr/bin/abrt-action-notify", line 219, in <module>
    emit_crash_dbus_signal(PD)
  File "/usr/bin/abrt-action-notify", line 120, in emit_crash_dbus_signal
    if bus is not None:
UnboundLocalError: local variable 'bus' referenced before assignment

Local variables in innermost frame:
problem_data: <report.problem_data object at 0x7feda06e51e0>
ex: DBusException('Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused',)

Comment 1 Derek Morton 2013-12-18 07:36:41 UTC
Created attachment 838148 [details]
File: backtrace

Comment 2 Derek Morton 2013-12-18 07:36:42 UTC
Created attachment 838149 [details]
File: environ

Comment 3 Jakub Filak 2013-12-18 09:41:12 UTC
Upstream commit 0a557cd84a8f0282cd98247924b16561a5dce511 fixes this bug.

Comment 4 Fedora Update System 2014-01-09 11:35:03 UTC
abrt-2.1.11-1.fc20,libreport-2.1.11-1.fc20,satyr-0.13-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/abrt-2.1.11-1.fc20,libreport-2.1.11-1.fc20,satyr-0.13-1.fc20

Comment 5 Fedora Update System 2014-01-10 07:44:12 UTC
Package abrt-2.1.11-1.fc20, libreport-2.1.11-1.fc20, satyr-0.13-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.1.11-1.fc20 libreport-2.1.11-1.fc20 satyr-0.13-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0512/abrt-2.1.11-1.fc20,libreport-2.1.11-1.fc20,satyr-0.13-1.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-01-12 05:05:20 UTC
abrt-2.1.11-1.fc20, libreport-2.1.11-1.fc20, satyr-0.13-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.