Bug 212442

Summary: ktorrent crashed while uploading one file
Product: [Applications] ktorrent Reporter: Amaury MARGUIER <onialanka>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Amaury MARGUIER 2009-10-30 20:56:25 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Hi,

I use Debian Squeeze (Testing) Friday 30th October 2009.
Linux 2.6.30-2-amd64.

I left ktorrent alone, when I came back, it has crashed. This is not the first time.
I was uploading a torrent, I limited the max download speed, and the minimum upload speed.
I also use ktorrent plasmaoïd.

Is this helpfull ?

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f4680ada750 (LWP 5180))]

Thread 3 (Thread 0x7f4667acb950 (LWP 5186)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f467e23bee5 in thread_sleep (ti=0x7f4667acb030) at thread/qthread_unix.cpp:297
#2  0x00007f467e23c03e in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#3  0x00007f468071276d in net::DownloadThread::update (this=0xb9b1a0) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007f4680712f89 in net::NetworkThread::run (this=0xb9b1a0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f467e23c475 in QThreadPrivate::start (arg=0xb9b1a0) at thread/qthread_unix.cpp:188
#6  0x00007f4679f10f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f467cb9156d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f46672ca950 (LWP 5187)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f467e23d469 in QWaitConditionPrivate::wait (this=0xb9b6f8, mutex=0xb9b700, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0xb9b6f8, mutex=0xb9b700, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4680711e54 in net::UploadThread::update (this=0xb9b690) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f4680712f89 in net::NetworkThread::run (this=0xb9b690) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f467e23c475 in QThreadPrivate::start (arg=0xb9b690) at thread/qthread_unix.cpp:188
#6  0x00007f4679f10f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f467cb9156d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f4680ada750 (LWP 5180)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f467c5c2ab4 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f467c5da4e3 in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#8  0x00007f468072f7de in bt::ChunkDownload::updateHash (this=0x22bb630) at ../../libbtcore/download/chunkdownload.cpp:562
#9  0x00007f468073049d in bt::ChunkDownload::piece (this=0x22bb630, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:133
#10 0x00007f468073772d in bt::Downloader::pieceReceived (this=0x137e0e0, p=...) at ../../libbtcore/download/downloader.cpp:133
#11 0x00007f468071f32d in bt::Peer::packetReady (this=0x2033fd0, packet=0x7f466c049fe0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:269
#12 0x00007f468072843d in bt::PacketReader::update (this=0x1f115d0) at ../../libbtcore/peer/packetreader.cpp:131
#13 0x00007f468071ed25 in bt::Peer::update (this=0x2033fd0) at ../../libbtcore/peer/peer.cpp:474
#14 0x00007f4680722865 in bt::PeerManager::update (this=0x13186f0) at ../../libbtcore/peer/peermanager.cpp:117
#15 0x00007f46807537fe in bt::TorrentControl::update (this=0x131bdb0) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#16 0x000000000042bd72 in kt::Core::update (this=0xce7130) at ../../ktorrent/core.cpp:877
#17 0x0000000000431abc in kt::Core::qt_metacall (this=0xce7130, _c=QMetaObject::InvokeMetaMethod, _id=36392424, _a=0x7fff193344f0) at ./core.moc:148
#18 0x00007f467e337682 in QMetaObject::activate (sender=0xce7158, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x600) at kernel/qobject.cpp:3112
#19 0x00007f467e331bf3 in QObject::event (this=0xce7158, e=0x7f46731b5000) at kernel/qobject.cpp:1074
#20 0x00007f467d79a80d in QApplicationPrivate::notify_helper (this=0xbd22f0, receiver=0xce7158, e=0x7fff19334ba0) at kernel/qapplication.cpp:4056
#21 0x00007f467d7a286a in QApplication::notify (this=0x7fff19334ef0, receiver=0xce7158, e=0x7fff19334ba0) at kernel/qapplication.cpp:4021
#22 0x00007f467f90843b in KApplication::notify (this=0x7fff19334ef0, receiver=0xce7158, event=0x7fff19334ba0) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f467e32251c in QCoreApplication::notifyInternal (this=0x7fff19334ef0, receiver=0xce7158, event=0x7fff19334ba0) at kernel/qcoreapplication.cpp:610
#24 0x00007f467e34e826 in QCoreApplication::sendEvent (this=0xbc9ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 QTimerInfoList::activateTimers (this=0xbc9ac0) at kernel/qeventdispatcher_unix.cpp:572
#26 0x00007f467e34ac9d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#27 0x00007f467966412a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f4679667988 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f4679667b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f467e34abff in QEventDispatcherGlib::processEvents (this=0xb97d40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f467d83164f in QGuiEventDispatcherGlib::processEvents (this=0x22b5de8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f467e320de2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f467e3211b4 in QEventLoop::exec (this=0x7fff19334e50, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f467e323424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000424e62 in main (argc=5, argv=0x7fff19335b88) at ../../ktorrent/main.cpp:171
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-31 02:22:08 UTC
Merging with bug 186621. Thanks

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