Bug 703971

Summary: [abrt] xhotkeys-0.9.8.3-7.fc12: display.py:523:send_and_recv:ConnectionClosedError: Display connection closed by server: Broken pipe
Product: [Fedora] Fedora Reporter: bugzilla
Component: xhotkeysAssignee: Christoph Wickert <cwickert>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 12CC: cwickert
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:eddba60a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-12 07:36:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description bugzilla 2011-05-11 19:29:25 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python /usr/bin/xhotkeys
component: xhotkeys
executable: /usr/bin/xhotkeys
kernel: 2.6.32.26-175.fc12.i686
package: xhotkeys-0.9.8.3-7.fc12
reason: display.py:523:send_and_recv:ConnectionClosedError: Display connection closed by server: Broken pipe
release: Fedora release 12 (Constantine)
time: 1304115538
uid: 500

backtrace
-----
display.py:523:send_and_recv:ConnectionClosedError: Display connection closed by server: Broken pipe

Traceback (most recent call last):
  File "/usr/bin/xhotkeys", line 1047, in <module>
    main()
  File "/usr/bin/xhotkeys", line 1040, in main
    else: xhk.server()
  File "/usr/bin/xhotkeys", line 1018, in server
    time.sleep(0.25)
  File "/usr/bin/xhotkeys", line 302, in signal_handler
    self.reload()
  File "/usr/bin/xhotkeys", line 316, in reload
    self.hkserver.set_combination(self.combinations)
  File "/usr/bin/xhotkeys", line 198, in set_combination
    self.stop()
  File "/usr/bin/xhotkeys", line 191, in stop
    self.display.flush()
  File "/usr/lib/python2.6/site-packages/Xlib/display.py", line 163, in flush
    self.display.flush()
  File "/usr/lib/python2.6/site-packages/Xlib/protocol/display.py", line 209, in flush
    self.send_and_recv(flush = 1)
  File "/usr/lib/python2.6/site-packages/Xlib/protocol/display.py", line 523, in send_and_recv
    raise self.socket_error
ConnectionClosedError: Display connection closed by server: Broken pipe

Local variables in innermost frame:
sending: 1
err: error(32, 'Broken pipe')
rs: [<socket._socketobject object at 0x9934144>]
self: <Xlib.display._BaseDisplay instance at 0x9971ccc>
req: <Xlib.protocol.request.UngrabKeyboard instance at 0x9971e4c>
request: None
flush_bytes: 556
recieving: 1
ws: [<socket._socketobject object at 0x9934144>]
timeout: 0
flush: 1
wait: False
recv: None
event: None
es: []
writeset: [<socket._socketobject object at 0x9934144>]

Comment 1 bugzilla 2011-05-11 19:29:27 UTC
Created attachment 498378 [details]
File: backtrace

Comment 2 Christoph Wickert 2011-05-12 07:36:46 UTC
Several problems here:

1. The crash was caused by the xserver and not by the application itself. Although it should not crash this is quite normal behavior for a python app.

2. Fedora 12 reached it's end of live half a year ago already, see http://fedoraproject.org/wiki/End_of_life
You are strongly advised to update to a more recent version of Fedora because Fedora 12 is no longer supported. We don't provide updates any longer and therefor do not accept new bug reports.

Feel free to file a new bug report if you hit the problem again in Fedora 14.