Bug 274114

Summary: ktorrent crashes on kubuntu 11.04
Product: [Applications] ktorrent Reporter: adelson <auimaue>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description adelson 2011-05-25 16:14:50 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
The only aplication running was ktorrent and it has closed after a few minutes. 
A Ășnica coisa rodando era o ktorrent e ele fechou depois de alguns minutos.

The crash does not seem to be reproducible.

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

Thread 5 (Thread 0xa642db70 (LWP 2021)):
#0  0xb7774424 in __kernel_vsyscall ()
#1  0xb51d448c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5c6c3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb68fadaa in QMutexPrivate::wait (this=0x9df4570, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb68f7492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0xb7653560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0xb7654f65 in net::DownloadThread::update (this=0x9df4678) at ../../src/net/downloadthread.cpp:51
#7  0xb76551e8 in net::NetworkThread::run (this=0x9df4678) at ../../src/net/networkthread.cpp:48
#8  0xb68fbda2 in QThreadPrivate::start (arg=0x9df4678) at thread/qthread_unix.cpp:320
#9  0xb51cfe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb5c5e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa5c2cb70 (LWP 2022)):
#0  0xb68dda90 in pthread_self@plt () from /usr/lib/libQtCore.so.4
#1  0xb68fb567 in QThread::currentThreadId () at thread/qthread_unix.cpp:384
#2  0xb68f7455 in QMutex::lock (this=0xa4583a0) at thread/qmutex.cpp:152
#3  0xb7672069 in QMutexLocker (this=0xa458378) at /usr/include/qt4/QtCore/qmutex.h:102
#4  bt::PacketWriter::getNumPacketsToWrite (this=0xa458378) at ../../src/peer/packetwriter.cpp:307
#5  0xb76720e1 in bt::PacketWriter::hasBytesToWrite (this=0xa458378) at ../../src/peer/packetwriter.cpp:286
#6  0xb765a39a in mse::StreamSocket::hasBytesToWrite (this=0xaa1bd828) at ../../src/mse/streamsocket.cpp:309
#7  0xb7654568 in bytesReadyToWrite (this=0x9df49d8) at ../../src/net/bufferedsocket.h:118
#8  net::UploadThread::waitForSocketsReady (this=0x9df49d8) at ../../src/net/uploadthread.cpp:122
#9  0xb76546bf in net::UploadThread::update (this=0x9df49d8) at ../../src/net/uploadthread.cpp:45
#10 0xb76551e8 in net::NetworkThread::run (this=0x9df49d8) at ../../src/net/networkthread.cpp:48
#11 0xb68fbda2 in QThreadPrivate::start (arg=0x9df49d8) at thread/qthread_unix.cpp:320
#12 0xb51cfe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5c5e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa542bb70 (LWP 2023)):
#0  0xb7774424 in __kernel_vsyscall ()
#1  0xb5c4ff76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xac49176c in ?? () from /lib/i386-linux-gnu/libresolv.so.2
#3  0xac48f7b3 in __libc_res_nquery () from /lib/i386-linux-gnu/libresolv.so.2
#4  0xac4a0d5b in _nss_dns_gethostbyaddr2_r () from /lib/i386-linux-gnu/libnss_dns.so.2
#5  0xac4a0eda in _nss_dns_gethostbyaddr_r () from /lib/i386-linux-gnu/libnss_dns.so.2
#6  0xb5c75e02 in gethostbyaddr_r () from /lib/i386-linux-gnu/libc.so.6
#7  0xb5c7b4e2 in getnameinfo () from /lib/i386-linux-gnu/libc.so.6
#8  0xb7657e4b in net::ReverseResolver::resolve (this=0xac336588, addr=...) at ../../src/net/reverseresolver.cpp:64
#9  0xb7657ee3 in net::ReverseResolver::run (this=0xac336588) at ../../src/net/reverseresolver.cpp:73
#10 0xb76582fe in net::ReverseResolverThread::run (this=0xac32cba8) at ../../src/net/reverseresolver.cpp:118
#11 0xb68fbda2 in QThreadPrivate::start (arg=0xac32cba8) at thread/qthread_unix.cpp:320
#12 0xb51cfe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5c5e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xac2ffb70 (LWP 2024)):
#0  0xb5172d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6951dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6a1e4f2 in updateCurrentTime (this=0xac32d1e4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xac32d1e4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6a1cd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xac2ff0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6a1cdcd in timerSourcePrepare (source=0xac32d1b0, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb50d7fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb50d8e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb50d9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6a1d577 in QEventDispatcherGlib::processEvents (this=0xb1848368, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb69ef289 in QEventLoop::processEvents (this=0xac2ff290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb69ef522 in QEventLoop::exec (this=0xac2ff290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb68f92a0 in QThread::exec (this=0xa42b458) at thread/qthread.cpp:492
#14 0xb69d0fdb in QInotifyFileSystemWatcherEngine::run (this=0xa42b458) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb68fbda2 in QThreadPrivate::start (arg=0xa42b458) at thread/qthread_unix.cpp:320
#16 0xb51cfe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb5c5e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb47e5930 (LWP 1999)):
[KCrash Handler]
#7  0xb5ca2f1f in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0xb5a8c016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0xb5aa3167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0xb763e4d9 in bt::SHA1HashGen::update (this=0xa385fd8, data=0xb1dacefb "\215\374\374\314Q\177D\274\263\232^\001\337\036\346j\277Q \272\202\027\345\315T$\216\354\263\v\242\217\374\002\311>\tA\027\071\243\322\375\226\336\321+\352d\021\070>\022/f\345\230\ab\255\261UV\177o\354\232\202I\354\235\347\033\315\301\355\035\377\065\377\377\377\365h?\020\311\242\354\267\316M\336I\266\311\021\234!\360O\251,\267%\225\255^kHL)U\373'\240\354}\024\321\362\252?\037_\375]\357\313\207\377/\245\320\276\333\226\te\377\236/.\220!\027\377\a\300\307qY{*\377\267\255\337Y\234\377\347\250\226%\227\201\337Q\341yx(U\253\240\334\245\352\324\343\223\345\263d\331\265\215\233\213\343y\271+\344\377\257e\226m"..., len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0xb767aec8 in bt::ChunkDownload::updateHash (this=0xa385f68) at ../../src/download/chunkdownload.cpp:555
#12 0xb767cc21 in bt::ChunkDownload::piece (this=0xa385f68, p=..., ok=@0xbfe4fc9f) at ../../src/download/chunkdownload.cpp:127
#13 0xb76818ea in bt::Downloader::pieceReceived (this=0xb189bc18, p=...) at ../../src/download/downloader.cpp:134
#14 0xb766ae7f in bt::PeerManager::pieceReceived (this=0xb18c5470, p=...) at ../../src/peer/peermanager.cpp:671
#15 0xb7669a92 in bt::Peer::packetReady (this=0xa496c60, packet=0xab9a9b08 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0xb7672959 in bt::PacketReader::update (this=0xa506368) at ../../src/peer/packetreader.cpp:141
#17 0xb76676f9 in bt::Peer::update (this=0xa496c60) at ../../src/peer/peer.cpp:538
#18 0xb766c7ea in bt::PeerManager::update (this=0xb18c5470) at ../../src/peer/peermanager.cpp:144
#19 0xb769ed2d in bt::TorrentControl::update (this=0xb18a4848) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0xb1802698) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0xb1802698, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe5001c) at ./core.moc:169
#22 0xb69f66ba in QMetaObject::metacall (object=0xb1802698, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfe5001c) at kernel/qmetaobject.cpp:237
#23 0xb6a064ff in QMetaObject::activate (sender=0xb18026ac, m=0xb6b2b5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0xb6a532f7 in QTimer::timeout (this=0xb18026ac) at .moc/release-shared/moc_qtimer.cpp:134
#25 0xb6a0c3ee in QTimer::timerEvent (this=0xb18026ac, e=0xbfe5051c) at kernel/qtimer.cpp:271
#26 0xb6a05214 in QObject::event (this=0xb18026ac, e=0xbfe5051c) at kernel/qobject.cpp:1190
#27 0xb5f4ad24 in QApplicationPrivate::notify_helper (this=0x9e4faa8, receiver=0xb18026ac, e=0xbfe5051c) at kernel/qapplication.cpp:4462
#28 0xb5f4f8ce in QApplication::notify (this=0xbfe50840, receiver=0xb18026ac, e=0xbfe5051c) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbfe50840, receiver=0xb18026ac, event=0xbfe5051c) at ../../ktorrent/app.cpp:97
#30 0xb69f00bb in QCoreApplication::notifyInternal (this=0xbfe50840, receiver=0xb18026ac, event=0xbfe5051c) at kernel/qcoreapplication.cpp:731
#31 0xb6a201e4 in sendEvent (this=0x9e47764) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x9e47764) at kernel/qeventdispatcher_unix.cpp:604
#33 0xb6a1ce27 in timerSourceDispatch (source=0x9e49200) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x9e49200) at kernel/qeventdispatcher_glib.cpp:231
#35 0xb50d8aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb50d9270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb50d9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb6a1d53c in QEventDispatcherGlib::processEvents (this=0x9deeaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0xb5ffe775 in QGuiEventDispatcherGlib::processEvents (this=0x9deeaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb69ef289 in QEventLoop::processEvents (this=0xbfe507b4, flags=...) at kernel/qeventloop.cpp:149
#41 0xb69ef522 in QEventLoop::exec (this=0xbfe507b4, flags=...) at kernel/qeventloop.cpp:201
#42 0xb69f3ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0xb5f488e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#44 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

This bug may be a duplicate of or related to bug 273240.

Possible duplicates by query: bug 273789, bug 273240, bug 272937, bug 272289, bug 271638.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-25 20:49:45 UTC

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