Bug 241077

Summary: Ktorrent crashed when downloading torrent files
Product: [Applications] ktorrent Reporter: Alexander Kupcov <a.kupcov>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Kupcov 2010-06-08 07:26:23 UTC
Application: ktorrent (4.0beta1)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-112.fc13.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
ktorrent crashes when downloading torrent files. The situation repeats itself. Has the space to store the files (there is free space). The total size of downloaded files 107.28 GB

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb7785780 (LWP 27110))]

Thread 5 (Thread 0xb54ffb70 (LWP 27112)):
#0  0x00941424 in __kernel_vsyscall ()
#1  0x00688251 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x07750fcc in dht::RPCServerThread::run (this=0x8c4b008) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/dht/rpcserver.cpp:107
#3  0x03d46fef in QThreadPrivate::start (arg=0x8c4b008) at thread/qthread_unix.cpp:248
#4  0x0074d919 in start_thread (arg=0xb54ffb70) at pthread_create.c:301
#5  0x0068fe5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xb60fdb70 (LWP 27122)):
#0  0x00941424 in __kernel_vsyscall ()
#1  0x0075123c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x03d46662 in QMutexPrivate::wait (this=0x8bb67d8, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x03d42cba in QMutex::lock (this=0x77c01d0) at thread/qmutex.cpp:167
#4  0x076f6c21 in net::SocketMonitor::lock (this=0x77c01cc) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/socketmonitor.cpp:74
#5  0x076f8006 in net::DownloadThread::update (this=0x8bb6840) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/downloadthread.cpp:56
#6  0x076f8a68 in net::NetworkThread::run (this=0x8bb6840) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/networkthread.cpp:48
#7  0x03d46fef in QThreadPrivate::start (arg=0x8bb6840) at thread/qthread_unix.cpp:248
#8  0x0074d919 in start_thread (arg=0xb60fdb70) at pthread_create.c:301
#9  0x0068fe5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb3163b70 (LWP 27123)):
[KCrash Handler]
#6  0x00941424 in __kernel_vsyscall ()
#7  0x005dcd71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x005de64a in abort () at abort.c:92
#9  0x0061ad9d in __libc_message (do_abort=2, fmt=0x7008ec "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#10 0x006211e1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xa6bd188) at malloc.c:6280
#11 0x00ce74b2 in operator delete (ptr=0xa6bd188) at ../../../../libstdc++-v3/libsupc++/del_op.cc:44
#12 0x00ce750e in operator delete[] (ptr=0xa6bd188) at ../../../../libstdc++-v3/libsupc++/del_opv.cc:32
#13 0x07712b2d in bt::Packet::~Packet (this=0xa6bd170, __in_chrg=<value optimized out>) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/download/packet.cpp:98
#14 0x07712b63 in bt::Packet::~Packet (this=0xa6bd170, __in_chrg=<value optimized out>) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/download/packet.cpp:99
#15 0x0770ee6d in bt::PacketWriter::onReadyToWrite (this=0xa770910, data=0xa81ed90 "", max_to_write=16393) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/peer/packetwriter.cpp:269
#16 0x076fcbed in mse::StreamSocket::onReadyToWrite (this=0xa67d098, data=0xa81ed90 "", max_to_write=16393) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/mse/streamsocket.cpp:288
#17 0x076f45e9 in net::BufferedSocket::writeBuffered (this=0xa67d050, max=0, now=1275973100621) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/bufferedsocket.cpp:182
#18 0x076f97d6 in net::SocketGroup::processUnlimited (this=0x8bb6e28, up=true, now=1275973100621) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/socketgroup.cpp:51
#19 0x076f9a55 in net::SocketGroup::process (this=0x8bb6e28, up=true, now=1275973100621, global_allowance=@0xb31631fc) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/socketgroup.cpp:192
#20 0x076f9bdf in net::SocketGroup::upload (this=0x8bb6e28, global_allowance=@0xb31631fc, now=1275973100621) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/socketgroup.cpp:115
#21 0x076f7823 in net::UploadThread::doGroup (this=0x8bb6ba0, g=0x8bb6e28, allowance=@0xb31631fc, now=1275973100621) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/uploadthread.cpp:92
#22 0x076f87cd in net::NetworkThread::doGroups (this=0x8bb6ba0, num_ready=14, now=1275973100621, limit=0) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/networkthread.cpp:155
#23 0x076f7a58 in net::UploadThread::update (this=0x8bb6ba0) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/uploadthread.cpp:66
#24 0x076f8a68 in net::NetworkThread::run (this=0x8bb6ba0) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/networkthread.cpp:48
#25 0x03d46fef in QThreadPrivate::start (arg=0x8bb6ba0) at thread/qthread_unix.cpp:248
#26 0x0074d919 in start_thread (arg=0xb3163b70) at pthread_create.c:301
#27 0x0068fe5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb2762b70 (LWP 27124)):
#0  0x00941424 in __kernel_vsyscall ()
#1  0x0075123c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x03d47e8f in wait (this=0xa5fe7d4, mutex=0xa5fe7d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa5fe7d4, mutex=0xa5fe7d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x076fb6e2 in net::ReverseResolverThread::run (this=0xa5fe7c8) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/net/reverseresolver.cpp:120
#5  0x03d46fef in QThreadPrivate::start (arg=0xa5fe7c8) at thread/qthread_unix.cpp:248
#6  0x0074d919 in start_thread (arg=0xb2762b70) at pthread_create.c:301
#7  0x0068fe5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7785780 (LWP 27110)):
#0  0x00941424 in __kernel_vsyscall ()
#1  0x0075123c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x03d46662 in QMutexPrivate::wait (this=0xa88b0f0, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x03d42cba in QMutex::lock (this=0xa770938) at thread/qmutex.cpp:167
#4  0x0770e0a8 in relock (this=0xa770910) at /usr/include/QtCore/qmutex.h:120
#5  QMutexLocker (this=0xa770910) at /usr/include/QtCore/qmutex.h:102
#6  bt::PacketWriter::getNumDataPacketsToWrite (this=0xa770910) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/peer/packetwriter.cpp:313
#7  0x0770d905 in bt::PeerUploader::getNumRequests (this=0xa88b0d8) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/peer/peeruploader.cpp:122
#8  0x0770542d in bt::Peer::getStats (this=0xa6cdf20) at /usr/src/debug/ktorrent-4.0beta1/libbtcore/peer/peer.cpp:603
#9  0x00923217 in kt::SpdTabPage::GatherPeersSpeed (this=0x9e65190, pPlug=0x9e66e60) at /usr/src/debug/ktorrent-4.0beta1/plugins/stats/SpdTabPage.cc:168
#10 0x0092368b in kt::SpdTabPage::GatherData (this=0x9e65190, pPlug=0x9e66e60) at /usr/src/debug/ktorrent-4.0beta1/plugins/stats/SpdTabPage.cc:220
#11 0x009215ad in kt::StatsPlugin::DispatchDataGathering (this=0x9e66e60) at /usr/src/debug/ktorrent-4.0beta1/plugins/stats/StatsPlugin.cc:108
#12 0x009195a2 in kt::StatsPlugin::qt_metacall (this=0x9e66e60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcbfadc)
    at /usr/src/debug/ktorrent-4.0beta1/i686-redhat-linux-gnu/plugins/stats/moc_StatsPlugin.cpp:74
