Bug 411660

Summary: Baloo Crashes Quite Offten When Doing Normal Tasks In Plasma
Product: [Frameworks and Libraries] frameworks-baloo Reporter: David A. Smith <dasmith>
Component: Baloo File DaemonAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.45.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David A. Smith 2019-09-06 22:45:09 UTC
Application: baloo_file (5.45.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.70-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I was just downloading a pdf file from https://www.manualslib.com using Firefox Version Quantum 68.1.0esr (64-bit), which came pre-compiled with OpenSUSE Leap 15.0 Workstation. The following is what versions of my desktop system is running:

 KDE Plasma Version: 5.12.8
 KDE Frameworks Version: 5.45.0
 Qt Version: 5.9.4
 Kernel Version: 4.12.14-lp150.12.70-default

All software packages were installed pre-compiled from OpenSUSE Leap 15.0 installation source.

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 0x7f6656b66680 (LWP 2351))]

Thread 3 (Thread 0x7f6648b8c700 (LWP 5308)):
[KCrash Handler]
#6  0x00007f66544f8160 in raise () from /lib64/libc.so.6
#7  0x00007f66544f9741 in abort () from /lib64/libc.so.6
#8  0x00007f66522bb922 in mdb_assert_fail (env=0x5612c922b8a0, expr_txt=expr_txt@entry=0x7f66522bd3af "rc == 0", func=func@entry=0x7f66522bdce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f66522bd390 "mdb.c") at mdb.c:1487
#9  0x00007f66522b0e05 in mdb_page_dirty (txn=0x5612c922bcb0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f66522b1fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f6648b8b088, mc=<optimized out>) at mdb.c:2252
#11 0x00007f66522b2259 in mdb_page_touch (mc=mc@entry=0x7f6648b8b5c0) at mdb.c:2370
#12 0x00007f66522b3d54 in mdb_cursor_touch (mc=mc@entry=0x7f6648b8b5c0) at mdb.c:6273
#13 0x00007f66522b6eee in mdb_cursor_put (mc=0x7f6648b8b5c0, key=0x7f6648b8b990, data=0x7f6648b8b9a0, flags=<optimized out>) at mdb.c:6407
#14 0x00007f66522b99ab in mdb_put (txn=0x5612c922bcb0, dbi=2, key=key@entry=0x7f6648b8b990, data=data@entry=0x7f6648b8b9a0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f6655b7ee5c in Baloo::PostingDB::put (this=this@entry=0x7f6648b8ba80, term=..., list=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:78
#16 0x00007f6655b8b5d0 in Baloo::WriteTransaction::commit (this=0x7f263c003b20) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:289
#17 0x00007f6655b844c2 in Baloo::Transaction::commit (this=this@entry=0x7f6648b8bb90) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
#18 0x00005612c7b166cd in Baloo::NewFileIndexer::run (this=0x5612c94171e0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/newfileindexer.cpp:75
#19 0x00007f6654ff1372 in QThreadPoolThread::run (this=0x5612c933c750) at thread/qthreadpool.cpp:99
#20 0x00007f6654ff40ce in QThreadPrivate::start (arg=0x5612c933c750) at thread/qthread_unix.cpp:368
#21 0x00007f6653610569 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f66545baa2f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f66496bf700 (LWP 2378)):
#0  0x00007fffc2dfa822 in clock_gettime ()
#1  0x00007f66545c8326 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f6655217631 in qt_clock_gettime (ts=0x7f66496bea30, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#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  0x00007f6655215f09 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f6644005130) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f6655216485 in QTimerInfoList::timerWait (this=0x7f6644005130, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f66552179ce in timerSourcePrepareHelper (timeout=0x7f66496beae4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f66496beae4) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007f6650c95789 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f6650c9615b in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f6650c9633c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f6655217c1b in QEventDispatcherGlib::processEvents (this=0x7f6644000b30, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f66551c009a in QEventLoop::exec (this=this@entry=0x7f66496beca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007f6654fef4da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#15 0x00007f6656434985 in ?? () from /usr/lib64/libQt5DBus.so.5
#16 0x00007f6654ff40ce in QThreadPrivate::start (arg=0x7f66566a4d60) at thread/qthread_unix.cpp:368
#17 0x00007f6653610569 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f66545baa2f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6656b66680 (LWP 2351)):
#0  0x00007f66545b01db in poll () from /lib64/libc.so.6
#1  0x00007f6650c96229 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6650c9633c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6655217bff in QEventDispatcherGlib::processEvents (this=0x5612c92228c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f66551c009a in QEventLoop::exec (this=this@entry=0x7fffc2d825f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f66551c89e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#6  0x00005612c7b0e21c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/main.cpp:104
[Inferior 1 (process 2351) detached]

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

Possible duplicates by query: bug 411192, bug 411139, bug 411064, bug 410494, bug 410403.

Reported using DrKonqi
Comment 1 Stefan Brüns 2019-09-06 23:08:02 UTC

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