Bug 286546 - Nepomuk crashes on startup when Strigi is enabled
Summary: Nepomuk crashes on startup when Strigi is enabled
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: fileindexer (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 01:01 UTC by Robert Forsyth
Modified: 2012-07-24 02:22 UTC (History)
4 users (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 Robert Forsyth 2011-11-14 01:01:11 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.3 (4.7.3) "release 10"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-3-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
login after logout (with Strigi enabled)
also crashes if you disable Nepomuk with strigi enabled

Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4a110d4760 (LWP 30013))]

Thread 2 (Thread 0x7f4a018cc700 (LWP 30018)):
#0  0x00007f4a0e56d4f3 in poll () from /lib64/libc.so.6
#1  0x00007f4a0d9cd114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f4a0d9cd650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f4a10bf6636 in QEventDispatcherGlib::processEvents (this=0x7f49fc0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4a10bcac22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4a10bcae35 in QEventLoop::exec (this=0x7f4a018cbe20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4a10adfbe4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#7  0x00007f4a10ae24d5 in QThreadPrivate::start (arg=0x8575e0) at thread/qthread_unix.cpp:331
#8  0x00007f4a10851a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f4a0e57666d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a110d4760 (LWP 30013)):
[KCrash Handler]
#6  Private (this=0x7fff3c8abd10, p=...) at kernel/qvariant.h:360
#7  QVariant::QVariant (this=0x7fff3c8abd10, p=...) at kernel/qvariant.cpp:1419
#8  0x00007f4a1062eb47 in QDBusPendingReplyData::argumentAt (this=0x7fff3c8abe40, index=0) at qdbuspendingreply.cpp:270
#9  0x00007f4a07cbf0a0 in ?? () from /usr/lib64/libsolid.so.4
#10 0x00007f4a07cbfd6e in Solid::PowerManagement::notifier() () from /usr/lib64/libsolid.so.4
#11 0x00007f4a023f86e1 in Nepomuk::EventMonitor::EventMonitor (this=0x8673c0, scheduler=<value optimized out>, parent=<value optimized out>) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/services/strigi/eventmonitor.cpp:51
#12 0x00007f4a023ed385 in Nepomuk::StrigiService::StrigiService (this=0x762470, parent=<value optimized out>) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/services/strigi/strigiservice.cpp:54
#13 0x00007f4a023eeac7 in KPluginFactory::createInstance<Nepomuk::StrigiService, QObject> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#14 0x00007f4a1031dda3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/libkdecore.so.5
#15 0x0000000000404cb7 in create<Nepomuk::Service> (this=0x796390) at /usr/include/kpluginfactory.h:531
#16 createInstance<Nepomuk::Service> (this=0x796390) at /usr/include/kservice.h:557
#17 createInstance<Nepomuk::Service> (this=0x796390) at /usr/include/kservice.h:534
#18 Nepomuk::ServiceControl::start (this=0x796390) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/servicestub/servicecontrol.cpp:79
#19 0x0000000000404fd4 in Nepomuk::ServiceControl::qt_metacall (this=0x796390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x6e73f0) at /usr/src/debug/kde-runtime-4.7.3/build/nepomuk/servicestub/servicecontrol.moc:82
#20 0x00007f4a10bdf7aa in QObject::event (this=0x796390, e=<value optimized out>) at kernel/qobject.cpp:1226
#21 0x00007f4a0ece6264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f4a0ecee81a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f4a0fcceae6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007f4a10bcb7cc in QCoreApplication::notifyInternal (this=0x7fff3c8ace80, receiver=0x796390, event=0x701970) at kernel/qcoreapplication.cpp:787
#25 0x00007f4a10bcefc5 in sendEvent (receiver=0x0, event_type=0, data=0x60e800) at kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60e800) at kernel/qcoreapplication.cpp:1428
#27 0x00007f4a10bf6443 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f4a0d9ccbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f4a0d9cd3b0 in ?? () from /lib64/libglib-2.0.so.0
#31 0x00007f4a0d9cd650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f4a10bf65df in QEventDispatcherGlib::processEvents (this=0x60e430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f4a0ed8c1ae in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007f4a10bcac22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f4a10bcae35 in QEventLoop::exec (this=0x7fff3c8acc50, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f4a10bcf27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x0000000000404039 in main (argc=42, argv=0x7fff3c8ad2c8) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/servicestub/main.cpp:170

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4a110d4760 (LWP 30013))]

