Bug 394969

Summary: Baloo crashes on indexing new files
Product: [Frameworks and Libraries] frameworks-baloo Reporter: hotmusicfan
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 5.45.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hotmusicfan 2018-06-02 21:11:48 UTC
Hello!

Baloo crashes whenever a new file/files are copied/downloaded to the HDD (newly installed Leap 15 with Plasma 5.12 LTS).
Rebuilding the database, restarting the service are not working.
File system (if matters): XFS.
Comment 1 hotmusicfan 2018-08-13 01:39:50 UTC
Hello! Are you devs on a long vacantion?!? :/
------------------------------------------------
Application: baloo_file (5.45.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.13-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

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 0x7f945d4fa100 (LWP 12066))]

Thread 2 (Thread 0x7f9452c11700 (LWP 12073)):
#0  0x00007f945af0508b in poll () from /lib64/libc.so.6
#1  0x00007f94575ee109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f94575ee21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f945bb7ec0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f945bb2709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f945b9564da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f945cd9b985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f945b95b0ce in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f9459f66559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f945af0f82f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f945d4fa100 (LWP 12066)):
[KCrash Handler]
#6  0x00007f945aeb9533 in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
#7  0x00007f945c4f4a93 in ?? () from /usr/lib64/libKF5BalooEngine.so.5
#8  0x00007f945c4e5f64 in Baloo::PostingDB::get(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#9  0x00007f945c4f2180 in Baloo::WriteTransaction::commit() () from /usr/lib64/libKF5BalooEngine.so.5
#10 0x00007f945c4eb4c2 in Baloo::Transaction::commit() () from /usr/lib64/libKF5BalooEngine.so.5
#11 0x0000563275fed408 in ?? ()
#12 0x00007f945bb5614c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#13 0x0000563275ff5b95 in ?? ()
#14 0x0000563275feb42e in ?? ()
#15 0x00007f945bb5614c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#16 0x00007f945bb62437 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f945bb62768 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib64/libQt5Core.so.5
#18 0x00007f945bb569eb in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f945bb28a71 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f945bb7e19e in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#21 0x00007f945bb7e8e9 in ?? () from /usr/lib64/libQt5Core.so.5
#22 0x00007f94575edf57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f94575ee190 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f94575ee21c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f945bb7ebef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f945bb2709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f945bb2f9e4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#28 0x0000563275fd721c in ?? ()
#29 0x00007f945ae37f4a in __libc_start_main () from /lib64/libc.so.6
#30 0x0000563275fd748a in _start ()

Report to https://bugs.kde.org/
Comment 2 hotmusicfan 2018-08-16 16:37:53 UTC
Update (if anyone reads): Baloo crashes even on moving single files from one directory to another.
Comment 3 Nate Graham 2018-10-12 23:04:30 UTC

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

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