User:Frank78ac/SopranoCrash

From KDE TechBase

There were lots of reports about Soprano/Nepomuk-related crashes recently. Most of them are for Kubuntu 10.04, but there are also some from users of other distributions like bug #236082 (Debian) and bug #236505 (Opensuse)

Most backtraces are incomplete because Soprano debugging info is missing. The best backtraces so far are in bug #235365 (comment 10) and bug #236505 (Thread 14).

Master bugs

I've tried to collect reports with the same backtraces into several master bugs.

bug #235166 QMutex::lock

#5  0x00007fa3f88108dc in QMutex::lock (this=0x9d44d0) at thread/qmutex.cpp:150
#6  0x00007fa3f6589add in ?? () from /usr/lib/libsopranoclient.so.1
#7  0x00007fa3fb29bb9d in Nepomuk::MainModel::executeQuery (this=0xbdd120,
query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...)
   at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#8  0x00007fa3fafcd77c in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#9  0x00007fa3fb291fa2 in Nepomuk::ResourceData::load (this=0xc3fc70) at
../../../nepomuk/core/resourcedata.cpp:447
#10 0x00007fa3fb2921b8 in Nepomuk::ResourceData::property (this=0xc3fc70,
uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#11 0x00007fa3fb2acee2 in Nepomuk::Resource::property (this=<value optimized
out>, uri=...) at ../../../nepomuk/core/resource.cpp:280
#12 0x00007fa3fb2af9d0 in Nepomuk::Resource::rating (this=0x7fa3ebb29c80) at
../../../nepomuk/core/resource.cpp:800
#13 0x0000000000465b08 in KLoadMetaDataThread::run (this=0xc142f0) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #234799 Soprano::Iterator<Soprano::BindingSet>::next

#5  0x00007fc44be9af25 in ?? () from /usr/lib/libsopranoclient.so.1
#6  0x00007fc450ba4d0e in Soprano::Iterator<Soprano::BindingSet>::next
(this=0x7fc4393467b0) at /usr/include/Soprano/../soprano/iterator.h:239
#7  0x00007fc450ba19f0 in Nepomuk::ResourceData::load (this=<value optimized
out>) at ../../../nepomuk/core/resourcedata.cpp:419
#8  0x00007fc450ba21b8 in Nepomuk::ResourceData::property (this=0x18d8090,
uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#9  0x00007fc450bbcee2 in Nepomuk::Resource::property (this=<value optimized
out>, uri=...) at ../../../nepomuk/core/resource.cpp:280
#10 0x00007fc450bbf9d0 in Nepomuk::Resource::rating (this=0x7fc439346c80) at
../../../nepomuk/core/resource.cpp:800
#11 0x0000000000465b08 in KLoadMetaDataThread::run (this=0x1841550) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #232698 QBasicAtomicInt::operator!=

#7  0x02ab8a34 in QBasicAtomicInt::operator!=(int) const () from
/home/hunny/kde/lib/libsopranoclient.so.1
#8  0x02ac0bf3 in QList<int>::detach() () from
/home/hunny/kde/lib/libsopranoclient.so.1
#9  0x02ac09cd in QList<int>::append(int const&) () from
/home/hunny/kde/lib/libsopranoclient.so.1
#10 0x02abfaa8 in Soprano::Client::ClientModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/home/hunny/kde/lib/libsopranoclient.so.1
#11 0x02cf92a4 in Nepomuk::MainModel::executeQuery (this=0x9124c80, query=...,
language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...)
    at /home/hunny/kde/src/KDE/kdelibs/nepomuk/core/nepomukmainmodel.cpp:213
