Bug 281507 - KTorrent crashes randomly while minimized to tray.
Summary: KTorrent crashes randomly while minimized to tray.
Status: RESOLVED DUPLICATE of bug 270127
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 23:25 UTC by anidev
Modified: 2011-09-10 09:56 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 anidev 2011-09-06 23:25:40 UTC
Application: ktorrent (4.1.0)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.7-desktop i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I was downloading files from a torrent; I had closed the window and the icon was in the tray, and I was doing other stuff when it suddenly disappears (the icon) and the crash reporter opens.

This has happened before with other torrents, and it always seems random; I am submitting a bug report now because it is happening too often (this is the third time, but I do not torrent much). I can resume the torrent after restarting KTorrent and it works.

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

Thread 7 (Thread 0xb1f21b70 (LWP 10944)):
[KCrash Handler]
#7  0xb7677338 in ?? () from /usr/lib/libktorrent.so.3
#8  0xb7673171 in utp::UTPServer::Private::wakeUpPollPipes(QSharedPointer<utp::Connection>, bool, bool) () from /usr/lib/libktorrent.so.3
#9  0xb76732aa in utp::UTPServer::stateChanged(QSharedPointer<utp::Connection>, bool, bool) () from /usr/lib/libktorrent.so.3
#10 0xb767b3f3 in utp::Connection::checkState() () from /usr/lib/libktorrent.so.3
#11 0xb767b9fe in utp::Connection::handlePacket(utp::PacketParser const&, QByteArray const&) () from /usr/lib/libktorrent.so.3
#12 0xb7674b91 in utp::UTPServer::handlePacket(QByteArray const&, net::Address const&) () from /usr/lib/libktorrent.so.3
#13 0xb7672bdf in utp::UTPServer::Private::dataReceived(QByteArray const&, net::Address const&) () from /usr/lib/libktorrent.so.3
#14 0xb75d1ac9 in net::ServerSocket::readyToRead(int) () from /usr/lib/libktorrent.so.3
#15 0xb75af395 in net::ServerSocket::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libktorrent.so.3
#16 0xb67e18cd in QMetaObject::metacall (object=0x81d9370, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xb1f20c98) at kernel/qmetaobject.cpp:237
#17 0xb67f1a2c in QMetaObject::activate (sender=0x8294bf0, m=0xb6915550, local_signal_index=0, argv=0xb1f20c98) at kernel/qobject.cpp:3272
#18 0xb6840e55 in QSocketNotifier::activated (this=0x8294bf0, _t1=17) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#19 0xb67f7bbf in QSocketNotifier::event (this=0x8294bf0, e=0xb1f210d4) at kernel/qsocketnotifier.cpp:317
#20 0xb5ce8414 in QApplicationPrivate::notify_helper (this=0x8164be0, receiver=0x8294bf0, e=0xb1f210d4) at kernel/qapplication.cpp:4445
#21 0xb5cf10c7 in QApplication::notify (this=0xbf801850, receiver=0x8294bf0, e=0xb1f210d4) at kernel/qapplication.cpp:3845
#22 0x0807cb27 in ?? ()
#23 0xb67dafde in QCoreApplication::notifyInternal (this=0xbf801850, receiver=0x8294bf0, event=0xb1f210d4) at kernel/qcoreapplication.cpp:732
#24 0xb6809108 in sendEvent (source=0x8294e00) at kernel/qcoreapplication.h:215
#25 socketNotifierSourceDispatch (source=0x8294e00) at kernel/qeventdispatcher_glib.cpp:110
#26 0xb4d2d509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0xb4d2dd10 in ?? () from /lib/libglib-2.0.so.0
#28 0xb4d2dfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0xb680976b in QEventDispatcherGlib::processEvents (this=0x81bf610, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0xb67da2bd in QEventLoop::processEvents (this=0xb1f212e0, flags=...) at kernel/qeventloop.cpp:149
#31 0xb67da4e9 in QEventLoop::exec (this=0xb1f212e0, flags=...) at kernel/qeventloop.cpp:201
#32 0xb66db7b9 in QThread::exec (this=0x821e7d0) at thread/qthread.cpp:490
#33 0xb7678cdd in utp::UTPServerThread::run() () from /usr/lib/libktorrent.so.3
#34 0xb66de3aa in QThreadPrivate::start (arg=0x821e7d0) at thread/qthread_unix.cpp:285
#35 0xb6663b05 in start_thread () from /lib/libpthread.so.0
#36 0xb59d7d5e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xae35ab70 (LWP 10947)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6668105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0adac87 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb6663b05 in start_thread () from /lib/libpthread.so.0
#4  0xb59d7d5e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xad00bb70 (LWP 10951)):
#0  0xb4d2c019 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#1  0xb4d2d85d in ?? () from /lib/libglib-2.0.so.0
#2  0xb4d2dfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb68097b7 in QEventDispatcherGlib::processEvents (this=0x878cba0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb67da2bd in QEventLoop::processEvents (this=0xad00b2b0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb67da4e9 in QEventLoop::exec (this=0xad00b2b0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb66db7b9 in QThread::exec (this=0x85d30b8) at thread/qthread.cpp:490
#7  0xb67ba23d in QInotifyFileSystemWatcherEngine::run (this=0x85d30b8) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb66de3aa in QThreadPrivate::start (arg=0x85d30b8) at thread/qthread_unix.cpp:285
#9  0xb6663b05 in start_thread () from /lib/libpthread.so.0
#10 0xb59d7d5e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa71ffb70 (LWP 11014)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6668105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb66dd38c in QMutexPrivate::wait (this=0x816ac00, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0xb66d98da in QMutex::lock (this=0x816abb4) at thread/qmutex.cpp:167
#4  0xb76766d7 in utp::UTPServer::preparePolling(net::Poll*, net::Poll::Mode, QSharedPointer<utp::Connection>) () from /usr/lib/libktorrent.so.3
#5  0xb767f089 in utp::UTPSocket::prepare(net::Poll*, net::Poll::Mode) () from /usr/lib/libktorrent.so.3
#6  0xb75ccc49 in ?? () from /usr/lib/libktorrent.so.3
#7  0xb75ccd7e in ?? () from /usr/lib/libktorrent.so.3
#8  0xb75cd008 in ?? () from /usr/lib/libktorrent.so.3
#9  0xb66de3aa in QThreadPrivate::start (arg=0x8126ee8) at thread/qthread_unix.cpp:285
#10 0xb6663b05 in start_thread () from /lib/libpthread.so.0
#11 0xb59d7d5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa69feb70 (LWP 11015)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6668105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb66dd38c in QMutexPrivate::wait (this=0x8126de0, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0xb66d98da in QMutex::lock (this=0x8126900) at thread/qmutex.cpp:167
#4  0xb75cb23e in net::SocketMonitor::lock() () from /usr/lib/libktorrent.so.3
#5  0xb75cc4f1 in ?? () from /usr/lib/libktorrent.so.3
#6  0xb75cd008 in ?? () from /usr/lib/libktorrent.so.3
#7  0xb66de3aa in QThreadPrivate::start (arg=0x8127258) at thread/qthread_unix.cpp:285
#8  0xb6663b05 in start_thread () from /lib/libpthread.so.0
#9  0xb59d7d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa61fdb70 (LWP 11016)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6668105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb66deab0 in wait (this=0x866a7f4, mutex=0x866a7f0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x866a7f4, mutex=0x866a7f0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb75d0420 in ?? () from /usr/lib/libktorrent.so.3
#5  0xb66de3aa in QThreadPrivate::start (arg=0x866a7e8) at thread/qthread_unix.cpp:285
#6  0xb6663b05 in start_thread () from /lib/libpthread.so.0
#7  0xb59d7d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb43c4930 (LWP 10942)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6668105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb66deab0 in wait (this=0x878c208, mutex=0x878c1f0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x878c208, mutex=0x878c1f0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb66ddad5 in QThread::wait (this=0x85d30b8, time=4294967295) at thread/qthread_unix.cpp:683
#5  0xb67acd25 in QFileSystemWatcher::~QFileSystemWatcher (this=0x85d3658, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:440
#6  0xb67acdf2 in QFileSystemWatcher::~QFileSystemWatcher (this=0x85d3658, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:456
#7  0xb67eed24 in QObjectPrivate::deleteChildren (this=0x877d008) at kernel/qobject.cpp:1949
#8  0xb67f3bac in QObject::~QObject (this=0x877d0c0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#9  0xb74b6dcb in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x877d0c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/solid/solid/backends/fstab/fstabwatcher.cpp:48
#10 0xb74b6e02 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x877d0c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/solid/solid/backends/fstab/fstabwatcher.cpp:51
#11 0xb74b6c62 in destroy () at /usr/src/debug/kdelibs-4.6.0/solid/solid/backends/fstab/fstabwatcher.cpp:30
#12 0xb743c729 in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb74ee604, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/solid/solid/soliddefs_p.h:67
#13 0xb593289f in __run_exit_handlers () from /lib/libc.so.6
#14 0xb59328fd in exit () from /lib/libc.so.6
#15 0xb5d611c8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:773
#16 0xb6ceac49 in KApplication::xioErrhandler (this=0xbf801850, dpy=0x8167a80) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:417
#17 0xb6ceac84 in kde_xio_errhandler (dpy=0x8167a80) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:126
#18 0xb4fb54c4 in _XIOError () from /usr/lib/libX11.so.6
#19 0xb4fb2c9f in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0xb4fa33e8 in XEventsQueued () from /usr/lib/libX11.so.6
#21 0xb5d9e395 in x11EventSourceCheck (s=0x816eba8) at kernel/qguieventdispatcher_glib.cpp:85
#22 0xb4d2d180 in g_main_context_check () from /lib/libglib-2.0.so.0
#23 0xb4d2dac8 in ?? () from /lib/libglib-2.0.so.0
#24 0xb4d2dfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0xb680976b in QEventDispatcherGlib::processEvents (this=0x8125a48, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#26 0xb5d9e55a in QGuiEventDispatcherGlib::processEvents (this=0x8125a48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0xb67da2bd in QEventLoop::processEvents (this=0xbf8017c4, flags=...) at kernel/qeventloop.cpp:149
#28 0xb67da4e9 in QEventLoop::exec (this=0xbf8017c4, flags=...) at kernel/qeventloop.cpp:201
#29 0xb67def90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0xb5ce6104 in QApplication::exec () at kernel/qapplication.cpp:3719
#31 0x0806ba41 in _start ()

Possible duplicates by query: bug 272297, bug 271163, bug 270127, bug 270109, bug 269612.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-09-07 17:27:34 UTC

*** This bug has been marked as a duplicate of bug 270127 ***
Comment 2 anidev 2011-09-07 19:49:12 UTC
Bug #270127 is marked as fixed, yet this bug still occurs; so does that mean bug 270127 is not fixed, or this is a different bug? I think this is a different bug. I don't even think DHT was enabled when I was using KTorrent; I went into the settings after KTorrent crashed again (after reporting the crash here, same torrent), to see if some setting was making it unstable, and DHT was disabled (the checkbox was not checked).
Comment 3 Joris Guisson 2011-09-10 09:56:28 UTC
Bug 270127 is a µTP bug (the commit message was wrong) and was fixed in 4.1.1