Bug 406173 - baloo_file_extractor crashes in Baloo::DocumentTimeDB::put()
Summary: baloo_file_extractor crashes in Baloo::DocumentTimeDB::put()
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.56.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-04-03 07:47 UTC by David
Modified: 2019-04-05 13:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2019-04-03 07:47:21 UTC
Application: baloo_file (5.56.0)

Qt Version: 5.12.2
Frameworks Version: 5.56.0
Operating System: Linux 5.0.5-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I opened search and searched for something do not remember what. It seems that by looking at the related bug reports this is an outdated configuration issue. Even if it is imo baloo should detect this and remove these config files instead of crashing like this.

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 0x7f7a7c41e900 (LWP 2803))]

Thread 3 (Thread 0x7f7a79be3700 (LWP 3023)):
[KCrash Handler]
#6  0x00007f7a7e241d8b in raise () from /lib64/libc.so.6
#7  0x00007f7a7e22b549 in abort () from /lib64/libc.so.6
#8  0x00007f7a7d23b602 in mdb_assert_fail (env=0x561b01562f20, expr_txt=expr_txt@entry=0x7f7a7d23d02f "rc == 0", func=func@entry=0x7f7a7d23d978 <__func__.7182> "mdb_page_dirty", line=line@entry=2127, file=0x7f7a7d23d010 "mdb.c") at mdb.c:1542
#9  0x00007f7a7d230455 in mdb_page_dirty (mp=<optimized out>, txn=0x561b015642e0) at mdb.c:2114
#10 mdb_page_dirty (txn=0x561b015642e0, mp=<optimized out>) at mdb.c:2114
#11 0x00007f7a7d2316d6 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f7a79be1fd0, mc=<optimized out>) at mdb.c:2308
#12 0x00007f7a7d233594 in mdb_page_new (mc=mc@entry=0x7f7a79be2560, flags=18, num=num@entry=1, mp=mp@entry=0x7f7a79be2090) at mdb.c:7178
#13 0x00007f7a7d233aac in mdb_page_split (mc=mc@entry=0x7f7a79be2560, newkey=newkey@entry=0x7f7a79be2930, newdata=0x7f7a79be2940, newpgno=newpgno@entry=18446744073709551615, nflags=nflags@entry=0) at mdb.c:8615
#14 0x00007f7a7d236983 in mdb_cursor_put (mc=mc@entry=0x7f7a79be2560, key=key@entry=0x7f7a79be2930, data=data@entry=0x7f7a79be2940, flags=flags@entry=0) at mdb.c:6944
#15 0x00007f7a7d23944b in mdb_put (txn=0x561b015642e0, dbi=9, key=key@entry=0x7f7a79be2930, data=data@entry=0x7f7a79be2940, flags=flags@entry=0) at mdb.c:9022
#16 0x00007f7a7ecd73f2 in Baloo::DocumentTimeDB::put (this=this@entry=0x7f7a79be2a00, docId=<optimized out>, docId@entry=18194233085199111, info=...) at /usr/src/debug/baloo5-5.56.0-1.2.x86_64/src/engine/documenttimedb.cpp:70
#17 0x00007f7a7ecf21e6 in Baloo::WriteTransaction::addDocument (this=0x561b016b8640, doc=...) at /usr/src/debug/baloo5-5.56.0-1.2.x86_64/src/engine/writetransaction.cpp:81
#18 0x00007f7a7eceaa39 in Baloo::Transaction::addDocument (this=this@entry=0x7f7a79be2b10, doc=...) at /usr/src/debug/baloo5-5.56.0-1.2.x86_64/src/engine/transaction.cpp:233
#19 0x0000561b006d4de1 in Baloo::UnindexedFileIndexer::run (this=0x561b0175e2b0) at /usr/include/qt5/QtCore/qrefcount.h:60
#20 0x00007f7a7e7688f1 in QThreadPoolThread::run (this=0x561b0164a240) at thread/qthreadpool.cpp:99
#21 0x00007f7a7e765362 in QThreadPrivate::start (arg=0x561b0164a240) at thread/qthread_unix.cpp:361
#22 0x00007f7a7d29efab in start_thread () from /lib64/libpthread.so.0
#23 0x00007f7a7e3046af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7a7a766700 (LWP 2812)):
#0  0x00007f7a7e2f9ae9 in poll () from /lib64/libc.so.6
#1  0x00007f7a7caeee36 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7a7caeef5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7a7e96de7b in QEventDispatcherGlib::processEvents (this=0x7f7a74000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f7a7e9193cb in QEventLoop::exec (this=this@entry=0x7f7a7a765c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f7a7e764016 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f7a7ed17565 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f7a7e765362 in QThreadPrivate::start (arg=0x7f7a7ed97d80) at thread/qthread_unix.cpp:361
#8  0x00007f7a7d29efab in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7a7e3046af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7a7c41e900 (LWP 2803)):
#0  0x00007f7a7e2f9ae9 in poll () from /lib64/libc.so.6
#1  0x00007f7a7caeee36 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7a7caeef5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7a7e96de7b in QEventDispatcherGlib::processEvents (this=0x561b0154ea40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f7a7e9193cb in QEventLoop::exec (this=this@entry=0x7ffc9ca06e00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f7a7e921402 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x0000561b006c6997 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.56.0-1.2.x86_64/src/file/main.cpp:104
[Inferior 1 (process 2803) detached]

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

Possible duplicates by query: bug 405072, bug 404940, bug 404688, bug 403343, bug 403010.

Reported using DrKonqi
Comment 1 Nate Graham 2019-04-05 13:32:59 UTC

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