#12 0x02d977c9 in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/home/hunny/kde/lib/libsoprano.so.4
#13 0x02ceec5e in Nepomuk::ResourceData::determineUri (this=0x9495f20) at
/home/hunny/kde/src/KDE/kdelibs/nepomuk/core/resourcedata.cpp:671
#14 0x02ced714 in Nepomuk::ResourceData::load (this=0x9495f20) at
/home/hunny/kde/src/KDE/kdelibs/nepomuk/core/resourcedata.cpp:414
#15 0x02cec8f7 in Nepomuk::ResourceData::property (this=0x9495f20, uri=...) at
/home/hunny/kde/src/KDE/kdelibs/nepomuk/core/resourcedata.cpp:271
#16 0x02d0a87d in Nepomuk::Resource::property (this=0xb5503218, uri=...) at
/home/hunny/kde/src/KDE/kdelibs/nepomuk/core/resource.cpp:282
#17 0x02d0b9eb in Nepomuk::Resource::description (this=0xb5503218) at
/home/hunny/kde/src/KDE/kdelibs/nepomuk/core/resource.cpp:525
#18 0x02b9fa68 in KLoadFileMetaDataThread::run (this=0x93fe698) at
/home/hunny/kde/src/KDE/kdelibs/kfile/kloadfilemetadatathread.cpp:100

bug #234690 QMutex::lock, QCoreApplication::postEvent

#6  QMutex::lock (this=0xd00ab859) at thread/qmutex.cpp:150
#7  0x01230634 in QCoreApplication::postEvent (receiver=0xb19af48,
event=0xa049a90, priority=0) at kernel/qcoreapplication.cpp:1113
#8  0x012309ac in QCoreApplication::postEvent (receiver=0xb19af48,
event=0xa049a90) at kernel/qcoreapplication.cpp:1066
#9  0x01242236 in queued_activate (sender=<value optimized out>, signal=<value
optimized out>, c=0x9bb7680, argv=0xb3fb7a2c, semaphore=0x0) at
kernel/qobject.cpp:3173
#10 0x012442b1 in QMetaObject::activate (sender=0x8fdaa58, m=0x1343c48,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3266
#11 0x01293797 in QIODevice::readyRead (this=0x8fdaa58) at
.moc/release-shared/moc_qiodevice.cpp:91
#12 0x013e8df2 in QAbstractSocketPrivate::canReadNotification (this=0xc814538)
at socket/qabstractsocket.cpp:626
#13 0x013e943e in QAbstractSocket::waitForReadyRead (this=0x8fdaa58,
msecs=600000) at socket/qabstractsocket.cpp:1822
#14 0x013f3f12 in QLocalSocket::waitForReadyRead (this=0xb19af48, msecs=600000)
at socket/qlocalsocket_unix.cpp:576
#15 0x00a4d0da in ?? () from /usr/lib/libsopranoclient.so.1
#16 0x00a49a25 in Soprano::Client::LocalSocketClient::connect(QString const&)
() from /usr/lib/libsopranoclient.so.1
#17 0x003028ce in init (this=0x82e4a20, forced=<value optimized out>) at
../../../nepomuk/core/nepomukmainmodel.cpp:101
#18 0x003039d4 in model (this=0x813b700, query=...,
language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at
../../../nepomuk/core/nepomukmainmodel.cpp:112
#19 Nepomuk::MainModel::executeQuery (this=0x813b700, query=...,
language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at
../../../nepomuk/core/nepomukmainmodel.cpp:213
#20 0x005383cd in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#21 0x002f7335 in Nepomuk::ResourceData::determineUri (this=0xb57135d8) at
../../../nepomuk/core/resourcedata.cpp:671
#22 0x002f86a0 in Nepomuk::ResourceData::load (this=0xb57135d8) at
../../../nepomuk/core/resourcedata.cpp:414
#23 0x002f919b in Nepomuk::ResourceData::property (this=0xb57135d8, uri=...) at
../../../nepomuk/core/resourcedata.cpp:271
#24 0x00316cb7 in Nepomuk::Resource::property (this=0xb3fb8294, uri=...) at
../../../nepomuk/core/resource.cpp:280
#25 0x00319d41 in Nepomuk::Resource::rating (this=0xb3fb8294) at
../../../nepomuk/core/resource.cpp:800
#26 0x080aa1e9 in KLoadMetaDataThread::run (this=0xa6a26f8) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #234994 Soprano::Error::ErrorCache::clearError

