Bug 410134

Summary: Crash Baloo File Indexing
Product: [Frameworks and Libraries] frameworks-baloo Reporter: fayoux
Component: Baloo File DaemonAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dasmith, nate
Priority: NOR Keywords: drkonqi
Version: 5.59.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description fayoux 2019-07-23 10:31:23 UTC
Application: baloo_file (5.59.0)

Qt Version: 5.13.0
Frameworks Version: 5.59.0
Operating System: Linux 5.1.16-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Hello,
When i reboot my computer, i have a message like : "Sorry :( Baloo File Indexing crash".

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f946c6e06c0 (LWP 2922))]

Thread 3 (Thread 0x7f9469dd6700 (LWP 3323)):
[KCrash Handler]
#6  0x00007f946f04fdd1 in raise () from /lib64/libc.so.6
#7  0x00007f946f039549 in abort () from /lib64/libc.so.6
#8  0x00007f946d49e523 in mdb_assert_fail.constprop () from /usr/lib64/liblmdb-0.9.23.so
#9  0x00007f946d49cbb5 in mdb_page_dirty.lto_priv () from /usr/lib64/liblmdb-0.9.23.so
#10 0x00007f946d495da6 in mdb_page_alloc.isra.0.lto_priv () from /usr/lib64/liblmdb-0.9.23.so
#11 0x00007f946d49d193 in mdb_page_touch.lto_priv () from /usr/lib64/liblmdb-0.9.23.so
#12 0x00007f946d494cfc in mdb_cursor_touch () from /usr/lib64/liblmdb-0.9.23.so
#13 0x00007f946d49771c in mdb_cursor_put () from /usr/lib64/liblmdb-0.9.23.so
#14 0x00007f946d49a64b in mdb_put () from /usr/lib64/liblmdb-0.9.23.so
#15 0x00007f946ee276d7 in Baloo::DocumentDB::put (this=0x7f9469dd5a70, docId=<optimized out>, list=...) at /usr/src/debug/baloo5-5.59.0-1.2.x86_64/src/engine/documentdb.cpp:79
#16 0x00007f946ee15807 in Baloo::WriteTransaction::addDocument (this=0x55938e88a4d0, doc=...) at /usr/src/debug/baloo5-5.59.0-1.2.x86_64/src/engine/writetransaction.cpp:62
#17 0x00007f946ee159de in Baloo::Transaction::addDocument (doc=..., this=this@entry=0x7f9469dd5b80, this=this@entry=0x7f9469dd5b80, doc=...) at /usr/src/debug/baloo5-5.59.0-1.2.x86_64/src/engine/transaction.cpp:252
#18 0x000055938e454e95 in Baloo::UnindexedFileIndexer::run (this=0x55938e830d90) at /usr/include/qt5/QtCore/qrefcount.h:60
#19 0x00007f946e896432 in QThreadPoolThread::run (this=0x55938e83c500) at thread/qthreadpool.cpp:99
#20 0x00007f946e893112 in QThreadPrivate::start (arg=0x55938e83c500) at thread/qthread_unix.cpp:360
#21 0x00007f946d4fdfaa in start_thread () from /lib64/libpthread.so.0
#22 0x00007f946f11173f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f946a989700 (LWP 2932)):
#0  0x00007ffcc45f2649 in ?? ()
#1  0x00007f946f11f3b7 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f946eab05f1 in qt_clock_gettime (ts=0x7f946a988ae0, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f946eaaef09 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f9464005150) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f946eaaf4d5 in QTimerInfoList::timerWait (this=0x7f9464005150, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f946eab0a4e in timerSourcePrepareHelper (timeout=0x7f946a988ba4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f946a988ba4) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007f946cd5cc8f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f946cd5d2cb in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f946cd5d46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f946eab0ceb in QEventDispatcherGlib::processEvents (this=0x7f9464000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f946ea592eb in QEventLoop::exec (this=this@entry=0x7f946a988d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#14 0x00007f946e891f91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#15 0x00007f946ee4c4f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#16 0x00007f946e893112 in QThreadPrivate::start (arg=0x7f946eeced80) at thread/qthread_unix.cpp:360
#17 0x00007f946d4fdfaa in start_thread () from /lib64/libpthread.so.0
#18 0x00007f946f11173f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f946c6e06c0 (LWP 2922)):
#0  0x00007f946f106cbf in poll () from /lib64/libc.so.6
#1  0x00007f946cd5d39e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f946cd5d46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f946eab0cd1 in QEventDispatcherGlib::processEvents (this=0x55938e81c960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f946ea592eb in QEventLoop::exec (this=this@entry=0x7ffcc45dd170, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f946ea60e62 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x000055938e440bff in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.59.0-1.2.x86_64/src/file/main.cpp:103
[Inferior 1 (process 2922) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2019-08-05 03:45:19 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 2 David A. Smith 2019-10-28 23:22:34 UTC
Created attachment 123551 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:

I was saving a graphic image from the Mozilla Firefox Version 69.0.3 (64-bit) web browser screen with KDE Plasma Version: 5.12.8, KDE Frameworks Version: 5.45.0, Qt Version: 5.9.4 and Kernel Version: 4.12.14-lp150.12.79-default.

-- Backtrace (Reduced):
#8  0x00007f94bf4faa82 in mdb_assert_fail (env=0x55d9106f6d70, expr_txt=expr_txt@entry=0x7f94bf4fc50f "rc == 0", func=func@entry=0x7f94bf4fce78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f94bf4fc4f0 "mdb.c") at mdb.c:1487
#9  0x00007f94bf4efd85 in mdb_page_dirty (txn=0x55d9106f7180, mp=<optimized out>) at mdb.c:2071
#10 0x00007f94bf4f0f6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f94b5dca088, mc=<optimized out>) at mdb.c:2252
#11 0x00007f94bf4f11d9 in mdb_page_touch (mc=mc@entry=0x7f94b5dca5c0) at mdb.c:2370
#12 0x00007f94bf4f2cd4 in mdb_cursor_touch (mc=mc@entry=0x7f94b5dca5c0) at mdb.c:6304