This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ktorrent will not load - except on other peoples accounts!!!

Tags: None
(comma "," separated)
mariner
Registered Member
Posts
4
Karma
0
Hi...

Hope someone can help :) Recently Ktorrent crashed and since then I've not been able to even load it - the odd thing is that other accounts on teh same machine can run it with no problem.

When I attempt to run in a terminal window I get the following:

***************
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
kbuildsycoca running...
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not fo und
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not fo und
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not fo und
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not fo und
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
terminate called after throwing an instance of 'bt::Error'
KCrash: Application 'ktorrent' crashing...
DCOP aborting (delayed) call from 'anonymous-25121' to 'ktorrent'
Could not find 'drkonqi' executable.
kio (KIOConnection): ERROR: Could not write data
KCrash cannot reach kdeinit, launching directly.
ERROR: Communication problem with ktorrent, it probably crashed.
bob@bob-desktop:~$ kio (KIOConnection): ERROR: Could not write data
ICE default IO error handler doing an exit(), pid = 25140, errno = 0

******************

does anybody with more intelligence than me in these matters understand what is wrong??? :)

cheers
George
Moderator
Posts
5421
Karma
1

Mon Oct 23, 2006 4:59 pm
An uncaught exception, can you post the backtrace ? My guess is that one file is corrupt, this triggers an exception, which we don't handle and then the default behavior is to exit the application.

With the backtrace we can pinpoint where it goes wrong.
mariner
Registered Member
Posts
4
Karma
0

Mon Oct 23, 2006 5:08 pm
George wrote:An uncaught exception, can you post the backtrace ? My guess is that one file is corrupt, this triggers an exception, which we don't handle and then the default behavior is to exit the application.

With the backtrace we can pinpoint where it goes wrong.


and this is where my competance really breaks down!!

I don't actually know how to do a backtrace - if its any help I'm using Ubuntu 6.06 LTS. I assume there's a logfile somewhere that gives this information?

Rob
Moshroum
Registered Member
Posts
63
Karma
0

Mon Oct 23, 2006 5:16 pm
start "gdb ktorrent" make "run --nofork". When I crashes you can use bt in gdb to print a backtrace. You also can use ctrl+c to stop/break the program and make a backtrace with bt from the actual position of the program. With c you can continue after a break.

GDB is a terminal program, so run it from konsole.
mariner
Registered Member
Posts
4
Karma
0

Mon Oct 23, 2006 5:24 pm
Moshroum wrote:start "gdb ktorrent" make "run --nofork". When I crashes you can use bt in gdb to print a backtrace. You also can use ctrl+c to stop/break the program and make a backtrace with bt from the actual position of the program. With c you can continue after a break.

GDB is a terminal program, so run it from konsole.

thanks!

what i get is this - is this ok?

(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb68ca9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb68cc2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb6aa9c1e in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4 0xb6aa7915 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5 0xb6aa794a in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb6aa7ad8 in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#7 0xb7f2ce6b in bt::MultiFileCache::downloadStatusChanged ()
from /usr/lib/libktorrent.so.0
#8 0xb7f044ab in bt::ChunkManager::downloadStatusChanged ()
from /usr/lib/libktorrent.so.0
#9 0xb7f04708 in bt::ChunkManager::qt_invoke () from /usr/lib/libktorrent.so.0
#10 0xb7099eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb7f32b72 in bt::TorrentFile::downloadStatusChanged ()
from /usr/lib/libktorrent.so.0
#12 0xb7f32c67 in bt::TorrentFile::setDoNotDownload ()
from /usr/lib/libktorrent.so.0
#13 0xb7f04bf8 in bt::ChunkManager::loadFileInfo ()
from /usr/lib/libktorrent.so.0
#14 0xb7f04c7b in bt::ChunkManager::loadIndexFile ()
from /usr/lib/libktorrent.so.0
#15 0xb7f16f35 in bt::TorrentControl::init () from /usr/lib/libktorrent.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x0806a532 in kt::CompareVal<unsigned long> ()
#17 0x0806a95f in kt::CompareVal<unsigned long> ()
#18 0x0805d758 in QGList::count ()
#19 0x0806e7e1 in QValueList<QString>::detachInternal ()
#20 0xb77c68a7 in KUniqueApplication::newInstanceNoFork ()
from /usr/lib/libkdecore.so.4
#21 0xb77c7d9c in KUniqueApplication::qt_invoke ()
from /usr/lib/libkdecore.so.4
#22 0x0806e447 in QValueList<QString>::detachInternal ()
#23 0xb7099eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb742d29a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#25 0xb70b7630 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#26 0xb70bf120 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#27 0xb702fe56 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#28 0xb7030052 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#29 0xb77b4d7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#30 0xb6fc1157 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#31 0xb7021843 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#32 0xb6fd4f67 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb7048947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb704886a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb702e965 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x0805b79f in ?? ()
---Type <return> to continue, or q <return> to quit---
#37 0xb68b6ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#38 0x0805b451 in ?? ()
(gdb)
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Oct 23, 2006 6:53 pm
What version are you using? I think this bug has been fixed.
mariner
Registered Member
Posts
4
Karma
0

Mon Oct 23, 2006 7:04 pm
Ivan wrote:What version are you using? I think this bug has been fixed.


1.2-0ubuntu5 - which I think is the latest ubintu packaged version

Ivan..


couldn't help noticing you're from Nis.... not that I've been to the city but I've spent many, many happy hours in Beograd (mainly drinking kleka!) and various towns and villages in Crna Gora. :)
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Oct 23, 2006 8:31 pm
1.2-0ubuntu5 - which I think is the latest ubintu packaged version

This is a very old version. Latest stable is v2.0.3 and Ubuntu Dapper packages are available for download (and in official backports repository).

You should definitely use this one.

couldn't help noticing you're from Nis.... not that I've been to the city but I've spent many, many happy hours in Beograd (mainly drinking kleka!) and various towns and villages in Crna Gora.

:lol: lol
Kleka is great rakija :) Oh, you made me laugh, thank you. You should visit Nis too, although you might need a bit more kleka to have fun here than in Belgrade :)


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]