Bug 396402

Summary: Baloo crash soon after login to OpenSuSE
Product: [Frameworks and Libraries] frameworks-baloo Reporter: andreusand
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, romain.pub
Priority: NOR Keywords: drkonqi
Version: 5.45.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description andreusand 2018-07-11 09:36:45 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: I use Open SuSE Linux. Soon after I log in, the message appears in taskbar: baloo file indexing service crashed. Debug info attached

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 0x7f8112d74100 (LWP 2794))]

Thread 3 (Thread 0x7f8107a90700 (LWP 2880)):
[KCrash Handler]
#6  0x00007f81106ce0e0 in raise () from /lib64/libc.so.6
#7  0x00007f81106cf6c1 in abort () from /lib64/libc.so.6
#8  0x00007f810e492922 in mdb_assert_fail (env=0x5619fe253740, expr_txt=expr_txt@entry=0x7f810e4943af "rc == 0", func=func@entry=0x7f810e494ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f810e494390 "mdb.c") at mdb.c:1487
#9  0x00007f810e487e05 in mdb_page_dirty (txn=0x5619fe254bf0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f810e488fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f8107a8f0b8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f810e489259 in mdb_page_touch (mc=mc@entry=0x7f8107a8f5f0) at mdb.c:2370
#12 0x00007f810e48ad2f in mdb_cursor_touch (mc=mc@entry=0x7f8107a8f5f0) at mdb.c:6273
#13 0x00007f810e48deee in mdb_cursor_put (mc=0x7f8107a8f5f0, key=0x7f8107a8f9c0, data=0x7f8107a8f9d0, flags=<optimized out>) at mdb.c:6407
#14 0x00007f810e4909ab in mdb_put (txn=0x5619fe254bf0, dbi=9, key=key@entry=0x7f8107a8f9c0, data=data@entry=0x7f8107a8f9d0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f8111d5e482 in Baloo::DocumentTimeDB::put (this=this@entry=0x7f8107a8fa90, docId=<optimized out>, docId@entry=432382646975203335, info=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/documenttimedb.cpp:70
#16 0x00007f8111d70dfc in Baloo::WriteTransaction::addDocument (this=0x5619fe5192f0, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:81
#17 0x00007f8111d6c479 in Baloo::Transaction::addDocument (this=this@entry=0x7f8107a8fb90, doc=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:226
#18 0x00005619fc6a9596 in Baloo::NewFileIndexer::run (this=0x5619fe4917e0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/newfileindexer.cpp:72
#19 0x00007f81111d9372 in QThreadPoolThread::run (this=0x5619fe479590) at thread/qthreadpool.cpp:99
#20 0x00007f81111dc0ce in QThreadPrivate::start (arg=0x5619fe479590) at thread/qthread_unix.cpp:368
#21 0x00007f810f7e7559 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f811079082f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8108492700 (LWP 2805)):
#0  0x00007f811078608b in poll () from /lib64/libc.so.6
#1  0x00007f810ce6f109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f810ce6f21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f81113ffc0b in QEventDispatcherGlib::processEvents (this=0x7f8100000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f81113a809a in QEventLoop::exec (this=this@entry=0x7f8108491ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f81111d74da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f811261c985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f81111dc0ce in QThreadPrivate::start (arg=0x7f811288cd60) at thread/qthread_unix.cpp:368
#8  0x00007f810f7e7559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f811079082f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8112d74100 (LWP 2794)):
#0  0x00007f810f7e9cca in __pthread_mutex_lock_full () from /lib64/libpthread.so.0
#1  0x00007f810e4873af in mdb_txn_renew0 (txn=txn@entry=0x5619fe254bf0) at mdb.c:2698
#2  0x00007f810e488654 in mdb_txn_begin (env=0x5619fe253740, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffe52f5fc48) at mdb.c:2856
#3  0x00007f8111d6bdeb in Baloo::Transaction::Transaction (this=0x7ffe52f5fc40, db=..., type=Baloo::Transaction::ReadWrite) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:53
#4  0x00005619fc6b73f2 in Baloo::MetadataMover::removeFileMetadata (this=0x5619fe244980, file=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/metadatamover.cpp:65
#5  0x00007f81113d714c in QtPrivate::QSlotObjectBase::call (a=0x7ffe52f5fd80, r=0x5619fe244980, this=0x5619fe25a8d0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#6  QMetaObject::activate (sender=sender@entry=0x5619fe2450d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe52f5fd80) at kernel/qobject.cpp:3749
#7  0x00007f81113d7757 in QMetaObject::activate (sender=sender@entry=0x5619fe2450d0, m=m@entry=0x5619fc8d48e0 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe52f5fd80) at kernel/qobject.cpp:3628
#8  0x00005619fc6bfb95 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x5619fe2450d0, _t1=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/build/src/file/baloofilecommon_autogen/EWIEGA46WW/moc_pendingfilequeue.cpp:222
#9  0x00005619fc6b542e in Baloo::PendingFileQueue::processCache (this=0x5619fe2450d0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/pendingfilequeue.cpp:88
#10 0x00007f81113d714c in QtPrivate::QSlotObjectBase::call (a=0x7ffe52f5ff30, r=0x5619fe2450d0, this=0x5619fe2463c0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#11 QMetaObject::activate (sender=sender@entry=0x5619fe2450e8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe52f5ff30) at kernel/qobject.cpp:3749
#12 0x00007f81113d7757 in QMetaObject::activate (sender=sender@entry=0x5619fe2450e8, m=m@entry=0x7f8111861e80 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe52f5ff30) at kernel/qobject.cpp:3628
#13 0x00007f81113e3437 in QTimer::timeout (this=this@entry=0x5619fe2450e8, _t1=...) at .moc/moc_qtimer.cpp:200
#14 0x00007f81113e3768 in QTimer::timerEvent (this=0x5619fe2450e8, e=<optimized out>) at kernel/qtimer.cpp:255
#15 0x00007f81113d79eb in QObject::event (this=0x5619fe2450e8, e=<optimized out>) at kernel/qobject.cpp:1268
#16 0x00007f81113a9a71 in doNotify (event=0x7ffe52f60090, receiver=0x5619fe2450e8) at kernel/qcoreapplication.cpp:1091
#17 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1077
#18 QCoreApplication::notifyInternal2 (receiver=0x5619fe2450e8, event=event@entry=0x7ffe52f60090) at kernel/qcoreapplication.cpp:1016
#19 0x00007f81113ff19e in QCoreApplication::sendEvent (event=0x7ffe52f60090, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 QTimerInfoList::activateTimers (this=0x5619fe245f70) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007f81113ff8e9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#23 0x00007f810ce6ef57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f810ce6f190 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f810ce6f21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f81113ffbef in QEventDispatcherGlib::processEvents (this=0x5619fe2431b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f81113a809a in QEventLoop::exec (this=this@entry=0x7ffe52f602d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#28 0x00007f81113b09e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#29 0x00005619fc6a121c 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 396277, bug 396078, bug 394918, bug 394916, bug 394637.

Reported using DrKonqi
Comment 1 Nate Graham 2018-07-13 17:30:30 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 2 Romain Henriet 2019-01-10 18:53:40 UTC
Created attachment 117386 [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:

I just openend my plasma session after a boot

-- Backtrace (Reduced):
#8  0x00007f530cb10922 in mdb_assert_fail (env=0x555b3d4d41b0, expr_txt=expr_txt@entry=0x7f530cb123af "rc == 0", func=func@entry=0x7f530cb12ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f530cb12390 "mdb.c") at mdb.c:1487
#9  0x00007f530cb05e05 in mdb_page_dirty (txn=0x555b3d4d45f0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f530cb06fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fffea41ed78, mc=<optimized out>) at mdb.c:2252
#11 0x00007f530cb07259 in mdb_page_touch (mc=mc@entry=0x7fffea41f200) at mdb.c:2370
#12 0x00007f530cb08d2f in mdb_cursor_touch (mc=mc@entry=0x7fffea41f200) at mdb.c:6273