Bug 484548 - Baloo crashes on 1st boot of new fedora:40 installation without user interaction.
Summary: Baloo crashes on 1st boot of new fedora:40 installation without user interact...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 19:54 UTC by Roke Julian Lockhart Beedell
Modified: 2024-06-10 12:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Report timeline. (106.84 KB, image/png)
2024-06-10 12:22 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-03-26 19:54:56 UTC
STEPS TO REPRODUCE
1.  Write https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso using 
2.  Install the OS.
3.  Update to cpe:/o:fedoraproject:fedora:40, which contains https://kojipkgs.fedoraproject.org//packages/kf6-baloo/6.0.0/3.fc40/x86_64/kf6-baloo-6.0.0-3.fc40.x86_64.rpm
4.  Check `drkonqi-coredump-gui`.

OBSERVED RESULT
           PID: 1615 (baloo_file)
           UID: 1000 (RokeJulianLockhart)
           GID: 1000 (RokeJulianLockhart)
        Signal: 6 (ABRT)
     Timestamp: Tue 2024-03-26 19:20:06 GMT (4min 19s ago)
  Command Line: /usr/libexec/kf6/baloo_file
    Executable: /usr/libexec/kf6/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 (RokeJulianLockhart)
       Boot ID: f5ffd89df9f94695b6a8d6ee96a70bb9
    Machine ID: bf7481ba37594c3ab0f27c3b2af4c34c
      Hostname: sayw4i
       Storage: /var/lib/systemd/coredump/core.baloo_file.1000.f5ffd89df9f94695b6a8d6ee96a70bb9.1615.1711480806000000.zst (present)
  Size on Disk: 2.8M
       Package: kf6-baloo/6.0.0-3.fc40
      build-id: 5cd8acc470a6c5f716147465e613e8d5bb5aa044
       Message: Process 1615 (baloo_file) of user 1000 dumped core.
                
                Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
                Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64
                Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
                Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64
                Module libgraphite2.so.3 from rpm graphite2-1.3.14-15.fc40.x86_64
                Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64
                Module libxml2.so.2 from rpm libxml2-2.12.5-1.fc40.x86_64
                Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
                Module liblzma.so.5 from rpm xz-5.6.0-3.fc40.x86_64
                Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
                Module libpcre2-8.so.0 from rpm pcre2-10.42-2.fc40.2.x86_64
                Module libicudata.so.74 from rpm icu-74.2-1.fc40.x86_64
                Module libssl.so.3 from rpm openssl-3.2.1-2.fc40.x86_64
                Module libusbmuxd-2.0.so.6 from rpm libusbmuxd-2.0.2^20230620git8d30a55-5.fc40.x86_64
                Module libimobiledevice-glue-1.0.so.0 from rpm libimobiledevice-glue-1.0.0-3.fc40.x86_64
                Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.x86_64
                Module libblkid.so.1 from rpm util-linux-2.40-0.9.rc1.fc40.x86_64
                Module libcap.so.2 from rpm libcap-2.69-3.fc40.x86_64
                Module libxcb.so.1 from rpm libxcb-1.16-4.fc40.x86_64
                Module libfreetype.so.6 from rpm freetype-2.13.2-5.fc40.x86_64
                Module libharfbuzz.so.0 from rpm harfbuzz-8.3.0-5.fc40.x86_64
                Module libpng16.so.16 from rpm libpng-1.6.40-3.fc40.x86_64
                Module libOpenGL.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
                Module libGLX.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
                Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_64
                Module libfontconfig.so.1 from rpm fontconfig-2.15.0-4.fc40.x86_64
                Module libEGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
                Module libcrypto.so.3 from rpm openssl-3.2.1-2.fc40.x86_64
                Module libpcre2-16.so.0 from rpm pcre2-10.42-2.fc40.2.x86_64
                Module libb2.so.1 from rpm libb2-0.98.1-11.fc40.x86_64
                Module libdouble-conversion.so.3 from rpm double-conversion-3.3.0-3.fc40.x86_64
                Module libsystemd.so.0 from rpm systemd-255.4-1.fc40.x86_64
                Module libz.so.1 from rpm zlib-ng-2.1.6-2.fc40.x86_64
                Module libglib-2.0.so.0 from rpm glib2-2.80.0-1.fc40.x86_64
                Module libzstd.so.1 from rpm zstd-1.5.5-5.fc40.x86_64
                Module libicuuc.so.74 from rpm icu-74.2-1.fc40.x86_64
                Module libicui18n.so.74 from rpm icu-74.2-1.fc40.x86_64
                Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64
                Module liblmdb.so.0.0.0 from rpm lmdb-0.9.32-1.fc40.x86_64
                Module libKF6I18n.so.6 from rpm kf6-ki18n-6.0.0-1.fc40.x86_64
                Module libplist-2.0.so.4 from rpm libplist-2.3.0-4.fc40.x86_64
                Module libimobiledevice-1.0.so.6 from rpm libimobiledevice-1.3.0^20230705git6fc41f5-4.fc40.x86_64
                Module libmount.so.1 from rpm util-linux-2.40-0.9.rc1.fc40.x86_64
                Module libudev.so.1 from rpm systemd-255.4-1.fc40.x86_64
                Module libQt6Xml.so.6 from rpm qt6-qtbase-6.6.2-6.fc40.x86_64
                Module libX11.so.6 from rpm libX11-1.8.7-3.fc40.x86_64
                Module libKF6CoreAddons.so.6 from rpm kf6-kcoreaddons-6.0.0-1.fc40.x86_64
                Module libQt6Gui.so.6 from rpm qt6-qtbase-6.6.2-6.fc40.x86_64
                Module libQt6Core.so.6 from rpm qt6-qtbase-6.6.2-6.fc40.x86_64
                Module libQt6DBus.so.6 from rpm qt6-qtbase-6.6.2-6.fc40.x86_64
                Module libKF6BalooEngine.so.6 from rpm kf6-baloo-6.0.0-3.fc40.x86_64
                Module libKF6ConfigCore.so.6 from rpm kf6-kconfig-6.0.0-1.fc40.x86_64
                Module libKF6FileMetaData.so.3 from rpm kf6-kfilemetadata-6.0.0-2.fc40.x86_64
                Module libKF6Solid.so.6 from rpm kf6-solid-6.0.0-2.fc40.x86_64
                Module libKF6Crash.so.6 from rpm kf6-kcrash-6.0.0-1.fc40.x86_64
                Module baloo_file from rpm kf6-baloo-6.0.0-3.fc40.x86_64
                Stack trace of thread 1615:
                #0  0x00007fa1fd2ab134 __pthread_kill_implementation (libc.so.6 + 0x98134)
                #1  0x00007fa1fd25363e raise (libc.so.6 + 0x4063e)
                #2  0x00007fa1fe206655 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x7655)
                #3  0x00007fa1fd2536f0 __restore_rt (libc.so.6 + 0x406f0)
                #4  0x00007fa1fd2ab134 __pthread_kill_implementation (libc.so.6 + 0x98134)
                #5  0x00007fa1fd25363e raise (libc.so.6 + 0x4063e)
                #6  0x00007fa1fd23b8ff abort (libc.so.6 + 0x288ff)
                #7  0x00007fa1fd23c764 __libc_message_impl.cold (libc.so.6 + 0x29764)
                #8  0x00007fa1fd2b5165 malloc_printerr (libc.so.6 + 0xa2165)
                #9  0x00007fa1fd2b8564 _int_malloc (libc.so.6 + 0xa5564)
                #10 0x00007fa1fd2b9704 __libc_malloc (libc.so.6 + 0xa6704)
                #11 0x0000563065c0e87b _ZN8KInotify9slotEventEi (baloo_file + 0x2b87b)
                #12 0x00007fa1fd9f2684 _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 + 0x1f2684)
                #13 0x00007fa1fd9fffed _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt6Core.so.6 + 0x1fffed)
                #14 0x00007fa1fda007fb _ZN15QSocketNotifier5eventEP6QEvent (libQt6Core.so.6 + 0x2007fb)
                #15 0x00007fa1fd98f1ee _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x18f1ee)
                #16 0x00007fa1fdc67dbf _ZL28socketNotifierSourceDispatchP8_GSourcePFiPvES1_ (libQt6Core.so.6 + 0x467dbf)
                #17 0x00007fa1fbf1b68c g_main_context_dispatch_unlocked.lto_priv.0 (libglib-2.0.so.0 + 0x5c68c)
                #18 0x00007fa1fbf7c788 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbd788)
                #19 0x00007fa1fbf1cb03 g_main_context_iteration (libglib-2.0.so.0 + 0x5db03)
                #20 0x00007fa1fdc66de3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x466de3)
                #21 0x00007fa1fd99c053 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x19c053)
                #22 0x00007fa1fd997ffc _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x197ffc)
                #23 0x0000563065bf1faf main (baloo_file + 0xefaf)
                #24 0x00007fa1fd23d088 __libc_start_call_main (libc.so.6 + 0x2a088)
                #25 0x00007fa1fd23d142 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a142)
                #26 0x0000563065bf26d5 _start (baloo_file + 0xf6d5)
                
                Stack trace of thread 11801:
                #0  0x00007fa1fd31d6cd __poll (libc.so.6 + 0x10a6cd)
                #1  0x00007fa1fbf7c724 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbd724)
                #2  0x00007fa1fbf1cb03 g_main_context_iteration (libglib-2.0.so.0 + 0x5db03)
                #3  0x00007fa1fdc66e01 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x466e01)
                #4  0x00007fa1fd99c053 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x19c053)
                #5  0x0000563065c057b3 _ZN5Baloo18FileContentIndexer3runEv (baloo_file + 0x227b3)
                #6  0x00007fa1fdb4aa75 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 + 0x34aa75)
                #7  0x00007fa1fdb4562c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 + 0x34562c)
                #8  0x00007fa1fd2a91a7 start_thread (libc.so.6 + 0x961a7)
                #9  0x00007fa1fd32b33c __clone3 (libc.so.6 + 0x11833c)
                
                Stack trace of thread 1636:
                #0  0x00007fa1fd31d6cd __poll (libc.so.6 + 0x10a6cd)
                #1  0x00007fa1fbf7c724 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbd724)
                #2  0x00007fa1fbf1cb03 g_main_context_iteration (libglib-2.0.so.0 + 0x5db03)
                #3  0x00007fa1fdc66de3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x466de3)
                #4  0x00007fa1fd99c053 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x19c053)
                #5  0x00007fa1fdaa9bdf _ZN7QThread4execEv (libQt6Core.so.6 + 0x2a9bdf)
                #6  0x00007fa1fdfbc0a1 _ZN22QDBusConnectionManager3runEv (libQt6DBus.so.6 + 0x340a1)
                #7  0x00007fa1fdb4562c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 + 0x34562c)
                #8  0x00007fa1fd2a91a7 start_thread (libc.so.6 + 0x961a7)
                #9  0x00007fa1fd32b33c __clone3 (libc.so.6 + 0x11833c)
                ELF object binary architecture: AMD x86-64

