Bug 397582 - baloo crashes in the middle of a session
Summary: baloo crashes in the middle of a session
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.45.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-08-18 12:39 UTC by stakanov.s
Modified: 2018-08-21 20:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stakanov.s 2018-08-18 12:39:44 UTC
Application: baloo_file (5.45.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.18.1-1.g2f1304f-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:
working with kmail/kontact. 

- Unusual behavior I noticed:
sudden crash of baloo indexer. There are apparently also issues when filtering (do not know if related)

- Custom settings of the application:
The Kontact/kmail suite has been ported to postgres96 (as the mariadb had issues with this hardware asset (ironlake Lenovo 201) with indexing problems, LR errors etc. 
After the change these errors were seldom. However this is now the first time I see baloo crashing (at least that it pops up konqi, normally crashes silently).

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 0x7fd318bd3100 (LWP 3820))]

Thread 3 (Thread 0x7fd30d7af700 (LWP 5476)):
[KCrash Handler]
#6  0x00007fd31652e0e0 in raise () from /lib64/libc.so.6
#7  0x00007fd31652f6c1 in abort () from /lib64/libc.so.6
#8  0x00007fd3142f2922 in mdb_assert_fail (env=0x5613cf038cb0, expr_txt=expr_txt@entry=0x7fd3142f43af "rc == 0", func=func@entry=0x7fd3142f4ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7fd3142f4390 "mdb.c") at mdb.c:1487
#9  0x00007fd3142e7e05 in mdb_page_dirty (txn=0x5613cf03a070, mp=<optimized out>) at mdb.c:2071
#10 0x00007fd3142e8fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fd30d7ae088, mc=<optimized out>) at mdb.c:2252
#11 0x00007fd3142e9259 in mdb_page_touch (mc=mc@entry=0x7fd30d7ae5c0) at mdb.c:2370
#12 0x00007fd3142ead2f in mdb_cursor_touch (mc=mc@entry=0x7fd30d7ae5c0) at mdb.c:6273
#13 0x00007fd3142edeee in mdb_cursor_put (mc=0x7fd30d7ae5c0, key=0x7fd30d7ae9a0, data=0x7fd30d7ae9b0, flags=<optimized out>) at mdb.c:6407
#14 0x00007fd3142f09ab in mdb_put (txn=0x5613cf03a070, dbi=4, key=key@entry=0x7fd30d7ae9a0, data=data@entry=0x7fd30d7ae9b0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007fd317bb7faf in Baloo::DocumentDB::put (this=this@entry=0x7fd30d7aea60, docId=<optimized out>, docId@entry=35466152008285699, list=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/documentdb.cpp:77
#16 0x00007fd317bd0d85 in Baloo::WriteTransaction::addDocument (this=0x7f93000055e0, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:62
#17 0x00007fd317bcc479 in Baloo::Transaction::addDocument (this=this@entry=0x7fd30d7aeb90, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:226
#18 0x00005613cd092596 in Baloo::NewFileIndexer::run (this=0x5613cf215c60) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/newfileindexer.cpp:72
#19 0x00007fd317039372 in QThreadPoolThread::run (this=0x5613cf1d6180) at thread/qthreadpool.cpp:99
#20 0x00007fd31703c0ce in QThreadPrivate::start (arg=0x5613cf1d6180) at thread/qthread_unix.cpp:368
#21 0x00007fd315647559 in start_thread () from /lib64/libpthread.so.0
#22 0x00007fd3165f082f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd30e2f2700 (LWP 3827)):
#0  0x00007fd3165e608b in poll () from /lib64/libc.so.6
#1  0x00007fd312ccf109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd312ccf21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd31725fc0b in QEventDispatcherGlib::processEvents (this=0x7fd308000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd31720809a in QEventLoop::exec (this=this@entry=0x7fd30e2f1ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd3170374da in QThread::exec (this=this@entry=0x7fd3186ecd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#6  0x00007fd31847c985 in QDBusConnectionManager::run (this=0x7fd3186ecd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007fd31703c0ce in QThreadPrivate::start (arg=0x7fd3186ecd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007fd315647559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd3165f082f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd318bd3100 (LWP 3820)):
#0  0x00007fd3165e608b in poll () from /lib64/libc.so.6
#1  0x00007fd312ccf109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd312ccf21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd31725fbef in QEventDispatcherGlib::processEvents (this=0x5613cf02d8d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fd31720809a in QEventLoop::exec (this=this@entry=0x7fff4f6d40b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd3172109e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#6  0x00005613cd08a21c 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

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

Possible duplicates by query: bug 396801, bug 396778, bug 396402, bug 396277, bug 396078.

Reported using DrKonqi
Comment 1 Nate Graham 2018-08-21 20:35:03 UTC

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