#5  0x00007ff2b4efd0a2 in Soprano::Error::ErrorCache::clearError() const ()
from /usr/lib/libsoprano.so.4
#6  0x00007ff2b4efd740 in
Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&) const ()
from /usr/lib/libsoprano.so.4
#7  0x00007ff2b04c8a5a in ?? () from /usr/lib/libsopranoclient.so.1
#8  0x00007ff2b51dab9d in Nepomuk::MainModel::executeQuery (this=0x279a4e0,
query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...)
    at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#9  0x00007ff2b4f0c77c in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#10 0x00007ff2b51cf635 in Nepomuk::ResourceData::determineUri (this=0x2f8fb60)
at ../../../nepomuk/core/resourcedata.cpp:671
#11 0x00007ff2b51d0802 in Nepomuk::ResourceData::load (this=0x2f8fb60) at
../../../nepomuk/core/resourcedata.cpp:414
#12 0x00007ff2b51d11b8 in Nepomuk::ResourceData::property (this=0x2f8fb60,
uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#13 0x00007ff2b51ebee2 in Nepomuk::Resource::property (this=<value optimized
out>, uri=...) at ../../../nepomuk/core/resource.cpp:280
#14 0x00007ff2b51ee9d0 in Nepomuk::Resource::rating (this=0x7ff2949dfc80) at
../../../nepomuk/core/resource.cpp:800
#15 0x0000000000465b08 in KLoadMetaDataThread::run (this=0x2bba110) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #235365 QBasicAtomicInt::fetchAndAddOrdered

#6  0x0151301b in QBasicAtomicInt::fetchAndAddOrdered (this=0xb58095c0) at
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:163
#7  QBasicAtomicInt::fetchAndAddAcquire (this=0xb58095c0) at
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:296
#8  QMutex::lock (this=0xb58095c0) at thread/qmutex.cpp:158
#9  0x0097a000 in ?? () from /usr/lib/libsopranoclient.so.1
#10 0x00a93a30 in Nepomuk::MainModel::executeQuery (this=0x958ca20, query=...,
language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at
../../../nepomuk/core/nepomukmainmodel.cpp:213
#11 0x004b63cd in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#12 0x00a87335 in Nepomuk::ResourceData::determineUri (this=0xb5811920) at
../../../nepomuk/core/resourcedata.cpp:671
#13 0x00a886a0 in Nepomuk::ResourceData::load (this=0xb5811920) at
../../../nepomuk/core/resourcedata.cpp:414
#14 0x00a8919b in Nepomuk::ResourceData::property (this=0xb5811920, uri=...) at
../../../nepomuk/core/resourcedata.cpp:271
#15 0x00aa6cb7 in Nepomuk::Resource::property (this=0xb262a294, uri=...) at
../../../nepomuk/core/resource.cpp:280
#16 0x00aa9d41 in Nepomuk::Resource::rating (this=0xb262a294) at
../../../nepomuk/core/resource.cpp:800
#17 0x080aa1e9 in KLoadMetaDataThread::run (this=0x9872250) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #235435 Soprano::QueryResultIterator::binding

#5  0x00007f3139245e12 in ?? () from /usr/lib/libsopranoclient.so.1
#6  0x00007f3139245a22 in ?? () from /usr/lib/libsopranoclient.so.1
#7  0x00007f313dc66c17 in Soprano::QueryResultIterator::binding(QString const&)
const () from /usr/lib/libsoprano.so.4
#8  0x00007f313dc66dd9 in Soprano::QueryResultIterator::operator[](QString)
const () from /usr/lib/libsoprano.so.4
#9  0x00007f313df4ca21 in Nepomuk::ResourceData::load (this=<value optimized
out>) at ../../../nepomuk/core/resourcedata.cpp:420
#10 0x00007f313df4d1b8 in Nepomuk::ResourceData::property (this=0x7f3128108db0,
uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#11 0x00007f313df67ee2 in Nepomuk::Resource::property (this=<value optimized
out>, uri=...) at ../../../nepomuk/core/resource.cpp:280
#12 0x00007f313df6a9d0 in Nepomuk::Resource::rating (this=0x7f312c9e5c80) at
../../../nepomuk/core/resource.cpp:800
#13 0x0000000000465c1d in KLoadMetaDataThread::run (this=0x22137a0) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:92

bug #235692 QThreadStorageData::get

