Bug 217655 - Ktorrent frequent segfault
Summary: Ktorrent frequent segfault
Status: RESOLVED DUPLICATE of bug 186621
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 23:31 UTC by m0ik0
Modified: 2009-12-06 23:55 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 m0ik0 2009-12-06 23:31:12 UTC
Application that crashed: ktorrent
Version of the application: 3.2.5
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.6-145.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

What I was doing when the application crashed:
Started the ktorrent and I get segfault after couple minutes.
It keeps repeating after I restarted the program.



 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f476ce2e840 (LWP 29079))]

Thread 6 (Thread 0x7f476231b710 (LWP 29190)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00000036dc25ad42 in wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000036dc250dda in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00000036dc259d25 in QThreadPrivate::start (arg=0x18e7220) at thread/qthread_unix.cpp:188
#5  0x0000003b7d406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003b7c8ddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4759d2b710 (LWP 29191)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00000036dc25ad42 in wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000036dc250dda in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00000036dc259d25 in QThreadPrivate::start (arg=0x17bea80) at thread/qthread_unix.cpp:188
#5  0x0000003b7d406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003b7c8ddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f475932a710 (LWP 29192)):
#0  0x0000003b7c8d4aa3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f476de66429 in net::DownloadThread::waitForSocketReady (this=0x847140, timeout=<value optimized out>) at /usr/src/debug/ktorrent-3.2.5/libbtcore/net/downloadthread.cpp:188
#2  0x00007f476de664ec in net::DownloadThread::update (this=0x847140) at /usr/src/debug/ktorrent-3.2.5/libbtcore/net/downloadthread.cpp:53
#3  0x00007f476de66e99 in net::NetworkThread::run (this=0x847140) at /usr/src/debug/ktorrent-3.2.5/libbtcore/net/networkthread.cpp:48
#4  0x00000036dc259d25 in QThreadPrivate::start (arg=0x847140) at thread/qthread_unix.cpp:188
#5  0x0000003b7d406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003b7c8ddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4753fff710 (LWP 29193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000036dc25addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f476de65dac in net::UploadThread::update (this=0x847690) at /usr/src/debug/ktorrent-3.2.5/libbtcore/net/uploadthread.cpp:73
#4  0x00007f476de66e99 in net::NetworkThread::run (this=0x847690) at /usr/src/debug/ktorrent-3.2.5/libbtcore/net/networkthread.cpp:48
#5  0x00000036dc259d25 in QThreadPrivate::start (arg=0x847690) at thread/qthread_unix.cpp:188
#6  0x0000003b7d406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x0000003b7c8ddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f47535fe710 (LWP 29767)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00000036dc25ad42 in wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=30000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000036dc250dda in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00000036dc259d25 in QThreadPrivate::start (arg=0x13b36b0) at thread/qthread_unix.cpp:188
#5  0x0000003b7d406a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003b7c8ddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f476ce2e840 (LWP 29079)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00000036e3a70d56 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib64/libqca.so.2
#7  0x00000036e3a88414 in QCA::Hash::update(char const*, int) () from /usr/lib64/libqca.so.2
#8  0x00007f476de833c2 in bt::ChunkDownload::updateHash (this=0x13b8300) at /usr/src/debug/ktorrent-3.2.5/libbtcore/download/chunkdownload.cpp:562
#9  0x00007f476de84145 in bt::ChunkDownload::piece (this=0x13b8300, p=..., ok=<value optimized out>) at /usr/src/debug/ktorrent-3.2.5/libbtcore/download/chunkdownload.cpp:133
#10 0x00007f476de8a8be in bt::Downloader::pieceReceived (this=0x1340df0, p=...) at /usr/src/debug/ktorrent-3.2.5/libbtcore/download/downloader.cpp:133
#11 0x00007f476de731e9 in bt::Peer::packetReady (this=0x1919820, packet=0x7f474c02d910 "\a", len=<value optimized out>) at /usr/src/debug/ktorrent-3.2.5/libbtcore/peer/peer.cpp:269
#12 0x00007f476de7c155 in bt::PacketReader::update (this=0x1637710) at /usr/src/debug/ktorrent-3.2.5/libbtcore/peer/packetreader.cpp:131
#13 0x00007f476de72f35 in bt::Peer::update (this=0x1919820) at /usr/src/debug/ktorrent-3.2.5/libbtcore/peer/peer.cpp:474
#14 0x00007f476de76900 in bt::PeerManager::update (this=0x1337680) at /usr/src/debug/ktorrent-3.2.5/libbtcore/peer/peermanager.cpp:117
#15 0x00007f476dea736c in bt::TorrentControl::update (this=0x1334d40) at /usr/src/debug/ktorrent-3.2.5/libbtcore/torrent/torrentcontrol.cpp:178
#16 0x0000000000429d32 in kt::Core::update (this=0x9a3180) at /usr/src/debug/ktorrent-3.2.5/ktorrent/core.cpp:877
#17 0x000000000042f7ec in kt::Core::qt_metacall (this=0x9a3180, _c=InvokeMetaMethod, _id=12, _a=0x7fff99b2aba0) at /usr/src/debug/ktorrent-3.2.5/x86_64-redhat-linux-gnu/ktorrent/core.moc:148
#18 0x00000036dc35408c in QMetaObject::activate (sender=0x9a31a8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3112
#19 0x00000036dc34e08e in QObject::event (this=0x9a31a8, e=0x7fff99b2b1a0) at kernel/qobject.cpp:1074
#20 0x00000036dd58f65c in QApplicationPrivate::notify_helper (this=0x877d50, receiver=0x9a31a8, e=0x7fff99b2b1a0) at kernel/qapplication.cpp:4065
#21 0x00000036dd5968ce in QApplication::notify (this=<value optimized out>, receiver=0x9a31a8, e=0x7fff99b2b1a0) at kernel/qapplication.cpp:4030
#22 0x00000036de811a76 in KApplication::notify (this=0x7fff99b2b4d0, receiver=0x9a31a8, event=0x7fff99b2b1a0) at /usr/src/debug/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#23 0x00000036dc33ee6c in QCoreApplication::notifyInternal (this=0x7fff99b2b4d0, receiver=0x9a31a8, event=0x7fff99b2b1a0) at kernel/qcoreapplication.cpp:610
#24 0x00000036dc3698d2 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#25 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:580
#26 0x00000036dc36729d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#27 0x00000036daa3922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00000036daa3cc18 in ?? () from /lib64/libglib-2.0.so.0
#29 0x00000036daa3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00000036dc3671e6 in QEventDispatcherGlib::processEvents (this=0x843d60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00000036dd621ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00000036dc33d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00000036dc33db44 in QEventLoop::exec (this=0x7fff99b2b440, flags=...) at kernel/qeventloop.cpp:201
#34 0x00000036dc33fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000422ba2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/ktorrent-3.2.5/ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-06 23:55:43 UTC
Fixed in 3.3 Thanks

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