https://bugs.kde.org/show_bug.cgi?id=506187

            Bug ID: 506187
           Summary: baloo_file_extractor crashes on attempting to index
                    specific CSV files and spams tray notifications
    Classification: Frameworks and Libraries
           Product: frameworks-baloo
      Version First unspecified
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: gari...@gmail.com
  Target Milestone: ---

Created attachment 182669
  --> https://bugs.kde.org/attachment.cgi?id=182669&action=edit
One CSV file that causes the crash

Running the up-to-date version of KDE neon user.
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0

Baloo crashes on a specific set of files. These are .csv files. I have attached
one for reference. The error that the monitor gives is the following:

ASSERT: "!term.isEmpty()" in file ./src/engine/document.cpp, line 23
KCrash: Application 'baloo_file_extractor' crashing... crashRecursionCounter =
2
kf.baloo: Extractor crashed

Backtrace is the following:
Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libzstd.so.1 from deb
libzstd-1.5.5+dfsg2-2build1.1.amd64
                Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.8.amd64
                Module libgcc_s.so.1 from deb
gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libudev.so.1 from deb systemd-255.4-1ubuntu8.8.amd64
                Module libstdc++.so.6 from deb
gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Stack trace of thread 36272:
                #0  0x0000750c0d89eb2c __pthread_kill_implementation (libc.so.6
+ 0x9eb2c)
                #1  0x0000750c0d84527e __GI_raise (libc.so.6 + 0x4527e)
                #2  0x0000750c0f06c33e _ZN6KCrash19defaultCrashHandlerEi
(libKF6Crash.so.6 + 0x933e)
                #3  0x0000750c0d845330 __restore_rt (libc.so.6 + 0x45330)
                #4  0x0000750c0d89eb2c __pthread_kill_implementation (libc.so.6
+ 0x9eb2c)
                #5  0x0000750c0d84527e __GI_raise (libc.so.6 + 0x4527e)
                #6  0x0000750c0d8288ff __GI_abort (libc.so.6 + 0x288ff)
                #7  0x0000750c0e5247d9 n/a (libQt6Core.so.6 + 0x5247d9)
                #8  0x0000750c0e525ac7 _ZNK14QMessageLogger5fatalEPKcz
(libQt6Core.so.6 + 0x525ac7)
                #9  0x0000750c0e5100d1 _Z9qt_assertPKcS0_i (libQt6Core.so.6 +
0x5100d1)
                #10 0x0000750c0f0805e2 n/a (libKF6BalooEngine.so.6 + 0xa5e2)
                #11 0x0000750c0f0965e6
_ZN5Baloo13TermGenerator9indexTextERK7QStringRK10QByteArray
(libKF6BalooEngine.so.6 + 0x205e6)
                #12 0x0000750c0f0966d4
_ZN5Baloo13TermGenerator9indexTextERK7QString (libKF6BalooEngine.so.6 +
0x206d4)
                #13 0x0000750c0a24e1f9 n/a (kfilemetadata_plaintextextractor.so
+ 0x31f9)
                #14 0x000056952e1d446f n/a (baloo_file_extractor + 0x1746f)
                #15 0x000056952e1d5e6d n/a (baloo_file_extractor + 0x18e6d)
                #16 0x0000750c0e477a99 n/a (libQt6Core.so.6 + 0x477a99)
                #17 0x0000750c0e417d4d n/a (libQt6Core.so.6 + 0x417d4d)
                #18 0x0000750c0e400ae6 _ZN7QObject5eventEP6QEvent
(libQt6Core.so.6 + 0x400ae6)
                #19 0x0000750c0e4b0dd0
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
0x4b0dd0)
                #20 0x0000750c0e38f087 _ZN14QTimerInfoList14activateTimersEv
(libQt6Core.so.6 + 0x38f087)
                #21 0x0000750c0e261d99 n/a (libQt6Core.so.6 + 0x261d99)
                #22 0x0000750c0d5d75c5 n/a (libglib-2.0.so.0 + 0x5d5c5)
                #23 0x0000750c0d636737 n/a (libglib-2.0.so.0 + 0xbc737)
                #24 0x0000750c0d5d6a63 g_main_context_iteration
(libglib-2.0.so.0 + 0x5ca63)
                #25 0x0000750c0e260b3f
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x260b3f)
                #26 0x0000750c0e4bb4bb
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x4bb4bb)
                #27 0x0000750c0e4b405f _ZN16QCoreApplication4execEv
(libQt6Core.so.6 + 0x4b405f)
                #28 0x000056952e1cac94 n/a (baloo_file_extractor + 0xdc94)
                #29 0x0000750c0d82a1ca __libc_start_call_main (libc.so.6 +
0x2a1ca)
                #30 0x0000750c0d82a28b __libc_start_main_impl (libc.so.6 +
0x2a28b)
                #31 0x000056952e1cadd5 n/a (baloo_file_extractor + 0xddd5)

                Stack trace of thread 36277:
                #0  0x0000750c0d91b4cd __GI___poll (libc.so.6 + 0x11b4cd)
                #1  0x0000750c0d63668e n/a (libglib-2.0.so.0 + 0xbc68e)
                #2  0x0000750c0d5d6a63 g_main_context_iteration
(libglib-2.0.so.0 + 0x5ca63)
                #3  0x0000750c0e260b3f
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x260b3f)
                #4  0x0000750c0e4bb4bb
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x4bb4bb)
                #5  0x0000750c0e3c9627 _ZN7QThread4execEv (libQt6Core.so.6 +
0x3c9627)
                #6  0x0000750c0dbe1b3d n/a (libQt6DBus.so.6 + 0x9bb3d)
                #7  0x0000750c0e38fa39 n/a (libQt6Core.so.6 + 0x38fa39)
                #8  0x0000750c0d89caa4 start_thread (libc.so.6 + 0x9caa4)
                #9  0x0000750c0d929c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 36278:
                #0  0x0000750c0d91b4cd __GI___poll (libc.so.6 + 0x11b4cd)
                #1  0x0000750c0c9398ca n/a (libxcb.so.1 + 0xc8ca)
                #2  0x0000750c0c93b28c xcb_wait_for_event (libxcb.so.1 +
0xe28c)
                #3  0x0000750c0a20b056 n/a (libQt6XcbQpa.so.6 + 0x64056)
                #4  0x0000750c0e38fa39 n/a (libQt6Core.so.6 + 0x38fa39)
                #5  0x0000750c0d89caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x0000750c0d929c3c __clone3 (libc.so.6 + 0x129c3c)
                ELF object binary architecture: AMD x86-64

In addition, as there are multiple files, when it attempts to scan each one it
spams my tray with crashed process messages which is really annoying. It now
does this every time I login as well.

This issue just started a few days ago, although the files themselves have
existed in the same location for years and I do not recall this particular
crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to