#5  QThreadStorageData::get (this=0x12) at thread/qthreadstorage.cpp:110
#6  0x00007f8398b115e3 in ?? () from /usr/lib/libsopranoclient.so.1
#7  0x00007f839d826ac4 in init (this=0x16daed0, forced=192) at
../../../nepomuk/core/nepomukmainmodel.cpp:96
#8  0x00007f839d827bc2 in model (this=0x16daa20, query=..., language=<value
optimized out>, userQueryLanguage=<value optimized out>) at
../../../nepomuk/core/nepomukmainmodel.cpp:112
#9  Nepomuk::MainModel::executeQuery (this=0x16daa20, query=...,
language=<value optimized out>, userQueryLanguage=<value optimized out>) at
../../../nepomuk/core/nepomukmainmodel.cpp:214
#10 0x00007f839d55977c in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#11 0x00007f839d81c635 in Nepomuk::ResourceData::determineUri
(this=0x7f8388011450) at ../../../nepomuk/core/resourcedata.cpp:671
#12 0x00007f839d81d802 in Nepomuk::ResourceData::load (this=0x7f8388011450) at
../../../nepomuk/core/resourcedata.cpp:414
#13 0x00007f839d81e1b8 in Nepomuk::ResourceData::property (this=0x7f8388011450,
uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#14 0x00007f839d838ee2 in Nepomuk::Resource::property (this=<value optimized
out>, uri=...) at ../../../nepomuk/core/resource.cpp:280
#15 0x00007f839d83b9d0 in Nepomuk::Resource::rating (this=0x7f838d3bac80) at
../../../nepomuk/core/resource.cpp:800
#16 0x0000000000465b08 in KLoadMetaDataThread::run (this=0x18a6c60) at
../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95

bug #236505 operator new, QMutex::QMutex, Private, Soprano::Error::ErrorCache::ErrorCache

#7  0xb5a3f20f in raise () from /lib/libc.so.6
#8  0xb5a40b27 in abort () from /lib/libc.so.6
#9  0xb5a7bc55 in __libc_message () from /lib/libc.so.6
#10 0xb5a81c8b in malloc_printerr () from /lib/libc.so.6
#11 0xb5a85002 in _int_malloc () from /lib/libc.so.6
#12 0xb5a8694a in malloc () from /lib/libc.so.6
#13 0xb5c52525 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#14 0xb6788d02 in QMutex::QMutex(QMutex::RecursionMode) () from
/usr/lib/libQtCore.so.4
#15 0xb7428c00 in Private (this=<value optimized out>) at
/usr/src/debug/soprano-2.4.2/soprano/error.cpp:187
#16 Soprano::Error::ErrorCache::ErrorCache (this=<value optimized out>) at
/usr/src/debug/soprano-2.4.2/soprano/error.cpp:195
#17 0xb56bfeb2 in Soprano::DataStream::DataStream (this=0xaf560c04,
dev=0x887f130) at /usr/src/debug/soprano-2.4.2/server/datastream.cpp:36
#18 0xb56c8096 in Soprano::Client::ClientConnection::checkProtocolVersion
(this=0x817c978) at
/usr/src/debug/soprano-2.4.2/client/clientconnection.cpp:728
#19 0xb56c4c3d in Soprano::Client::LocalSocketClient::connect (this=0x832a80c,
name=...) at /usr/src/debug/soprano-2.4.2/client/localsocketclient.cpp:140
#20 0xb750b586 in (anonymous namespace)::GlobalModelContainer::init
(this=0x832a7f8, forced=false) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/nepomukmainmodel.cpp:101
#21 0xb7519b1d in model (this=<value optimized out>) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/nepomukmainmodel.cpp:112
#22 Nepomuk::MainModel::executeQuery (this=<value optimized out>) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/nepomukmainmodel.cpp:213
#23 0xb743b54f in Soprano::FilterModel::executeQuery (this=0x8101850,
query=..., language=3413, userQueryLanguage=...) at
/usr/src/debug/soprano-2.4.2/soprano/filtermodel.cpp:164
#24 0xb750f1b0 in Nepomuk::ResourceData::determineUri (this=0x833acf0) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/resourcedata.cpp:671
#25 0xb752871e in Nepomuk::ResourceData::load (this=0x833acf0) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/resourcedata.cpp:414
#26 0xb7529178 in Nepomuk::ResourceData::property (this=0x833acf0, uri=...) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/resourcedata.cpp:271
#27 0xb7529269 in Nepomuk::Resource::property (this=0xaf5612b4, uri=...) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/resource.cpp:280
#28 0xb752949d in Nepomuk::Resource::rating (this=0xaf5612b4) at
/usr/src/debug/kdelibs-4.4.2/nepomuk/core/resource.cpp:800

