Bug 411064

Summary: File indexing crashed on log-in to system
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Drew Balliet <aballiet>
Component: Baloo File DaemonAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.55.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Drew Balliet 2019-08-19 14:24:18 UTC
Application: baloo_file (5.55.0)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.13-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
First report was when I booted system. Then I logged out and back into system and it crashed again. This issue jut started after a system update on 08/16/2019.

The crash can be reproduced every time.

-- 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 0x7f559e5b7900 (LWP 24986))]

Thread 3 (Thread 0x7f5592e74700 (LWP 25729)):
[KCrash Handler]
#6  0x00007f559bf08160 in raise () from /lib64/libc.so.6
#7  0x00007f559bf09741 in abort () from /lib64/libc.so.6
#8  0x00007f55999998b2 in mdb_assert_fail (env=0x56355059c940, expr_txt=expr_txt@entry=0x7f559999b33f "rc == 0", func=func@entry=0x7f559999bc78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f559999b320 "mdb.c") at mdb.c:1487
#9  0x00007f559998ed85 in mdb_page_dirty (txn=0x56355059dd40, mp=<optimized out>) at mdb.c:2071
#10 0x00007f559998ff6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f5592e72de0, mc=<optimized out>) at mdb.c:2252
#11 0x00007f5599991d24 in mdb_page_new (mc=mc@entry=0x7f5592e73370, flags=18, num=num@entry=1, mp=mp@entry=0x7f5592e72ea0) at mdb.c:6934
#12 0x00007f5599992269 in mdb_page_split (mc=mc@entry=0x7f5592e73370, newkey=newkey@entry=0x7f5592e73750, newdata=0x7f5592e73760, newpgno=newpgno@entry=18446744073709551615, nflags=nflags@entry=0) at mdb.c:8354
#13 0x00007f55999952ac in mdb_cursor_put (mc=0x7f5592e73370, key=0x7f5592e73750, data=0x7f5592e73760, flags=<optimized out>) at mdb.c:6688
#14 0x00007f559999792b in mdb_put (txn=0x56355059dd40, dbi=8, key=key@entry=0x7f5592e73750, data=data@entry=0x7f5592e73760, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f559d5a22dd in Baloo::IdFilenameDB::put (this=this@entry=0x7f5592e737d0, docId=<optimized out>, docId@entry=686802559536465937, path=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/idfilenamedb.cpp:75
#16 0x00007f559d59c3fc in Baloo::DocumentUrlDB::add (this=this@entry=0x7f5592e73a50, id=id@entry=686802559536465937, parentId=parentId@entry=686802160104507409, name=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/documenturldb.cpp:125
#17 0x00007f559d59c69b in Baloo::DocumentUrlDB::put (this=this@entry=0x7f5592e73a50, docId=docId@entry=686802559536465937, url=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/documenturldb.cpp:69
#18 0x00007f559d5b11c4 in Baloo::WriteTransaction::addDocument (this=0x7f1584004da0, doc=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/writetransaction.cpp:57
#19 0x00007f559d5acb89 in Baloo::Transaction::addDocument (this=this@entry=0x7f5592e73b20, doc=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:233
#20 0x000056354f3e5bab in Baloo::UnindexedFileIndexer::run (this=0x56355074e0f0) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/unindexedfileindexer.cpp:73
#21 0x00007f559ca02e22 in QThreadPoolThread::run (this=0x563550799fd0) at thread/qthreadpool.cpp:99
#22 0x00007f559ca05ced in QThreadPrivate::start (arg=0x563550799fd0) at thread/qthread_unix.cpp:368
#23 0x00007f5599df8569 in start_thread () from /lib64/libpthread.so.0
#24 0x00007f559bfca9ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5593987700 (LWP 24990)):
#0  0x00007f559bfc019b in poll () from /lib64/libc.so.6
#1  0x00007f55983741a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f55983742bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f559cc3d96b in QEventDispatcherGlib::processEvents (this=0x7f558c000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f559cbe290a in QEventLoop::exec (this=this@entry=0x7f5593986c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f559ca00daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f559d7d39e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f559ca05ced in QThreadPrivate::start (arg=0x7f559da46d60) at thread/qthread_unix.cpp:368
#8  0x00007f5599df8569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f559bfca9ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f559e5b7900 (LWP 24986)):
#0  0x00007f559bfc019b in poll () from /lib64/libc.so.6
#1  0x00007f55983741a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f55983742bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f559cc3d94f in QEventDispatcherGlib::processEvents (this=0x563550588680, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f559cbe290a in QEventLoop::exec (this=this@entry=0x7ffde17c8250, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f559cbeb9b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#6  0x000056354f3da13c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/main.cpp:104
[Inferior 1 (process 24986) detached]

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

Possible duplicates by query: bug 410494, bug 410403, bug 410367, bug 410134, bug 409829.

Reported using DrKonqi
Comment 1 Stefan Brüns 2019-08-22 23:17:30 UTC

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