Bug 240793 - Crash in ActivityManager due to libdbus bug
Summary: Crash in ActivityManager due to libdbus bug
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: CVS
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 11:18 UTC by Sebastian Trueg
Modified: 2014-02-21 07:38 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (9.90 KB, text/plain)
2014-02-21 07:38 UTC, Brian Schau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Trueg 2010-06-05 11:18:12 UTC
Version:           CVS (using Devel) 
OS:                Linux

This is a bug report to prove that Nepomuk is not the only product suffering from the libdbus bug (https://bugs.freedesktop.org/show_bug.cgi?id=17754). It needs to be resolved.

Application: kded4 ($Id: kded.cpp 1128583 2010-05-19 17:42:25Z aseigo $)
KDE Platform Version: 4.4.81 (KDE 4.4.81 (KDE 4.5 >= 20100527)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r6 x86_64

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x7fd21fabd740 (LWP 4215))]

Thread 2 (Thread 0x7fd20da66910 (LWP 4569)):
#0  0x00007fff37bff68c in clock_gettime ()
#1  0x0000003247804429 in clock_gettime () from /lib/librt.so.1
#2  0x00007fd22121bf9c in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007fd221223ab4 in QTimerInfoList::updateCurrentTime (this=0x16bc040) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007fd221224069 in QTimerInfoList::timerWait (this=0x16bc040, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007fd221221739 in timerSourcePrepareHelper (src=0x16bbfe0, timeout=0x7fd20da65d24) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fd221221875 in timerSourcePrepare (source=0x16bbfe0, timeout=0x7fd20da65d24) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00000031a483d812 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00000031a483db99 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00000031a483e03c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007fd221220293 in QEventDispatcherGlib::processEvents (this=0x169fc70, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007fd2211e0c0f in QEventLoop::processEvents (this=0x7fd20da65f90, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fd2211e0e33 in QEventLoop::exec (this=0x7fd20da65f90, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007fd2210b2fb3 in QThread::exec (this=0x16bc420) at thread/qthread.cpp:487
#14 0x00007fd2211bcd6d in QInotifyFileSystemWatcherEngine::run (this=0x16bc420) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fd2210b7b56 in QThreadPrivate::start (arg=0x16bc420) at thread/qthread_unix.cpp:248
#16 0x0000003247007297 in start_thread () from /lib/libpthread.so.0
#17 0x00000032464d06ad in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd21fabd740 (LWP 4215)):
[KCrash Handler]
#6  0x00007fd2232f3846 in QBasicAtomicInt::ref (this=0x4b002d00597520) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  0x00007fd22157a6f8 in QString (this=0x7fff37a50f90, other=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#8  0x00007fd22157f9fe in QDBusError::name (this=0x11d29a8) at qdbuserror.cpp:323
#9  0x00007fd22157bb01 in QDBusMessage::createError (err=...) at ../../include/QtDBus/../../src/dbus/qdbusmessage.h:79
#10 0x00007fd2215d2cdc in QDBusPendingCall::fromError (error=...) at qdbuspendingcall.cpp:422
#11 0x00007fd2215a206c in QDBusAbstractInterface::asyncCallWithArgumentList (this=0x16a3000, method=..., args=...) at qdbusabstractinterface.cpp:467
#12 0x00007fd2154c8f81 in OrgKdeNepomukServicesNepomukActivitiesServiceInterface::add (this=0x16a3000, activityId=..., activityName=...)
    at /home/trueg/kde/dev/kde/build/4/kdebase/runtime/activitymanager/nepomukactivitiesservice_interface.h:55
#13 0x00007fd2154c3e75 in ActivityManager::SetActivityName (this=0x1210f60, id=..., name=...) at /home/trueg/kde/dev/kde/src/4/kdebase/runtime/activitymanager/activitymanager.cpp:315
#14 0x00007fd2154c408a in ActivityManager::AddActivity (this=0x1210f60, name=...) at /home/trueg/kde/dev/kde/src/4/kdebase/runtime/activitymanager/activitymanager.cpp:264
#15 0x00007fd2154cb085 in ActivityManagerAdaptor::AddActivity (this=0x1211860, name=...) at /home/trueg/kde/dev/kde/build/4/kdebase/runtime/activitymanager/activitymanageradaptor.cpp:57
#16 0x00007fd2154cb36c in ActivityManagerAdaptor::qt_metacall (this=0x1211860, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff37a513f0)
    at /home/trueg/kde/dev/kde/build/4/kdebase/runtime/activitymanager/activitymanageradaptor.moc:160
