Bug 273164

Summary: Nepomuk crashes (stub)
Product: [Unmaintained] nepomuk Reporter: dnadoublehelix-buggy
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, stefanb+kde, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description dnadoublehelix-buggy 2011-05-13 04:27:59 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-tuxonice x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Start Dolphin for the first time, which then causes Nepomuk to crash (Strigi is not enabled). Dolphin opens as normal and I don't seem to have lost any functionality or have any other errors.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f5d9c2f7760 (LWP 4288))]

Thread 3 (Thread 0x7f5d8c866700 (LWP 5413)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f5d996d34f8 in _L_lock_9650 () from /lib64/libc.so.6
#2  0x00007f5d996d18e1 in __libc_free (mem=0x7f5d999afe60) at malloc.c:3737
#3  0x00007f5d8d0a9c57 in Nepomuk::Query::SearchRunnable::~SearchRunnable (this=0x2303170, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.6.3/work/nepomuk-4.6.3/nepomuk/services/queryservice/searchrunnable.cpp:64
#4  0x00007f5d9bcf4b95 in QThreadPoolThread::run (this=0x2307e10) at concurrent/qthreadpool.cpp:119
#5  0x00007f5d9bd004c5 in QThreadPrivate::start (arg=0x2307e10) at thread/qthread_unix.cpp:320
#6  0x00007f5d9ba6e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007f5d9972b7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5d87fff700 (LWP 5414)):
[KCrash Handler]
#6  0x00007f5d9968c175 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f5d9968d590 in abort () at abort.c:92
#8  0x00007f5d996c756b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f5d996ccb36 in malloc_printerr (action=3, str=0x7f5d9977b640 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6267
#10 0x00007f5d996d18ec in __libc_free (mem=<value optimized out>) at malloc.c:3739
#11 0x00007f5d9bdaec79 in ~QByteArray (this=0x7f5d87ffd520, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#12 QUrlPrivate::~QUrlPrivate (this=0x7f5d87ffd520, __in_chrg=<value optimized out>) at io/qurl.cpp:294
#13 0x00007f5d9bdabc94 in QUrlPrivate::normalized (this=<value optimized out>) at io/qurl.cpp:4061
#14 0x00007f5d9bdabe8d in QUrl::operator== (this=0x7f5d87ffd890, url=...) at io/qurl.cpp:5959
#15 0x00007f5d9a9eaff7 in Nepomuk::Types::EntityPrivate::load (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/types/entity.cpp:99
#16 0x00007f5d9a9e9f71 in Nepomuk::Types::EntityPrivate::init (this=0x230d1f0) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/types/entity.cpp:51
#17 0x00007f5d9a9f2957 in Nepomuk::Types::Property::maxCardinality (this=0x230e2c8) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/types/property.cpp:384
#18 0x00007f5d92cf297a in uniqueVarName (this=0x230e2b0, qbd=0x7f5d87ffe360) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/query/querybuilderdata_p.h:120
#19 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x230e2b0, qbd=0x7f5d87ffe360) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:357
#20 0x00007f5d92cf31bd in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x230e2b0, resourceVarName=..., qbd=0x7f5d87ffe360) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:142
#21 0x00007f5d92cf06dd in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f5d87ffe360) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/query/andterm.cpp:34
#22 0x00007f5d92cfbfcf in Nepomuk::Query::Query::toSparqlQuery (this=0x230c9e8, sparqlFlags=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/nepomuk/query/query.cpp:466
#23 0x00007f5d8d0a710b in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.6.3/work/nepomuk-4.6.3/nepomuk/services/queryservice/folder.cpp:122
#24 0x00007f5d8d0aa35e in Nepomuk::Query::SearchRunnable::run (this=0x230e200) at /var/tmp/portage/kde-base/nepomuk-4.6.3/work/nepomuk-4.6.3/nepomuk/services/queryservice/searchrunnable.cpp:81
#25 0x00007f5d9bcf4b62 in QThreadPoolThread::run (this=0x230e300) at concurrent/qthreadpool.cpp:106
#26 0x00007f5d9bd004c5 in QThreadPrivate::start (arg=0x230e300) at thread/qthread_unix.cpp:320
#27 0x00007f5d9ba6e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#28 0x00007f5d9972b7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5d9c2f7760 (LWP 4288)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f5d996d34f8 in _L_lock_9650 () from /lib64/libc.so.6
#2  0x00007f5d996d18e1 in __libc_free (mem=0x7f5d999afe60) at malloc.c:3737
#3  0x00007f5d9bd1c82a in QHashData::free_helper (this=0x230c320, node_delete=0x7f5d9b81dee0 <QHash<QString, QDBusSlotCache::Data>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:272
#4  0x00007f5d9b81d37f in freeData (t=0x23095a0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:568
#5  ~QHash (t=0x23095a0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:284
#6  ~QMultiHash (t=0x23095a0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:923
#7  ~QDBusSlotCache (t=0x23095a0) at qdbusintegrator_p.h:82
#8  qMetaTypeDeleteHelper<QDBusSlotCache> (t=0x23095a0) at ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:134
#9  0x00007f5d9bdfc8f2 in QMetaType::destroy (type=<value optimized out>, data=0x23095a0) at kernel/qmetatype.cpp:1396
#10 0x00007f5d9be14e52 in clear (d=0x230acc0) at kernel/qvariant.cpp:286
#11 0x00007f5d9be11acf in QVariant::clear (this=0x230acc0) at kernel/qvariant.cpp:1862
#12 0x00007f5d9be13933 in QVariant::operator= (this=0x7f5d999afe60, variant=...) at kernel/qvariant.cpp:1803
#13 0x00007f5d9be06b26 in QObject::setProperty (this=0x2308c70, name=0x7f5d9b851200 "_qdbus_slotCache", value=...) at kernel/qobject.cpp:3419
#14 0x00007f5d9b81639d in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x2308c70, flags=273, msg=...) at qdbusintegrator.cpp:841
#15 0x00007f5d9b816e95 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409
#16 0x00007f5d9b817128 in QDBusActivateObjectEvent::placeMetaCall (this=0x7f5d880008d0) at qdbusintegrator.cpp:1523
#17 0x00007f5d9be03afe in QObject::event (this=0x2304840, e=0x7f5d999afe60) at kernel/qobject.cpp:1217
#18 0x00007f5d99e8e8dc in QApplicationPrivate::notify_helper (this=0x2195a20, receiver=0x2304840, e=0x7f5d880008d0) at kernel/qapplication.cpp:4462
#19 0x00007f5d99e93d7d in QApplication::notify (this=0x7fff17fc80b0, receiver=0x2304840, e=0x7f5d880008d0) at kernel/qapplication.cpp:4341
#20 0x00007f5d9aeb9276 in KApplication::notify (this=0x7fff17fc80b0, receiver=0x2304840, event=0x7f5d880008d0) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#21 0x00007f5d9bdf1d6b in QCoreApplication::notifyInternal (this=0x7fff17fc80b0, receiver=0x2304840, event=0x7f5d880008d0) at kernel/qcoreapplication.cpp:731
#22 0x00007f5d9bdf4cf1 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2179970) at kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2179970) at kernel/qcoreapplication.cpp:1372
#24 0x00007f5d9be1e313 in sendPostedEvents (s=0x21981c0) at kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x21981c0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f5d98f7afa1 in g_main_dispatch (context=0x21980e0) at gmain.c:2440
#27 g_main_context_dispatch (context=0x21980e0) at gmain.c:3013
#28 0x00007f5d98f7f638 in g_main_context_iterate (context=0x21980e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3091
#29 0x00007f5d98f7f7ec in g_main_context_iteration (context=0x21980e0, may_block=1) at gmain.c:3154
#30 0x00007f5d9be1de53 in QEventDispatcherGlib::processEvents (this=0x2191630, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f5d99f40cbe in QGuiEventDispatcherGlib::processEvents (this=0x7f5d999afe60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f5d9bdf0ac2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f5d9bdf0ea4 in QEventLoop::exec (this=0x7fff17fc7ee0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f5d9bdf4f1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#35 0x0000000000404104 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.6.3/work/nepomuk-4.6.3/nepomuk/servicestub/main.cpp:165

This bug may be a duplicate of or related to bug 272165, bug 272815, bug 239842.

Possible duplicates by query: bug 272921, bug 272815, bug 272641, bug 272402, bug 272165.

Reported using DrKonqi
Comment 1 stefanb+kde 2011-07-19 19:20:21 UTC
Created attachment 61993 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.3

- What I was doing when the application crashed:

Starting Dolping for the first time after logging in.

-- Backtrace (Reduced):
#8  0x00007fe0c7416dbb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fe0c7420606 in malloc_printerr (action=3, str=0x7fe0c74f41f7 "invalid fastbin entry (free)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007fe0c742533c in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007fe0c98939fc in QString::free (d=0x7fe0b4005440) at tools/qstring.cpp:1185
#12 0x00007fe0bfc18333 in ~QString (this=0x14ba938, sparqlFlags=...) at /usr/include/qt4/QtCore/qstring.h:883
Comment 2 Sebastian Trueg 2011-09-20 12:45:21 UTC

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