Thread 2 (Thread 0x7f4a018cc700 (LWP 30018)):
#0  0x00007f4a0e56d4f3 in poll () from /lib64/libc.so.6
#1  0x00007f4a0d9cd114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f4a0d9cd650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f4a10bf6636 in QEventDispatcherGlib::processEvents (this=0x7f49fc0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4a10bcac22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4a10bcae35 in QEventLoop::exec (this=0x7f4a018cbe20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4a10adfbe4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#7  0x00007f4a10ae24d5 in QThreadPrivate::start (arg=0x8575e0) at thread/qthread_unix.cpp:331
#8  0x00007f4a10851a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f4a0e57666d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a110d4760 (LWP 30013)):
[KCrash Handler]
#6  Private (this=0x7fff3c8abd10, p=...) at kernel/qvariant.h:360
#7  QVariant::QVariant (this=0x7fff3c8abd10, p=...) at kernel/qvariant.cpp:1419
#8  0x00007f4a1062eb47 in QDBusPendingReplyData::argumentAt (this=0x7fff3c8abe40, index=0) at qdbuspendingreply.cpp:270
#9  0x00007f4a07cbf0a0 in ?? () from /usr/lib64/libsolid.so.4
#10 0x00007f4a07cbfd6e in Solid::PowerManagement::notifier() () from /usr/lib64/libsolid.so.4
#11 0x00007f4a023f86e1 in Nepomuk::EventMonitor::EventMonitor (this=0x8673c0, scheduler=<value optimized out>, parent=<value optimized out>) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/services/strigi/eventmonitor.cpp:51
#12 0x00007f4a023ed385 in Nepomuk::StrigiService::StrigiService (this=0x762470, parent=<value optimized out>) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/services/strigi/strigiservice.cpp:54
#13 0x00007f4a023eeac7 in KPluginFactory::createInstance<Nepomuk::StrigiService, QObject> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#14 0x00007f4a1031dda3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/libkdecore.so.5
#15 0x0000000000404cb7 in create<Nepomuk::Service> (this=0x796390) at /usr/include/kpluginfactory.h:531
#16 createInstance<Nepomuk::Service> (this=0x796390) at /usr/include/kservice.h:557
#17 createInstance<Nepomuk::Service> (this=0x796390) at /usr/include/kservice.h:534
#18 Nepomuk::ServiceControl::start (this=0x796390) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/servicestub/servicecontrol.cpp:79
#19 0x0000000000404fd4 in Nepomuk::ServiceControl::qt_metacall (this=0x796390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x6e73f0) at /usr/src/debug/kde-runtime-4.7.3/build/nepomuk/servicestub/servicecontrol.moc:82
#20 0x00007f4a10bdf7aa in QObject::event (this=0x796390, e=<value optimized out>) at kernel/qobject.cpp:1226
#21 0x00007f4a0ece6264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f4a0ecee81a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f4a0fcceae6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007f4a10bcb7cc in QCoreApplication::notifyInternal (this=0x7fff3c8ace80, receiver=0x796390, event=0x701970) at kernel/qcoreapplication.cpp:787
#25 0x00007f4a10bcefc5 in sendEvent (receiver=0x0, event_type=0, data=0x60e800) at kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60e800) at kernel/qcoreapplication.cpp:1428
#27 0x00007f4a10bf6443 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f4a0d9ccbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f4a0d9cd3b0 in ?? () from /lib64/libglib-2.0.so.0
#31 0x00007f4a0d9cd650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f4a10bf65df in QEventDispatcherGlib::processEvents (this=0x60e430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f4a0ed8c1ae in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007f4a10bcac22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f4a10bcae35 in QEventLoop::exec (this=0x7fff3c8acc50, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f4a10bcf27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x0000000000404039 in main (argc=42, argv=0x7fff3c8ad2c8) at /usr/src/debug/kde-runtime-4.7.3/nepomuk/servicestub/main.cpp:170

Possible duplicates by query: bug 277451, bug 277268, bug 261482, bug 259786, bug 259343.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-11-17 19:06:42 UTC
Is this if you logout directly after logging in, ie. shutting down nepomuk during initialization?
Comment 2 Robert Forsyth 2011-11-17 21:53:18 UTC
It appears to happen soon after I login.

If Nepomuk is already enabled and then Strigi is enabled,
no immediate crash,
then logout, no obvious crash (although occasionally something crashes),
then log back in, crash.

If Nepomuk is already enabled and then Strigi is enabled, no immediate
crash,
then if Nepomuk is disabled crash.

On 17 November 2011 19:06, Sebastian Trueg <trueg@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=286546
>
>
>
>
>
> --- Comment #1 from Sebastian Trueg <trueg kde org>  2011-11-17 19:06:42
> ---
> Is this if you logout directly after logging in, ie. shutting down nepomuk
> during initialization?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Dario Freddi 2011-11-18 21:11:37 UTC
Hello,

can you please repost the backtrace after having installed debug symbols for Solid (kdelibs)? The following two lines are missing information and are quite critical:

#9  0x00007f4a07cbf0a0 in ?? () from /usr/lib64/libsolid.so.4
#10 0x00007f4a07cbfd6e in Solid::PowerManagement::notifier() () from
/usr/lib64/libsolid.so.4

Thanks
Comment 4 Robert Forsyth 2011-11-19 13:28:11 UTC
Today I logged in from cold boot (first from power up).
Loaded the kdelib debug symbols via YaST.
Both Nepomuk and Strigi were enabled (in the Desktop Search - KDE Control Module) and Strigi was indexing some file.

Anyway, I logged out, then logged back in, but no crash.
In the Desktop Search - KDE Control Module, both Nepomuk and Strigi were enabled, but were inactive. While writing this they became active.

Disabling Nepomuk (while Strigi is enabled) caused some notifications, but no crash.

I don't know why the problem has gone away, may be when Strigi is first enabled some long running critical task occurs, which is not needed on subsequent enabling.
Comment 5 Vishesh Handa 2012-07-24 02:22:18 UTC
Closing as FIXED.

The issue has disappeared, and without a backtrace containing the solid debugging symbols, we cannot do much.