Bug 251099 - nepomuk crash after searching with empty string
Summary: nepomuk crash after searching with empty string
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 14:41 UTC by Roman K.
Modified: 2011-07-31 13:41 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 Roman K. 2010-09-13 14:41:46 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.4-0.1-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I did a nepomuk  search in dolphin with an empty string and then nepomuk crashed.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f5ffbcb136c in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5ffaab4eb0 in relock (this=<value optimized out>, res=<value optimized out>) at /usr/include/QtCore/qmutex.h:120
#8  QMutexLocker (this=<value optimized out>, res=<value optimized out>) at /usr/include/QtCore/qmutex.h:102
#9  ref (this=<value optimized out>, res=<value optimized out>) at /usr/src/debug/kdelibs-4.5.1/nepomuk/core/resourcedata.h:51
#10 Nepomuk::Resource::Resource (this=<value optimized out>, res=<value optimized out>) at /usr/src/debug/kdelibs-4.5.1/nepomuk/core/resource.cpp:67
#11 0x00007f5fec10cf90 in Nepomuk::Query::Result::resource (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.1/nepomuk/query/result.cpp:82
#12 0x00007f5fec380571 in Nepomuk::Query::Folder::slotSearchNewResult (this=0x7add40, result=...) at /usr/src/debug/kdebase-runtime-4.5.1/nepomuk/services/queryservice/folder.cpp:94
#13 0x00007f5fec380e61 in Nepomuk::Query::Folder::qt_metacall (this=0x7add40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f5fe4186a10)
    at /usr/src/debug/kdebase-runtime-4.5.1/build/nepomuk/services/queryservice/folder.moc:91
#14 0x00007f5ffbdae509 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#15 0x00007f5ff9fc84d4 in QApplicationPrivate::notify_helper (this=0x624310, receiver=0x7add40, e=0x7f5fe419fba0) at kernel/qapplication.cpp:4302
#16 0x00007f5ff9fd0aca in QApplication::notify (this=<value optimized out>, receiver=0x7add40, e=0x7f5fe419fba0) at kernel/qapplication.cpp:4185
#17 0x00007f5ffae881e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007f5ffbd9ce4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f5ffbda05ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#20 0x00007f5ffbdc5173 in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007f5ff8cd2a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f5ff8cd3270 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f5ff8cd3510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f5ffbdc567f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00007f5ffa06914e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f5ffbd9c292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007f5ffbd9c495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007f5ffbda088b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#29 0x0000000000403a81 in main (argc=2, argv=0x7fffc6c88de8) at /usr/src/debug/kdebase-runtime-4.5.1/nepomuk/servicestub/main.cpp:152

Possible duplicates by query: bug 246110, bug 241600, bug 239842, bug 225512, bug 223462.

Reported using DrKonqi
Comment 1 Vishesh Handa 2011-07-31 13:41:45 UTC
This seems like a threading issue. I think this has gotten fixed as the Query Service code has changed a lot, and is now completely thread safe!