Bug 422393 - Baloo file indexer crashes on login
Summary: Baloo file indexer crashes on login
Status: RESOLVED DUPLICATE of bug 405284
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.70.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-02 20:56 UTC by Guido Winkelmann
Modified: 2020-08-05 04:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.07 KB, text/plain)
2020-06-11 05:47 UTC, wereturtle
Details
New crash information added by DrKonqi (3.48 KB, text/plain)
2020-06-23 19:38 UTC, itsjustarumour
Details
New crash information added by DrKonqi (2.83 KB, text/plain)
2020-06-26 23:40 UTC, Navneet Vikram Tey
Details
New crash information added by DrKonqi (4.45 KB, text/plain)
2020-07-28 00:19 UTC, Joe Polny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2020-06-02 20:56:34 UTC
Application: baloo_file_extractor (5.70.0)
 (Compiled from sources)
Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.6.15 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

Just logged in with Plasma starting.

This happens every time Plasma starts.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f5f25392c00 (LWP 6981))]

Thread 3 (Thread 0x7f5f1ffff700 (LWP 6983)):
#0  0x00007f5f27fd5e5f in __GI___poll (fds=0x7f5f18004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5f271c574e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f5f18004e60, timeout=<optimized out>, context=0x7f5f18000c20) at ../glib-2.62.6/glib/gmain.c:4253
#2  g_main_context_iterate (context=context@entry=0x7f5f18000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3949
#3  0x00007f5f271c586f in g_main_context_iteration (context=0x7f5f18000c20, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#4  0x00007f5f285f872b in QEventDispatcherGlib::processEvents (this=0x7f5f18000b60, flags=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f5f285a0efb in QEventLoop::exec (this=this@entry=0x7f5f1fffedf0, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f5f283ebf4e in QThread::exec (this=this@entry=0x7f5f2967eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f5f295f9557 in QDBusConnectionManager::run (this=0x7f5f2967eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/dev-qt/qtdbus-5.14.2/qtbase-everywhere-src-5.14.2/src/dbus/qdbusconnection.cpp:179
#8  0x00007f5f283ecf9f in QThreadPrivate::start (arg=0x7f5f2967eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#9  0x00007f5f27a66fe7 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f5f27fe084f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5f249f8700 (LWP 6982)):
#0  0x00007f5f27fd5e5f in __GI___poll (fds=fds@entry=0x7f5f249f7d28, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5f27148d72 in poll (__timeout=-1, __nfds=1, __fds=0x7f5f249f7d28) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x557dd2bf7540, cond=cond@entry=0x557dd2bf7580, vector=vector@entry=0x0, count=count@entry=0x0) at /usr/src/debug/x11-libs/libxcb-1.14/libxcb-1.14/src/xcb_conn.c:480
#3  0x00007f5f2714aa9a in xcb_wait_for_event (c=c@entry=0x557dd2bf7540) at /usr/src/debug/x11-libs/libxcb-1.14/libxcb-1.14/src/xcb_in.c:697
#4  0x00007f5f24bcd428 in QXcbEventQueue::run (this=0x557dd2c0bd80) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#5  0x00007f5f283ecf9f in QThreadPrivate::start (arg=0x557dd2c0bd80) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#6  0x00007f5f27a66fe7 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f5f27fe084f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5f25392c00 (LWP 6981)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f5f27f0555b in __GI_abort () at abort.c:79
#8  0x00007f5f27c32af3 in mdb_assert_fail (env=0x557dd2c66b80, expr_txt=expr_txt@entry=0x7f5f27c3502f "rc == 0", func=func@entry=0x7f5f27c35978 <__func__.7654> "mdb_page_dirty", line=line@entry=2127, file=0x7f5f27c35010 "mdb.c") at mdb.c:1542
#9  0x00007f5f27c27595 in mdb_page_dirty (mp=<optimized out>, txn=0x557dd2c67f40) at mdb.c:2114
#10 mdb_page_dirty (txn=0x557dd2c67f40, mp=<optimized out>) at mdb.c:2114
#11 0x00007f5f27c28876 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7ffe021fb2a8, mc=<optimized out>) at mdb.c:2308
#12 0x00007f5f27c28ac3 in mdb_page_touch (mc=mc@entry=0x7ffe021fb730) at mdb.c:2495
#13 0x00007f5f27c2a7dc in mdb_cursor_touch (mc=mc@entry=0x7ffe021fb730) at mdb.c:6523
#14 0x00007f5f27c2eabb in mdb_cursor_del (flags=32, mc=0x7ffe021fb730) at mdb.c:7081
#15 mdb_cursor_del (mc=0x7ffe021fb730, flags=32) at mdb.c:7063
#16 0x00007f5f27c303d6 in mdb_del0 (txn=0x557dd2c67f40, dbi=<optimized out>, key=key@entry=0x7ffe021fbb20, data=<optimized out>, flags=32, flags@entry=0) at mdb.c:8571
#17 0x00007f5f27c3072a in mdb_del (txn=<optimized out>, dbi=<optimized out>, key=key@entry=0x7ffe021fbb20, data=<optimized out>, data@entry=0x0) at mdb.c:8531
#18 0x00007f5f296a8805 in Baloo::DocumentDB::del (this=this@entry=0x7ffe021fbc50, docId=<optimized out>, docId@entry=62496794973633539) at /usr/src/debug/kde-frameworks/baloo-5.70.0/baloo-5.70.0/src/engine/documentdb.cpp:118
#19 0x00007f5f296d9832 in Baloo::WriteTransaction::removeDocument (this=0x557dd2c50af0, id=id@entry=62496794973633539) at /usr/src/debug/kde-frameworks/baloo-5.70.0/baloo-5.70.0/src/engine/writetransaction.cpp:128
#20 0x00007f5f296cc5d3 in Baloo::Transaction::removeDocument (this=<optimized out>, id=id@entry=62496794973633539) at /usr/src/debug/kde-frameworks/baloo-5.70.0/baloo-5.70.0/src/engine/transaction.cpp:259
#21 0x0000557dd2ac164a in Baloo::App::processNextFile (this=0x7ffe021fc510) at /usr/src/debug/kde-frameworks/baloo-5.70.0/baloo-5.70.0/src/file/extractor/app.cpp:121
#22 0x00007f5f285d9d42 in QtPrivate::QSlotObjectBase::call (a=0x7ffe021fbf10, r=<optimized out>, this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 QSingleShotTimer::timerEvent (this=0x557dd2c50b40) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qtimer.cpp:320
#24 0x00007f5f285ce7f5 in QObject::event (this=0x557dd2c50b40, e=0x7ffe021fc220) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:1361
#25 0x00007f5f28f980b3 in QApplicationPrivate::notify_helper (this=this@entry=0x557dd2be60f0, receiver=receiver@entry=0x557dd2c50b40, e=e@entry=0x7ffe021fc220) at /usr/src/debug/dev-qt/qtwidgets-5.14.2/qtbase-everywhere-src-5.14.2/src/widgets/kernel/qapplication.cpp:3685
#26 0x00007f5f28fa15c0 in QApplication::notify (this=0x7ffe021fc500, receiver=0x557dd2c50b40, e=0x7ffe021fc220) at /usr/src/debug/dev-qt/qtwidgets-5.14.2/qtbase-everywhere-src-5.14.2/src/widgets/kernel/qapplication.cpp:3431
#27 0x00007f5f285a20ae in QCoreApplication::notifyInternal2 (receiver=0x557dd2c50b40, event=0x7ffe021fc220) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qcoreapplication.cpp:1075
#28 0x00007f5f285f79eb in QTimerInfoList::activateTimers (this=0x557dd2c3c540) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qtimerinfo_unix.cpp:643
#29 0x00007f5f285f8291 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:183
#30 0x00007f5f271c553c in g_main_dispatch (context=0x7f5f20005000) at ../glib-2.62.6/glib/gmain.c:3216
#31 g_main_context_dispatch (context=context@entry=0x7f5f20005000) at ../glib-2.62.6/glib/gmain.c:3881
#32 0x00007f5f271c57d8 in g_main_context_iterate (context=context@entry=0x7f5f20005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3954
#33 0x00007f5f271c586f in g_main_context_iteration (context=0x7f5f20005000, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#34 0x00007f5f285f8710 in QEventDispatcherGlib::processEvents (this=0x557dd2be9110, flags=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f5f285a0efb in QEventLoop::exec (this=this@entry=0x7ffe021fc460, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#36 0x00007f5f285a900f in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#37 0x0000557dd2abf4a0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-frameworks/baloo-5.70.0/baloo-5.70.0/src/file/extractor/main.cpp:59
[Inferior 1 (process 6981) detached]

