Bug 261009 - ktorrent crashes when used
Summary: ktorrent crashes when used
Status: RESOLVED DUPLICATE of bug 247984
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-12-22 22:31 UTC by vidkid
Modified: 2010-12-23 00:13 UTC (History)
1 user (show)

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 vidkid 2010-12-22 22:31:39 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-27-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
ktorrent crashes when in used, crashes randomly when downloading

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f08ecf2f700 (LWP 2463)):
#0  0x00007f08f5f7bff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f08f9ee668e in dht::RPCServerThread::run (this=0x1e7c780) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007f08f78fff95 in QThreadPrivate::start (arg=0x1e7c780) at thread/qthread_unix.cpp:248
#3  0x00007f08f766f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f08f5f8370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f08ed730700 (LWP 2476)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f08ed72faa0 in ?? ()
#2  0x00007ffffefff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f08d7001700 (LWP 2479)):
#0  net::DownloadThread::waitForSocketReady (this=0x1db9950) at ../../libbtcore/net/downloadthread.cpp:157
#1  0x00007f08f9e8cb66 in net::DownloadThread::update (this=0x7f08fa156640) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00007f08f9e8d6e9 in net::NetworkThread::run (this=0x1db9950) at ../../libbtcore/net/networkthread.cpp:48
#3  0x00007f08f78fff95 in QThreadPrivate::start (arg=0x1db9950) at thread/qthread_unix.cpp:248
#4  0x00007f08f766f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f08f5f8370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f08d6800700 (LWP 2480)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f08f7900fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1db9f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1db9f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f08f9e8c60c in net::UploadThread::update (this=0x1db9eb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f08f9e8d6e9 in net::NetworkThread::run (this=0x1db9eb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f08f78fff95 in QThreadPrivate::start (arg=0x1db9eb0) at thread/qthread_unix.cpp:248
#6  0x00007f08f766f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f08f5f8370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f08d5fff700 (LWP 2481)):
#0  0x00007f08f5f754bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f08f5f10348 in _IO_new_file_underflow (fp=0x7f08e8069d40) at fileops.c:606
#2  0x00007f08f5f11eee in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f08f5f0643e in _IO_getline_info (fp=0x7f08e8069d40, buf=0x7f08ef958000 "RESOLVE-ADDRESS 46.40.102.58\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f08f5f05329 in _IO_fgets (buf=0x7f08d5ffe0d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f08e8069d40) at iofgets.c:58
#5  0x00007f08d55fcfcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f08d55fd435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f08f5f9e258 in __gethostbyaddr_r (addr=0x26d54f4, len=4, type=<value optimized out>, resbuf=0x7f08d5ffeb50, buffer=<value optimized out>, buflen=<value optimized out>, 
    result=0x7f08d5ffeb80, h_errnop=0x7f08d5ffeb8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f08f5fa484b in *__GI_getnameinfo (sa=0x26d54f0, addrlen=<value optimized out>, host=0x7f08d5ffecb0 "", hostlen=199, serv=0x7f08d5ffebe0 "", servlen=199, flags=<value optimized out>)
    at getnameinfo.c:223
#9  0x00007f08f9e900af in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#10 0x00007f08f9e90150 in net::ReverseResolver::run (this=0x29aefe0) at ../../libbtcore/net/reverseresolver.cpp:73
#11 0x00007f08f9e90247 in net::ReverseResolverThread::run (this=0x25fc740) at ../../libbtcore/net/reverseresolver.cpp:118
#12 0x00007f08f78fff95 in QThreadPrivate::start (arg=0x25fc740) at thread/qthread_unix.cpp:248
#13 0x00007f08f766f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f08f5f8370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f08fa359760 (LWP 2461)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f08f599e0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f08f59b44c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f08f9e787bb in bt::SHA1HashGen::update (this=0x29ade50, data=0x7f08d4f83bd6 "\332D\303\341\221\307\322z\364U01w", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f08f9eab072 in bt::ChunkDownload::updateHash (this=0x29add90) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f08f9eac8f8 in bt::ChunkDownload::piece (this=0x29add90, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f08f9eb2d3e in bt::Downloader::pieceReceived (this=0x20ed730, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f08f9e9a681 in bt::Peer::packetReady (this=0x27adf80, packet=0x28ce270 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f08f9ea3c78 in bt::PacketReader::update (this=0x288af80) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f08f9e9a045 in bt::Peer::update (this=0x27adf80) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f08f9e9e0d0 in bt::PeerManager::update (this=0x1e58850) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f08f9ecc25a in bt::TorrentControl::update (this=0x1e52db0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x1e620c0) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x1e620c0, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7ffffee1b870) at ./core.moc:155
#19 0x00007f08f7a03036 in QMetaObject::activate (sender=0x1e620e8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x77a) at kernel/qobject.cpp:3295
#20 0x00007f08f79ff893 in QObject::event (this=0x1e620e8, e=0x7ffffee1bfc0) at kernel/qobject.cpp:1212
#21 0x00007f08f6b8cc0c in QApplicationPrivate::notify_helper (this=0x1df16f0, receiver=0x1e620e8, e=0x7ffffee1bfc0) at kernel/qapplication.cpp:4302
#22 0x00007f08f6b930eb in QApplication::notify (this=0x7ffffee1c2f0, receiver=0x1e620e8, e=0x7ffffee1bfc0) at kernel/qapplication.cpp:4185
#23 0x00007f08f9039a16 in KApplication::notify (this=0x7ffffee1c2f0, receiver=0x1e620e8, event=0x7ffffee1bfc0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f08f79efd9c in QCoreApplication::notifyInternal (this=0x7ffffee1c2f0, receiver=0x1e620e8, event=0x7ffffee1bfc0) at kernel/qcoreapplication.cpp:726
#25 0x00007f08f7a1cba2 in QCoreApplication::sendEvent (this=0x1de8b40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1de8b40) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f08f7a196e8 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 0x00007f08f26048c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f08f2608748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f08f26088fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f08f7a19406 in QEventDispatcherGlib::processEvents (this=0x1db7980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#33 0x00007f08f6c3d18e in QGuiEventDispatcherGlib::processEvents (this=0x2b0b6b2, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f08f79ee6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f08f79eea9c in QEventLoop::exec (this=0x7ffffee1c260, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f08f79f373b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#37 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 260359, bug 258765, bug 258248, bug 257314, bug 256822.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-23 00:13:30 UTC
[Comment from a bug triager]
This is fixed in the latest application version.
Merging with bug 247984. Thanks

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