Bug 393494 - Sudden baloo_file crash
Summary: Sudden baloo_file 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.44.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-25 10:18 UTC by Yaroslav Sidlovsky
Modified: 2018-06-01 18:48 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (4.80 KB, text/plain)
2018-04-25 10:26 UTC, Yaroslav Sidlovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Sidlovsky 2018-04-25 10:18:22 UTC
Application: baloo_file (5.44.0)

Qt Version: 5.9.4
Frameworks Version: 5.44.0
Operating System: Linux 4.15.17-300.fc27.x86_64 x86_64
Distribution: "Fedora release 27 (Twenty Seven)"

-- Information about the crash:
baloo_file crashed while indexing files.

The crash can be reproduced sometimes.

-- 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 0x7f0cd18de400 (LWP 1273))]

Thread 2 (Thread 0x7f0cbdcf0700 (LWP 1533)):
#0  0x00007f0ccef8ac6b in poll () from /lib64/libc.so.6
#1  0x00007f0cc9aa3e99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f0cc9aa3fac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f0ccfff5c4b in QEventDispatcherGlib::processEvents (this=0x7f0cb8000b50, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0ccffa396a in QEventLoop::exec (this=this@entry=0x7f0cbdcefba0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f0ccfdf48ca in QThread::exec (this=this@entry=0x7f0cd141f060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#6  0x00007f0cd11ab449 in QDBusConnectionManager::run (this=0x7f0cd141f060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f0ccfdf8de2 in QThreadPrivate::start (arg=0x7f0cd141f060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007f0cc97e6754 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#9  0x00007f0ccd92150b in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0ccef9516f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0cd18de400 (LWP 1273)):
[KCrash Handler]
#6  Baloo::getVarint32Ptr (value=<synthetic pointer>, limit=0x7ecd0f9b8b8a "\023\b", p=0x0) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/coding.h:93
#7  Baloo::getDifferentialVarInt32 (p=0x0, p@entry=0x7ecd0f8e3537 "\223\203\034\226N\017\n\n\016\n\n\b\b\f\020\n\n\n\b\b\n\n\n\016\v\b\b\n\n\n\b\n\n\b\n\v\016\n\b\b\020-\n\b\n\n\b\b\n\n\n\v\v\n\016\f\b\b\016\n\b\b\n\n\016\v\n\n\v\b\b\022\b\b\n\n\v\016\n\n\017\n\n\b\b\020\020\b\n\n\b\b\n\n\b\017\v\n\f\016\v\n\b\b\f\022\n\n\b\b\023\n\n\v\f\v\n\b\b\n\v\n\b\b\n\n\b \n\v\n\b\b\016\f\b\n\n\b\n\b\n\n\b\n\n\n\n\016\n\b\b\016\b\b\n\016\n\n\n\n\b\b\b\b\022\f\b\b\n\n\n\b\b\n\n\016\n\n\n\016\n\n\n\n\b\b\022\020\020\n\n\b\n\n\b\v\n\f\r"..., limit=limit@entry=0x7ecd0f9b8b8a "\023\b", values=values@entry=0x7ffe891687a8) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/coding.cpp:120
#8  0x00007f0cd06b69b7 in Baloo::PositionCodec::decode (this=this@entry=0x7ffe89168807, arr=...) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/positioncodec.cpp:56
#9  0x00007f0cd06a6d54 in Baloo::PositionDB::get (this=this@entry=0x7ffe89168900, term=...) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/engine/positiondb.cpp:101
#10 0x00007f0cd06b4af4 in Baloo::WriteTransaction::commit (this=0x5558748f1ae0) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/engine/writetransaction.cpp:281
#11 0x00007f0cd06adc62 in Baloo::Transaction::commit (this=0x7ffe891689a0) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/engine/transaction.cpp:262
#12 0x0000555873a06b98 in Baloo::MetadataMover::removeFileMetadata(QString const&) ()
#13 0x00007f0ccffcd637 in QtPrivate::QSlotObjectBase::call (a=0x7ffe89168ae0, r=0x5558741583c0, this=0x555874183e10) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#14 QMetaObject::activate (sender=0x555874194aa0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#15 0x0000555873a0f325 in Baloo::PendingFileQueue::removeFileIndex(QString const&) ()
#16 0x0000555873a04bbe in Baloo::PendingFileQueue::processCache() ()
#17 0x00007f0ccffcd637 in QtPrivate::QSlotObjectBase::call (a=0x7ffe89168c90, r=0x555874194aa0, this=0x55587415e220) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#18 QMetaObject::activate (sender=sender@entry=0x555874194ab8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe89168c90) at kernel/qobject.cpp:3749
#19 0x00007f0ccffcdb87 in QMetaObject::activate (sender=sender@entry=0x555874194ab8, m=m@entry=0x7f0cd03f15a0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe89168c90) at kernel/qobject.cpp:3628
#20 0x00007f0ccffd9887 in QTimer::timeout (this=this@entry=0x555874194ab8, _t1=...) at .moc/moc_qtimer.cpp:200
#21 0x00007f0ccffd9b98 in QTimer::timerEvent (this=0x555874194ab8, e=<optimized out>) at kernel/qtimer.cpp:255
#22 0x00007f0ccffce21b in QObject::event (this=0x555874194ab8, e=<optimized out>) at kernel/qobject.cpp:1268
#23 0x00007f0ccffa4afa in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1091
#24 0x00007f0ccffa4be7 in QCoreApplication::notifyInternal2 (receiver=0x555874194ab8, event=event@entry=0x7ffe89168e10) at kernel/qcoreapplication.cpp:1016
#25 0x00007f0ccfff4f5b in QCoreApplication::sendEvent (event=0x7ffe89168e10, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#26 QTimerInfoList::activateTimers (this=0x5558741333d0) at kernel/qtimerinfo_unix.cpp:643
#27 0x00007f0ccfff5829 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#28 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#29 0x00007f0cc9aa3b77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f0cc9aa3f20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#31 0x00007f0cc9aa3fac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f0ccfff5c2f in QEventDispatcherGlib::processEvents (this=0x555874132780, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f0ccffa396a in QEventLoop::exec (this=this@entry=0x7ffe89169060, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#34 0x00007f0ccffac094 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#35 0x00005558739f08ac in main ()

