Bug 428471 - baloo_file_daemon crashes in Baloo::WriteTransaction::Operation() when tyring to index un-indexed files
Summary: baloo_file_daemon crashes in Baloo::WriteTransaction::Operation() when tyring...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.75.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 12:55 UTC by rafalkozlowski07
Modified: 2024-04-13 03:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rafalkozlowski07 2020-10-30 12:55:26 UTC
SUMMARY
OS: OpenSUSE Tumbleweed
KDE: 5.75.0 / Plasma 5.20.1
STEPS TO REPRODUCE
After every(probably) boot.

OBSERVED RESULT
None. It just reported that it did crash.

EXPECTED RESULT
As above.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: Plasma 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
DRkonqi couldn't report this error. "You couldn't report this error, because baloo_file doesn't provide adress of reported error." I translated it by myself, and it may sound different.
Below debugg information.

Application: baloo_file (baloo_file), signal: Segmentation fault

[New LWP 2184]
[New LWP 2666]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f5164ecee7f in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f5162d17140 (LWP 2181))]

Thread 3 (Thread 0x7f115bfff640 (LWP 2666)):
[KCrash Handler]
#4  QHashData::nextNode (node=node@entry=0x7f11543c8650) at tools/qhash.cpp:591
#5  0x00007f5165890478 in QHash<QByteArray, QVector<Baloo::WriteTransaction::Operation> >::const_iterator::operator++ (this=0x7f115bffe948) at /usr/include/qt5/QtCore/qhash.h:1293
#6  QHashIterator<QByteArray, QVector<Baloo::WriteTransaction::Operation> >::next (this=0x7f115bffe940) at /usr/include/qt5/QtCore/qhash.h:1295
#7  Baloo::WriteTransaction::commit (this=<optimized out>) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/engine/writetransaction.cpp:278
#8  0x00007f516588483b in Baloo::Transaction::commit (this=this@entry=0x7f115bffeaa0) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/engine/transaction.cpp:275
#9  0x0000560434c52ad3 in Baloo::UnindexedFileIndexer::run (this=0x560436d3e250) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/file/unindexedfileindexer.cpp:61
#10 0x00007f51653a16f2 in QThreadPoolThread::run (this=0x560436c961a0) at thread/qthreadpool.cpp:100
#11 0x00007f516539d911 in QThreadPrivate::start (arg=0x560436c961a0) at thread/qthread_unix.cpp:329
#12 0x00007f51642f9eb1 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f5164ed9ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5160ecd640 (LWP 2184)):
#0  0x00007f5163abbec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5163a6db05 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5163a6e51b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5163a6e70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f51655d45cb in QEventDispatcherGlib::processEvents (this=0x7f515c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f516557ba1b in QEventLoop::exec (this=this@entry=0x7f5160eccc70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f516539c7ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f51658b3a27 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f516539d911 in QThreadPrivate::start (arg=0x7f5165920d80) at thread/qthread_unix.cpp:329
#9  0x00007f51642f9eb1 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5164ed9ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5162d17140 (LWP 2181)):
#0  0x00007f5164ecee7f in poll () from /lib64/libc.so.6
#1  0x00007f5163a6e5ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5163a6e70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f51655d45cb in QEventDispatcherGlib::processEvents (this=0x560436acb390, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f516557ba1b in QEventLoop::exec (this=this@entry=0x7ffdd2220930, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f5165583c90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x0000560434c40203 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/file/main.cpp:78
[Inferior 1 (process 2181) detached]
Comment 1 Nate Graham 2020-10-30 15:30:25 UTC
#5  0x00007f5165890478 in QHash<QByteArray, QVector<Baloo::WriteTransaction::Operation> >::const_iterator::operator++ (this=0x7f115bffe948) at /usr/include/qt5/QtCore/qhash.h:1293
#6  QHashIterator<QByteArray, QVector<Baloo::WriteTransaction::Operation> >::next (this=0x7f115bffe940) at /usr/include/qt5/QtCore/qhash.h:1295
#7  Baloo::WriteTransaction::commit (this=<optimized out>) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/engine/writetransaction.cpp:278
#8  0x00007f516588483b in Baloo::Transaction::commit (this=this@entry=0x7f115bffeaa0) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/engine/transaction.cpp:275
#9  0x0000560434c52ad3 in Baloo::UnindexedFileIndexer::run (this=0x560436d3e250) at /usr/src/debug/baloo5-5.75.0-1.1.x86_64/src/file/unindexedfileindexer.cpp:61
Comment 2 Christoph Cullmann 2024-03-14 20:27:09 UTC
With out a way to reproduce, no way to fix.
At least the code looks not that wrong.
Comment 3 Bug Janitor Service 2024-03-29 03:46:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-04-13 03:48:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!