The program 'deluge-gtk' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 48496 error_code 3 request_code 155 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
This is what I get after chosing server in Deluge's connection manager. At the same time deluge-gtk process dies.
I'm using 1.3.4 version, but downgrading has no effect, so I think it may be a bug in some depency package.
What's the reason, who knows?
Sorry for bad English, it's not my native language.
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2 /usr/bin/deluge-gtk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7fffe9452700 (LWP 18632)]
[New Thread 0x7fffe3107700 (LWP 18633)]
[New Thread 0x7fffe2906700 (LWP 18634)]
[New Thread 0x7fffe2105700 (LWP 18635)]
[New Thread 0x7fffe1904700 (LWP 18636)]
[Thread 0x7fffe2906700 (LWP 18634) exited]
[Thread 0x7fffe3107700 (LWP 18633) exited]
[Thread 0x7fffe2105700 (LWP 18635) exited]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 413, in fireEvent
DeferredList(beforeResults).addCallback(self._continueFiring)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 301, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 290, in addCallbacks
self._runCallbacks()
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 426, in _continueFiring
callable(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 336, in _on_reactor_start
self.__start_non_classic()
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 376, in __start_non_classic
reactor.simulate()
exceptions.AttributeError: 'Gtk2Reactor' object has no attribute 'simulate'
[New Thread 0x7fffe2105700 (LWP 18643)]
The program 'deluge' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 27310 error_code 3 request_code 152 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
[Thread 0x7fffe2105700 (LWP 18643) exited]
[Thread 0x7fffe1904700 (LWP 18636) exited]
[Thread 0x7fffe9452700 (LWP 18632) exited]
[Inferior 1 (process 18624) exited with code 01]
[New Thread 0x7fffe2105700 (LWP 18643)] - this line appears when I open connection manager and following messages are showed after clicking "Connect" button
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2 /usr/bin/deluge-gtk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7fffe9452700 (LWP 3512)]
[New Thread 0x7fffe3107700 (LWP 3513)]
[New Thread 0x7fffe2906700 (LWP 3514)]
[Thread 0x7fffe2906700 (LWP 3514) exited]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 413, in fireEvent
DeferredList(beforeResults).addCallback(self._continueFiring)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 301, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 290, in addCallbacks
self._runCallbacks()
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 426, in _continueFiring
callable(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 336, in _on_reactor_start
self.__start_non_classic()
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 376, in __start_non_classic
reactor.simulate()
exceptions.AttributeError: 'Gtk2Reactor' object has no attribute 'simulate'
[New Thread 0x7fffe2906700 (LWP 3518)]
The program 'deluge' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 20441 error_code 3 request_code 152 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
[Thread 0x7fffe3107700 (LWP 3513) exited]
[Thread 0x7fffe9452700 (LWP 3512) exited]
[Thread 0x7fffe2906700 (LWP 3518) exited]
[Inferior 1 (process 3504) exited with code 01]
(gdb) bt
No stack.
(gdb)
It is strange because:
1) I have 2 PCs running Arch with different video cards and both have this problem with Deluge
2) No other applications on both PCs work like this
Ok. Thanks for assistance. Hope, I'll manage to find some solution: Deluge is very convenient bittorrent client for me.
Just confirming. I had the same problem and the solution was to change gtk-theme (open GTK+ Appearance in KDE). I just picked a random one other than oxygen-gtk and now Deluge-gtk works again.