Bug 291628 - Crash on sesssion restauration
Summary: Crash on sesssion restauration
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 296974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-16 06:54 UTC by m.wege
Modified: 2012-07-31 18:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.36 KB, text/plain)
2012-05-30 21:28 UTC, Alexey Chernov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2012-01-16 06:54:41 UTC
Application: gwenview (2.8.0)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-9-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: Crash happened on sesssion restauration, I believe the picture was not available anymore.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4fb71677a0 (LWP 5703))]

Thread 4 (Thread 0x7f4fb243e700 (LWP 7098)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c5044f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003e36997f3e in QEventDispatcherGlib::processEvents (this=0xb3c550, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003e3696bef7 in QEventLoop::exec (this=0x7f4fb243ddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003e3688327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003e3694ecbf in QInotifyFileSystemWatcherEngine::run (this=0xb083d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003e36885d05 in QThreadPrivate::start (arg=0xb083d0) at thread/qthread_unix.cpp:331
#9  0x00000030c2407efc in start_thread (arg=0x7f4fb243e700) at pthread_create.c:304
#10 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4fb0e4d700 (LWP 7798)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c5044f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003e36997f3e in QEventDispatcherGlib::processEvents (this=0x7f4fac0008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003e3696bef7 in QEventLoop::exec (this=0x7f4fb0e4cdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003e3688327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003e3694ecbf in QInotifyFileSystemWatcherEngine::run (this=0xec14e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003e36885d05 in QThreadPrivate::start (arg=0xec14e0) at thread/qthread_unix.cpp:331
#9  0x00000030c2407efc in start_thread (arg=0x7f4fb0e4d700) at pthread_create.c:304
#10 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4faaefa700 (LWP 7821)):
[KCrash Handler]
#6  0x0000003e3688123c in QMutex::lock (this=0x96d608) at thread/qmutex.cpp:151
#7  0x0000003e3a650432 in QMutexLocker (m=<optimized out>, this=0x7f4faaef94b0) at /usr/include/qt4/QtCore/qmutex.h:102
#8  Soprano::Error::ErrorCache::clearError (this=0xa70e90) at ../../soprano/error.cpp:238
#9  0x0000003e3a6509e8 in Soprano::Error::ErrorCache::setError (this=0xa70e90, error=...) at ../../soprano/error.cpp:225
#10 0x0000003e3b03985c in Soprano::Client::DBusModel::executeQuery (this=0xa70e80, query=<optimized out>, language=<optimized out>, userQueryLanguage=<optimized out>) at ../../client/dbus/dbusmodel.cpp:112
#11 0x0000003e39e537e2 in Nepomuk::MainModel::executeQuery (this=0xa8c800, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#12 0x0000003e3a65fbd7 in Soprano::FilterModel::executeQuery (this=0xa8b460, query=..., language=<optimized out>, userQueryLanguage=<optimized out>) at ../../soprano/filtermodel.cpp:164
#13 0x0000003e39e43da7 in Nepomuk::ResourceData::load (this=0x110cff0) at ../../nepomuk/core/resourcedata.cpp:381
#14 0x0000003e39e4458c in Nepomuk::ResourceData::property (this=0x110cff0, uri=...) at ../../nepomuk/core/resourcedata.cpp:240
#15 0x0000003e39e57f73 in Nepomuk::Resource::property (this=0x7f4faaef9cf0, uri=...) at ../../nepomuk/core/resource.cpp:301
#16 0x0000003e39e5a4c9 in Nepomuk::Resource::rating (this=0x7f4faaef9cf0) at ../../nepomuk/core/resource.cpp:824
#17 0x0000003e3b4d4271 in Gwenview::RetrieveTask::execute (this=0xf17430) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:69
#18 0x0000003e3b4d3bc8 in Gwenview::SemanticInfoThread::run (this=0xa8ae60) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:152
#19 0x0000003e36885d05 in QThreadPrivate::start (arg=0xa8ae60) at thread/qthread_unix.cpp:331
#20 0x00000030c2407efc in start_thread (arg=0x7f4faaefa700) at pthread_create.c:304
#21 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4fb71677a0 (LWP 5703)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c8c23db0 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#2  0x00000030c8c22c9d in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#3  0x00000030c8c0dbe5 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#4  0x00000030c8c0f04d in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#5  0x00000030c8c0e504 in dbus_connection_send_with_reply_and_block () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#6  0x0000003e36e26e1a in q_dbus_connection_send_with_reply_and_block (error=0x7fffeb27a090, timeout_milliseconds=-1, message=0x7f4fac010580, connection=<optimized out>) at qdbus_symbols_p.h:135
#7  QDBusConnectionPrivate::sendWithReply (this=0x982900, message=..., sendMode=<optimized out>, timeout=-1) at qdbusintegrator.cpp:1866
#8  0x0000003e36e1557b in QDBusConnection::call (this=0xa8cf50, message=<optimized out>, mode=<optimized out>, timeout=<optimized out>) at qdbusconnection.cpp:529
#9  0x0000003e36e33621 in QDBusAbstractInterface::callWithArgumentList (this=0xa8cea0, mode=QDBus::Block, method=<optimized out>, args=...) at qdbusabstractinterface.cpp:444
#10 0x0000003e3b036e2e in createModel (name=<optimized out>, this=0xa8cea0) at ../../client/dbus/dbusserverinterface.h:57
#11 Soprano::Client::DBusClient::createModel (this=0xa8cc40, name=<optimized out>, settings=<optimized out>) at ../../client/dbus/dbusclient.cpp:69
#12 0x0000003e39e5097f in init (forced=true, this=0xa8cc40) at ../../nepomuk/core/nepomukmainmodel.cpp:92
#13 Nepomuk::MainModel::init (this=0xa8c800) at ../../nepomuk/core/nepomukmainmodel.cpp:176
#14 0x0000003e39e47dc7 in Nepomuk::ResourceManager::init (this=0xae8b20) at ../../nepomuk/core/resourcemanager.cpp:331
#15 0x0000003e39e4ae75 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0xa8ad20, success=<optimized out>) at ../../nepomuk/core/resourcemanager.cpp:221
#16 0x0000003e39e4af75 in Nepomuk::ResourceManager::qt_metacall (this=0xae8b20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb27a960) at ./resourcemanager.moc:90
#17 0x0000003e36e230e9 in QDBusConnectionPrivate::deliverCall (this=0x982900, object=0xae8b20, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#18 0x0000003e36e2c38f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#19 0x0000003e36983a5e in QObject::event (this=0xae8b20, e=<optimized out>) at kernel/qobject.cpp:1217
#20 0x0000003e37dfc474 in notify_helper (e=0x134ecb0, receiver=0xae8b20, this=0x8f6ee0) at kernel/qapplication.cpp:4486
#21 QApplicationPrivate::notify_helper (this=0x8f6ee0, receiver=0xae8b20, e=0x134ecb0) at kernel/qapplication.cpp:4458
#22 0x0000003e37e012e1 in QApplication::notify (this=0x7fffeb27b220, receiver=0xae8b20, e=0x134ecb0) at kernel/qapplication.cpp:4365
#23 0x0000003e38c31ae6 in KApplication::notify (this=0x7fffeb27b220, receiver=0xae8b20, event=0x134ecb0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x0000003e3696cafc in QCoreApplication::notifyInternal (this=0x7fffeb27b220, receiver=0xae8b20, event=0x134ecb0) at kernel/qcoreapplication.cpp:787
#25 0x0000003e3697051f in sendEvent (event=0x134ecb0, receiver=0xae8b20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d15e0) at kernel/qcoreapplication.cpp:1428
#27 0x0000003e36997a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00000030c5044a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00000030c5045258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x0000003e36997ed6 in QEventDispatcherGlib::processEvents (this=0x8d2cd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x0000003e37ea410e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x0000003e3696bef7 in QEventLoop::exec (this=0x7fffeb27b180, flags=...) at kernel/qeventloop.cpp:201
#36 0x0000003e36970789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x0000000000426875 in main (argc=3, argv=0x7fffeb27b548) at ../../app/main.cpp:142

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-29 03:13:28 UTC
*** Bug 296974 has been marked as a duplicate of this bug. ***
Comment 2 Alexey Chernov 2012-05-30 21:28:17 UTC
Created attachment 71447 [details]
New crash information added by DrKonqi

gwenview (2.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

Gwenview suddenly crashed some time after KDE startup obviously on restoring its session.

-- Backtrace (Reduced):
#6  QMutex::lock (this=0x65007200637a08) at thread/qmutex.cpp:150
#7  0x00007f5cb70c7e4a in Soprano::Error::ErrorCache::clearError() const () from /usr/lib/libsoprano.so.4
#8  0x00007f5cb70c8560 in Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&) const () from /usr/lib/libsoprano.so.4
#9  0x00007f5caf3db127 in Soprano::Client::DBusModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsopranoclient.so.1
#10 0x00007f5cb647c2e9 in Nepomuk::MainModel::executeQuery (this=0xa428b0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/nepomuk/core/nepomukmainmodel.cpp:212
Comment 3 Vishesh Handa 2012-07-31 18:34:49 UTC
The relevant code no longer exists. We no longer use dbus for connecting clients to the nepomuk storage process.

FIXED IN: 4.9