The reporter indicates this bug may be a duplicate of or related to bug 421728.

Possible duplicates by query: bug 421885, bug 421728, bug 421576, bug 421272, bug 420677.

Reported using DrKonqi
Comment 1 wereturtle 2020-06-11 05:47:00 UTC
Created attachment 129219 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.70.0) using Qt 5.13.2

- What I was doing when the application crashed:

This happened when I was logging in from SDDM.

-- Backtrace (Reduced):
#5  0x00007f4bfffa1df5 in mdb_page_touch () from /lib64/liblmdb.so.0.0.0
#6  0x00007f4bfffa3aec in mdb_cursor_touch () from /lib64/liblmdb.so.0.0.0
#7  0x00007f4bfffa6dc2 in mdb_cursor_put () from /lib64/liblmdb.so.0.0.0
#8  0x00007f4bfffa9bfb in mdb_put () from /lib64/liblmdb.so.0.0.0
#9  0x00007f4c018485be in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&) () from /lib64/libKF5BalooEngine.so.5
Comment 2 itsjustarumour 2020-06-23 19:38:06 UTC
Created attachment 129615 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.71.0) using Qt 5.14.2

- What I was doing when the application crashed:

Logging in, loading desktop

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 5.0.0-32-generic
OS Type: 64-bit
Processors: 6 × Intel® Core™ i5-9600K CPU @ 3.70GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 660/PCIe/SSE2