Possible duplicates by query: bug 368352, bug 367480, bug 364133, bug 362566.

Reported using DrKonqi
Comment 1 Yaroslav Sidlovsky 2018-04-25 10:26:05 UTC
Created attachment 112236 [details]
New crash information added by DrKonqi

baloo_file (5.44.0) using Qt 5.9.4

Just got another crash after running `balooctl check` in the console.

-- Backtrace (Reduced):
#6  Baloo::getVarint32Ptr (value=<synthetic pointer>, limit=0x7f683b9b8b8a "\023\b", p=0x0) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/coding.h:93
#7  Baloo::getDifferentialVarInt32 (p=0x0, p@entry=0x7f683b8e3537 "\223\203\034\226N\017\n\n\016\n\n\b\b\f\020\n\n\n\b\b\n\n\n\016\v\b\b\n\n\n\b\n\n\b\n\v\016\n\b\b\020-\n\b\n\n\b\b\n\n\n\v\v\n\016\f\b\b\016\n\b\b\n\n\016\v\n\n\v\b\b\022\b\b\n\n\v\016\n\n\017\n\n\b\b\020\020\b\n\n\b\b\n\n\b\017\v\n\f\016\v\n\b\b\f\022\n\n\b\b\023\n\n\v\f\v\n\b\b\n\v\n\b\b\n\n\b \n\v\n\b\b\016\f\b\n\n\b\n\b\n\n\b\n\n\n\n\016\n\b\b\016\b\b\n\016\n\n\n\n\b\b\b\b\022\f\b\b\n\n\n\b\b\n\n\016\n\n\n\016\n\n\n\n\b\b\022\020\020\n\n\b\n\n\b\v\n\f\r"..., limit=limit@entry=0x7f683b9b8b8a "\023\b", values=values@entry=0x7fa7e8ffb7f8) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/coding.cpp:120
#8  0x00007fa7fc3f49b7 in Baloo::PositionCodec::decode (this=this@entry=0x7fa7e8ffb857, arr=...) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/codecs/positioncodec.cpp:56
#9  0x00007fa7fc3e4d54 in Baloo::PositionDB::get (this=this@entry=0x7fa7e8ffb950, term=...) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/engine/positiondb.cpp:101
#10 0x00007fa7fc3f2c7c in Baloo::WriteTransaction::commit (this=0x7f67dc003200) at /usr/src/debug/kf5-baloo-5.44.0-1.fc27.x86_64/src/engine/writetransaction.cpp:272
Comment 2 Matej Mrenica 2018-06-01 14:59:24 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 3 Christoph Feck 2018-06-01 18:28:22 UTC
This is not a duplicate.
Comment 4 Christoph Feck 2018-06-01 18:48:39 UTC

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