Bug 250918

Summary: KTorrent crashed when minimized in tray
Product: [Applications] ktorrent Reporter: Timothy Brown <stimut>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: prodoomman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timothy Brown 2010-09-11 20:12:56 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r6 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
KTorrent had been running for a long time (days). It was minimized to the tray when the crash occured (I was away from the computer), although normal usage (restoring the window to look at the torrents, adding torrents, downloading, seeding etc) had occurred in the days prior to the crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0x7f75c7f9d760 (LWP 26147))]

Thread 6 (Thread 0x7f75b90ec710 (LWP 26149)):
#0  0x00007f75c43d720e in ?? () from /lib/libc.so.6
#1  0x00007f75c4362f09 in ?? () from /lib/libc.so.6
#2  0x00007f75c4361711 in free () from /lib/libc.so.6
#3  0x00007f75c7c687df in utp::UTPServer::clearDeadConnections() () from /usr/lib64/libktorrent.so.2
#4  0x00007f75c7bbade4 in utp::UTPServer::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libktorrent.so.2
#5  0x00007f75c5e3bc88 in QMetaObject::activate (sender=0x7f75b90ebe30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3287
#6  0x00007f75c5e384dc in QObject::event (this=0x7f75b90ebe30, e=0x7f75b90ebb70) at kernel/qobject.cpp:1204
#7  0x00007f75c4fc162e in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=0x7f75b90ebe30, e=0x7f75b90ebb70) at kernel/qapplication.cpp:4302
#8  0x00007f75c4fc7d32 in QApplication::notify (this=0x7fff6b4a80d0, receiver=0x7f75b90ebe30, e=0x7f75b90ebb70) at kernel/qapplication.cpp:4185
#9  0x000000000043a912 in kt::App::notify (this=0x7f75c4653e60, receiver=0x80, event=0x2175100) at /var/tmp/portage/net-p2p/ktorrent-4.0.2/work/ktorrent-4.0.2/ktorrent/app.cpp:97
#10 0x00007f75c5e287cb in QCoreApplication::notifyInternal (this=0x7fff6b4a80d0, receiver=0x7f75b90ebe30, event=0x7f75b90ebb70) at kernel/qcoreapplication.cpp:726
#11 0x00007f75c5e5589a in QCoreApplication::sendEvent (this=0x1e30fa0) at kernel/qcoreapplication.h:215
#12 QTimerInfoList::activateTimers (this=0x1e30fa0) at kernel/qeventdispatcher_unix.cpp:603
#13 0x00007f75c5e525b8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#14 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#15 0x00007f75c0d1439b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007f75c0d18138 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f75c0d182e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007f75c5e5225e in QEventDispatcherGlib::processEvents (this=0x1dbb140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#19 0x00007f75c5e270d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f75c5e27497 in QEventLoop::exec (this=0x7f75b90ebde0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f75c5d348fb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#22 0x00007f75c7c6c80e in utp::UTPServerThread::run() () from /usr/lib64/libktorrent.so.2
#23 0x00007f75c5d37395 in QThreadPrivate::start (arg=0x1db9750) at thread/qthread_unix.cpp:248
#24 0x00007f75c5aa6ba4 in start_thread () from /lib/libpthread.so.0
#25 0x00007f75c43c84bd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f75b88eb710 (LWP 26150)):
#0  0x00007f75c43c1063 in select () from /lib/libc.so.6
#1  0x00007f75c7c3470a in ?? () from /usr/lib64/libktorrent.so.2
#2  0x00007f75c5d37395 in QThreadPrivate::start (arg=0x1d44cb0) at thread/qthread_unix.cpp:248
#3  0x00007f75c5aa6ba4 in start_thread () from /lib/libpthread.so.0
#4  0x00007f75c43c84bd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f75b98ed710 (LWP 26151)):
#0  0x00007f75c43d720e in ?? () from /lib/libc.so.6
#1  0x00007f75c4362f09 in ?? () from /lib/libc.so.6
#2  0x00007f75c4361711 in free () from /lib/libc.so.6
#3  0x00007f75c5e52711 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f75c0d1756c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0x00007f75c0d17e69 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007f75c0d182e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#7  0x00007f75c5e5225e in QEventDispatcherGlib::processEvents (this=0x1ddbd00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#8  0x00007f75c5e270d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f75c5e27497 in QEventLoop::exec (this=0x7f75b98ecde0, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f75c5d348fb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#11 0x00007f75c5e07600 in QInotifyFileSystemWatcherEngine::run (this=0x7f75b446f960) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f75c5d37395 in QThreadPrivate::start (arg=0x7f75b446f960) at thread/qthread_unix.cpp:248
#13 0x00007f75c5aa6ba4 in start_thread () from /lib/libpthread.so.0
#14 0x00007f75c43c84bd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f75aa194710 (LWP 26156)):
#0  0x00007f75c5aab79c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f75c5d36a93 in QMutexPrivate::wait (this=0x1da70b0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f75c5d323e5 in QMutex::lock (this=0x1da6f88) at thread/qmutex.cpp:167
#3  0x00007f75c7c691f8 in utp::UTPServer::preparePolling(net::Poll*, net::Poll::Mode, utp::Connection*) () from /usr/lib64/libktorrent.so.2
#4  0x00007f75c7c70d70 in utp::UTPSocket::prepare(net::Poll*, net::Poll::Mode) () from /usr/lib64/libktorrent.so.2
#5  0x00007f75c7bd4226 in ?? () from /usr/lib64/libktorrent.so.2
#6  0x00007f75c7bd4336 in ?? () from /usr/lib64/libktorrent.so.2
#7  0x00007f75c7bd4dc9 in ?? () from /usr/lib64/libktorrent.so.2
#8  0x00007f75c5d37395 in QThreadPrivate::start (arg=0x1cb6250) at thread/qthread_unix.cpp:248
#9  0x00007f75c5aa6ba4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f75c43c84bd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f75a9993710 (LWP 26157)):
#0  0x00007f75c43d720e in ?? () from /lib/libc.so.6
#1  0x00007f75c4362f09 in ?? () from /lib/libc.so.6
#2  0x00007f75c4361711 in free () from /lib/libc.so.6
#3  0x00007f75c7bd8aeb in std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, QSharedPointer<net::PollClient> > >*) () from /usr/lib64/libktorrent.so.2
#4  0x00007f75c7bd82e7 in net::Poll::poll(int) () from /usr/lib64/libktorrent.so.2
#5  0x00007f75c7bd3832 in ?? () from /usr/lib64/libktorrent.so.2
#6  0x00007f75c7bd3936 in ?? () from /usr/lib64/libktorrent.so.2
#7  0x00007f75c7bd4dc9 in ?? () from /usr/lib64/libktorrent.so.2
#8  0x00007f75c5d37395 in QThreadPrivate::start (arg=0x1cb68a0) at thread/qthread_unix.cpp:248
#9  0x00007f75c5aa6ba4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f75c43c84bd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f75c7f9d760 (LWP 26147)):
[KCrash Handler]
#5  0x00007f75c4317575 in raise () from /lib/libc.so.6
#6  0x00007f75c4318d80 in abort () from /lib/libc.so.6
#7  0x00007f75c43558b7 in ?? () from /lib/libc.so.6
#8  0x00007f75c435b476 in ?? () from /lib/libc.so.6
#9  0x00007f75c435f683 in ?? () from /lib/libc.so.6
#10 0x00007f75c43602fe in malloc () from /lib/libc.so.6
#11 0x00007f75c4bbb13d in operator new(unsigned long) () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6
#12 0x00007f75c5d53209 in QHashData::detach_helper2 (this=0x7f75c6141760, node_duplicate=0x6623, node_delete=0x6, nodeSize=-1, nodeAlign=0) at tools/qhash.cpp:206
#13 0x00007f75c5234f01 in QHash<unsigned int, int>::detach_helper (this=0x7f75b4922258, format=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:581
#14 QHash<unsigned int, int>::detach (this=0x7f75b4922258, format=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:299
#15 QHash<unsigned int, int>::find (this=0x7f75b4922258, format=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:860
#16 QTextFormatCollection::indexForFormat (this=0x7f75b4922258, format=...) at text/qtextformat.cpp:3071
#17 0x00007f75c5250e86 in QTextDocumentPrivate::init (this=0x7f75b4922180) at text/qtextdocument_p.cpp:226
#18 0x00007f75c523cf84 in QTextDocument (this=0x7f75b46fabb0, parent=0x0) at text/qtextdocument.cpp:317
#19 0x00007f75c528074f in QTextDocumentFragmentPrivate (this=0x7f75b466af40, _cursor=...) at text/qtextdocumentfragment.cpp:224
#20 0x00007f75c52826a7 in QTextDocumentFragment::fromHtml (html=..., resourceProvider=0x7f75b44822d0) at text/qtextdocumentfragment.cpp:1213
#21 0x00007f75c527a755 in QTextCursor::insertHtml (this=0x7fff6b4a73b0, html=...) at text/qtextcursor.cpp:2142
#22 0x00007f75c520f06b in QTextControlPrivate::append (this=<value optimized out>, text=..., format=Qt::AutoText) at text/qtextcontrol.cpp:2809
#23 0x00007f75c5421b4b in QTextEdit::append (this=<value optimized out>, text=...) at widgets/qtextedit.cpp:2627
#24 0x00007f75b106fdc0 in kt::LogViewer::customEvent (this=0x7f75b44841b0, ev=0x7f75b460ecb0) at /var/tmp/portage/net-p2p/ktorrent-4.0.2/work/ktorrent-4.0.2/plugins/logviewer/logviewer.cpp:103
#25 0x00007f75c5e38846 in QObject::event (this=0x7f75b44841b0, e=0x7f75b460ecb0) at kernel/qobject.cpp:1271
#26 0x00007f75c5017b9e in QWidget::event (this=0x7f75b44841b0, event=0x7f75b460ecb0) at kernel/qwidget.cpp:8501
#27 0x00007f75c4fc162e in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=0x7f75b44841b0, e=0x7f75b460ecb0) at kernel/qapplication.cpp:4302
#28 0x00007f75c4fc7d32 in QApplication::notify (this=0x7fff6b4a80d0, receiver=0x7f75b44841b0, e=0x7f75b460ecb0) at kernel/qapplication.cpp:4185
#29 0x000000000043a912 in kt::App::notify (this=0x6623, receiver=0x6623, event=0x6) at /var/tmp/portage/net-p2p/ktorrent-4.0.2/work/ktorrent-4.0.2/ktorrent/app.cpp:97
#30 0x00007f75c5e287cb in QCoreApplication::notifyInternal (this=0x7fff6b4a80d0, receiver=0x7f75b44841b0, event=0x7f75b460ecb0) at kernel/qcoreapplication.cpp:726
#31 0x00007f75c5e2be53 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1cb4aa0) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1cb4aa0) at kernel/qcoreapplication.cpp:1367
#33 0x00007f75c5e52773 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#35 0x00007f75c0d1439b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007f75c0d18138 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007f75c0d182e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007f75c5e5225e in QEventDispatcherGlib::processEvents (this=0x1cb4190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f75c5071748 in QGuiEventDispatcherGlib::processEvents (this=0x6623, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f75c5e270d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f75c5e27497 in QEventLoop::exec (this=0x7fff6b4a8030, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f75c5e2c11b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0x00000000004299e2 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-4.0.2/work/ktorrent-4.0.2/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-13 19:32:30 UTC
*** Bug 253133 has been marked as a duplicate of this bug. ***
Comment 2 Joris Guisson 2010-12-14 19:34:48 UTC

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