Bug 396078 - baloo_file crashes in Baloo::MTimeDB::put()
Summary: baloo_file crashes in Baloo::MTimeDB::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.45.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-07-02 08:32 UTC by Don Curtis
Modified: 2018-11-01 20:38 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (4.46 KB, text/plain)
2018-07-04 07:31 UTC, Don Curtis
Details
New crash information added by DrKonqi (4.43 KB, text/plain)
2018-07-04 09:22 UTC, Don Curtis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Curtis 2018-07-02 08:32:28 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.4-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:
Fresh login;
Kontact was indexing the e-Mail folders;
I was deleting photos attached to a sent e-Mail;
Kontact had not begun to Archive the e-Mail Folders planned for archiving today.

-- 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 0x7f85d3681d80 (LWP 3080))]

Thread 3 (Thread 0x7f45c3ffa700 (LWP 4148)):
[KCrash Handler]
#6  0x00007f85d0fb90e0 in raise () from /lib64/libc.so.6
#7  0x00007f85d0fba6c1 in abort () from /lib64/libc.so.6
#8  0x00007f85ced52922 in mdb_assert_fail (env=0x5605f2764360, expr_txt=expr_txt@entry=0x7f85ced543af "rc == 0", func=func@entry=0x7f85ced54ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f85ced54390 "mdb.c") at mdb.c:1487
#9  0x00007f85ced47e05 in mdb_page_dirty (txn=0x5605f27657c0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f85ced48fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f45c3ff90b8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f85ced49259 in mdb_page_touch (mc=mc@entry=0x7f45c3ff95f0) at mdb.c:2370
#12 0x00007f85ced4ad54 in mdb_cursor_touch (mc=mc@entry=0x7f45c3ff95f0) at mdb.c:6273
#13 0x00007f85ced4deee in mdb_cursor_put (mc=0x7f45c3ff95f0, key=0x7f45c3ff99c0, data=0x7f45c3ff99d0, flags=<optimized out>) at mdb.c:6407
#14 0x00007f85ced509ab in mdb_put (txn=0x5605f27657c0, dbi=13, key=key@entry=0x7f45c3ff99c0, data=data@entry=0x7f45c3ff99d0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f85d266ac38 in Baloo::MTimeDB::put (this=this@entry=0x7f45c3ff9ac0, mtime=<optimized out>, docId=<optimized out>, docId@entry=1246284618924034083) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/mtimedb.cpp:73
#16 0x00007f85d2678e0c in Baloo::WriteTransaction::addDocument (this=0x7f45bc0310c0, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:82
#17 0x00007f85d2674479 in Baloo::Transaction::addDocument (this=this@entry=0x7f45c3ff9b90, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:226
#18 0x00005605f1799596 in Baloo::NewFileIndexer::run (this=0x5605f28f7880) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/newfileindexer.cpp:72
#19 0x00007f85d1ad6372 in QThreadPoolThread::run (this=0x5605f28fcb30) at thread/qthreadpool.cpp:99
#20 0x00007f85d1ad90ce in QThreadPrivate::start (arg=0x5605f28fcb30) at thread/qthread_unix.cpp:368
#21 0x00007f85d00c2559 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f85d107b82f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f85c8c6a700 (LWP 3085)):
#0  0x00007f85d107108b in poll () from /lib64/libc.so.6
#1  0x00007f85cd719109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f85cd71921c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f85d1cfcc0b in QEventDispatcherGlib::processEvents (this=0x7f85c4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f85d1ca509a in QEventLoop::exec (this=this@entry=0x7f85c8c69ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f85d1ad44da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f85d2f31985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f85d1ad90ce in QThreadPrivate::start (arg=0x7f85d31a1d60) at thread/qthread_unix.cpp:368
#8  0x00007f85d00c2559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f85d107b82f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f85d3681d80 (LWP 3080)):
#0  0x00007f85d107108b in poll () from /lib64/libc.so.6
#1  0x00007f85cd719109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f85cd71921c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f85d1cfcbef in QEventDispatcherGlib::processEvents (this=0x5605f2752870, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f85d1ca509a in QEventLoop::exec (this=this@entry=0x7ffcea2add50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f85d1cad9e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#6  0x00005605f179121c 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

Possible duplicates by query: bug 394918, bug 394916, bug 394637, bug 392094, bug 391152.

Reported using DrKonqi
Comment 1 Don Curtis 2018-07-04 07:31:35 UTC
Created attachment 113747 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
Browsing with Firefox -- not doing anything with Kontact or KMail -- KMail was executing the automatic archiving of e-Mail folders …

-- Backtrace (Reduced):
#8  0x00007f9220902922 in mdb_assert_fail (env=0x561010c36060, expr_txt=expr_txt@entry=0x7f92209043af "rc == 0", func=func@entry=0x7f9220904ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f9220904390 "mdb.c") at mdb.c:1487
#9  0x00007f92208f7e05 in mdb_page_dirty (txn=0x561010c374c0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f92208f8fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f9219cd10b8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f92208f9259 in mdb_page_touch (mc=mc@entry=0x7f9219cd15f0) at mdb.c:2370
#12 0x00007f92208fad54 in mdb_cursor_touch (mc=mc@entry=0x7f9219cd15f0) at mdb.c:6273
Comment 2 Don Curtis 2018-07-04 09:22:08 UTC
Created attachment 113749 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
Same user, empty session -- Kontact was not running -- Akonadi is running -- only 2 Konsole windows open …

-- Backtrace (Reduced):
#8  0x00007f97ef862922 in mdb_assert_fail (env=0x55b2b9e36700, expr_txt=expr_txt@entry=0x7f97ef8643af "rc == 0", func=func@entry=0x7f97ef864ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f97ef864390 "mdb.c") at mdb.c:1487
#9  0x00007f97ef857e05 in mdb_page_dirty (txn=0x55b2b9e37b60, mp=<optimized out>) at mdb.c:2071
#10 0x00007f97ef858fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f97e8c30fe8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f97ef859259 in mdb_page_touch (mc=mc@entry=0x7f97e8c31520) at mdb.c:2370
#12 0x00007f97ef85ad54 in mdb_cursor_touch (mc=mc@entry=0x7f97e8c31520) at mdb.c:6273
Comment 3 Stefan Brüns 2018-11-01 20:38:14 UTC
Fixed in lmdb upstream and openSUSE lmdb RPMs, see 389848 for details.

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