Bug 292388 - Nepomuk/Soprano crashes after upgrading to soprano 2.7.4
Summary: Nepomuk/Soprano crashes after upgrading to soprano 2.7.4
Status: RESOLVED DUPLICATE of bug 294039
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:
Depends on:
Blocks:
 
Reported: 2012-01-25 12:30 UTC by Frederik Gladhorn
Modified: 2012-05-26 01:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Gladhorn 2012-01-25 12:30:27 UTC
Application: kontact (4.7.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Basically any app, especially akonadi calendar and mail related crashes.

I think this is due to upgrading the soprano version as mentioned here:
https://bugs.kde.org/show_bug.cgi?id=291001

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd9f56c37a0 (LWP 18857))]

Thread 4 (Thread 0x7fd9db5d3700 (LWP 18858)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd9f1f28c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd9f1f28d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd9ed320efc in start_thread (arg=0x7fd9db5d3700) at pthread_create.c:304
#4  0x00007fd9f2c3689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd9dacba700 (LWP 18859)):
#0  0x00007fd9ecb08045 in __GI_clock_gettime (clock_id=1, tp=0x7fd9dacb9b70) at ../sysdeps/unix/clock_gettime.c:94
#1  0x00007fd9f3fb1074 in do_gettime (frac=0x7fd9dacb9b88, sec=0x7fd9dacb9b80) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007fd9f40736ed in QTimerInfoList::updateCurrentTime (this=0xe32e60) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fd9f4073a33 in QTimerInfoList::timerWait (this=0xe32e60, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007fd9f407244c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd9dacb9c4c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fd9ec851ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd9ec852dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd9ec853429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd9f4072f3e in QEventDispatcherGlib::processEvents (this=0xe32190, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00007fd9f4046cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007fd9f4046ef7 in QEventLoop::exec (this=0x7fd9dacb9de0, flags=...) at kernel/qeventloop.cpp:201
#12 0x00007fd9f3f5e27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#13 0x00007fd9f3f60d05 in QThreadPrivate::start (arg=0xe82040) at thread/qthread_unix.cpp:331
#14 0x00007fd9ed320efc in start_thread (arg=0x7fd9dacba700) at pthread_create.c:304
#15 0x00007fd9f2c3689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd98f832700 (LWP 18879)):
#0  0x00007fd9f2c2a773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd9ec852f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9ec853429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9f4072f3e in QEventDispatcherGlib::processEvents (this=0x13c2810, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd9f4046cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd9f4046ef7 in QEventLoop::exec (this=0x7fd98f831db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd9f3f5e27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fd9f4029cbf in QInotifyFileSystemWatcherEngine::run (this=0x1664530) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd9f3f60d05 in QThreadPrivate::start (arg=0x1664530) at thread/qthread_unix.cpp:331
#9  0x00007fd9ed320efc in start_thread (arg=0x7fd98f832700) at pthread_create.c:304
#10 0x00007fd9f2c3689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd9f56c37a0 (LWP 18857)):
[KCrash Handler]
#6  __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1627
#7  0x00007fd9e6e9c03f in node_copy (src=0x7fd647c20b88, to=<optimized out>, from=<optimized out>, this=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
#8  detach_helper (alloc=<optimized out>, this=0x1166ba0) at /usr/include/qt4/QtCore/qlist.h:698
#9  QList<QIODevice*>::detach_helper (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:712
#10 0x00007fd9e6e9bcfb in detachShared (this=0x1166ba0) at /usr/include/qt4/QtCore/qlist.h:132
#11 removeAll (_t=@0x12a7428, this=0x1166ba0) at /usr/include/qt4/QtCore/qlist.h:760
#12 Soprano::Client::SocketHandler::~SocketHandler (this=0x12a7410, __in_chrg=<optimized out>) at ../../client/clientconnection.cpp:59
#13 0x00007fd9e6e9bdf9 in Soprano::Client::SocketHandler::~SocketHandler (this=0x12a7410, __in_chrg=<optimized out>) at ../../client/clientconnection.cpp:61
#14 0x00007fd9f3f5f107 in QThreadStorageData::set (this=0x1c74000, p=0x2316a70) at thread/qthreadstorage.cpp:165
#15 0x00007fd9e6e997bf in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=<optimized out>, t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#16 setLocalData (t=0x2316a70, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:148
#17 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x22ca970) at ../../client/clientconnection.cpp:95
#18 0x00007fd9e6e99829 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at ../../client/clientconnection.cpp:800
#19 0x00007fd9e6e98eaa in Soprano::Client::LocalSocketClient::connect (this=0x12a5598, name=...) at ../../client/localsocketclient.cpp:141
#20 0x00007fd9eb610569 in init (forced=true, this=0x12a5570) at ../../nepomuk/core/nepomukmainmodel.cpp:102
#21 Nepomuk::MainModel::init (this=0x12872a0) at ../../nepomuk/core/nepomukmainmodel.cpp:176
#22 0x00007fd9eb607787 in Nepomuk::ResourceManager::init (this=0x113ea80) at ../../nepomuk/core/resourcemanager.cpp:331
#23 0x00007fd9eb60a835 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x129f590, success=<optimized out>) at ../../nepomuk/core/resourcemanager.cpp:221
#24 0x00007fd9eb60a935 in Nepomuk::ResourceManager::qt_metacall (this=0x113ea80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb4a6db30) at ./resourcemanager.moc:90
#25 0x00007fd9efd7b0e9 in QDBusConnectionPrivate::deliverCall (this=0xc98e10, object=0x113ea80, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#26 0x00007fd9efd8438f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#27 0x00007fd9f405ea5e in QObject::event (this=0x113ea80, e=<optimized out>) at kernel/qobject.cpp:1217
#28 0x00007fd9f33f7474 in notify_helper (e=0x2371320, receiver=0x113ea80, this=0xcada90) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0xcada90, receiver=0x113ea80, e=0x2371320) at kernel/qapplication.cpp:4458
#30 0x00007fd9f33fc2e1 in QApplication::notify (this=0x7fffb4a6e3c0, receiver=0x113ea80, e=0x2371320) at kernel/qapplication.cpp:4365
#31 0x00007fd9f4a7d466 in KApplication::notify (this=0x7fffb4a6e3c0, receiver=0x113ea80, event=0x2371320) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fd9f4047afc in QCoreApplication::notifyInternal (this=0x7fffb4a6e3c0, receiver=0x113ea80, event=0x2371320) at kernel/qcoreapplication.cpp:787
#33 0x00007fd9f404b51f in sendEvent (event=0x2371320, receiver=0x113ea80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc778e0) at kernel/qcoreapplication.cpp:1428
#35 0x00007fd9f4072a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007fd9ec852a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fd9ec853258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fd9ec853429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd9f4072ed6 in QEventDispatcherGlib::processEvents (this=0xc78fd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007fd9f349f10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fd9f4046cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fd9f4046ef7 in QEventLoop::exec (this=0x7fffb4a6e350, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007fd9f404b789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#45 0x0000000000403629 in main (argc=1, argv=0x7fffb4a6e9e8) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Frederik Gladhorn 2012-01-26 12:54:39 UTC
I have another crash with a similar bt, maybe that helps:

Application: Akonadi Nepomuk Feeder (akonadi_nepomuk_feeder), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f672e9e623c in QMutex::lock (this=0xd69388) at thread/qmutex.cpp:151
#7  0x00007f6729227ccd in QMutexLocker (m=0xd69388, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:102
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0xd909b0, __in_chrg=<optimized out>) at ../../client/clientconnection.cpp:58
#9  0x00007f6729227df9 in Soprano::Client::SocketHandler::~SocketHandler (this=0xd909b0, __in_chrg=<optimized out>) at ../../client/clientconnection.cpp:61
#10 0x00007f672e9e9107 in QThreadStorageData::set (this=0xe76380, p=0xf5cfe0) at thread/qthreadstorage.cpp:165
#11 0x00007f67292257bf in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=<optimized out>, t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0xf5cfe0, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:148
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=0xe6a9b0) at ../../client/clientconnection.cpp:95
#14 0x00007f6729225829 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at ../../client/clientconnection.cpp:800
#15 0x00007f6729224eaa in Soprano::Client::LocalSocketClient::connect (this=0xd2ab68, name=...) at ../../client/localsocketclient.cpp:141
#16 0x00007f672e6e7ba9 in init (forced=true, this=0xd2ab40) at ../../nepomuk/core/nepomukmainmodel.cpp:102
#17 Nepomuk::MainModel::init (this=0xd2d2a0) at ../../nepomuk/core/nepomukmainmodel.cpp:176
#18 0x00007f672e6dedc7 in Nepomuk::ResourceManager::init (this=0xd2eed0) at ../../nepomuk/core/resourcemanager.cpp:331
#19 0x00007f672e6e1e75 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0xd31fa0, success=<optimized out>) at ../../nepomuk/core/resourcemanager.cpp:221
#20 0x00007f672e6e1f75 in Nepomuk::ResourceManager::qt_metacall (this=0xd2eed0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffbf5460d0) at ./resourcemanager.moc:90
#21 0x00007f672d9750e9 in QDBusConnectionPrivate::deliverCall (this=0xbbd1d0, object=0xd2eed0, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#22 0x00007f672d97e38f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#23 0x00007f672eae8a5e in QObject::event (this=0xd2eed0, e=<optimized out>) at kernel/qobject.cpp:1217
#24 0x00007f672c714474 in notify_helper (e=0xf3bc20, receiver=0xd2eed0, this=0xb5a470) at kernel/qapplication.cpp:4486
#25 QApplicationPrivate::notify_helper (this=0xb5a470, receiver=0xd2eed0, e=0xf3bc20) at kernel/qapplication.cpp:4458
#26 0x00007f672c7192e1 in QApplication::notify (this=0x7fffbf546970, receiver=0xd2eed0, e=0xf3bc20) at kernel/qapplication.cpp:4365
#27 0x00007f672f95fae6 in KApplication::notify (this=0x7fffbf546970, receiver=0xd2eed0, event=0xf3bc20) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f672ead1afc in QCoreApplication::notifyInternal (this=0x7fffbf546970, receiver=0xd2eed0, event=0xf3bc20) at kernel/qcoreapplication.cpp:787
#29 0x00007f672ead551f in sendEvent (event=0xf3bc20, receiver=0xd2eed0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb37b60) at kernel/qcoreapplication.cpp:1428
#31 0x00007f672eafca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007f67294a7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f67294a8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f67294a8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f672eafced6 in QEventDispatcherGlib::processEvents (this=0xb39a30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f672c7bc10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f672ead0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f672ead0ef7 in QEventLoop::exec (this=0x7fffbf5468f0, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f672ead5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#41 0x00007f672ee87826 in Akonadi::AgentBase::init (r=0xd19870) at ../../akonadi/agentbase.cpp:564
#42 0x000000000040ad76 in int Akonadi::AgentBase::init<Akonadi::NepomukFeederAgent>(int, char**) ()
#43 0x00007f672dbec30d in __libc_start_main (main=0x406e40, argc=3, ubp_av=0x7fffbf546a88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbf546a78) at libc-start.c:226
#44 0x0000000000406e71 in _start ()
Comment 2 Frederik Gladhorn 2012-01-26 13:58:55 UTC
Downgrading to libsoprano + soprano-daemon 2.7.0 fixes this issue.
Comment 3 Vishesh Handa 2012-05-26 01:53:12 UTC
Really downgrading fixed the issue? The code hasn't changed at all between those 2 versions.

Weird.

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