Bug 232985

Summary: Crash without reason of ktorrent
Product: [Applications] ktorrent Reporter: BRULE Herman <alpha_one_x86>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BRULE Herman 2010-04-01 18:18:42 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Hello, ktorrent crash with this backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fa3ef566740 (LWP 6409))]

Thread 4 (Thread 0x7fa3de3e9710 (LWP 6768)):
#0  0x00007fa3eae40bc6 in *__GI___poll (fds=0x2198cf0, nfds=101, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3ef05a043 in net::DownloadThread::waitForSocketReady (this=0x147c830) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/downloadthread.cpp:188
#2  0x00007fa3ef05a116 in net::DownloadThread::update (this=0x2198cf0) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/downloadthread.cpp:53
#3  0x00007fa3ef05bbe9 in net::NetworkThread::run (this=0x147c830) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/networkthread.cpp:48
#4  0x00007fa3ec8df0ba in QThreadPrivate::start (arg=0x147c830) at thread/qthread_unix.cpp:248
#5  0x00007fa3ec648547 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fa3eae49c7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa3d7fff710 (LWP 6769)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3ec8e02c5 in QWaitConditionPrivate::wait (this=0x147cdf8, mutex=0x147ce00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x147cdf8, mutex=0x147ce00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa3ef0593a1 in net::UploadThread::update (this=0x147cd90) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/uploadthread.cpp:73
#4  0x00007fa3ef05bbe9 in net::NetworkThread::run (this=0x147cd90) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/networkthread.cpp:48
#5  0x00007fa3ec8df0ba in QThreadPrivate::start (arg=0x147cd90) at thread/qthread_unix.cpp:248
#6  0x00007fa3ec648547 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007fa3eae49c7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7fa3ddbe8710 (LWP 6770)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3ec8e02c5 in QWaitConditionPrivate::wait (this=0x2115298, mutex=0x2115290, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2115298, mutex=0x2115290, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa3ef0603b2 in net::ReverseResolverThread::run (this=0x2115280) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/net/reverseresolver.cpp:123
#4  0x00007fa3ec8df0ba in QThreadPrivate::start (arg=0x2115280) at thread/qthread_unix.cpp:248
#5  0x00007fa3ec648547 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fa3eae49c7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fa3ef566740 (LWP 6409)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007fa3ea863794 in Private (this=0x7fffe2108dd0, from=...) at /usr/include/bits/string3.h:52
#7  MemoryRegion (this=0x7fffe2108dd0, from=...) at qca_tools.cpp:445
#8  0x00007fa3ea87dce5 in QCA::Hash::update (this=0x2bf2320, a=...) at qca_basic.cpp:215
#9  0x00007fa3ef0402cc in bt::SHA1HashGen::update (this=0x1c5cb30, data=
    0x7fa3ccbaa000 "\f;\276\177\272\343\340l\026\256\236\365\325\224\344\313\\/\303\347<f\nA)\367\031\070\340)0\363\204\001Nq\357s\206\341pX\343\220\361f\207\002\"\360\243\225\317\217s\205\063\365\356:\003\366\205\323j\304\335\023\332'Doe`\334w\036\210'\247\336\364\245\063\360\314\217\003h\213T\276\217N\347I\352\230\275<]p\033\253\070Et\375\323\027\367g\332\270\r\325\340\070+\325c\252\331A=K\017\301;\005\200o\335\225\325\034\370z_\236\341\201\210`\":\031\237x\023\204\213_\245!S\275\004\327\311i\031#P\340\033\275\204\234\023\251w\250E\341\034\333\321R\217\335\b\302\264j\347\323\300l*Gj\016\t\346:\236/,x"..., len=16384) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:240
#10 0x00007fa3ef088924 in bt::ChunkDownload::updateHash (this=0x1c5ca70) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/download/chunkdownload.cpp:579
#11 0x00007fa3ef08abff in bt::ChunkDownload::piece (this=0x1c5ca70, p=..., ok=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/download/chunkdownload.cpp:145
#12 0x00007fa3ef0966ae in bt::Downloader::pieceReceived (this=0x1c72ac0, p=...) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/download/downloader.cpp:126
#13 0x00007fa3ef06e31a in bt::Peer::packetReady (this=0x1af2320, packet=0x7fa3d81fea70 "\a", len=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/peer/peer.cpp:268
#14 0x00007fa3ef07d868 in bt::PacketReader::update (this=0x19ee470) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/peer/packetreader.cpp:141
#15 0x00007fa3ef06dc7d in bt::Peer::update (this=0x1af2320) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/peer/peer.cpp:462
#16 0x00007fa3ef071ff8 in bt::PeerManager::update (this=0x1c5e520) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/peer/peermanager.cpp:119
#17 0x00007fa3ef0b7a9a in bt::TorrentControl::update (this=0x1c5edd0) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/libbtcore/torrent/torrentcontrol.cpp:150
#18 0x00000000004347e5 in kt::Core::update (this=0x16046e0) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/ktorrent/core.cpp:849
#19 0x0000000000437a59 in kt::Core::qt_metacall (this=0x16046e0, _c=QMetaObject::InvokeMetaMethod, _id=42632216, _a=0x7fffe2109430)
    at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4_build/ktorrent/core.moc:155
#20 0x00007fa3eca0c11f in QMetaObject::activate (sender=0x1604708, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3285
#21 0x00007fa3eca075e3 in QObject::event (this=0x1604708, e=0x7fa3ccbab000) at kernel/qobject.cpp:1204
#22 0x00007fa3eba375c1 in QApplicationPrivate::notify_helper (this=0x14a5630, receiver=0x1604708, e=0x7fffe2109c60) at kernel/qapplication.cpp:4300
#23 0x00007fa3eba3e742 in QApplication::notify (this=0x7fffe2109fb0, receiver=0x1604708, e=0x7fffe2109c60) at kernel/qapplication.cpp:4265
#24 0x00007fa3ee0d70c1 in KApplication::notify (this=0x7fffe2109fb0, receiver=0x1604708, event=0x7fffe2109c60)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#25 0x00007fa3ec9f408b in QCoreApplication::notifyInternal (this=0x7fffe2109fb0, receiver=0x1604708, event=0x7fffe2109c60) at kernel/qcoreapplication.cpp:704
#26 0x00007fa3eca29a94 in QCoreApplication::sendEvent (this=0x14aec80) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x14aec80) at kernel/qeventdispatcher_unix.cpp:603
#28 0x00007fa3eca25b18 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x00007fa3e70c9609 in g_main_dispatch (context=0x14ae040) at gmain.c:1960
#31 IA__g_main_context_dispatch (context=0x14ae040) at gmain.c:2513
#32 0x00007fa3e70cd368 in g_main_context_iterate (context=0x14ae040, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#33 0x00007fa3e70cd52c in IA__g_main_context_iteration (context=0x14ae040, may_block=1) at gmain.c:2654
#34 0x00007fa3eca2571c in QEventDispatcherGlib::processEvents (this=0x14a0420, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007fa3ebb03faf in QGuiEventDispatcherGlib::processEvents (this=0x28a9418, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fa3ec9f2572 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fa3ec9f2a14 in QEventLoop::exec (this=0x7fffe2109f10, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fa3ec9f5444 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x0000000000428b22 in main (argc=3, argv=0x7fffe210ac98) at /var/tmp/portage/net-p2p/ktorrent-3.3.4/work/ktorrent-3.3.4/ktorrent/main.cpp:172
Comment 1 Joris Guisson 2010-04-01 18:21:47 UTC

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