Bug 297647 - KTorrent Crash
Summary: KTorrent Crash
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: 2012-04-07 12:37 UTC by ezza71
Modified: 2012-04-07 15:52 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 ezza71 2012-04-07 12:37:23 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-40-generic x86_64
Distribution: Ubuntu 10.04.4 LTS

-- Information about the crash:
Crash during torrent download after access from web UI

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

Thread 4 (Thread 0x7f65dfeef700 (LWP 2624)):
#0  net::DownloadThread::waitForSocketReady (this=0x1a81580) at ../../libbtcore/net/downloadthread.cpp:157
#1  0x00007f66083cbb66 in net::DownloadThread::update (this=0x7f6608695640) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00007f66083cc6e9 in net::NetworkThread::run (this=0x1a81580) at ../../libbtcore/net/networkthread.cpp:48
#3  0x00007f6605e3d775 in QThreadPrivate::start (arg=0x1a81580) at thread/qthread_unix.cpp:248
#4  0x00007f6605bad9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f66044c5cdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f65df6ee700 (LWP 2625)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6605e3e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1a81b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a81b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f66083cb60c in net::UploadThread::update (this=0x1a81ae0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f66083cc6e9 in net::NetworkThread::run (this=0x1a81ae0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f6605e3d775 in QThreadPrivate::start (arg=0x1a81ae0) at thread/qthread_unix.cpp:248
#6  0x00007f6605bad9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f66044c5cdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f65deeed700 (LWP 2626)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6605e3e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f65ec038430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f65ec038430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f66083cf342 in net::ReverseResolverThread::run (this=0x7f65ec038420) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007f6605e3d775 in QThreadPrivate::start (arg=0x7f65ec038420) at thread/qthread_unix.cpp:248
#5  0x00007f6605bad9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f66044c5cdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f66088a7760 (LWP 1311)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f6603ee00b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f6603ef64c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f66083b77bb in bt::SHA1HashGen::update (this=0x2c0c1d0, data=0x7f65f001a800 "\316\001", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f66083ea072 in bt::ChunkDownload::updateHash (this=0x2c0c110) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f66083eb8f8 in bt::ChunkDownload::piece (this=0x2c0c110, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f66083f1d3e in bt::Downloader::pieceReceived (this=0x2768a80, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f66083d9681 in bt::Peer::packetReady (this=0x2b0acd0, packet=0x7f65d8032b20 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f66083e2c78 in bt::PacketReader::update (this=0x28bdbd0) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f66083d9045 in bt::Peer::update (this=0x2b0acd0) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f66083dd0d0 in bt::PeerManager::update (this=0x26cbd00) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f660840b25a in bt::TorrentControl::update (this=0x26d1470) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x7f65ec003a30) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x7f65ec003a30, _c=QMetaObject::InvokeMetaMethod, _id=46068072, _a=0x7fff7ff15600) at ./core.moc:155
#19 0x00007f6605f44e3f in QMetaObject::activate (sender=0x7f65ec003a58, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x100) at kernel/qobject.cpp:3293
#20 0x00007f6605f41a63 in QObject::event (this=0x7f65ec003a58, e=0x7fff7ff15d50) at kernel/qobject.cpp:1212
#21 0x00007f66050ce22c in QApplicationPrivate::notify_helper (this=0x1aacf60, receiver=0x7f65ec003a58, e=0x7fff7ff15d50) at kernel/qapplication.cpp:4300
#22 0x00007f66050d46fb in QApplication::notify (this=0x7fff7ff16080, receiver=0x7f65ec003a58, e=0x7fff7ff15d50) at kernel/qapplication.cpp:4183
#23 0x00007f6607578a16 in KApplication::notify (this=0x7fff7ff16080, receiver=0x7f65ec003a58, event=0x7fff7ff15d50) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f6605f3206c in QCoreApplication::notifyInternal (this=0x7fff7ff16080, receiver=0x7f65ec003a58, event=0x7fff7ff15d50) at kernel/qcoreapplication.cpp:704
#25 0x00007f6605f5ed42 in QCoreApplication::sendEvent (this=0x1ab40c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1ab40c0) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f6605f5b848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#29 0x00007f6600b468c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f6600b4a748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f6600b4a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f6605f5b513 in QEventDispatcherGlib::processEvents (this=0x1a7f5b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f660517e46e in QGuiEventDispatcherGlib::processEvents (this=0x2bf0968, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f6605f30992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f6605f30d6c in QEventLoop::exec (this=0x7fff7ff15ff0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f6605f34aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Reported using DrKonqi
Comment 1 Joris Guisson 2012-04-07 15:52:31 UTC

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