Crashes in the main thread

bug #235770 QMutex::lock (in main thread)

#5  0x00007f6d49fb68dc in QMutex::lock (this=0x7f6d2c015c50) at
thread/qmutex.cpp:150
#6  0x00007f6d47d2fadd in ?? () from /usr/lib/libsopranoclient.so.1
#7  0x00007f6d4ca41b9d in Nepomuk::MainModel::executeQuery (this=0x2821d30,
query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...)
    at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#8  0x00007f6d4c77377c in Soprano::FilterModel::executeQuery(QString const&,
Soprano::Query::QueryLanguage, QString const&) const () from
/usr/lib/libsoprano.so.4
#9  0x00007f6d4ca36635 in Nepomuk::ResourceData::determineUri
(this=0x7f6d2d471180) at ../../../nepomuk/core/resourcedata.cpp:671
#10 0x00007f6d4ca387b7 in Nepomuk::ResourceData::store (this=0x7f6d2d471180) at
../../../nepomuk/core/resourcedata.cpp:308
#11 0x00007f6d4ca393b0 in Nepomuk::ResourceData::setProperty
(this=0x7f6d2d471180, uri=..., value=...) at
../../../nepomuk/core/resourcedata.cpp:473
#12 0x000000000046678b in Nepomuk::MassUpdateJob::slotNext (this=0x33c18e0) at
../../../../apps/dolphin/src/panels/information/nepomukmassupdatejob.cpp:104
#13 0x0000000000466830 in Nepomuk::MassUpdateJob::qt_metacall (this=0x33c18e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>)
    at ./nepomukmassupdatejob_p.moc:72
#14 0x00007f6d4a0c2e3f in QMetaObject::activate (sender=0x33c1910, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#15 0x00007f6d4a0bfa63 in QObject::event (this=0x33c1910, e=0x7fff84f0fc40) at
kernel/qobject.cpp:1212
#16 0x00007f6d4ac9d22c in QApplicationPrivate::notify_helper (this=0x1794a40,
receiver=0x33c1910, e=0x7fff84f0fc40) at kernel/qapplication.cpp:4300
#17 0x00007f6d4aca36fb in QApplication::notify (this=0x7fff84f0ff90,
receiver=0x33c1910, e=0x7fff84f0fc40) at kernel/qapplication.cpp:4183
#18 0x00007f6d4b9a8526 in KApplication::notify (this=0x7fff84f0ff90,
receiver=0x33c1910, event=0x7fff84f0fc40) at
../../kdeui/kernel/kapplication.cpp:302
#19 0x00007f6d4a0b006c in QCoreApplication::notifyInternal
(this=0x7fff84f0ff90, receiver=0x33c1910, event=0x7fff84f0fc40) at
kernel/qcoreapplication.cpp:704
#20 0x00007f6d4a0dcd42 in QCoreApplication::sendEvent (this=0x17998a0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x17998a0) at
kernel/qeventdispatcher_unix.cpp:603
#22 0x00007f6d4a0d9848 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:231
#24 0x00007f6d45da88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f6d45dac748 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f6d45dac8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#27 0x00007f6d4a0d9513 in QEventDispatcherGlib::processEvents (this=0x176d770,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007f6d4ad4d46e in QGuiEventDispatcherGlib::processEvents
(this=0x7f6d2c015c50, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f6d4a0ae992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f6d4a0aed6c in QEventLoop::exec (this=0x7fff84f0fee0, flags=) at
kernel/qeventloop.cpp:201
#31 0x00007f6d4a0b2aab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#32 0x000000000043b1c5 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../../apps/dolphin/src/main.cpp:101