EXPECTED RESULT
It shouldn't have crashed on a new installation without any user interaction.

SOFTWARE/OS VERSIONS
Operating System: cpe:/o:fedoraproject:fedora:40
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
https://discussion.fedoraproject.org/t/how-to-acquire-specific-release-of-installed-os/109720
Comment 1 Roke Julian Lockhart Beedell 2024-03-26 19:57:39 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #0)
> 1.  Write https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso using 

should be

> 1.  Write https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso using `flatpak install https://dl.flathub.org/repo/appstream/org.fedoraproject.MediaWriter.flatpakref && flatpak update app/org.fedoraproject.MediaWriter/x86_64/stable --commit=08f95f0584ba56e427555192146ebe9f4e558521bff8588d7fa83998ad184b86`.
Comment 2 Roke Julian Lockhart Beedell 2024-03-26 20:06:56 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #0)
https://bugzilla.redhat.com/show_bug.cgi?id=2271668
Comment 3 tagwerk19 2024-03-27 09:11:37 UTC
Is there anything in the journal? (possibly as Assert?) ...

... thinking of Bug 478854
Comment 4 Roke Julian Lockhart Beedell 2024-03-27 13:09:06 UTC
(In reply to tagwerk19 from comment #3)
`journalctl | grep 'Assert'` doesn't return anything from any of my boots.

```log
RokeJulianLockhart@sayw4i:~$ journalctl --list-boots
IDX BOOT ID                          FIRST ENTRY                 LAST ENTRY                 
 -6 c49ba37acf034e8b88936092cb3f1ec5 Tue 2024-03-26 18:22:44 GMT Tue 2024-03-26 18:30:44 GMT
 -5 f8990e32677b4372ae43a988319ab5b5 Tue 2024-03-26 18:31:14 GMT Tue 2024-03-26 18:32:24 GMT
 -4 f5ffd89df9f94695b6a8d6ee96a70bb9 Tue 2024-03-26 18:32:54 GMT Tue 2024-03-26 21:56:21 GMT
 -3 9d5d1c6909fd45079e594d577e1d5cff Tue 2024-03-26 21:56:51 GMT Wed 2024-03-27 00:45:48 GMT
 -2 aaa7e55800b1421fb31407f7210b793c Wed 2024-03-27 12:43:38 GMT Wed 2024-03-27 12:45:48 GMT
 -1 463ed0a1829146798399be38ddde4e7a Wed 2024-03-27 12:46:38 GMT Wed 2024-03-27 12:46:50 GMT
  0 ba2ef6c5260242a6a5ef58d6f337c8ac Wed 2024-03-27 12:47:35 GMT Wed 2024-03-27 13:07:36 GMT
```
Comment 5 tagwerk19 2024-03-27 20:28:22 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #1)
> > 1.  Write https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso

I may not be doing the same...

I've installed https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso in a KVM guest. That works, I get nothing reported by a "systemctl status --user kde-baloo"

Updated to the status "as of now", similarly no trouble.

I tried the folder creation/rename tricks that triggers Bug 478854 and don't get the failures.
Comment 6 Roke Julian Lockhart Beedell 2024-03-27 20:31:32 UTC
(In reply to tagwerk19 from comment #5)
Have you rebooted? Try doing that a few times, and check both the KDE Crashed Process Viewer *and* GNOME ABRT's "Problem Reporting" GUI.
Comment 7 tagwerk19 2024-03-27 21:10:59 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #6)
> (In reply to tagwerk19 from comment #5)
> Have you rebooted? Try doing that a few times, and check both the KDE
> Crashed Process Viewer *and* GNOME ABRT's "Problem Reporting" GUI.
I'm in a VM and I think that's a bit more insulated than systems "out in the wild"

Tried several reboots and looked with coredumpctl, nothing obvious I'm afraid.

In your attachment
    https://bugzilla.redhat.com/attachment.cgi?id=2023708

    Mar 26 19:19:24 sayw4i baloo_file[1615]: kf.baloo: Failed to add exclude folder config entry for "/home/RokeJulianLockhart"
    Mar 26 19:20:06 sayw4i baloo_file[1615]: malloc(): invalid size (unsorted)
    Mar 26 19:20:06 sayw4i baloo_file[1615]: KCrash: appFilePath points to nullptr!
    Mar 26 19:20:06 sayw4i baloo_file[1615]: KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2

The "add exclude" failure seems curious. I know Fedora "hardwires" some includes (Documents, Pictures, Videos, Music) and excludes $HOME but I've not seen this failure before...

What does your .config/baloofilerc look like?
Comment 8 Roke Julian Lockhart Beedell 2024-03-27 21:24:40 UTC
(In reply to tagwerk19 from comment #7)
```log
RokeJulianLockhart@sayw4i:~$ cat "$HOME/.config/baloofilerc"
[General]
dbVersion=2
exclude filters=*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found
exclude filters version=9
exclude folders[$d]
folders[$e]=$HOME/,$HOME/Documents/,$HOME/Music/,$HOME/Pictures/,$HOME/Videos/
index hidden folders=true
RokeJulianLockhart@sayw4i:~$
```
Comment 9 tagwerk19 2024-03-27 22:15:35 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #8)
> ...
> exclude folders[$d]
> folders[$e]=$HOME/,$HOME/Documents/,$HOME/Music/,$HOME/Pictures/,$HOME/Videos/
> index hidden folders=true
> ...
I can get the same by enabling indexing of $HOME in system settings, and I then get the

> ...
> Mar 26 19:19:24 sayw4i baloo_file[1615]: kf.baloo: Failed to add exclude folder config entry for "/home/RokeJulianLockhart"
> ... 
error in the journal. Probably means that this is a red herring (sorry, cultural reference, meaning "something of a distraction" 8-)

Alas, don't think I've got any more ideas....
Comment 10 Roke Julian Lockhart Beedell 2024-03-27 23:14:10 UTC
(In reply to tagwerk19 from comment #9)
I'm English. The phrase is common here too, so no worries. Does https://bugzilla.redhat.com/show_bug.cgi?id=2271668 contain any more useful diagnostic data? I can upload my entire journalctl too if that would be of use.
Comment 11 Roke Julian Lockhart Beedell 2024-06-10 12:22:20 UTC
Created attachment 170328 [details]
Report timeline.

It appears to have been remediated. It certainly hasn't occurred for a while.