Bug 270733 - Ktorrent crashed with log viewer on removal of torrents
Summary: Ktorrent crashed with log viewer on removal of torrents
Status: RESOLVED DUPLICATE of bug 262933
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-04-12 06:42 UTC by Con Kolivas
Modified: 2011-04-12 17: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 Con Kolivas 2011-04-12 06:42:02 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.38.2-ck2 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

While investigating bug https://bugs.kde.org/show_bug.cgi?id=270272 I tried installing the logviewer. Upon completion of downloading a torrent, I closed the integrity checker, then removed the torrent from the list. The logviewer spewed all sorts of warnings about invalid token or something and then crashed.

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

Thread 6 (Thread 0x7f379bfff700 (LWP 8007)):
#0  0x00007f37b189f203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f37ad07b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f37ad07b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f37b33811e6 in QEventDispatcherGlib::processEvents (this=0x857600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f37b3353a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f37b3353dec in QEventLoop::exec (this=0x7f379bffedb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f37b325e2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f37b59cf15e in utp::UTPServerThread::run (this=0x8845f0) at ../../src/utp/utpserverthread.cpp:44
#8  0x00007f37b326127e in QThreadPrivate::start (arg=0x8845f0) at thread/qthread_unix.cpp:266
#9  0x00007f37b2fd6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f37b18ab92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f379b7fe700 (LWP 8008)):
#0  0x00007f37b18a42c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f37b5996212 in dht::RPCServerThread::run (this=0x86eef0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f37b326127e in QThreadPrivate::start (arg=0x86eef0) at thread/qthread_unix.cpp:266
#3  0x00007f37b2fd6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f37b18ab92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3798d32700 (LWP 8042)):
#0  0x00007f37b189f203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f37b593779c in net::Poll::poll (this=0x6e48a0, timeout=<value optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007f37b5933700 in net::DownloadThread::waitForSocketReady (this=0x6e4890) at ../../src/net/downloadthread.cpp:128
#3  0x00007f37b59337e6 in net::DownloadThread::update (this=0x7f379c16e4e0) at ../../src/net/downloadthread.cpp:48
#4  0x00007f37b59342c9 in net::NetworkThread::run (this=0x6e4890) at ../../src/net/networkthread.cpp:48
#5  0x00007f37b326127e in QThreadPrivate::start (arg=0x6e4890) at thread/qthread_unix.cpp:266
#6  0x00007f37b2fd6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f37b18ab92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3799533700 (LWP 8043)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f37b3260845 in thread_sleep (ti=0x7f3799532da0) at thread/qthread_unix.cpp:416
#2  0x00007f37b32609b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f37b593307d in net::UploadThread::update (this=0x6e4dc0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f37b59342c9 in net::NetworkThread::run (this=0x6e4dc0) at ../../src/net/networkthread.cpp:48
#5  0x00007f37b326127e in QThreadPrivate::start (arg=0x6e4dc0) at thread/qthread_unix.cpp:266
#6  0x00007f37b2fd6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f37b18ab92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f379a535700 (LWP 8044)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f37b3261e3b in wait (this=<value optimized out>, mutex=0x7f37940779e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f37940779e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f37b59372e2 in net::ReverseResolverThread::run (this=0x7f37940779d0) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f37b326127e in QThreadPrivate::start (arg=0x7f37940779d0) at thread/qthread_unix.cpp:266
#5  0x00007f37b2fd6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f37b18ab92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f37b5e15760 (LWP 8005)):
[KCrash Handler]
#6  getTorrent (this=0x165c910, method=bt::PeerConnector::UTP_WITH_ENCRYPTION) at ../../src/peer/peermanager.h:179
#7  bt::PeerConnector::start (this=0x165c910, method=bt::PeerConnector::UTP_WITH_ENCRYPTION) at ../../src/peer/peerconnector.cpp:125
#8  0x00007f37b5951ec7 in bt::PeerConnector::authenticationFinished (this=0x165c910, auth=<value optimized out>, ok=<value optimized out>) at ../../src/peer/peerconnector.cpp:119
#9  0x00007f37b593c8b8 in bt::AuthenticateBase::qt_metacall (this=0x239db80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff37b169a0) at ./authenticatebase.moc:74
#10 0x00007f37b593cf28 in bt::Authenticate::qt_metacall (this=0x165c910, _c=QMetaObject::WriteProperty, _id=1, _a=0x1) at ./authenticate.moc:70
#11 0x00007f37b336cb27 in QMetaObject::activate (sender=0x239db98, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#12 0x00007f37b33668f9 in QObject::event (this=0x239db98, e=0x2) at kernel/qobject.cpp:1183
#13 0x00007f37b249efdc in QApplicationPrivate::notify_helper (this=0x7413f0, receiver=0x239db98, e=0x7fff37b170d0) at kernel/qapplication.cpp:4396
#14 0x00007f37b24a4aed in QApplication::notify (this=0x7fff37b17400, receiver=0x239db98, e=0x7fff37b170d0) at kernel/qapplication.cpp:4277
#15 0x0000000000437d1a in kt::App::notify (this=0x165c910, receiver=0x2, event=0x1) at ../../ktorrent/app.cpp:97
#16 0x00007f37b3354cdc in QCoreApplication::notifyInternal (this=0x7fff37b17400, receiver=0x239db98, event=0x7fff37b170d0) at kernel/qcoreapplication.cpp:732
#17 0x00007f37b33846f2 in sendEvent (this=0x742a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x742a60) at kernel/qeventdispatcher_unix.cpp:602
#19 0x00007f37b33814a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 0x00007f37ad077342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f37ad07b2a8 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f37ad07b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f37b3381193 in QEventDispatcherGlib::processEvents (this=0x6e1720, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007f37b2551a4e in QGuiEventDispatcherGlib::processEvents (this=0x165c910, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f37b3353a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f37b3353dec in QEventLoop::exec (this=0x7fff37b17370, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f37b3357ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#28 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 262933.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-04-12 17:47:16 UTC

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