Bug 396323 - Baloo index service crash
Summary: Baloo index service crash
Status: RESOLVED DUPLICATE of bug 367480
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-08 23:03 UTC by jordan.freeman
Modified: 2018-10-12 23:10 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (4.21 KB, text/plain)
2018-10-01 22:52 UTC, ascaris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jordan.freeman 2018-07-08 23:03:52 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:
The crash occurs after launching digiKam with external USB attached disks which contain the bulk of the photo collection being managed.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd747780100 (LWP 2781))]

Thread 3 (Thread 0x7f9737fff700 (LWP 8223)):
[KCrash Handler]
#6  0x00007fd7451fb443 in __memmove_avx_unaligned_erms () from /lib64/libc.so.6
#7  0x00007fd74677ea93 in memcpy (__len=52, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f9737ffe8f7, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007fd74676ff64 in Baloo::PostingDB::get (this=this@entry=0x7f9737ffe9e0, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007fd74677c180 in Baloo::WriteTransaction::commit (this=0x7f97300055e0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007fd7467754c2 in Baloo::Transaction::commit (this=this@entry=0x7f9737ffeaf0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
#12 0x000056251795b577 in Baloo::ModifiedFileIndexer::run (this=0x7fd738042450) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/modifiedfileindexer.cpp:103
#13 0x00007fd745be2372 in QThreadPoolThread::run (this=0x5625198abcb0) at thread/qthreadpool.cpp:99
#14 0x00007fd745be50ce in QThreadPrivate::start (arg=0x5625198abcb0) at thread/qthread_unix.cpp:368
#15 0x00007fd7441f0559 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fd74519982f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd73ce9b700 (LWP 2785)):
#0  0x00007fd74518f08b in poll () from /lib64/libc.so.6
#1  0x00007fd741878109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd74187821c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd745e08c0b in QEventDispatcherGlib::processEvents (this=0x7fd738000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd745db109a in QEventLoop::exec (this=this@entry=0x7fd73ce9aca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd745be04da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007fd747025985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fd745be50ce in QThreadPrivate::start (arg=0x7fd747295d60) at thread/qthread_unix.cpp:368
#8  0x00007fd7441f0559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd74519982f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd747780100 (LWP 2781)):
#0  0x00007fd7441f2cca in __pthread_mutex_lock_full () from /lib64/libpthread.so.0
#1  0x00007fd742e903af in ?? () from /usr/lib64/liblmdb-0.9.17.so
#2  0x00007fd742e91654 in mdb_txn_begin () from /usr/lib64/liblmdb-0.9.17.so
#3  0x00007fd746774deb in Baloo::Transaction::Transaction (this=0x7ffe122dff00, db=..., type=Baloo::Transaction::ReadWrite) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:53
#4  0x00005625179673f2 in Baloo::MetadataMover::removeFileMetadata (this=0x56251980d2c0, file=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/metadatamover.cpp:65
#5  0x00007fd745de014c in QtPrivate::QSlotObjectBase::call (a=0x7ffe122e0040, r=0x56251980d2c0, this=0x562519819570) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#6  QMetaObject::activate (sender=sender@entry=0x562519805b60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe122e0040) at kernel/qobject.cpp:3749
#7  0x00007fd745de0757 in QMetaObject::activate (sender=sender@entry=0x562519805b60, m=m@entry=0x562517b848e0 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe122e0040) at kernel/qobject.cpp:3628
#8  0x000056251796fb95 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x562519805b60, _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  0x000056251796542e in Baloo::PendingFileQueue::processCache (this=0x562519805b60) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/pendingfilequeue.cpp:88
#10 0x00007fd745de014c in QtPrivate::QSlotObjectBase::call (a=0x7ffe122e01f0, r=0x562519805b60, this=0x56251980d860) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#11 QMetaObject::activate (sender=sender@entry=0x562519805b78, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe122e01f0) at kernel/qobject.cpp:3749
#12 0x00007fd745de0757 in QMetaObject::activate (sender=sender@entry=0x562519805b78, m=m@entry=0x7fd74626ae80 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe122e01f0) at kernel/qobject.cpp:3628
#13 0x00007fd745dec437 in QTimer::timeout (this=this@entry=0x562519805b78, _t1=...) at .moc/moc_qtimer.cpp:200
#14 0x00007fd745dec768 in QTimer::timerEvent (this=0x562519805b78, e=<optimized out>) at kernel/qtimer.cpp:255
#15 0x00007fd745de09eb in QObject::event (this=0x562519805b78, e=<optimized out>) at kernel/qobject.cpp:1268
#16 0x00007fd745db2a71 in doNotify (event=0x7ffe122e0350, receiver=0x562519805b78) 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=0x562519805b78, event=event@entry=0x7ffe122e0350) at kernel/qcoreapplication.cpp:1016
#19 0x00007fd745e0819e in QCoreApplication::sendEvent (event=0x7ffe122e0350, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 QTimerInfoList::activateTimers (this=0x562519803b90) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007fd745e088e9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#23 0x00007fd741877f57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fd741878190 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fd74187821c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fd745e08bef in QEventDispatcherGlib::processEvents (this=0x562519800d60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007fd745db109a in QEventLoop::exec (this=this@entry=0x7ffe122e0590, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#28 0x00007fd745db99e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#29 0x000056251795121c 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 396218, bug 395996, bug 394404, bug 392701, bug 391803.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-08-17 21:03:15 UTC
*** Bug 396973 has been marked as a duplicate of this bug. ***
Comment 2 ascaris 2018-10-01 22:52:43 UTC
Created attachment 115355 [details]
New crash information added by DrKonqi

baloo_file (5.50.0) using Qt 5.11.1

- What I was doing when the application crashed:
Simply attempted to start the file indexer.  It's not enabled, so  I enable it using the file indexer monitor program.,  It begins nitial indexing, and crashes less than a minute later, every time.

Each time, It reports a segfault in the little ladybug icon that appears in the systray, though this time the backtrace says it was a bus error.  Trying to report this error sometimes causes DrKonqi to segfault too before the report is complete.

As far as I know, there are no hardware issues with the PC.  It previously ran Mint 19  Cinnamon flawlessly before I switched to KDE.

-- Backtrace (Reduced):
#6  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:371
#7  0x00007f214a57f923 in memcpy (__len=1070078608, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f213fc81a47, arr=...) at ./src/codecs/postingcodec.cpp:42
#9  0x00007f214a5713e4 in Baloo::PostingDB::get (this=this@entry=0x7f213fc81b30, term=...) at ./src/engine/postingdb.cpp:100
#10 0x00007f214a57d260 in Baloo::WriteTransaction::commit (this=0x7ee13004d220) at ./src/engine/writetransaction.cpp:259
Comment 3 Nate Graham 2018-10-12 23:00:54 UTC

*** This bug has been marked as a duplicate of bug 394404 ***
Comment 4 Nate Graham 2018-10-12 23:03:47 UTC

*** This bug has been marked as a duplicate of bug 357206 ***
Comment 5 Nate Graham 2018-10-12 23:10:10 UTC

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