Bug 410403

Summary: Baloo crashes at boot
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Fausto <fraccalini>
Component: Baloo File DaemonAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hyoga2k
Priority: NOR Keywords: drkonqi
Version: 5.55.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Fausto 2019-07-30 14:02: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.10-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed: At boot I receive a bug report "Baloo crash" but after that ewerithing works fine. It happens after the upgrade of OpenSUSE Leap 15.0 to 15.1

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 0x7f3935b6a900 (LWP 1975))]

Thread 3 (Thread 0x7f392a3f9700 (LWP 2073)):
[KCrash Handler]
#6  0x00007f39334b5160 in raise () from /lib64/libc.so.6
#7  0x00007f39334b6741 in abort () from /lib64/libc.so.6
#8  0x00007f3930f4d8b2 in mdb_assert_fail (env=0x55e24e478450, expr_txt=expr_txt@entry=0x7f3930f4f33f "rc == 0", func=func@entry=0x7f3930f4fc78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f3930f4f320 "mdb.c") at mdb.c:1487
#9  0x00007f3930f42d85 in mdb_page_dirty (txn=0x55e24e479940, mp=<optimized out>) at mdb.c:2071
#10 0x00007f3930f43f6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f392a3f8038, mc=<optimized out>) at mdb.c:2252
#11 0x00007f3930f441d9 in mdb_page_touch (mc=mc@entry=0x7f392a3f8570) at mdb.c:2370
#12 0x00007f3930f45cd4 in mdb_cursor_touch (mc=mc@entry=0x7f392a3f8570) at mdb.c:6273
#13 0x00007f3930f48e6e in mdb_cursor_put (mc=0x7f392a3f8570, key=0x7f392a3f8940, data=0x7f392a3f8950, flags=<optimized out>) at mdb.c:6407
#14 0x00007f3930f4b92b in mdb_put (txn=0x55e24e479940, dbi=9, key=key@entry=0x7f392a3f8940, data=data@entry=0x7f392a3f8950, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f3934b4bb22 in Baloo::DocumentTimeDB::put (this=this@entry=0x7f392a3f8a10, docId=<optimized out>, docId@entry=62487655283165191, info=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/documenttimedb.cpp:70
#16 0x00007f3934b5e29c in Baloo::WriteTransaction::addDocument (this=0x7ef91c004da0, doc=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/writetransaction.cpp:81
#17 0x00007f3934b59b89 in Baloo::Transaction::addDocument (this=this@entry=0x7f392a3f8b20, doc=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:233
#18 0x000055e24dfc9bab in Baloo::UnindexedFileIndexer::run (this=0x55e24e541760) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/unindexedfileindexer.cpp:73
#19 0x00007f3933fafe22 in QThreadPoolThread::run (this=0x55e24e552050) at thread/qthreadpool.cpp:99
#20 0x00007f3933fb2ced in QThreadPrivate::start (arg=0x55e24e552050) at thread/qthread_unix.cpp:368
#21 0x00007f39313ac569 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f39335779ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f392af4c700 (LWP 1992)):
#0  0x00007f393356d19b in poll () from /lib64/libc.so.6
#1  0x00007f392f9281a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f392f9282bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f39341ea96b in QEventDispatcherGlib::processEvents (this=0x7f3924000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f393418f90a in QEventLoop::exec (this=this@entry=0x7f392af4bc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f3933faddaa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f3934d809e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f3933fb2ced in QThreadPrivate::start (arg=0x7f3934ff3d60) at thread/qthread_unix.cpp:368
#8  0x00007f39313ac569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f39335779ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3935b6a900 (LWP 1975)):
#0  0x00007f393356d19b in poll () from /lib64/libc.so.6
#1  0x00007f392f9281a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f392f9282bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f39341ea96b in QEventDispatcherGlib::processEvents (this=0x55e24e4645f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f393418f90a in QEventLoop::exec (this=this@entry=0x7ffde12d3ba0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f39341989b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#6  0x000055e24dfbe13c 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 1975) detached]

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

Possible duplicates by query: bug 410367, bug 410134, bug 409829, bug 408293, bug 406173.

Reported using DrKonqi
Comment 1 Javier Martínez Ortiz 2019-08-02 00:16:17 UTC
Created attachment 121896 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.55.0) using Qt 5.9.7

- Unusual behavior I noticed:
Baloo crashed at desktop startup. It seems a common error after updating openSUSE to Leap 15.1.

-- Backtrace (Reduced):
#8  0x00007f5f16c0d8b2 in mdb_assert_fail (env=0x55b9a6cf4f50, expr_txt=expr_txt@entry=0x7f5f16c0f33f "rc == 0", func=func@entry=0x7f5f16c0fc78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f5f16c0f320 "mdb.c") at mdb.c:1487
#9  0x00007f5f16c02d85 in mdb_page_dirty (txn=0x55b9a6cf5430, mp=<optimized out>) at mdb.c:2071
#10 0x00007f5f16c03f6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7ffd20ca18d8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f5f16c041d9 in mdb_page_touch (mc=mc@entry=0x7ffd20ca1e10) at mdb.c:2370
#12 0x00007f5f16c05cd4 in mdb_cursor_touch (mc=mc@entry=0x7ffd20ca1e10) at mdb.c:6273
Comment 2 Stefan Brüns 2019-08-02 10:32:28 UTC

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