Bug 280281 - ktorrent crashes
Summary: ktorrent crashes
Status: RESOLVED DUPLICATE of bug 268162
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 16:02 UTC by lewisnigh
Modified: 2011-08-17 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lewisnigh 2011-08-17 16:02:25 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
Crashes repeatedly for no reason.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7d6f9e2780 (LWP 1687))]

Thread 4 (Thread 0x7f7d60e9f700 (LWP 1688)):
#0  0x00007f7d6be8df03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7d67842104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7d678429f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7d617fec44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f7d678693e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7d6874fd8c in start_thread (arg=0x7f7d60e9f700) at pthread_create.c:304
#6  0x00007f7d6be9b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7d3a7fc700 (LWP 1747)):
#0  0x00007f7d6be8df03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7d6f4ff54c in net::Poll::poll (this=0x12951e0, timeout=<value optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007f7d6f4fc449 in net::DownloadThread::waitForSocketReady (this=0x12951d0) at ../../src/net/downloadthread.cpp:128
#3  0x00007f7d6f4fc536 in net::DownloadThread::update (this=0x12951d0) at ../../src/net/downloadthread.cpp:48
#4  0x00007f7d6f4fc719 in net::NetworkThread::run (this=0x12951d0) at ../../src/net/networkthread.cpp:48
#5  0x00007f7d6d5ff175 in QThreadPrivate::start (arg=0x12951d0) at thread/qthread_unix.cpp:320
#6  0x00007f7d6874fd8c in start_thread (arg=0x7f7d3a7fc700) at pthread_create.c:304
#7  0x00007f7d6be9b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7d39ffb700 (LWP 1748)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f7d6d5fef28 in thread_sleep (ti=0x7f7d39ffada0) at thread/qthread_unix.cpp:470
#2  0x00007f7d6d5ff080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:496
#3  0x00007f7d6f4fbf08 in net::UploadThread::update (this=0x1295bd0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f7d6f4fc719 in net::NetworkThread::run (this=0x1295bd0) at ../../src/net/networkthread.cpp:48
#5  0x00007f7d6d5ff175 in QThreadPrivate::start (arg=0x1295bd0) at thread/qthread_unix.cpp:320
#6  0x00007f7d6874fd8c in start_thread (arg=0x7f7d39ffb700) at pthread_create.c:304
#7  0x00007f7d6be9b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7d6f9e2780 (LWP 1687)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f7d6b8b90b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f7d6b8cf4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f7d6f4e80ca in bt::SHA1HashGen::update (this=0x7f7d3c04dcd0, data=0x7f7d40994efb "", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f7d6f51e881 in bt::ChunkDownload::updateHash (this=0x7f7d3c04dc10) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f7d6f5204d7 in bt::ChunkDownload::piece (this=0x7f7d3c04dc10, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f7d6f524857 in bt::Downloader::pieceReceived (this=0x1ce9ef0, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f7d6f50ed6c in bt::Peer::packetReady (this=0x2ed6b60, packet=0x7f7d3c057f20 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f7d6f5172f8 in bt::PacketReader::update (this=0x2b18a60) at ../../src/peer/packetreader.cpp:141
#15 0x00007f7d6f50cf35 in bt::Peer::update (this=0x2ed6b60) at ../../src/peer/peer.cpp:538
#16 0x00007f7d6f511859 in bt::PeerManager::update (this=0x1cef910) at ../../src/peer/peermanager.cpp:144
#17 0x00007f7d6f53f4cf in bt::TorrentControl::update (this=0x1ce5860) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0x149f900) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x149f900, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff4b527ab0) at ./core.moc:169
#20 0x00007f7d6d6fb5f8 in QMetaObject::activate (sender=0x149f928, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007f7d6d6fa1c9 in QObject::event (this=0x149f928, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007f7d6caa39f4 in QApplicationPrivate::notify_helper (this=0x130a380, receiver=0x149f928, e=0x7fff4b528190) at kernel/qapplication.cpp:4462
#23 0x00007f7d6caa83ba in QApplication::notify (this=<value optimized out>, receiver=0x149f928, e=0x7fff4b528190) at kernel/qapplication.cpp:4341
#24 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#25 0x00007f7d6d6e649c in QCoreApplication::notifyInternal (this=0x7fff4b528470, receiver=0x149f928, event=0x7fff4b528190) at kernel/qcoreapplication.cpp:731
#26 0x00007f7d6d713f12 in sendEvent (this=0x130a160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x130a160) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007f7d6d710d18 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 0x00007f7d67841bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f7d678423a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f7d67842639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f7d6d7113ef in QEventDispatcherGlib::processEvents (this=0x128c340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f7d6cb4d4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f7d6d6e5882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f7d6d6e5abc in QEventLoop::exec (this=0x7fff4b528400, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f7d6d6e9ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=5, argv=0x7fff4b529228) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 278911, bug 278416, bug 277490, bug 274602, bug 273240.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-17 16:31:08 UTC

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