#17 0x00007fd221588207 in QDBusConnectionPrivate::deliverCall (this=0x1031430, object=0x1211860, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:904
#18 0x00007fd221589355 in QDBusConnectionPrivate::activateCall (this=0x1031430, object=0x1211860, flags=273, msg=...) at qdbusintegrator.cpp:816
#19 0x00007fd22158b365 in QDBusConnectionPrivate::activateObject (this=0x1031430, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1364
#20 0x00007fd22158b58a in QDBusActivateObjectEvent::placeMetaCall (this=0x11d0670) at qdbusintegrator.cpp:1477
#21 0x00007fd2211fc2c6 in QObject::event (this=0x1210f60, e=0x11d0670) at kernel/qobject.cpp:1248
#22 0x00007fd221f2f763 in QApplicationPrivate::notify_helper (this=0x103abd0, receiver=0x1210f60, e=0x11d0670) at kernel/qapplication.cpp:4304
#23 0x00007fd221f2fbec in QApplication::notify (this=0x7fff37a528a0, receiver=0x1210f60, e=0x11d0670) at kernel/qapplication.cpp:3708
#24 0x00007fd2237ac267 in KApplication::notify (this=0x7fff37a528a0, receiver=0x1210f60, event=0x11d0670) at /home/trueg/kde/dev/kde/src/4/kdelibs/kdeui/kernel/kapplication.cpp:302
#25 0x00007fd2211e4801 in QCoreApplication::notifyInternal (this=0x7fff37a528a0, receiver=0x1210f60, event=0x11d0670) at kernel/qcoreapplication.cpp:704
#26 0x00007fd221f2ca63 in QCoreApplication::sendEvent (receiver=0x1210f60, event=0x11d0670) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 0x00007fd2211e4e17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x100a6d0) at kernel/qcoreapplication.cpp:1345
#28 0x00007fd2211e5126 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#29 0x00007fd22202550d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 0x00007fd22122145a in postEventSourceDispatch (s=0x103d5a0) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00000031a483a6f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00000031a483de88 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00000031a483e03c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fd221220275 in QEventDispatcherGlib::processEvents (this=0x103ab60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007fd222023a43 in QGuiEventDispatcherGlib::processEvents (this=0x103ab60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fd2211e0c0f in QEventLoop::processEvents (this=0x7fff37a527f0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fd2211e0e33 in QEventLoop::exec (this=0x7fff37a527f0, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fd2211e524b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x00007fd221f326f4 in QApplication::exec () at kernel/qapplication.cpp:3583
#40 0x00007fd224167aa8 in kdemain (argc=1, argv=0x7fff37a52ba8) at /home/trueg/kde/dev/kde/src/4/kdelibs/kded/kded.cpp:894
#41 0x00000000004008d7 in main (argc=1, argv=0x7fff37a52ba8) at /home/trueg/kde/dev/kde/build/4/kdelibs/kded/kded4_dummy.cpp:3


Reproducible: Sometimes
Comment 1 Ivan Čukić 2010-06-05 20:32:21 UTC
Sebas, how did you deal with this in the nepomuk service?
Comment 2 Brian Schau 2014-02-21 07:38:51 UTC
Created attachment 85258 [details]
New crash information added by DrKonqi

kded4 (4.11.2) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:
Updating vanilla OpenSuse 13.1 with latest updates.

-- Backtrace (Reduced):
#7  QString (other=..., this=this@entry=0x7fff05b72d20) at ../../src/corelib/tools/qstring.h:726
#8  QDBusError::name (this=this@entry=0x1851220) at qdbuserror.cpp:325
#9  0x00007fdb4f4f051d in createError (err=...) at ../../src/dbus/qdbusmessage.h:81
#10 QDBusPendingCall::fromError (error=...) at qdbuspendingcall.cpp:451
#11 0x00007fdb4f4c69a0 in QDBusAbstractInterface::asyncCallWithArgumentList (this=this@entry=0x1850fa0, method=..., args=...) at qdbusabstractinterface.cpp:496