Bug 251738 - KTor random crashes
Summary: KTor random crashes
Status: RESOLVED DUPLICATE of bug 227400
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: 2010-09-19 17:13 UTC by jfisher
Modified: 2010-09-19 19:47 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 jfisher 2010-09-19 17:13:19 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Can't seem to pinpoint interval or conflicts with other running programs. 

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f40b5c35710 (LWP 435)):
#0  0x00007f40c8fe1f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f40ccef3aa9 in net::DownloadThread::waitForSocketReady (this=0x89f580) at ../../libbtcore/net/downloadthread.cpp:188
#2  0x00007f40ccef3b66 in net::DownloadThread::update (this=0x7f40a8050ce0) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00007f40ccef46e9 in net::NetworkThread::run (this=0x89f580) at ../../libbtcore/net/networkthread.cpp:48
#4  0x00007f40ca966775 in QThreadPrivate::start (arg=0x89f580) at thread/qthread_unix.cpp:248
#5  0x00007f40ca6d69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f40c8fee6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f40b502b710 (LWP 436)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f40ca96772b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x89fb50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x89fb50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f40ccef360c in net::UploadThread::update (this=0x89fae0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f40ccef46e9 in net::NetworkThread::run (this=0x89fae0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f40ca966775 in QThreadPrivate::start (arg=0x89fae0) at thread/qthread_unix.cpp:248
#6  0x00007f40ca6d69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f40c8fee6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f40b6436710 (LWP 437)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f40ca96772b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1321b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1321b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f40ccef7342 in net::ReverseResolverThread::run (this=0x1321b00) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007f40ca966775 in QThreadPrivate::start (arg=0x1321b00) at thread/qthread_unix.cpp:248
#5  0x00007f40ca6d69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f40c8fee6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f40cd3c4760 (LWP 403)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f40c8a090b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f40c8a1f4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f40ccedf7bb in bt::SHA1HashGen::update (this=0x14b75f0, data=0x7f40c29bd800 "s/\345N\364", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f40ccf12072 in bt::ChunkDownload::updateHash (this=0x14b7530) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f40ccf138f8 in bt::ChunkDownload::piece (this=0x14b7530, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f40ccf19d3e in bt::Downloader::pieceReceived (this=0xd00700, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f40ccf01681 in bt::Peer::packetReady (this=0x14e5df0, packet=0x7f40a8088f60 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f40ccf0ac78 in bt::PacketReader::update (this=0x13b0610) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f40ccf01045 in bt::Peer::update (this=0x14e5df0) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f40ccf050d0 in bt::PeerManager::update (this=0xcf7110) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f40ccf3325a in bt::TorrentControl::update (this=0xcced00) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0xaa9b30) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0xaa9b30, _c=QMetaObject::InvokeMetaMethod, _id=29208024, _a=0x7fff54dcf5f0) at ./core.moc:155
#19 0x00007f40caa6de3f in QMetaObject::activate (sender=0xaa9b58, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x700) at kernel/qobject.cpp:3293
#20 0x00007f40caa6aa63 in QObject::event (this=0xaa9b58, e=0x7fff54dcfd40) at kernel/qobject.cpp:1212
#21 0x00007f40c9bf722c in QApplicationPrivate::notify_helper (this=0x8cb790, receiver=0xaa9b58, e=0x7fff54dcfd40) at kernel/qapplication.cpp:4300
#22 0x00007f40c9bfd6fb in QApplication::notify (this=0x7fff54dd0070, receiver=0xaa9b58, e=0x7fff54dcfd40) at kernel/qapplication.cpp:4183
#23 0x00007f40cc0a1526 in KApplication::notify (this=0x7fff54dd0070, receiver=0xaa9b58, event=0x7fff54dcfd40) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f40caa5b06c in QCoreApplication::notifyInternal (this=0x7fff54dd0070, receiver=0xaa9b58, event=0x7fff54dcfd40) at kernel/qcoreapplication.cpp:704
#25 0x00007f40caa87d42 in QCoreApplication::sendEvent (this=0x8d0230) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x8d0230) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f40caa84848 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 0x00007f40c56708c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f40c5674748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f40c56748fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f40caa84513 in QEventDispatcherGlib::processEvents (this=0x89d5b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f40c9ca746e in QGuiEventDispatcherGlib::processEvents (this=0x1bdb5d8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f40caa59992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f40caa59d6c in QEventLoop::exec (this=0x7fff54dcffe0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f40caa5daab 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

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

Possible duplicates by query: bug 251303, bug 250492, bug 247984, bug 247114, bug 246320.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-19 19:47:33 UTC

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