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

            Bug ID: 428666
           Summary: segfault in Baloo::DocTermsCodec::encode
           Product: frameworks-baloo
           Version: 5.75.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: stefan.bru...@rwth-aachen.de
          Reporter: g...@aon.at
  Target Milestone: ---

SUMMARY

After starting baloo it quickly crashes.

$ balooctl enable
Enabling and starting the File Indexer
$ KCrash: Attempting to start /usr/bin/baloo_file
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = baloo_file path = /usr/bin pid = 79195
KCrash: Arguments: /usr/bin/baloo_file


$ balooctl monitor
Waiting for file indexer to start
Press Ctrl+C to stop monitoring
File indexer is running
Starting
Checking for stale index entries
Checking for unindexed files
Waiting for file indexer to start
Press Ctrl+C to stop monitoring
File indexer is running
Starting
Checking for stale index entries
Checking for unindexed files
Waiting for file indexer to start
Press Ctrl+C to stop monitoring


$ balooctl status  
Baloo File Indexer is not running
Total files indexed: 7 097
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 16,98 MiB

$ coredumpctl debug
           PID: 79212 (baloo_file)
           UID: 1000 ()
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Tue 2020-11-03 23:10:15 CET (4s ago)
  Command Line: /usr/bin/baloo_file
    Executable: /usr/bin/baloo_file
 Control Group:
/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole\x20\x281\x29-d0f12239c8e548799c3f59da5308fbd8.scope
          Unit: user@1000.service
     User Unit:
app-org.kde.konsole\x20\x281\x29-d0f12239c8e548799c3f59da5308fbd8.scope
         Slice: user-1000.slice
     Owner UID: 1000 ()
       Boot ID: 186cf5b1616e4d599709c0012d541fe4
    Machine ID: d32224f1fd5c468895dfb73dbf7f8e8b
      Hostname: homebase
       Storage:
/var/lib/systemd/coredump/core.baloo_file.1000.186cf5b1616e4d599709c0012d541fe4.79212.1604441415000000.zst
       Message: Process 79212 (baloo_file) of user 1000 dumped core.

                Stack trace of thread 79234:
                #0  0x00007fa35b1a4f2a _ZN10QByteArray6appendERKS_
(libQt5Core.so.5 + 0x125f2a)
                #1  0x00007fa35b5fc5fe
_ZN5Baloo13DocTermsCodec6encodeERK7QVectorI10QByteArrayE
(libKF5BalooEngine.so.5 + 0x295fe)
                #2  0x00007fa35b5dfe71
_ZN5Baloo10DocumentDB3putEyRK7QVectorI10QByteArrayE (libKF5BalooEngine.so.5 +
0xce71)
                #3  0x00007fa35b5f8424
_ZN5Baloo16WriteTransaction11addDocumentERKNS_8DocumentE
(libKF5BalooEngine.so.5 + 0x25424)
                #4  0x0000563f61c5be77 _ZN5Baloo20UnindexedFileIndexer3runEv
(baloo_file + 0x18e77)
                #5  0x00007fa35b150dc2 n/a (libQt5Core.so.5 + 0xd1dc2)
                #6  0x00007fa35b14ce8f n/a (libQt5Core.so.5 + 0xcde8f)
                #7  0x00007fa35a0c83e9 start_thread (libpthread.so.0 + 0x93e9)
                #8  0x00007fa35ac93293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 79212:
                #0  0x00007fa35ac8846f __poll (libc.so.6 + 0xf546f)
                #1  0x00007fa35989275f n/a (libglib-2.0.so.0 + 0xa675f)
                #2  0x00007fa35983d121 g_main_context_iteration
(libglib-2.0.so.0 + 0x51121)
                #3  0x00007fa35b38b941
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x30c941)
                #4  0x00007fa35b33165c
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2b265c)
                #5  0x00007fa35b339af4 _ZN16QCoreApplication4execEv
(libQt5Core.so.5 + 0x2baaf4)
                #6  0x0000563f61c4f2b4 main (baloo_file + 0xc2b4)
                #7  0x00007fa35abbb152 __libc_start_main (libc.so.6 + 0x28152)
                #8  0x0000563f61c4f4be _start (baloo_file + 0xc4be)

                Stack trace of thread 79213:
                #0  0x00007fa35ac8846f __poll (libc.so.6 + 0xf546f)
                #1  0x00007fa35989275f n/a (libglib-2.0.so.0 + 0xa675f)
                #2  0x00007fa35983d121 g_main_context_iteration
(libglib-2.0.so.0 + 0x51121)
                #3  0x00007fa35b38b941
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x30c941)
                #4  0x00007fa35b33165c
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2b265c)
                #5  0x00007fa35b14bca2 _ZN7QThread4execEv (libQt5Core.so.5 +
0xccca2)
                #6  0x00007fa35b61e098 n/a (libQt5DBus.so.5 + 0x17098)
                #7  0x00007fa35b14ce8f n/a (libQt5Core.so.5 + 0xcde8f)
                #8  0x00007fa35a0c83e9 start_thread (libpthread.so.0 + 0x93e9)
                #9  0x00007fa35ac93293 __clone (libc.so.6 + 0x100293)


This is maybe related to #405893


SOFTWARE/OS VERSIONS
archlinux
KDE Frameworks 5.75.0
Qt 5.15.1 (built against 5.15.1)
baloo build with debug info

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

Reply via email to