Application: Plasma (plasmashell), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f45facc8800 (LWP 14424))] Thread 9 (Thread 0x7f45e39b6700 (LWP 14425)): #0 0x00007f45f3f4ee8d in poll () from /usr/lib/libc.so.6 #1 0x00007f45f90ff9f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f45f910156f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f45e50cfca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 8 (Thread 0x7f45e0ce5700 (LWP 14426)): #0 0x00007f45f03693f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f45f0324c3e in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f45f488625b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f45f7aeb345 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f45d1a0d700 (LWP 14427)): #0 0x00007f45f03693f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f45f03241c9 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f45f0324ba8 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f45f488625b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f45f7aeb345 in ?? () from /usr/lib/libQt5Qml.so.5 #8 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f45cbba5700 (LWP 14430)): #0 0x00007f45f3f4ee8d in poll () from /usr/lib/libc.so.6 #1 0x00007f45f0324c7c in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f45f488625b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f45f7aeb345 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f45c8d8d700 (LWP 14431)): #0 0x00007f45f375796f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f45fa427564 in ?? () from /usr/lib/libQt5Script.so.5 #2 0x00007f45fa4275a9 in ?? () from /usr/lib/libQt5Script.so.5 #3 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f4542ea2700 (LWP 14432)): #0 0x00007f45f488425e in QTimerInfoList::timerWait(timespec&) () from /usr/lib/libQt5Core.so.5 #1 0x00007f45f4885b8c in ?? () from /usr/lib/libQt5Core.so.5 #2 0x00007f45f03241bd in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f45f0324ba8 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f45f488625b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00007f4543dbd952 in MediaLibrary::run (this=0x1b90470) at /home/bshah/aur/plasma-mediacenter-git/src/plasma-mediacenter/libs/mediacenter/medialibrary.cpp:118 #9 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #10 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f4541ba1700 (LWP 14433)): [KCrash Handler] #6 0x00007f45f3ea3528 in raise () from /usr/lib/libc.so.6 #7 0x00007f45f3ea493a in abort () from /usr/lib/libc.so.6 #8 0x00007f45f463cf31 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #9 0x00007f45f4638101 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQt5Core.so.5 #10 0x00007f4541de2e3e in Baloo::Transaction::Transaction (this=0x7f4541ba0500, db=..., type=Baloo::Transaction::ReadOnly) at /home/bshah/aur/baloo-git/src/baloo/src/engine/transaction.cpp:54 #11 0x00007f4541de2f03 in Baloo::Transaction::Transaction (this=0x7f4541ba0500, db=0x7f45340175f0, type=Baloo::Transaction::ReadOnly) at /home/bshah/aur/baloo-git/src/baloo/src/engine/transaction.cpp:63 #12 0x00007f4542248eb9 in Baloo::SearchStore::exec (this=0x7f4534003560, term=..., limit=-1, sortResults=true) at /home/bshah/aur/baloo-git/src/baloo/src/lib/searchstore.cpp:76 #13 0x00007f45422345f6 in Baloo::Query::exec (this=0x7f4541ba06d0) at /home/bshah/aur/baloo-git/src/baloo/src/lib/query.cpp:212 #14 0x00007f454249869b in BalooSearchMediaSource::queryForMediaType (this=0x1baa000, type=...) at /home/bshah/aur/plasma-mediacenter-git/src/plasma-mediacenter/mediasources/baloosearch/baloosearchmediasource.cpp:97 #15 0x00007f45424985e3 in BalooSearchMediaSource::startQuerying (this=0x1baa000) at /home/bshah/aur/plasma-mediacenter-git/src/plasma-mediacenter/mediasources/baloosearch/baloosearchmediasource.cpp:73 #16 0x00007f454249b68d in BalooSearchMediaSource::qt_static_metacall (_o=0x1baa000, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7f4534002d90) at /home/bshah/aur/plasma-mediacenter-git/src/build/mediasources/baloosearch/moc_baloosearchmediasource.cpp:74 #17 0x00007f45f485eeb1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #18 0x00007f45f5c0600c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f45f5c0b4e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f45f482f89b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007f45f4831c96 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #22 0x00007f45f4885e33 in ?? () from /usr/lib/libQt5Core.so.5 #23 0x00007f45f03249fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007f45f0324ce0 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007f45f488623f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #27 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #28 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #29 0x00007f4542498274 in BalooSearchMediaSource::run (this=0x1baa000) at /home/bshah/aur/plasma-mediacenter-git/src/plasma-mediacenter/mediasources/baloosearch/baloosearchmediasource.cpp:55 #30 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #31 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #32 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f453b507700 (LWP 14434)): #0 0x00007f45f4647a0a in QMutex::lock() () from /usr/lib/libQt5Core.so.5 #1 0x00007f45f4885ab9 in ?? () from /usr/lib/libQt5Core.so.5 #2 0x00007f45f0324681 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00007f45f0324c20 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f45f488625b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00007f45f4649af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00007f45f86e71f6 in ?? () from /usr/lib/libQt5Quick.so.5 #9 0x00007f45f464ea9e in ?? () from /usr/lib/libQt5Core.so.5 #10 0x00007f45f3752354 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f45f3f57bfd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f45facc8800 (LWP 14424)): #0 0x00007f45f375796f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f45f90ffc49 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f45f91012ff in ?? () from /usr/lib/libxcb.so.1 #3 0x00007f45f9101411 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #4 0x00007f45f9359727 in _XReply () from /usr/lib/libX11.so.6 #5 0x00007f45ef7962aa in ?? () from /usr/lib/libGL.so.1 #6 0x00007f45ef7965e7 in ?? () from /usr/lib/libGL.so.1 #7 0x00007f45d9f884fb in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so #8 0x00007f45d9f88a11 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so #9 0x00007f45d9f7c6f0 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so #10 0x00007f45f8716fba in QSGBatchRenderer::Renderer::renderBatches() () from /usr/lib/libQt5Quick.so.5 #11 0x00007f45f871c9a2 in QSGBatchRenderer::Renderer::render() () from /usr/lib/libQt5Quick.so.5 #12 0x00007f45f872869f in QSGRenderer::renderScene(QSGBindable const&) () from /usr/lib/libQt5Quick.so.5 #13 0x00007f45f8728eeb in QSGRenderer::renderScene(unsigned int) () from /usr/lib/libQt5Quick.so.5 #14 0x00007f45f87392de in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /usr/lib/libQt5Quick.so.5 #15 0x00007f45f878320b in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /usr/lib/libQt5Quick.so.5 #16 0x00007f45f8753bcb in ?? () from /usr/lib/libQt5Quick.so.5 #17 0x00007f45f8754cd1 in ?? () from /usr/lib/libQt5Quick.so.5 #18 0x00007f45f5c0600c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f45f5c0b4e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f45f482f89b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007f45f488505d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5 #22 0x00007f45f4885599 in ?? () from /usr/lib/libQt5Core.so.5 #23 0x00007f45f03249fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007f45f0324ce0 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007f45f0324d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007f45f488623f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #27 0x00007f45f482d26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #28 0x00007f45f483520c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #29 0x000000000045e891 in main (argc=3, argv=0x7ffd8aab1568) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/main.cpp:155 ASSERT message ASSERT failure in Transaction: "MDB_BAD_RSLOT: Invalid reuse of reader locktable slot", file /home/bshah/aur/baloo-git/src/baloo/src/engine/transaction.cpp, line 54 Reproducible: Always Steps to Reproduce: 1. Start PMC 2. 3.
Git commit 71ef503174b179a299125869810e932903f177a2 by Ashish Bansal. Committed on 20/08/2015 at 17:07. Pushed by ashishbansal into branch 'master'. Create one Database instance per process Earlier two Database instances were being created and once one of them was destroyed, it leads to invalidation of handles of other instance too. Now a global single instance is being created and is destroyed when process ends. REVIEW: 124794 M +2 -2 autotests/unit/lib/CMakeLists.txt D +0 -33 autotests/unit/lib/db.cpp M +6 -1 autotests/unit/lib/filefetchjobtest.cpp M +1 -0 src/engine/CMakeLists.txt M +6 -0 src/engine/database.cpp M +2 -0 src/engine/database.h R +17 -6 src/engine/global.cpp [from: src/lib/db.cpp - 064% similarity] R +23 -5 src/engine/global.h [from: src/lib/db.h - 053% similarity] M +4 -4 src/file/extractor/app.cpp M +1 -2 src/file/extractor/app.h M +1 -6 src/file/extractor/main.cpp M +5 -4 src/file/main.cpp M +0 -1 src/lib/CMakeLists.txt M +3 -3 src/lib/file.cpp M +2 -4 src/lib/query.cpp M +2 -5 src/lib/searchstore.cpp M +6 -3 src/lib/taglistjob.cpp M +4 -4 src/tools/baloo-monitor/monitor.cpp M +10 -13 src/tools/balooctl/main.cpp M +3 -4 src/tools/balooshow/main.cpp http://commits.kde.org/baloo/71ef503174b179a299125869810e932903f177a2