Bug 149551

Summary: Crashing out while downloading multiple files/torrents
Product: [Applications] ktorrent Reporter: Vincent Coen <vbcoen>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vincent Coen 2007-09-05 02:05:03 UTC
Version:           2.1.2 (using KDE KDE 3.5.6)
Installed from:    Mandriva RPMs
Compiler:          4.1.2 but version used to compile ktorrent not known 
OS:                Linux

1st getting complaints of 2 torrents having errors but no data present. When asked to recreate/reload program goes into a loop producing error msgs:

In .xsession-errors:

Qt: Warning: ASSERT: "i <= nodes" in /usr/lib/qt3/include/qvaluelist.h (373)
.... This is repeated many 1000's of times

Also in terminal screen this:

Qt: Warning: QObject::disconnect: Unexpected null parameter
Qt: Warning: QObject::disconnect: Unexpected null parameter
Qt: Warning: QObject::disconnect: Unexpected null parameter
[vince@study2 ~]$ Qt: Warning: ASSERT: "it.node != node" in /usr/lib/qt3//include/qvaluelis
t.h (301)
KCrash: Application 'ktorrent' crashing...


2nd failure produces error msg:
Qt: Warning: QObject::disconnect: Unexpected null parameter
Qt: Warning: QObject::disconnect: Unexpected null parameter
Qt: Warning: QObject::disconnect: Unexpected null parameter
[vince@study2 ~]$ Qt: Warning: QGArray::at: Absolute index 301 out of range
Qt: Warning: QGArray::at: Absolute index 0 out of range
KCrash: Application 'ktorrent' crashing...

with the following backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)

........... Lots of these ........
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1235982640 (LWP 26181)]
[New Thread -1255486560 (LWP 26235)]
[New Thread -1243935840 (LWP 26234)]
(no debugging symbols found)

....... more of these .......

(no debugging symbols found)
[KCrash handler]
#6  0xb7e56388 in dht::ParseRsp () from /usr/lib/libktorrent-2.1.2.so
#7  0xb7e572c0 in dht::MakeRPCMsg () from /usr/lib/libktorrent-2.1.2.so
#8  0xb7e57462 in dht::RPCServer::readPacket ()
   from /usr/lib/libktorrent-2.1.2.so
#9  0xb7e57794 in dht::RPCServer::qt_invoke ()
   from /usr/lib/libktorrent-2.1.2.so
#10 0xb6ea526d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb6ea5e7d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb7567c8a in KNetwork::KClientSocketBase::readyRead ()
   from /usr/lib/libkdecore.so.4
#13 0xb7567cb4 in KNetwork::KClientSocketBase::slotReadActivity ()
   from /usr/lib/libkdecore.so.4
#14 0xb757a5a5 in KNetwork::KClientSocketBase::qt_invoke ()
   from /usr/lib/libkdecore.so.4
#15 0xb757a679 in KNetwork::KDatagramSocket::qt_invoke ()
   from /usr/lib/libkdecore.so.4
#16 0xb6ea526d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6ea5d82 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb71b92a0 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6ec31c0 in QSocketNotifier::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb6e47d87 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb6e48bd9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb753953a in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0xb6e3ca41 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb6df9194 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb6e5d762 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb6e5d626 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb6e4773f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x0806fd14 in QWidget::setUpdatesEnabled ()
#29 0xb6590d8c in __libc_start_main () from /lib/i686/libc.so.6
#30 0x08062941 in QWidget::setUpdatesEnabled ()
Documents/ktorrent.bug.trace lines 20-57/57 (END)                                


This in .xsession-error:

ERROR: Please edit the example config file /usr/local/etc/clamd.conf.
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: PKCS7_conten
t_free
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OpenSSL_add_
all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OPENSSL_add_
all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OpenSSL_add_
all_algorithms_conf
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1af28a9

This block comes up a lot in the logs.

Hope this helps.
Comment 1 Joris Guisson 2007-09-05 08:06:59 UTC
dupe, upgrade to 2.1.4 or later

*** This bug has been marked as a duplicate of 144416 ***