Bug 263830 - segmentation fault in ktorrent
Summary: segmentation fault in ktorrent
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: 2011-01-21 09:54 UTC by Sean Thames
Modified: 2011-01-22 12:43 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 Sean Thames 2011-01-21 09:54:32 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-27-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Ktorrent was running in the tray downloading. I was using chromium browser and konqueror setting up kopete when the alert popped up about the segmentation fault.

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

Thread 5 (Thread 0x7ff9c50d6700 (LWP 2257)):
#0  0x00007ff9df92fa2a in __pthread_mutex_unlock_usercnt (mutex=0x26c5898) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x26c5898) at pthread_mutex_unlock.c:290
#2  0x00007ff9da8c7ff1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007ff9da8c8318 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff9da8c88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007ff9dfcd9566 in QEventDispatcherGlib::processEvents (this=0x2620530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007ff9dfcae992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007ff9dfcaed6c in QEventLoop::exec (this=0x7ff9c50d5db0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007ff9dfbb8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007ff9dfc8f178 in QInotifyFileSystemWatcherEngine::run (this=0x26c3cc0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff9dfbbb775 in QThreadPrivate::start (arg=0x26c3cc0) at thread/qthread_unix.cpp:248
#11 0x00007ff9df92b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007ff9de24370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff9c48d5700 (LWP 2260)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ff9dfbbb0e5 in thread_sleep (ti=0x7ff9c48d4db0) at thread/qthread_unix.cpp:398
#2  0x00007ff9dfbbb250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007ff9e2149da7 in net::DownloadThread::update (this=0x1c8b950) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007ff9e214a6e9 in net::NetworkThread::run (this=0x1c8b950) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007ff9dfbbb775 in QThreadPrivate::start (arg=0x1c8b950) at thread/qthread_unix.cpp:248
#6  0x00007ff9df92b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007ff9de24370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff9bffff700 (LWP 2261)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9dfbbc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1c8bf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c8bf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff9e214960c in net::UploadThread::update (this=0x1c8beb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007ff9e214a6e9 in net::NetworkThread::run (this=0x1c8beb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007ff9dfbbb775 in QThreadPrivate::start (arg=0x1c8beb0) at thread/qthread_unix.cpp:248
#6  0x00007ff9df92b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007ff9de24370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff9bf7fe700 (LWP 2262)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9dfbbc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7ff9c0002310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7ff9c0002310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff9e214d342 in net::ReverseResolverThread::run (this=0x7ff9c0002300) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007ff9dfbbb775 in QThreadPrivate::start (arg=0x7ff9c0002300) at thread/qthread_unix.cpp:248
#5  0x00007ff9df92b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff9de24370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff9e261a760 (LWP 2232)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007ff9ddc5e0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007ff9ddc744c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007ff9e21357bb in bt::SHA1HashGen::update (this=0x327fbd0, 
    data=0x7ff9c75dd000 "RO\216\021Y\240I\336]A\206Y\344\312\305\071d\263?\302i\315\346\370\017\331\064\322\304\002\312\215\224_\317V\263\314S\222\267\246A.\214\246 \006|\256$\236\267\320\031\216h\373\253%X\265\337\177\324Q\232\032s\201)1=DPy8\021v?|\f5\306)G\234\263\264\251\313\316\035\342w\335\001\331\300\331\rB-.\003@$9\024\300\216{\330\374\203\302\313\031\241o!\315#\371\023\327\v1\036\026m\325S\256\001\300\225\272\006\335q5\fyc\267i\a\322d\217K\206\264\017\071\020\024\306\362y\247>e\232!\311\064k=\377\257\350\225H\245\256\314K\207", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007ff9e2168072 in bt::ChunkDownload::updateHash (this=0x327fb10) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007ff9e21698f8 in bt::ChunkDownload::piece (this=0x327fb10, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007ff9e216fd3e in bt::Downloader::pieceReceived (this=0x27b7360, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007ff9e2157681 in bt::Peer::packetReady (this=0x33fecb0, packet=0x7ff9c002d190 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007ff9e2160c78 in bt::PacketReader::update (this=0x300b7f0) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007ff9e2157045 in bt::Peer::update (this=0x33fecb0) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007ff9e215b0d0 in bt::PeerManager::update (this=0x2609e20) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007ff9e218925a in bt::TorrentControl::update (this=0x27b6d40) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x1dce6d0) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x1dce6d0, _c=QMetaObject::InvokeMetaMethod, _id=52159000, _a=0x7fff18826f70) at ./core.moc:155
#19 0x00007ff9dfcc2e3f in QMetaObject::activate (sender=0x1dce6f8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3293
#20 0x00007ff9dfcbfa63 in QObject::event (this=0x1dce6f8, e=0x7fff188276c0) at kernel/qobject.cpp:1212
#21 0x00007ff9dee4c22c in QApplicationPrivate::notify_helper (this=0x1cb6d70, receiver=0x1dce6f8, e=0x7fff188276c0) at kernel/qapplication.cpp:4300
#22 0x00007ff9dee526fb in QApplication::notify (this=0x7fff188279f0, receiver=0x1dce6f8, e=0x7fff188276c0) at kernel/qapplication.cpp:4183
#23 0x00007ff9e12f6a16 in KApplication::notify (this=0x7fff188279f0, receiver=0x1dce6f8, event=0x7fff188276c0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007ff9dfcb006c in QCoreApplication::notifyInternal (this=0x7fff188279f0, receiver=0x1dce6f8, event=0x7fff188276c0) at kernel/qcoreapplication.cpp:704
#25 0x00007ff9dfcdcd42 in QCoreApplication::sendEvent (this=0x1cbcd20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1cbcd20) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007ff9dfcd9848 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 0x00007ff9da8c48c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007ff9da8c8748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007ff9da8c88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007ff9dfcd9513 in QEventDispatcherGlib::processEvents (this=0x1c89980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007ff9deefc46e in QGuiEventDispatcherGlib::processEvents (this=0x31bf218, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007ff9dfcae992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007ff9dfcaed6c in QEventLoop::exec (this=0x7fff18827960, flags=) at kernel/qeventloop.cpp:201
#36 0x00007ff9dfcb2aab 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

Possible duplicates by query: bug 263012, bug 262378, bug 262037, bug 261102, bug 261009.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-01-22 12:43:48 UTC

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