- Unusual behavior I noticed:

None.

- Custom settings of the application:

None.

-- Backtrace (Reduced):
#4  0x00007f91886e5234 in mdb_midl_xmerge () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
[...]
#8  0x00007f91886e21d9 in mdb_cursor_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f91886e472b in mdb_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f918bf8a7cc in Baloo::PositionDB::put(QByteArray const&, QVector<Baloo::PositionInfo> const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x00007f918bf9ecde in Baloo::WriteTransaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
Comment 3 Navneet Vikram Tey 2020-06-26 23:40:19 UTC
Created attachment 129710 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.71.0) using Qt 5.15.0

- What I was doing when the application crashed:
Login, It started happening for a few times but then it started happening everytime
- Unusual behavior I noticed:
Crashing
- Custom settings of the application:
Never used it

-- Backtrace (Reduced):
#11 0x00007f511980c615 in mdb_cursor_put () from /usr/lib/liblmdb.so
#12 0x00007f511980f46b in mdb_put () from /usr/lib/liblmdb.so
#13 0x00007f511b2bf40e in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&) () from /usr/lib/libKF5BalooEngine.so.5
#14 0x00007f511b2cd328 in Baloo::WriteTransaction::commit() () from /usr/lib/libKF5BalooEngine.so.5
#15 0x00007f511b2c5bf2 in Baloo::Transaction::commit() () from /usr/lib/libKF5BalooEngine.so.5
Comment 4 Joe Polny 2020-07-28 00:19:56 UTC
Created attachment 130446 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.70.0) using Qt 5.14.2

Logged in via SDDM after a cold boot and baloo crashed. Happens every time I boot.

-- Backtrace (Reduced):
#6  0x00007f9dd6b8ab34 in mdb_assert_fail.constprop () from /lib64/liblmdb.so.0.0.0
#7  0x00007f9dd6b7e715 in mdb_page_dirty () from /lib64/liblmdb.so.0.0.0
#8  0x00007f9dd6b80cc6 in mdb_page_alloc.isra () from /lib64/liblmdb.so.0.0.0
#9  0x00007f9dd6b83012 in mdb_page_split () from /lib64/liblmdb.so.0.0.0
#10 0x00007f9dd6b86325 in mdb_cursor_put () from /lib64/liblmdb.so.0.0.0
Comment 5 Nate Graham 2020-08-05 04:18:06 UTC

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