#13 0x03e41f1b in QMetaObject::metacall (object=0x9e66e60, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfcbfadc) at kernel/qmetaobject.cpp:237
#14 0x03e50d3f in QMetaObject::activate (sender=0x9ebfa00, m=0x3f51a24, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x03e98b48 in QTimer::timeout (this=0x9ebfa00) at .moc/release-shared/moc_qtimer.cpp:134
#16 0x03e56c0e in QTimer::timerEvent (this=0x9ebfa00, e=0xbfcc0010) at kernel/qtimer.cpp:271
#17 0x03e4d1e4 in QObject::event (this=0x9ebfa00, e=0xbfcc0010) at kernel/qobject.cpp:1212
#18 0x0682fddc in QApplicationPrivate::notify_helper (this=0x8bd9668, receiver=0x9ebfa00, e=0xbfcc0010) at kernel/qapplication.cpp:4300
#19 0x06836836 in QApplication::notify (this=0xbfcc0364, receiver=0x9ebfa00, e=0xbfcc0010) at kernel/qapplication.cpp:3704
#20 0x05d2fd9b in KApplication::notify (this=0xbfcc0364, receiver=0x9ebfa00, event=0xbfcc0010) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#21 0x03e3d543 in QCoreApplication::notifyInternal (this=0xbfcc0364, receiver=0x9ebfa00, event=0xbfcc0010) at kernel/qcoreapplication.cpp:704
#22 0x03e6846e in sendEvent (this=0x8be0e94) at kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x8be0e94) at kernel/qeventdispatcher_unix.cpp:603
#24 0x03e659f8 in timerSourceDispatch (source=0x8be1300) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=0x8be1300) at kernel/qeventdispatcher_glib.cpp:231
#26 0x007e9525 in g_main_dispatch (context=0x8bdc090) at gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x8bdc090) at gmain.c:2513
#28 0x007ed268 in g_main_context_iterate (context=0x750490, block=1, dispatch=1, self=0x8bdd478) at gmain.c:2591
#29 0x007ed449 in IA__g_main_context_iteration (context=0x8bdc090, may_block=1) at gmain.c:2654
#30 0x03e656b6 in QEventDispatcherGlib::processEvents (this=0x8bb5640, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#31 0x068de556 in QGuiEventDispatcherGlib::processEvents (this=0x8bb5640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x03e3bc1a in QEventLoop::processEvents (this=0xbfcc02d4, flags=...) at kernel/qeventloop.cpp:149
#33 0x03e3bf5a in QEventLoop::exec (this=0xbfcc02d4, flags=...) at kernel/qeventloop.cpp:201
#34 0x03e3e627 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0682fe88 in QApplication::exec () at kernel/qapplication.cpp:3579
#36 0x080662ec in main (argc=5, argv=0xbfcc0744) at /usr/src/debug/ktorrent-4.0beta1/ktorrent/main.cpp:171

Possible duplicates by query: bug 238794, bug 236519, bug 236422, bug 201991, bug 197520.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-08 08:01:09 UTC

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