Bug 413289 - Baloo crashes at startup
Summary: Baloo crashes at startup
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.55.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-10-21 18:33 UTC by Kusi
Modified: 2019-10-27 23:08 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 Kusi 2019-10-21 18:33:59 UTC
Application: baloo_file (5.55.0)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.20-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
No user interaction, straight crash after startup. Everytime.

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 0x7eff95e50900 (LWP 2458))]

Thread 3 (Thread 0x7eff8a73c700 (LWP 2647)):
[KCrash Handler]
#6  0x00007eff937b7160 in raise () from /lib64/libc.so.6
#7  0x00007eff937b8741 in abort () from /lib64/libc.so.6
#8  0x00007eff9124fa82 in mdb_assert_fail (env=0x55727065a750, expr_txt=expr_txt@entry=0x7eff9125150f "rc == 0", func=func@entry=0x7eff91251e78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7eff912514f0 "mdb.c") at mdb.c:1487
#9  0x00007eff91244d85 in mdb_page_dirty (txn=0x55727065bbb0, mp=<optimized out>) at mdb.c:2071
#10 0x00007eff91245f6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7eff8a73b008, mc=<optimized out>) at mdb.c:2252
#11 0x00007eff912461d9 in mdb_page_touch (mc=mc@entry=0x7eff8a73b540) at mdb.c:2370
#12 0x00007eff91247cd4 in mdb_cursor_touch (mc=mc@entry=0x7eff8a73b540) at mdb.c:6304
#13 0x00007eff9124ae6e in mdb_cursor_put (mc=0x7eff8a73b540, key=0x7eff8a73b910, data=0x7eff8a73b920, flags=<optimized out>) at mdb.c:6438
#14 0x00007eff9124dafb in mdb_put (txn=0x55727065bbb0, dbi=3, key=key@entry=0x7eff8a73b910, data=data@entry=0x7eff8a73b920, flags=flags@entry=0) at mdb.c:8796
#15 0x00007eff94e54bbc in Baloo::PositionDB::put (this=this@entry=0x7eff8a73ba10, term=..., list=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/positiondb.cpp:79
#16 0x00007eff94e628d9 in Baloo::WriteTransaction::commit (this=0x557270892040) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/writetransaction.cpp:312
#17 0x00007eff94e5bbd2 in Baloo::Transaction::commit (this=this@entry=0x7eff8a73bb20) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:269
#18 0x000055726fae3fc7 in Baloo::UnindexedFileIndexer::run (this=0x5572709349a0) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/unindexedfileindexer.cpp:76
#19 0x00007eff942b1e22 in QThreadPoolThread::run (this=0x557270893f10) at thread/qthreadpool.cpp:99
#20 0x00007eff942b4ced in QThreadPrivate::start (arg=0x557270893f10) at thread/qthread_unix.cpp:368
#21 0x00007eff916ae569 in start_thread () from /lib64/libpthread.so.0
#22 0x00007eff938799ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7eff8b24f700 (LWP 2469)):
#0  0x00007eff9386f19b in poll () from /lib64/libc.so.6
#1  0x00007eff8fc2a1a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff8fc2a2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff944ec96b in QEventDispatcherGlib::processEvents (this=0x7eff84000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007eff9449190a in QEventLoop::exec (this=this@entry=0x7eff8b24ec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007eff942afdaa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007eff950829e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007eff942b4ced in QThreadPrivate::start (arg=0x7eff952f5d60) at thread/qthread_unix.cpp:368
#8  0x00007eff916ae569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007eff938799ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7eff95e50900 (LWP 2458)):
#0  0x00007eff916b0cda in __pthread_mutex_lock_full () from /lib64/libpthread.so.0
#1  0x00007eff9124432f in mdb_txn_renew0 (txn=txn@entry=0x55727065bbb0) at mdb.c:2698
#2  0x00007eff912455d4 in mdb_txn_begin (env=0x55727065a750, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffd7e84c838) at mdb.c:2856
#3  0x00007eff94e5b48b in Baloo::Transaction::Transaction (this=0x7ffd7e84c830, db=..., type=Baloo::Transaction::ReadWrite) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:53
#4  0x000055726faf2305 in Baloo::MetadataMover::moveFileMetadata (this=0x55727064a5b0, from=..., to=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/metadatamover.cpp:75
#5  0x000055726faed77f in Baloo::FileWatch::slotFileMoved (this=0x7ffd7e84d0d0, urlFrom=..., urlTo=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/filewatch.cpp:110
#6  0x00007eff944c264f in QtPrivate::QSlotObjectBase::call (a=0x7ffd7e84cb00, r=0x7ffd7e84d0d0, this=0x557270654470) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#7  QMetaObject::activate (sender=sender@entry=0x55727065c570, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd7e84cb00) at kernel/qobject.cpp:3750
#8  0x00007eff944c2c07 in QMetaObject::activate (sender=sender@entry=0x55727065c570, m=m@entry=0x55726fd12ac0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd7e84cb00) at kernel/qobject.cpp:3629
#9  0x000055726faf8f94 in KInotify::moved (_t2=..., _t1=..., this=0x55727065c570) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:343
#10 KInotify::slotEvent (this=0x55727065c570, socket=<optimized out>) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/kinotify.cpp:421
#11 0x00007eff944c264f in QtPrivate::QSlotObjectBase::call (a=0x7ffd7e84cc70, r=0x55727065c570, this=0x5572706e9220) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#12 QMetaObject::activate (sender=sender@entry=0x55727067d130, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd7e84cc70) at kernel/qobject.cpp:3750
#13 0x00007eff944c2c07 in QMetaObject::activate (sender=sender@entry=0x55727067d130, m=m@entry=0x7eff9494ed40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd7e84cc70) at kernel/qobject.cpp:3629
#14 0x00007eff944cea98 in QSocketNotifier::activated (this=this@entry=0x55727067d130, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#15 0x00007eff944cee62 in QSocketNotifier::event (this=0x55727067d130, e=0x7ffd7e84cd50) at kernel/qsocketnotifier.cpp:266
#16 0x00007eff944938c1 in doNotify (event=0x7ffd7e84cd50, receiver=0x55727067d130) at kernel/qcoreapplication.cpp:1099
#17 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1085
#18 QCoreApplication::notifyInternal2 (receiver=0x55727067d130, event=event@entry=0x7ffd7e84cd50) at kernel/qcoreapplication.cpp:1024
#19 0x00007eff944ed5ad in QCoreApplication::sendEvent (event=0x7ffd7e84cd50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 socketNotifierSourceDispatch (source=0x557270649350) at kernel/qeventdispatcher_glib.cpp:106
#21 0x00007eff8fc29e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007eff8fc2a230 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007eff8fc2a2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007eff944ec94f in QEventDispatcherGlib::processEvents (this=0x557270646680, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007eff9449190a in QEventLoop::exec (this=this@entry=0x7ffd7e84cf70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#26 0x00007eff9449a9b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#27 0x000055726fad913c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/main.cpp:104
[Inferior 1 (process 2458) detached]

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

Possible duplicates by query: bug 412847, bug 412780, bug 412567, bug 411806, bug 411706.

Reported using DrKonqi
Comment 1 Nate Graham 2019-10-27 23:08:35 UTC

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