Bug 272937 - Unexpected Crash within few seconds after start
Summary: Unexpected Crash within few seconds after start
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-05-10 14:50 UTC by Angel Bonilla
Modified: 2011-05-11 18:15 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 Angel Bonilla 2011-05-10 14:50:17 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-9-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
I have many torrents loaded (about 30) and are actively seeding. The segfault begun after adding any additional torrent to the download queue.

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb553ab70 (LWP 5553)):
#0  0x001ae416 in __kernel_vsyscall ()
#1  0x07b61f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x012f084b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x012e01af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x012e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04a6f577 in QEventDispatcherGlib::processEvents (this=0x8fc5fc8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x04a41289 in QEventLoop::processEvents (this=0xb553a290, flags=...) at kernel/qeventloop.cpp:149
#7  0x04a41522 in QEventLoop::exec (this=0xb553a290, flags=...) at kernel/qeventloop.cpp:201
#8  0x0494b2a0 in QThread::exec (this=0x8fc5098) at thread/qthread.cpp:492
#9  0x00e7ae8e in utp::UTPServerThread::run (this=0x8fc5098) at ../../src/utp/utpserverthread.cpp:44
#10 0x0494dda2 in QThreadPrivate::start (arg=0x8fc5098) at thread/qthread_unix.cpp:320
#11 0x00d51e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x07b7073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb4bffb70 (LWP 5554)):
#0  0x001ae416 in __kernel_vsyscall ()
#1  0x07b69681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x00e47291 in dht::RPCServerThread::run (this=0xb4c05870) at ../../src/dht/rpcserver.cpp:107
#3  0x0494dda2 in QThreadPrivate::start (arg=0xb4c05870) at thread/qthread_unix.cpp:320
#4  0x00d51e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x07b7073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa9b9cb70 (LWP 5579)):
#0  0x001ae416 in __kernel_vsyscall ()
#1  0x00d5924c in __lll_unlock_wake () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00d5587b in _L_unlock_693 () from /lib/i386-linux-gnu/libpthread.so.0
#3  0x00d557aa in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#4  0x07b7e656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#5  0x0494cc27 in QMutexPrivate::wakeUp (this=0x8fd5eb0) at thread/qmutex_unix.cpp:115
#6  0x049496ad in QMutex::unlock (this=0x8fd5e14) at thread/qmutex.cpp:383
#7  0x00e784b0 in unlock (this=0x8fd5db8, p=0x8f05698, mode=net::Poll::INPUT, conn=0xa52e0cd0) at /usr/include/qt4/QtCore/qmutex.h:114
#8  ~QMutexLocker (this=0x8fd5db8, p=0x8f05698, mode=net::Poll::INPUT, conn=0xa52e0cd0) at /usr/include/qt4/QtCore/qmutex.h:108
#9  utp::UTPServer::preparePolling (this=0x8fd5db8, p=0x8f05698, mode=net::Poll::INPUT, conn=0xa52e0cd0) at ../../src/utp/utpserver.cpp:526
#10 0x00e7f1f9 in utp::UTPSocket::prepare (this=0xa92dec90, p=0x8f05698, mode=net::Poll::INPUT) at ../../src/utp/utpsocket.cpp:202
#11 0x00de5e18 in net::DownloadThread::waitForSocketReady (this=0x8f05690) at ../../src/net/downloadthread.cpp:123
#12 0x00de5f4f in net::DownloadThread::update (this=0x8f05690) at ../../src/net/downloadthread.cpp:48
#13 0x00de61e8 in net::NetworkThread::run (this=0x8f05690) at ../../src/net/networkthread.cpp:48
#14 0x0494dda2 in QThreadPrivate::start (arg=0x8f05690) at thread/qthread_unix.cpp:320
#15 0x00d51e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x07b7073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xaa39db70 (LWP 5580)):
#0  0x001ae416 in __kernel_vsyscall ()
#1  0x00d5648c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x07b7e3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0494cdaa in QMutexPrivate::wait (this=0x8f05588, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x04949492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0x00de4560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0x00de5422 in net::UploadThread::waitForSocketsReady (this=0x8f059f0) at ../../src/net/uploadthread.cpp:112
#7  0x00de56bf in net::UploadThread::update (this=0x8f059f0) at ../../src/net/uploadthread.cpp:45
#8  0x00de61e8 in net::NetworkThread::run (this=0x8f059f0) at ../../src/net/networkthread.cpp:48
#9  0x0494dda2 in QThreadPrivate::start (arg=0x8f059f0) at thread/qthread_unix.cpp:320
#10 0x00d51e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x07b7073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaab9eb70 (LWP 5581)):
#0  0x00561d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x049a3dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x04a704f2 in updateCurrentTime (this=0xb428cac, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb428cac, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x04a6ed32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaab9e0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x04a6edcd in timerSourcePrepare (source=0xb428c78, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x012defd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x012dfe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x012e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x04a6f577 in QEventDispatcherGlib::processEvents (this=0xbb307c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x04a41289 in QEventLoop::processEvents (this=0xaab9e290, flags=...) at kernel/qeventloop.cpp:149
#12 0x04a41522 in QEventLoop::exec (this=0xaab9e290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0494b2a0 in QThread::exec (this=0xab279598) at thread/qthread.cpp:492
#14 0x04a22fdb in QInotifyFileSystemWatcherEngine::run (this=0xab279598) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0494dda2 in QThreadPrivate::start (arg=0xab279598) at thread/qthread_unix.cpp:320
#16 0x00d51e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x07b7073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77dd930 (LWP 5551)):
[KCrash Handler]
#7  0x07bb51ef in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x01db9016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x01dd0167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00dcf4d9 in bt::SHA1HashGen::update (this=0xac0ce80, data=0xb3d78000 " \343\365_A\222\371\342\235\226\215\066\031", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00e0bec8 in bt::ChunkDownload::updateHash (this=0xac0ce10) at ../../src/download/chunkdownload.cpp:555
#12 0x00e0dc21 in bt::ChunkDownload::piece (this=0xac0ce10, p=..., ok=@0xbfca222f) at ../../src/download/chunkdownload.cpp:127
#13 0x00e128ea in bt::Downloader::pieceReceived (this=0x9628f78, p=...) at ../../src/download/downloader.cpp:134
#14 0x00dfbe7f in bt::PeerManager::pieceReceived (this=0x96399b8, p=...) at ../../src/peer/peermanager.cpp:671
#15 0x00dfaa92 in bt::Peer::packetReady (this=0xac6f910, packet=0xb33340e8 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0x00e03959 in bt::PacketReader::update (this=0x9652a88) at ../../src/peer/packetreader.cpp:141
#17 0x00df86f9 in bt::Peer::update (this=0xac6f910) at ../../src/peer/peer.cpp:538
#18 0x00dfd7ea in bt::PeerManager::update (this=0x96399b8) at ../../src/peer/peermanager.cpp:144
#19 0x00e2fd2d in bt::TorrentControl::update (this=0x96236b0) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0x8fbc950) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0x8fbc950, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfca25ac) at ./core.moc:169
#22 0x04a486ba in QMetaObject::metacall (object=0x8fbc950, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfca25ac) at kernel/qmetaobject.cpp:237
#23 0x04a584ff in QMetaObject::activate (sender=0x8fbc964, m=0x4b7d5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0x04aa52f7 in QTimer::timeout (this=0x8fbc964) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x04a5e3ee in QTimer::timerEvent (this=0x8fbc964, e=0xbfca2aac) at kernel/qtimer.cpp:271
#26 0x04a57214 in QObject::event (this=0x8fbc964, e=0xbfca2aac) at kernel/qobject.cpp:1190
#27 0x03f1dd24 in QApplicationPrivate::notify_helper (this=0x8f5cfa0, receiver=0x8fbc964, e=0xbfca2aac) at kernel/qapplication.cpp:4462
#28 0x03f228ce in QApplication::notify (this=0xbfca2dd0, receiver=0x8fbc964, e=0xbfca2aac) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbfca2dd0, receiver=0x8fbc964, event=0xbfca2aac) at ../../ktorrent/app.cpp:97
#30 0x04a420bb in QCoreApplication::notifyInternal (this=0xbfca2dd0, receiver=0x8fbc964, event=0xbfca2aac) at kernel/qcoreapplication.cpp:731
#31 0x04a721e4 in sendEvent (this=0x8f60564) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x8f60564) at kernel/qeventdispatcher_unix.cpp:604
#33 0x04a6ee27 in timerSourceDispatch (source=0x8f60c38) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x8f60c38) at kernel/qeventdispatcher_glib.cpp:231
#35 0x012dfaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x012e0270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x012e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x04a6f53c in QEventDispatcherGlib::processEvents (this=0x8effac0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x03fd1775 in QGuiEventDispatcherGlib::processEvents (this=0x8effac0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x04a41289 in QEventLoop::processEvents (this=0xbfca2d44, flags=...) at kernel/qeventloop.cpp:149
#41 0x04a41522 in QEventLoop::exec (this=0xbfca2d44, flags=...) at kernel/qeventloop.cpp:201
#42 0x04a45ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x03f1b8e7 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 227400.

Possible duplicates by query: bug 272289, bug 271638, bug 271116, bug 268333, bug 267437.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-11 18:15:17 UTC

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