Bug 252098

Summary: KTorrent crashed when quitting (multiple started instances (bug))
Product: [Plasma] plasma4 Reporter: Daniel Hahler <kde-bugzilla>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asraniel, rad.sci.guy
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Hahler 2010-09-23 07:27:54 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
Because of another bug multiple (four) instances of KTorrent had been started.

When I then clicked "Quit" on one of them in the icon tray, KTorrent crashed.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb61fa9f0 (LWP 4291))]

Thread 2 (Thread 0xadaa6b70 (LWP 4292)):
#0  0x0358fe36 in clock_gettime () from /lib/librt.so.1
#1  0x0771050b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x077e76e5 in QTimerInfoList::updateCurrentTime (this=0x8abc7b4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x077e772a in QTimerInfoList::timerWait (this=0x8abc7b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x077e57a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xadaa60ac) at kernel/qeventdispatcher_glib.cpp:136
#6  0x077e583d in timerSourcePrepare (source=0x0, timeout=0x3593ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0387d62a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0387da39 in ?? () from /lib/libglib-2.0.so.0
#9  0x0387e008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x077e559f in QEventDispatcherGlib::processEvents (this=0x8b0e308, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x077b5609 in QEventLoop::processEvents (this=0xadaa6280, flags=) at kernel/qeventloop.cpp:149
#12 0x077b5a8a in QEventLoop::exec (this=0xadaa6280, flags=...) at kernel/qeventloop.cpp:201
#13 0x076b1b7e in QThread::exec (this=0x8ab3b88) at thread/qthread.cpp:490
#14 0x0779435b in QInotifyFileSystemWatcherEngine::run (this=0x8ab3b88) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x076b4df9 in QThreadPrivate::start (arg=0x8ab3b88) at thread/qthread_unix.cpp:266
#16 0x0017bcc9 in start_thread () from /lib/libpthread.so.0
#17 0x00a696ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb61fa9f0 (LWP 4291)):
[KCrash Handler]
#7  0x076af59b in fetchAndAddOrdered (this=0x92c15aa) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:163
#8  fetchAndAddAcquire (this=0x92c15aa) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:296
#9  QMutex::lock (this=0x92c15aa) at thread/qmutex.cpp:159
#10 0x077b9724 in QCoreApplication::postEvent (receiver=0x8b989c0, event=0x92c7c70, priority=0) at kernel/qcoreapplication.cpp:1141
#11 0x077b9aac in QCoreApplication::postEvent (receiver=0x8b989c0, event=0x92c7c70) at kernel/qcoreapplication.cpp:1094
#12 0x077c82c4 in QObject::deleteLater (this=0x8b989c0) at kernel/qobject.cpp:2131
#13 0x0070990c in KJob::emitResult (this=0x8b989c0) at ../../kdecore/jobs/kjob.cpp:315
#14 0x00d585a7 in Plasma::ServiceJob::setResult (this=0x8b989c0, result=...) at ../../plasma/servicejob.cpp:80
#15 0x07319d6d in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#16 0x07319ded in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#17 0x077bc8ca in QMetaObject::metacall (object=0x8b989c0, cl=146377152, idx=146377152, argv=0xbfafd6d8) at kernel/qmetaobject.cpp:237
#18 0x077cf6ad in QMetaObject::activate (sender=0x92801f8, m=0x7320c40, local_signal_index=0, argv=0x680074) at kernel/qobject.cpp:3280
#19 0x073130a3 in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#20 0x073132b1 in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#21 0x07318803 in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#22 0x077bc8ca in QMetaObject::metacall (object=0x92801f8, cl=146377152, idx=153616888, argv=0x92801f8) at kernel/qmetaobject.cpp:237
#23 0x077cf6ad in QMetaObject::activate (sender=0x932a598, m=0x6bf9d84, local_signal_index=0, argv=0x680074) at kernel/qobject.cpp:3280
#24 0x06be44f7 in DBusMenuImporter::menuUpdated() () from /usr/lib/libdbusmenu-qt.so.2
#25 0x06be9c4c in DBusMenuImporter::slotMenuAboutToShow() () from /usr/lib/libdbusmenu-qt.so.2
#26 0x06beae9b in DBusMenuImporter::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdbusmenu-qt.so.2
#27 0x077bc8ca in QMetaObject::metacall (object=0x932a598, cl=146377152, idx=12, argv=0xbfafdb8c) at kernel/qmetaobject.cpp:237
#28 0x077cf6ad in QMetaObject::activate (sender=0x92c1558, m=0x1ce4fe8, local_signal_index=0, argv=0x680074) at kernel/qobject.cpp:3280
#29 0x01822c47 in QMenu::aboutToShow (this=0x92c1558) at .moc/release-shared/moc_qmenu.cpp:151
#30 0x01829ef3 in QMenu::qt_metacall (this=0x92c1558, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfafdcdc) at .moc/release-shared/moc_qmenu.cpp:97
#31 0x077bc8ca in QMetaObject::metacall (object=0x92c1558, cl=146377152, idx=27, argv=0xbfafdcdc) at kernel/qmetaobject.cpp:237
#32 0x077c0352 in QMetaMethod::invoke (this=0xbfafde6c, object=0x92c1558, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1575
#33 0x077c1a1f in QMetaObject::invokeMethod (obj=0x92c1558, member=0x6bf0359 "aboutToShow", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1148
#34 0x06be48ce in DBusMenuImporter::updateMenu() () from /usr/lib/libdbusmenu-qt.so.2
#35 0x073146ef in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#36 0x0731b33e in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#37 0x00d58423 in Plasma::ServiceJobPrivate::slotStart (this=0x931be20) at ../../plasma/servicejob.cpp:37
#38 0x00d584f4 in Plasma::ServiceJob::qt_metacall (this=0x93d1568, _c=153616888, _id=26, _a=0x93ac4f0) at ./servicejob.moc:72
#39 0x07319dca in ?? () from /usr/lib/kde4/plasma_engine_statusnotifieritem.so
#40 0x077bc8ca in QMetaObject::metacall (object=0x8b989c0, cl=146377152, idx=0, argv=0x8b989c0) at kernel/qmetaobject.cpp:237
#41 0x077c7df6 in QMetaCallEvent::placeMetaCall (this=0x93307f0, object=0x8b989c0) at kernel/qobject.cpp:534
#42 0x077c96a2 in QObject::event (this=0x8b989c0, e=0x1) at kernel/qobject.cpp:1219
#43 0x0135efdc in QApplicationPrivate::notify_helper (this=0x877fc90, receiver=0x8b989c0, e=0x93307f0) at kernel/qapplication.cpp:4396
#44 0x0136504e in QApplication::notify (this=0x8766ac0, receiver=0x8b989c0, e=0x93307f0) at kernel/qapplication.cpp:3798
#45 0x0105468a in KApplication::notify (this=0x8766ac0, receiver=0x8b989c0, event=0x93307f0) at ../../kdeui/kernel/kapplication.cpp:310
#46 0x077b6b3b in QCoreApplication::notifyInternal (this=0x8766ac0, receiver=0x8b989c0, event=0x93307f0) at kernel/qcoreapplication.cpp:732
#47 0x077b9d8b in sendEvent (receiver=0x0, event_type=0, data=0x8736028) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8736028) at kernel/qcoreapplication.cpp:1373
#49 0x077b9f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#50 0x077e5a74 in sendPostedEvents (s=0x8782a08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=0x8782a08) at kernel/qeventdispatcher_glib.cpp:277
#52 0x0387a015 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0x0387de28 in ?? () from /lib/libglib-2.0.so.0
#54 0x0387e008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0x077e5565 in QEventDispatcherGlib::processEvents (this=0x8735ce8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#56 0x01420be5 in QGuiEventDispatcherGlib::processEvents (this=0x8735ce8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x077b5609 in QEventLoop::processEvents (this=0xbfafec44, flags=) at kernel/qeventloop.cpp:149
#58 0x077b5a8a in QEventLoop::exec (this=0xbfafec44, flags=...) at kernel/qeventloop.cpp:201
#59 0x077ba00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#60 0x0135de07 in QApplication::exec () at kernel/qapplication.cpp:3672
#61 0x008d986e in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#62 0x080485bb in _start ()

Possible duplicates by query: bug 247792, bug 247467, bug 235790.

Reported using DrKonqi
Comment 1 Beat Wolf 2010-10-17 17:27:26 UTC

*** This bug has been marked as a duplicate of bug 254435 ***
Comment 2 Beat Wolf 2010-11-29 15:24:52 UTC
*** Bug 258095 has been marked as a duplicate of this bug. ***