Bug 242569

Summary: ktorrent frequent seemingly random crashes
Product: [Applications] ktorrent Reporter: Caleb Cushing <xenoterracide>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace

Description Caleb Cushing 2010-06-23 10:33:41 UTC
Created attachment 48254 [details]
backtrace

Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

output of one crash... 

KCrash: Application 'ktorrent' crashing...
sock_file=/home/xenoterracide/.kde4/socket-slave-iv/kdeinit4__0
Warning: QFile::at: Cannot set file position 30343168 
Warning: ktorrent: Fatal IO error: client killed
Unable to start Dr. Konqi

maybe unrelated crash but output of another

Warning: QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
Warning: ktorrent: Fatal IO error: client killed
KCrash: Application 'ktorrent' crashing...
sock_file=/home/xenoterracide/.kde4/socket-slave-iv/kdeinit4__0

Reproducible: Didn't try




second crash got a maybe useful backtrace...
Comment 1 Caleb Cushing 2010-06-23 10:33:59 UTC
ktorrent -version
Qt: 4.6.3
KDE Development Platform: 4.4.4 (KDE 4.4.4)
KTorrent: 4.0.1
Comment 2 Nicolas L. 2010-06-23 14:56:13 UTC
Thread 1 (Thread 0x7ffff7fbc760 (LWP 2647)):
#0  0x00007ffff5a8e43c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff5d11b4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff5d070cc in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ffff5d0864f in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#4  0x00007ffff660c25e in ?? () from /usr/lib/libQtNetwork.so.4
#5  0x00007ffff660c4a9 in ?? () from /usr/lib/libQtNetwork.so.4
#6  0x00007ffff660ce25 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0x00007ffff435d101 in __run_exit_handlers () from /lib/libc.so.6
#8  0x00007ffff435d155 in exit () from /lib/libc.so.6
#9  0x00007ffff503c0e8 in ?? () from /usr/lib/libQtGui.so.4
#10 0x00007ffff6cb8d28 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5


Please install kdelibs and kdenetwork and qt debuginfo packages and paste here a new backtrace
Comment 3 Caleb Cushing 2010-06-23 15:04:44 UTC
we don't have those packages. but I suppose I could package them myself.
Comment 4 Caleb Cushing 2010-06-23 15:05:43 UTC
0x00007f863a9aca5e in std::_Rb_tree<unsigned short, std::pair<unsigned short const, utp::Connection*>, std::_Select1st<std::pair<unsigned short const, utp::Connection*> >, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, utp::Connection*> > >::find(unsigned short const&) const () from /usr/lib/libktorrent.so.2
(gdb) bt
#0  0x00007f863a9aca5e in std::_Rb_tree<unsigned short, std::pair<unsigned short const, utp::Connection*>, std::_Select1st<std::pair<unsigned short const, utp::Connection*> >, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, utp::Connection*> > >::find(unsigned short const&) const () from /usr/lib/libktorrent.so.2
#1  0x00007f863a9ab29c in utp::UTPServer::connectTo(net::Address const&) ()
   from /usr/lib/libktorrent.so.2
#2  0x00007f863a9b14e6 in utp::UTPSocket::connectTo(net::Address const&) ()
   from /usr/lib/libktorrent.so.2
#3  0x00007f863a930ae5 in mse::StreamSocket::connectTo(net::Address const&) ()
   from /usr/lib/libktorrent.so.2
#4  0x00007f863a9338fc in bt::Authenticate::Authenticate(QString const&, unsigned short, bt::TransportProtocol, bt::SHA1Hash const&, bt::PeerID const&, bt::PeerConnector*) ()
   from /usr/lib/libktorrent.so.2
#5  0x00007f863a93113d in mse::EncryptedAuthenticate::EncryptedAuthenticate(QString const&, unsigned short, bt::TransportProtocol, bt::SHA1Hash const&, bt::PeerID const&, bt::PeerConnector*) ()
   from /usr/lib/libktorrent.so.2
#6  0x00007f863a946599 in bt::PeerConnector::start(bt::PeerConnector::Method) ()
   from /usr/lib/libktorrent.so.2
#7  0x00007f863a93ed0d in bt::PeerManager::connectToPeers() () from /usr/lib/libktorrent.so.2
#8  0x00007f863a96a706 in bt::TorrentControl::update() () from /usr/lib/libktorrent.so.2
#9  0x00000000004292bb in _start ()

yet another potentially unuseful bt... ktorrent seemed to be frozen.
Comment 5 Nicolas L. 2010-06-23 15:08:29 UTC
#2  0x00007f863a9b14e6 in utp::UTPSocket::connectTo(net::Address const&) ()
   from /usr/lib/libktorrent.so.2

it still lack debug infos :/ 


If possible could you ask people from your distribution how to have them ?
Comment 6 Caleb Cushing 2010-06-23 15:16:44 UTC
I know how... it just means I have to build the packages myself without 'strip' being enabled... so I'll rebuild the libs you're talking 'bout. should only be like 5 packages... I just don't want to do all of kde which is over 100.
Comment 7 Andrew Crouthamel 2018-09-20 21:57:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-21 04:43:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!