Bug 241570 - Ktorrent crash when is in background
Summary: Ktorrent crash when is in background
Status: RESOLVED DUPLICATE of bug 242042
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 18:16 UTC by Francesco
Modified: 2010-06-28 17:58 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 Francesco 2010-06-12 18:16:39 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32 i686
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Ktorrent versione 4.0 crash when is in background.

I can't reproduce this bug, It seems randomized and appears only after few hours of use

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0xb29ffb70 (LWP 3858)):
#0  0xb6921cf5 in ?? () from /usr/lib/libQtCore.so.4
#1  0xb691e0ad in QEventDispatcherGlib::unregisterTimer(int) () from /usr/lib/libQtCore.so.4
#2  0xb68f0dce in QBasicTimer::stop() () from /usr/lib/libQtCore.so.4
#3  0xb68f0df8 in QBasicTimer::start(int, QObject*) () from /usr/lib/libQtCore.so.4
#4  0xb76e7de1 in utp::Connection::startTimer() () from /usr/lib/libktorrent.so.1
#5  0xb76eaa90 in utp::Connection::handleTimeout() () from /usr/lib/libktorrent.so.1
#6  0xb76eab2d in utp::Connection::timerEvent(QTimerEvent*) () from /usr/lib/libktorrent.so.1
#7  0xb6902f34 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#8  0xb5e39bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9  0xb5e4075e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0xb70917da in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#11 0xb68f28eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0xb6921946 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb691e637 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb52372f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#15 0xb523afd8 in ?? () from /lib/libglib-2.0.so.0
#16 0xb523b1b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0xb691e32f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0xb68f0f09 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0xb68f135a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0xb67edbd8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#21 0xb76e7bad in utp::UTPServerThread::run() () from /usr/lib/libktorrent.so.1
#22 0xb67f093e in ?? () from /usr/lib/libQtCore.so.4
#23 0xb5311585 in start_thread (arg=0xb29ffb70) at pthread_create.c:300
#24 0xb5b3029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb33a4b70 (LWP 3859)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5b29591 in select () from /lib/i686/cmov/libc.so.6
#2  0xb76ac73a in ?? () from /usr/lib/libktorrent.so.1
#3  0xb67f093e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5311585 in start_thread (arg=0xb33a4b70) at pthread_create.c:300
#5  0xb5b3029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xac115b70 (LWP 3870)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5315452 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb5b3d864 in __pthread_cond_timedwait (cond=0xac115218, mutex=0xac115248, abstime=0xac115290) at forward.c:152
#3  0xb67f0241 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb67f0383 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#5  0xb7644332 in ?? () from /usr/lib/libktorrent.so.1
#6  0xb7644ca8 in ?? () from /usr/lib/libktorrent.so.1
#7  0xb67f093e in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5311585 in start_thread (arg=0xac115b70) at pthread_create.c:300
#9  0xb5b3029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xab914b70 (LWP 3871)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5315452 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb5b3d864 in __pthread_cond_timedwait (cond=0xab914218, mutex=0xab914248, abstime=0xab914290) at forward.c:152
#3  0xb67f0241 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb67f0383 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#5  0xb7643882 in ?? () from /usr/lib/libktorrent.so.1
#6  0xb7644ca8 in ?? () from /usr/lib/libktorrent.so.1
#7  0xb67f093e in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5311585 in start_thread (arg=0xab914b70) at pthread_create.c:300
#9  0xb5b3029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xab113b70 (LWP 3872)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5315125 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb5b3d80d in __pthread_cond_wait (cond=0x89f3670, mutex=0x89f3658) at forward.c:139
#3  0xb67f1867 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb76480aa in ?? () from /usr/lib/libktorrent.so.1
#5  0xb67f093e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5311585 in start_thread (arg=0xab113b70) at pthread_create.c:300
#7  0xb5b3029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4ad9700 (LWP 3856)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb5a8b8e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5a8ee15 in *__GI_abort () at abort.c:88
#9  0xb5cab4ef in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xb5ca9425 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb5ca9462 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xb5ca951b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#13 0xb690643a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb6957927 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#15 0xb690e33e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#16 0xb6902f34 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#17 0xb5e39bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb5e4075e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb70917da in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0xb68f28eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb6921946 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb691e637 in ?? () from /usr/lib/libQtCore.so.4
#23 0xb52372f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0xb523afd8 in ?? () from /lib/libglib-2.0.so.0
#25 0xb523b1b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0xb691e2f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb5ef8255 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb68f0f09 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb68f135a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb68f54ef in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#31 0xb5e39c87 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#32 0x08069121 in _start ()

Possible duplicates by query: bug 241457, bug 241253, bug 241158, bug 241077, bug 240735.

Reported using DrKonqi
Comment 1 Francesco 2010-06-13 16:21:14 UTC
I think it is the fault of the uTP protocol

It was not the favorite but was still selected, I have now disabled and KTorrent seems to work well
Comment 2 Joris Guisson 2010-06-14 19:57:11 UTC

*** This bug has been marked as a duplicate of bug 223243 ***
Comment 3 Francesco 2010-06-28 15:32:14 UTC
This is not a duplicate.

I have been used the patched version of KTorrent with uTP protocol actived and it crashing again
Comment 4 Joris Guisson 2010-06-28 17:58:21 UTC

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