Bug 241469 - Ktorrent running in background an suddenly crashing
Summary: Ktorrent running in background an suddenly crashing
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 241692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-11 21:17 UTC by Jan Ziehm
Modified: 2010-07-19 19:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziehm 2010-06-11 21:17:19 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-0.slh.1-sidux-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Ktorrent was running in the background when it suddenly crashed.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f0d5ae49760 (LWP 22672))]

Thread 6 (Thread 0x7f0d4b63c710 (LWP 22674)):
[KCrash Handler]
#5  0x00007f0d573ab173 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /usr/lib/libstdc++.so.6
#6  0x00007f0d5a9f7220 in utp::UTPServer::PollPipePair::testRead(std::_Rb_tree_iterator<std::pair<unsigned short const, utp::Connection*> >, std::_Rb_tree_iterator<std::pair<unsigned short const, utp::Connection*> >) () from /usr/lib/libktorrent.so.1
#7  0x00007f0d5a9f7ace in utp::UTPServer::wakeUpPollPipes() () from /usr/lib/libktorrent.so.1
#8  0x00007f0d584b4ba3 in QObject::event (this=0x1547a30, e=0x7f0d4b63bbb0) at kernel/qobject.cpp:1212
#9  0x00007f0d5784532c in QApplicationPrivate::notify_helper (this=0x1547cc0, receiver=0x1547a30, e=0x7f0d4b63bbb0) at kernel/qapplication.cpp:4302
#10 0x00007f0d5784b80b in QApplication::notify (this=0x7fffe3b8b460, receiver=0x1547a30, e=0x7f0d4b63bbb0) at kernel/qapplication.cpp:4185
#11 0x00007f0d59af3436 in KApplication::notify (this=0x7fffe3b8b460, receiver=0x1547a30, event=0x7f0d4b63bbb0) at ../../kdeui/kernel/kapplication.cpp:302
#12 0x00007f0d584a515c in QCoreApplication::notifyInternal (this=0x7fffe3b8b460, receiver=0x1547a30, event=0x7f0d4b63bbb0) at kernel/qcoreapplication.cpp:726
#13 0x00007f0d584d1ed2 in QCoreApplication::sendEvent (this=0x7f0d44003d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QTimerInfoList::activateTimers (this=0x7f0d44003d90) at kernel/qeventdispatcher_unix.cpp:603
#15 0x00007f0d584cea48 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#16 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#17 0x00007f0d5307e6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f0d53082538 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f0d530826ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f0d584ce713 in QEventDispatcherGlib::processEvents (this=0x1626ad0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#21 0x00007f0d584a3a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00007f0d584a3e5c in QEventLoop::exec (this=0x7f0d4b63be20, flags=) at kernel/qeventloop.cpp:201
#23 0x00007f0d583b379b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#24 0x00007f0d583b5e35 in QThreadPrivate::start (arg=0x15b3b40) at thread/qthread_unix.cpp:248
#25 0x00007f0d53d648ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007f0d56c0f01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0d4ae3b710 (LWP 22676)):
#0  0x00007f0d56c088b3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f0d5a9c4fdc in ?? () from /usr/lib/libktorrent.so.1
#2  0x00007f0d583b5e35 in QThreadPrivate::start (arg=0x15f4510) at thread/qthread_unix.cpp:248
#3  0x00007f0d53d648ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f0d56c0f01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0d35f6c710 (LWP 23682)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d583b5583 in QMutexPrivate::wait (this=0x1546950, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0d583b0e05 in QMutex::lock (this=0x1547ae8) at thread/qmutex.cpp:167
#3  0x00007f0d5a9f8ea8 in utp::UTPServer::preparePolling(net::Poll*, net::Poll::Mode, utp::Connection*) () from /usr/lib/libktorrent.so.1
#4  0x00007f0d5aa00209 in utp::UTPSocket::prepare(net::Poll*, net::Poll::Mode) () from /usr/lib/libktorrent.so.1
#5  0x00007f0d5a96605e in ?? () from /usr/lib/libktorrent.so.1
#6  0x00007f0d5a966156 in ?? () from /usr/lib/libktorrent.so.1
#7  0x00007f0d5a966c39 in ?? () from /usr/lib/libktorrent.so.1
#8  0x00007f0d583b5e35 in QThreadPrivate::start (arg=0x15181e0) at thread/qthread_unix.cpp:248
#9  0x00007f0d53d648ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f0d56c0f01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0d3576b710 (LWP 23683)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d583b5583 in QMutexPrivate::wait (this=0x1518160, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0d583b0e05 in QMutex::lock (this=0x6d6368) at thread/qmutex.cpp:167
#3  0x00007f0d5a965823 in ?? () from /usr/lib/libktorrent.so.1
#4  0x00007f0d5a966c39 in ?? () from /usr/lib/libktorrent.so.1
#5  0x00007f0d583b5e35 in QThreadPrivate::start (arg=0x1518830) at thread/qthread_unix.cpp:248
#6  0x00007f0d53d648ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f0d56c0f01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0d34f6a710 (LWP 23684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d583b6e8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2d80600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2d80600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f0d5a969962 in ?? () from /usr/lib/libktorrent.so.1
#4  0x00007f0d583b5e35 in QThreadPrivate::start (arg=0x2d805f0) at thread/qthread_unix.cpp:248
#5  0x00007f0d53d648ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f0d56c0f01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0d5ae49760 (LWP 22672)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d583b5583 in QMutexPrivate::wait (this=0x1518160, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0d583b0e05 in QMutex::lock (this=0x6d6368) at thread/qmutex.cpp:167
#3  0x00007f0d5a96507c in net::SocketMonitor::remove(net::BufferedSocket*) () from /usr/lib/libktorrent.so.1
#4  0x00007f0d5a96c171 in mse::StreamSocket::~StreamSocket() () from /usr/lib/libktorrent.so.1
#5  0x00007f0d584b4ead in QObject::event (this=0x310b9d0, e=0x3353ba0) at kernel/qobject.cpp:1231
#6  0x00007f0d5784532c in QApplicationPrivate::notify_helper (this=0x1547cc0, receiver=0x310b9d0, e=0x3353ba0) at kernel/qapplication.cpp:4302
#7  0x00007f0d5784b80b in QApplication::notify (this=0x7fffe3b8b460, receiver=0x310b9d0, e=0x3353ba0) at kernel/qapplication.cpp:4185
#8  0x00007f0d59af3436 in KApplication::notify (this=0x7fffe3b8b460, receiver=0x310b9d0, event=0x3353ba0) at ../../kdeui/kernel/kapplication.cpp:302
#9  0x00007f0d584a515c in QCoreApplication::notifyInternal (this=0x7fffe3b8b460, receiver=0x310b9d0, event=0x3353ba0) at kernel/qcoreapplication.cpp:726
#10 0x00007f0d584a8804 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1516ab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#11 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1516ab0) at kernel/qcoreapplication.cpp:1367
#12 0x00007f0d584cebd3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#13 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#14 0x00007f0d5307e6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#15 0x00007f0d53082538 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007f0d530826ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007f0d584ce713 in QEventDispatcherGlib::processEvents (this=0x15161d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#18 0x00007f0d578f514e in QGuiEventDispatcherGlib::processEvents (this=0x15181ac, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f0d584a3a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f0d584a3e5c in QEventLoop::exec (this=0x7fffe3b8b3d0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f0d584a8aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#22 0x0000000000428d7b in _start ()

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-14 19:59:10 UTC
*** Bug 241692 has been marked as a duplicate of this bug. ***
Comment 2 Joris Guisson 2010-07-19 19:30:16 UTC
Upgrade to 4.0.2 this should be fixed in that release