Bug 279576 - KDE lib upgrade crashes KTorrent
Summary: KDE lib upgrade crashes KTorrent
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-07 09:13 UTC by Mark Szentes-Wanner
Modified: 2018-04-20 17:35 UTC (History)
3 users (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 Mark Szentes-Wanner 2011-08-07 09:13:39 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I upgraded some KDE libs in Kubuntu via the regular KPackageKit mechanism while starting KTorrent at the same time. KTorrent crashed.

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

Thread 7 (Thread 0xb4c5cb70 (LWP 8070)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x00cf248c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00a543fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01e14daa in QMutexPrivate::wait (this=0x92ae2f8, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x01e114b2 in QMutex::lock (this=0x92b2800) at thread/qmutex.cpp:204
#5  0x01f22034 in QMutexLocker (this=0x116cd110, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#6  QObject::~QObject (this=0x116cd110, __in_chrg=<value optimized out>) at kernel/qobject.cpp:870
#7  0x0055215c in utp::Connection::~Connection (this=0x116cd110, __in_chrg=<value optimized out>) at ../../src/utp/connection.cpp:86
#8  0x00552262 in utp::Connection::~Connection (this=0x116cd110, __in_chrg=<value optimized out>) at ../../src/utp/connection.cpp:91
#9  0x0054e315 in utp::UTPServer::clearDeadConnections (this=0x923c120) at ../../src/utp/utpserver.cpp:411
#10 0x0054e38d in utp::UTPServer::cleanup (this=0x923c120) at ../../src/utp/utpserver.cpp:614
#11 0x004a25e3 in utp::UTPServer::qt_metacall (this=0x923c120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb4c5bb3c) at moc_utpserver.cpp:150
#12 0x01f106ba in QMetaObject::metacall (object=0x923c120, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xb4c5bb3c) at kernel/qmetaobject.cpp:237
#13 0x01f204ff in QMetaObject::activate (sender=0xb4c5c2e8, m=0x20455a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#14 0x01f6d2f7 in QTimer::timeout (this=0xb4c5c2e8) at .moc/release-shared/moc_qtimer.cpp:134
#15 0x01f263ee in QTimer::timerEvent (this=0xb4c5c2e8, e=0xb4c5c03c) at kernel/qtimer.cpp:271
#16 0x01f1f214 in QObject::event (this=0xb4c5c2e8, e=0xb4c5c03c) at kernel/qobject.cpp:1190
#17 0x0124cd24 in QApplicationPrivate::notify_helper (this=0x9193000, receiver=0xb4c5c2e8, e=0xb4c5c03c) at kernel/qapplication.cpp:4462
#18 0x012518ce in QApplication::notify (this=0xbfd18450, receiver=0xb4c5c2e8, e=0xb4c5c03c) at kernel/qapplication.cpp:3862
#19 0x08077a57 in kt::App::notify (this=0xbfd18450, receiver=0xb4c5c2e8, event=0xb4c5c03c) at ../../ktorrent/app.cpp:97
#20 0x01f0a0bb in QCoreApplication::notifyInternal (this=0xbfd18450, receiver=0xb4c5c2e8, event=0xb4c5c03c) at kernel/qcoreapplication.cpp:731
#21 0x01f3a1e4 in sendEvent (this=0x923a6cc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x923a6cc) at kernel/qeventdispatcher_unix.cpp:604
#23 0x01f36e27 in timerSourceDispatch (source=0x9236e90) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=0x9236e90) at kernel/qeventdispatcher_glib.cpp:231
#25 0x02616aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x02617270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x02617524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x01f37577 in QEventDispatcherGlib::processEvents (this=0x9216100, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x01f09289 in QEventLoop::processEvents (this=0xb4c5c290, flags=...) at kernel/qeventloop.cpp:149
#30 0x01f09522 in QEventLoop::exec (this=0xb4c5c290, flags=...) at kernel/qeventloop.cpp:201
#31 0x01e132a0 in QThread::exec (this=0x9238400) at thread/qthread.cpp:492
#32 0x00551e8e in utp::UTPServerThread::run (this=0x9238400) at ../../src/utp/utpserverthread.cpp:44
#33 0x01e15da2 in QThreadPrivate::start (arg=0x9238400) at thread/qthread_unix.cpp:320
#34 0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#35 0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xb445bb70 (LWP 8071)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x00a3f681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x0051e291 in dht::RPCServerThread::run (this=0x923db10) at ../../src/dht/rpcserver.cpp:107
#3  0x01e15da2 in QThreadPrivate::start (arg=0x923db10) at thread/qthread_unix.cpp:320
#4  0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb545db70 (LWP 8151)):
#0  0x00d67d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x01e6bdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01f384f2 in updateCurrentTime (this=0x100c06ec, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x100c06ec, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01f36d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb545d0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01f36dcd in timerSourcePrepare (source=0x100c06b8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02615fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02616e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02617524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01f37577 in QEventDispatcherGlib::processEvents (this=0x100bec78, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01f09289 in QEventLoop::processEvents (this=0xb545d290, flags=...) at kernel/qeventloop.cpp:149
#12 0x01f09522 in QEventLoop::exec (this=0xb545d290, flags=...) at kernel/qeventloop.cpp:201
#13 0x01e132a0 in QThread::exec (this=0x100b98c8) at thread/qthread.cpp:492
#14 0x01eeafdb in QInotifyFileSystemWatcherEngine::run (this=0x100b98c8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x01e15da2 in QThreadPrivate::start (arg=0x100b98c8) at thread/qthread_unix.cpp:320
#16 0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa8de8b70 (LWP 8197)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x00a00286 in gettimeofday () from /lib/i386-linux-gnu/libc.so.6
#2  0x004a73c6 in bt::Now () at ../../src/util/functions.cpp:171
#3  0x004bcf6a in net::DownloadThread::update (this=0x9134678) at ../../src/net/downloadthread.cpp:53
#4  0x004bd1e8 in net::NetworkThread::run (this=0x9134678) at ../../src/net/networkthread.cpp:48
#5  0x01e15da2 in QThreadPrivate::start (arg=0x9134678) at thread/qthread_unix.cpp:320
#6  0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa9deab70 (LWP 8198)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x00cf248c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00a543fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01e14daa in QMutexPrivate::wait (this=0x9134570, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x01e11492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0x004bb560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0x004bc422 in net::UploadThread::waitForSocketsReady (this=0x91349d8) at ../../src/net/uploadthread.cpp:112
#7  0x004bc6bf in net::UploadThread::update (this=0x91349d8) at ../../src/net/uploadthread.cpp:45
#8  0x004bd1e8 in net::NetworkThread::run (this=0x91349d8) at ../../src/net/networkthread.cpp:48
#9  0x01e15da2 in QThreadPrivate::start (arg=0x91349d8) at thread/qthread_unix.cpp:320
#10 0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaca2ab70 (LWP 8199)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x00cf248c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00a543fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01e16467 in wait (this=0x1087bbfc, mutex=0x1087bbf8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x1087bbfc, mutex=0x1087bbf8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x004c03af in net::ReverseResolverThread::run (this=0x1087bbf0) at ../../src/net/reverseresolver.cpp:123
#6  0x01e15da2 in QThreadPrivate::start (arg=0x1087bbf0) at thread/qthread_unix.cpp:320
#7  0x00cede99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00a4673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb772ca20 (LWP 8068)):
[KCrash Handler]
#7  0x01f220f9 in QObject::~QObject (this=0xfdb8050, __in_chrg=<value optimized out>) at kernel/qobject.cpp:891
#8  0x0797b5e1 in KJob::~KJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kdecore/jobs/kjob.cpp:65
#9  0x0797ad88 in KCompositeJob::~KCompositeJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kdecore/jobs/kcompositejob.cpp:42
#10 0x002607b8 in KIO::Job::~Job (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:116
#11 0x00260cca in KIO::SimpleJob::~SimpleJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:405
#12 0x00260ee8 in KIO::TransferJob::~TransferJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:993
#13 0x00261068 in KIO::StoredTransferJob::~StoredTransferJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:1595
#14 0x00261092 in KIO::StoredTransferJob::~StoredTransferJob (this=0xfdb8050, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:1597
#15 0x01f1cbc5 in qDeleteInEventHandler (o=0xfdb8050) at kernel/qobject.cpp:3995
#16 0x01f1f3e8 in QObject::event (this=0xfdb8050, e=0x147e7880) at kernel/qobject.cpp:1209
#17 0x0124cd24 in QApplicationPrivate::notify_helper (this=0x9193000, receiver=0xfdb8050, e=0x147e7880) at kernel/qapplication.cpp:4462
#18 0x012518ce in QApplication::notify (this=0xbfd18450, receiver=0xfdb8050, e=0x147e7880) at kernel/qapplication.cpp:3862
#19 0x08077a57 in kt::App::notify (this=0xbfd18450, receiver=0xfdb8050, event=0x147e7880) at ../../ktorrent/app.cpp:97
#20 0x01f0a0bb in QCoreApplication::notifyInternal (this=0xbfd18450, receiver=0xfdb8050, event=0x147e7880) at kernel/qcoreapplication.cpp:731
#21 0x01f0dc79 in sendEvent (receiver=0x0, event_type=0, data=0x912ef50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x912ef50) at kernel/qcoreapplication.cpp:1372
#23 0x01f0de0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#24 0x01f373c4 in sendPostedEvents (s=0x91a1308) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x91a1308) at kernel/qeventdispatcher_glib.cpp:277
#26 0x02616aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x02617270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x02617524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0x01f3753c in QEventDispatcherGlib::processEvents (this=0x912eaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x013031e5 in QGuiEventDispatcherGlib::processEvents (this=0x912eaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x01f09289 in QEventLoop::processEvents (this=0xbfd183c4, flags=...) at kernel/qeventloop.cpp:149
#32 0x01f09522 in QEventLoop::exec (this=0xbfd183c4, flags=...) at kernel/qeventloop.cpp:201
#33 0x01f0decc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x0124a8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#35 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 271225.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-08 16:55:42 UTC
Crash in KDE libs, reassigning
Comment 2 Andrius Štikonas 2017-12-10 14:08:16 UTC
Try KF5 based KTorrent.