Bug 314538

Summary: ResourceWatcher DBus Crash - Threading
Product: [Unmaintained] nepomuk Reporter: Joachim Mairböck <j.mairboeck>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bladud, me, nepomuk-bugs, plasma-bugs
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joachim Mairböck 2013-02-06 18:07:16 UTC
Application: kactivitymanagerd (3.0)
KDE Platform Version: 4.10.00
Qt Version: 4.8.4
Operating System: Linux 3.4.11-2.16-desktop i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I was downloading a file from SlideShare with Konqueror/KHTML and KGet integration enabled (with the usual weird behaviour that only SlideShare does, namely initiating a KIO transfer to a temporary file without Konqueror showing a dialog), when this crash happened. I'm not 100 % sure if the two things are related though.

-- Backtrace:
Application: KDE-Aktivitätenverwaltung (kactivitymanagerd), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb42be740 (LWP 12175))]

Thread 7 (Thread 0xb308cb40 (LWP 12178)):
#0  0xb7730424 in __kernel_vsyscall ()
#1  0xb5ade80b in poll () from /lib/libc.so.6
#2  0xb4b2323b in g_poll (fds=0xb2700df0, nfds=1, timeout=-1) at gpoll.c:132
#3  0xb4b14af0 in g_main_context_poll (n_fds=1, fds=0xb2700df0, timeout=<optimized out>, context=0xb27004e0, priority=<optimized out>) at gmain.c:3440
#4  g_main_context_iterate (context=context@entry=0xb27004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3141
#5  0xb4b14c51 in g_main_context_iteration (context=0xb27004e0, may_block=1) at gmain.c:3207
#6  0xb694264f in QEventDispatcherGlib::processEvents (this=0xb2700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb690f12c in QEventLoop::processEvents (this=this@entry=0xb308c258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb690f421 in QEventLoop::exec (this=0xb308c258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb67fab3c in QThread::exec (this=0x8a73a38) at thread/qthread.cpp:542
#10 0x08055bc3 in Thread::run (this=0x8a73a38) at /usr/src/debug/kactivities-4.10.0/src/service/Application.cpp:69
#11 0xb67fdf48 in QThreadPrivate::start (arg=0x8a73a38) at thread/qthread_unix.cpp:338
#12 0xb677be32 in start_thread () from /lib/libpthread.so.0
#13 0xb5ae97ee in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb2654b40 (LWP 12181)):
#0  0xb4b14693 in g_main_context_dispatch (context=context@entry=0xb1d004e0) at gmain.c:3070
#1  0xb4b14b70 in g_main_context_iterate (context=context@entry=0xb1d004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146
#2  0xb4b14c51 in g_main_context_iteration (context=0xb1d004e0, may_block=1) at gmain.c:3207
#3  0xb694264f in QEventDispatcherGlib::processEvents (this=0xb1d00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb690f12c in QEventLoop::processEvents (this=this@entry=0xb2654258, flags=...) at kernel/qeventloop.cpp:149
#5  0xb690f421 in QEventLoop::exec (this=0xb2654258, flags=...) at kernel/qeventloop.cpp:204
#6  0xb67fab3c in QThread::exec (this=0x8afca08) at thread/qthread.cpp:542
#7  0x08055b93 in Thread::run (this=0x8afca08) at /usr/src/debug/kactivities-4.10.0/src/service/Application.cpp:69
#8  0xb67fdf48 in QThreadPrivate::start (arg=0x8afca08) at thread/qthread_unix.cpp:338
#9  0xb677be32 in start_thread () from /lib/libpthread.so.0
#10 0xb5ae97ee in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb1cffb40 (LWP 12182)):
#0  0xb4bcbe3d in clock_gettime () from /lib/librt.so.1
#1  0xb685c945 in do_gettime (frac=0xb1cfefb0, sec=0xb1cfefa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb694312e in QTimerInfoList::updateCurrentTime (this=0xb1302074) at kernel/qeventdispatcher_unix.cpp:354
#4  0xb13004e0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xb1003b40 (LWP 12185)):
#0  0xb677dee3 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb4b54940 in g_mutex_lock (mutex=mutex@entry=0xb07004e0) at gthread-posix.c:208
#2  0xb4b14c3a in g_main_context_iteration (context=0xb07004e0, may_block=1) at gmain.c:3206
#3  0xb694264f in QEventDispatcherGlib::processEvents (this=0xb0700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb690f12c in QEventLoop::processEvents (this=this@entry=0xb1003228, flags=...) at kernel/qeventloop.cpp:149
#5  0xb690f421 in QEventLoop::exec (this=0xb1003228, flags=...) at kernel/qeventloop.cpp:204
#6  0xb67fab3c in QThread::exec (this=0x8c623e0) at thread/qthread.cpp:542
#7  0xb68ed67d in QInotifyFileSystemWatcherEngine::run (this=0x8c623e0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0xb67fdf48 in QThreadPrivate::start (arg=0x8c623e0) at thread/qthread_unix.cpp:338
#9  0xb677be32 in start_thread () from /lib/libpthread.so.0
#10 0xb5ae97ee in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb06ffb40 (LWP 12187)):
#0  0xb7743403 in ___tls_get_addr_internal () from /lib/ld-linux.so.2
#1  0xb67fcb1f in get_thread_data () at thread/qthread_unix.cpp:182
#2  QThreadData::current () at thread/qthread_unix.cpp:208
#3  0xb6941eff in postEventSourcePrepare (s=s@entry=0xafd00da8, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_glib.cpp:256
#4  0xb6941f87 in postEventSourceCheck (source=source@entry=0xafd00da8) at kernel/qeventdispatcher_glib.cpp:272
#5  0xb4b145bf in g_main_context_check (context=context@entry=0xafd004e0, max_priority=<optimized out>, fds=fds@entry=0xafd00df0, n_fds=n_fds@entry=1) at gmain.c:3023
#6  0xb4b14a82 in g_main_context_iterate (context=context@entry=0xafd004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3143
#7  0xb4b14c51 in g_main_context_iteration (context=0xafd004e0, may_block=1) at gmain.c:3207
#8  0xb694264f in QEventDispatcherGlib::processEvents (this=0xafd00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0xb690f12c in QEventLoop::processEvents (this=this@entry=0xb06ff258, flags=...) at kernel/qeventloop.cpp:149
#10 0xb690f421 in QEventLoop::exec (this=0xb06ff258, flags=...) at kernel/qeventloop.cpp:204
#11 0xb67fab3c in QThread::exec (this=0x8ba84f0) at thread/qthread.cpp:542
#12 0xb2832f25 in ActivityRankingPlugin::Thread::run (this=0x8ba84f0) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/activityranking/ActivityRankingPlugin.cpp:52
#13 0xb67fdf48 in QThreadPrivate::start (arg=0x8ba84f0) at thread/qthread_unix.cpp:338
#14 0xb677be32 in start_thread () from /lib/libpthread.so.0
#15 0xb5ae97ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf2ffb40 (LWP 13461)):
[KCrash Handler]
#7  0xb7730424 in __kernel_vsyscall ()
#8  0xb5a2d31f in raise () from /lib/libc.so.6
#9  0xb5a2ec03 in abort () from /lib/libc.so.6
#10 0xb4c0b715 in _dbus_abort () at dbus-sysdeps.c:94
#11 0xb4c00901 in _dbus_warn_check_failed (format=0xb4c11748 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:290
#12 0xb4bf6796 in dbus_pending_call_unref (pending=0x0) at dbus-pending-call.c:608
#13 0xb6adccaf in q_dbus_pending_call_unref (pending=<optimized out>) at qdbus_symbols_p.h:317
#14 QDBusPendingCallPrivate::~QDBusPendingCallPrivate (this=0xae93ab80, __in_chrg=<optimized out>) at qdbuspendingcall.cpp:137
#15 0xb6adce58 in ~QExplicitlySharedDataPointer (this=0xaf2fee50, __in_chrg=<optimized out>) at ../../src/corelib/tools/qshareddata.h:166
#16 QDBusPendingCall::~QDBusPendingCall (this=0xaf2fee50, __in_chrg=<optimized out>) at qdbuspendingcall.cpp:271
#17 0xb6addd7b in QDBusPendingReplyData::~QDBusPendingReplyData (this=0xaf2fee50, __in_chrg=<optimized out>) at qdbuspendingreply.cpp:246
#18 0xb6cb67f0 in ~QDBusPendingReply (this=0xaf2fee50, __in_chrg=<optimized out>) at /usr/include/QtDBus/qdbuspendingreply.h:115
#19 Nepomuk2::ResourceWatcher::removeResource (this=0xae90e180, resUri=...) at /usr/src/debug/nepomuk-core-4.10.0/libnepomukcore/datamanagement/resourcewatcher.cpp:198
#20 0xb6c5e5b7 in Nepomuk2::ResourceManagerPrivate::removeFromWatcher (this=0x8b85958, uri=...) at /usr/src/debug/nepomuk-core-4.10.0/libnepomukcore/resource/resourcemanager.cpp:442
#21 0xb6c56df3 in Nepomuk2::ResourceData::resetAll (this=this@entry=0xae947c50, isDelete=isDelete@entry=true) at /usr/src/debug/nepomuk-core-4.10.0/libnepomukcore/resource/resourcedata.cpp:174
#22 0xb6c56f04 in Nepomuk2::ResourceData::~ResourceData (this=0xae947c50, __in_chrg=<optimized out>) at /usr/src/debug/nepomuk-core-4.10.0/libnepomukcore/resource/resourcedata.cpp:102
#23 0xb6c6ac42 in Nepomuk2::Resource::~Resource (this=0xaf2ff0a4, __in_chrg=<optimized out>) at /usr/src/debug/nepomuk-core-4.10.0/libnepomukcore/resource/resource.cpp:128
#24 0xb285798e in resourceForId (type=..., id=...) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/NepomukCommon.h:94
#25 updateNepomukScore (activity=..., application=..., resource=..., score=0) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/NepomukCommon.h:136
#26 0xb28566fc in ResourceScoreCache::updateScore (this=0xaf2ff1e8) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/ResourceScoreCache.cpp:74
#27 0xb28583e2 in operator() (resources=..., application=..., __closure=0xaf2ff1e4) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/ResourceScoreMaintainer.cpp:93
#28 qt_for_each_assoc<QMap<QString, QList<QUrl> >::const_iterator, ResourceScoreMaintainer::Private::processActivity(const ActivityID&, const Applications&)::<lambda(const ApplicationName&, const ResourceList&)> > (f=..., end=..., start=...) at /usr/src/debug/kactivities-4.10.0/src/utils/for_each_assoc.h:40
#29 _for_each_assoc_helper_container<QMap<QString, QList<QUrl> >, ResourceScoreMaintainer::Private::processActivity(const ActivityID&, const Applications&)::<lambda(const ApplicationName&, const ResourceList&)> > (f=..., c=...) at /usr/src/debug/kactivities-4.10.0/src/utils/for_each_assoc.h:59
#30 for_each_assoc<QMap<QString, QList<QUrl> >, ResourceScoreMaintainer::Private::processActivity(const ActivityID&, const Applications&)::<lambda(const ApplicationName&, const ResourceList&)> > (f=..., c=...) at /usr/src/debug/kactivities-4.10.0/src/utils/for_each_assoc.h:75
#31 ResourceScoreMaintainer::Private::processActivity (this=this@entry=0x8ba2268, activity=..., applications=...) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/ResourceScoreMaintainer.cpp:96
#32 0xb2858669 in ResourceScoreMaintainer::Private::run (this=0x8ba2268) at /usr/src/debug/kactivities-4.10.0/src/service/plugins/sqlite/ResourceScoreMaintainer.cpp:76
#33 0xb67fdf48 in QThreadPrivate::start (arg=0x8ba2268) at thread/qthread_unix.cpp:338
#34 0xb677be32 in start_thread () from /lib/libpthread.so.0
#35 0xb5ae97ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb42be740 (LWP 12175)):
#0  0xb7730424 in __kernel_vsyscall ()
#1  0xb6782adb in read () from /lib/libpthread.so.0
#2  0xb4b53c7e in read (__nbytes=16, __buf=0xbff28cdc, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#3  g_wakeup_acknowledge (wakeup=0x8a5e188) at gwakeup.c:212
#4  0xb4b14622 in g_main_context_check (context=context@entry=0x8a5e200, max_priority=2147483647, fds=fds@entry=0x8ba4890, n_fds=n_fds@entry=3) at gmain.c:2980
#5  0xb4b14a82 in g_main_context_iterate (context=context@entry=0x8a5e200, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3143
#6  0xb4b14c51 in g_main_context_iteration (context=0x8a5e200, may_block=1) at gmain.c:3207
#7  0xb694264f in QEventDispatcherGlib::processEvents (this=0x8a1b480, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0xb5e9148a in QGuiEventDispatcherGlib::processEvents (this=0x8a1b480, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#9  0xb690f12c in QEventLoop::processEvents (this=this@entry=0xbff28ee8, flags=...) at kernel/qeventloop.cpp:149
#10 0xb690f421 in QEventLoop::exec (this=0xbff28ee8, flags=...) at kernel/qeventloop.cpp:204
#11 0xb69146da in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#12 0xb5ddda14 in QApplication::exec () at kernel/qapplication.cpp:3823
#13 0x08050c86 in main (argc=1, argv=0xbff29114) at /usr/src/debug/kactivities-4.10.0/src/service/Application.cpp:242

Reported using DrKonqi
Comment 1 Simeon Bird 2013-03-08 16:08:10 UTC

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