Bug#1057172: baloo-kf5: Baloo Service Crashes After Enabling 'Index File Contents' Option
On Fri, 1 Dec 2023 00:26:27 +0100 Lucy wrote: #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) #4 0x557d83358770 n/a (baloo_file + 0x13770) #5 0x557d8335885d n/a (baloo_file + 0x1385d) #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) Hello, I am not maintainer of baloo-kf5, just just tried to collect some more information. The interesting lines above in the stacktrace translate to this: ... #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) | #4 0x557d83358770 n/a (baloo_file + 0x13770) | in QString::QString(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093 #5 0x557d8335885d n/a (baloo_file + 0x1385d) | in QList::append(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:623 #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) | in Baloo::FileContentIndexer::slotFinishedIndexingFile(QString const&, bool) at ./src/file/filecontentindexer.cpp:125 #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) | ... Unfortunately this leads just to some upstream bugs, which are not showing much more information. https://bugs.kde.org/show_bug.cgi?id=441860 https://bugs.kde.org/show_bug.cgi?id=443483 https://bugs.kde.org/show_bug.cgi?id=476479 Kind regards, Bernhard Stack trace of thread 1876: #0 0x7fbe9c2a9d3c __pthread_kill_implementation (libc.so.6 + 0x8ad3c) #1 0x7fbe9c25af32 __GI_raise (libc.so.6 + 0x3bf32) #2 0x7fbe9cfabb46 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b46) #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) #4 0x557d83358770 n/a (baloo_file + 0x13770) #5 0x557d8335885d n/a (baloo_file + 0x1385d) #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) #8 0x7fbe9cab16cd _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b16cd) #9 0x7fbe9cab4681 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2b4681) #10 0x7fbe9cb0a153 n/a (libQt5Core.so.5 + 0x30a153) #11 0x7fbe9b11e7a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9) #12 0x7fbe9b11ea38 n/a (libglib-2.0.so.0 + 0x54a38) #13 0x7fbe9b11eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc) #14 0x7fbe9cb09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836) #15 0x7fbe9cab017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b) #16 0x7fbe9cab82d6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6) #17 0x557d83353982 n/a (baloo_file + 0xe982) #18 0x7fbe9c2461ca __libc_start_call_main (libc.so.6 + 0x271ca) #19 0x7fbe9c246285 __libc_start_main_impl (libc.so.6 + 0x27285) #20 0x557d83353b61 n/a (baloo_file + 0xeb61) Thread 1 (Thread 0x7fbe9ac86540 (LWP 1876)): [KCrash Handler] #5 0x557d83358770 in ?? () #6 0x557d8335885d in ?? () #7 0x557d83365bf1 in ?? () #8 0x7fbe9cadd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x7fbe9cab16cd in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x7fbe9cab4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x7fbe9cb0a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x7fbe9b11e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x7fbe9b11ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x7fbe9b11eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x7fbe9cb09836 in QEventDispatcherGlib::processEvents(QFlags) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x7fbe9cab017b in QEventLoop::exec(QFlags) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x7fbe9cab82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x557d83353982 in ?? () #19 0x7fbe9c2461ca in __libc_start_call_main (main=main@entry=0x557d833536e0, argc=argc@entry=1, argv=argv@entry=0x7ffd6ffbbe18) at ../sysdeps/nptl/libc_start_call_main.h:58 #20 0x7fbe9c246285 in __libc_start_main_impl (main=0x557d833536e0, argc=1, argv=0x7ffd6ffbbe18, init=, fini=, rtld_fini=, stack_end=0x7ffd6ffbbe08) at ../csu/libc-start.c:360 #21 0x557d83353b61 in ?? () # 2024-05-04 Bookworm/stable amd64 qemu VM apt install --no-install-recommends --no-install-suggests gdb baloo-kf5 baloo-kf5-dbgsym apt build-dep baloo-kf5 mkdir /home/benutzer/source/baloo-kf5/orig -p cd/home/benutzer/source/baloo-kf5/orig apt source baloo-kf5 gdb -q set width 0 set pagination off directory /home/benutzer/source/baloo-kf
Bug#1057172: baloo-kf5: Baloo Service Crashes After Enabling 'Index File Contents' Option
Package: baloo-kf5 Version: 5.103.0-2 Severity: important X-Debbugs-Cc: luc...@diplomats.com Dear Maintainer, Description: Enabling the 'Index file contents' option in the Baloo service leads to sporadic crashes. Steps to Reproduce: Access the Baloo settings. Enable the 'Index file contents' option. Observed Behavior: After enabling the 'Index file contents' option, the Baloo service crashes sporadically. The crash doesn't follow a consistent pattern and occurs unpredictably. Below, I've included the debug information from DrKonqi for further analysis. Additional Information: The system utilizes the BtrFS and XFS file systems. This information is provided in case the choice of file systems might be relevant to the issue. Expected Behavior: Enabling the 'Index file contents' option should not cause the Baloo service to crash. The service should function reliably and conduct the indexing of file contents as intended. Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-13-amd64 (64-bit) Graphics Platform: X11 -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-13-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages baloo-kf5 depends on: ii init-system-helpers 1.65.2 ii kio 5.103.0-1 ii libc6 2.36-9+deb12u3 ii libkf5baloo5 5.103.0-2 ii libkf5balooengine5 5.103.0-2 ii libkf5configcore5 5.103.0-2 ii libkf5coreaddons5 5.103.0-1 ii libkf5crash5 5.103.0-1 ii libkf5dbusaddons5 5.103.0-1 ii libkf5filemetadata3 5.103.0-1 ii libkf5i18n5 5.103.0-1 ii libkf5idletime5 5.103.0-2 ii libkf5kiocore5 5.103.0-1 ii libkf5solid5 5.103.0-1 ii libqt5core5a 5.15.8+dfsg-11 ii libqt5dbus5 5.15.8+dfsg-11 ii libqt5gui5 5.15.8+dfsg-11 ii libqt5qml5 5.15.8+dfsg-3 ii libstdc++6 12.2.0-14 baloo-kf5 recommends no packages. baloo-kf5 suggests no packages. -- no debconf information *** /home/lucy/baloo_file_crash.log Application: baloo_file (baloo_file), signal: Segmentation fault PID: 1876 (baloo_file) UID: 1000 (lucy) GID: 1000 (lucy) Signal: 11 (SEGV) Timestamp: Thu 2023-11-16 02:38:07 CET (2h 31min ago) Command Line: /usr/lib/x86_64-linux-gnu/libexec/baloo_file Executable: /usr/lib/x86_64-linux-gnu/libexec/baloo_file Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/kde-baloo.service Unit: user@1000.service User Unit: kde-baloo.service Slice: user-1000.slice Owner UID: 1000 (lucy) Boot ID: 9ca02c462c58460ebbfbac59d59a9cc3 Machine ID: 6db60355bc8e4fccb5a531dd67bc08d4 Hostname: june Storage: /var/lib/systemd/coredump/core.baloo_file.1000.9ca02c462c58460ebbfbac59d59a9cc3.1876.170009868700.zst (present) Size on Disk: 9.0M Message: Process 1876 (baloo_file) of user 1000 dumped core. Module libsystemd.so.0 from deb systemd-252.17-1~deb12u1.amd64 Module libudev.so.1 from deb systemd-252.17-1~deb12u1.amd64 Stack trace of thread 1876: #0 0x7fbe9c2a9d3c __pthread_kill_implementation (libc.so.6 + 0x8ad3c) #1 0x7fbe9c25af32 __GI_raise (libc.so.6 + 0x3bf32) #2 0x7fbe9cfabb46 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b46) #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) #4 0x557d83358770 n/a (baloo_file + 0x13770) #5 0x557d8335885d n/a (baloo_file + 0x1385d) #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) #8 0x7fbe9cab16cd _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b16cd) #9 0x7fbe9cab4681 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2b4681) #10 0x7fbe9cb0a153 n/a (libQt5Core.so.5 + 0x30a153) #11 0x7fbe9b11e7a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9) #12 0x7fbe9b11ea38 n/a (libglib-2.0.so.0 + 0x54a38) #13 0x7fbe9b11eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc) #14 0x7fbe9cb09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836) #15 0x7fbe9cab017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b) #16 0x7fbe9cab82d6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6) #17 0x557d83353982 n/a (baloo_file + 0xe982) #18 0x7fbe9c2461ca __libc_start_call_main (libc.so.6 + 0x271ca) #19 0x7fbe9c246285 __libc_start_main_impl (libc.so.6 + 0x27285) #20 0x557d83353b61 n/a (baloo_file + 0xeb61) Stack trace of thread 3227: #0 0x7fbe9c31b05f __GI___poll (libc.so.6 + 0xfc05f) #1 0x7fbe9cfab150 n/a (libKF5Crash.so.5 + 0