Bug 360361

Summary: baloo_file_extractor crashes during boot
Product: [Frameworks and Libraries] frameworks-baloo Reporter: a.key <a.key>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED FIXED    
Severity: crash CC: aspotashev, christoph, pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: 5.19.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description a.key 2016-03-10 14:16:29 UTC
Application: baloo_file_extractor (5.19.0)

Qt Version: 5.5.1
Frameworks Version: Unknown
Operating System: Linux 4.4.3-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

Just logging in. On every login the program crashes the same way. This started happening couple of weeks ago.

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".
[Current thread is 1 (Thread 0x7fd16654d8c0 (LWP 5505))]

Thread 2 (Thread 0x7fd14f337700 (LWP 5522)):
#0  0x00007fd162aecfdd in poll () from /lib64/libc.so.6
#1  0x00007fd15d1a1272 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fd15d1a2ee7 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fd1526a9da9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fd1636f53de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007fd161bfe60a in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd162af8a4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd16654d8c0 (LWP 5505)):
[KCrash Handler]
#5  0x00007fd162a2aa98 in raise () from /lib64/libc.so.6
#6  0x00007fd162a2c69a in abort () from /lib64/libc.so.6
#7  0x00007fd164f944a2 in mdb_assert_fail.constprop () from /lib64/liblmdb.so.0.0.0
#8  0x00007fd164f89ad5 in mdb_page_dirty () from /lib64/liblmdb.so.0.0.0
#9  0x00007fd164f8ac93 in mdb_page_alloc.isra () from /lib64/liblmdb.so.0.0.0
#10 0x00007fd164f8aef9 in mdb_page_touch () from /lib64/liblmdb.so.0.0.0
#11 0x00007fd164f8cb74 in mdb_cursor_touch () from /lib64/liblmdb.so.0.0.0
#12 0x00007fd164f8fc75 in mdb_cursor_put () from /lib64/liblmdb.so.0.0.0
#13 0x00007fd164f926d0 in mdb_put () from /lib64/liblmdb.so.0.0.0
#14 0x00007fd16584812a in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&) () from /lib64/libKF5BalooEngine.so.5
#15 0x00007fd16585c8d4 in Baloo::WriteTransaction::commit() () from /lib64/libKF5BalooEngine.so.5
#16 0x00007fd1658524c2 in Baloo::Transaction::commit() () from /lib64/libKF5BalooEngine.so.5
#17 0x00005651478fb0dc in Baloo::App::processNextFile() ()
#18 0x00007fd163911888 in QSingleShotTimer::timerEvent(QTimerEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fd163906113 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007fd1645bb41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007fd1645c08e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007fd1638d673b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007fd16392bccd in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#24 0x00007fd16392c209 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#25 0x00007fd161465e3a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007fd1614661d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#27 0x00007fd16146627c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007fd16392ceaf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007fd1638d3eca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#30 0x00007fd1638dbfac in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#31 0x00005651478f99d5 in main ()

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 11:32:08 UTC
Could be fixed with

https://quickgit.kde.org/?p=baloo.git&a=commit&h=a03b0caa4ca1fbfc249bfc0c2730aac340bbf929

Please try to reproduce after frameworks 5.27 is out (or using git master)