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

            Bug ID: 527166
           Summary: baloo_file_extractor keeps crashing on startup
    Classification: Plasma
           Product: plasmashell
      Version First 6.8.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Startup process
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

DESCRIPTION
On startup, baloo_file_extractor keeps crashing with the following errors in
system journal:
```
10月 16 10:41:42 laptop-jin-mi baloo_file[1193]: Extractor crashed
10月 16 10:41:42 laptop-jin-mi systemd[1]:
systemd-coredump@41-28697-2913_24842-0.service: Deactivated successfully.
10月 16 10:41:42 laptop-jin-mi systemd[1]:
systemd-coredump@41-28697-2913_24842-0.service: Consumed 87ms CPU time over
103ms wall clock time, 20.4M memory peak, 1.7M written to disk.
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: Failed to create
wl_display (No such file or directory)
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: Could not load the Qt
platform plugin "wayland" in "" even though it was found.
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: could not connect to
display 
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: From 6.5.0,
xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: Could not load the Qt
platform plugin "xcb" in "" even though it was found.
10月 16 10:41:42 laptop-jin-mi baloo_file_extractor[2930]: This application
failed to start because no Qt platform plugin could be initialized.
Reinstalling the application may fix this problem.

                                                            Available platform
plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc,
wayland-brcm, wayland-egl, wayland, xcb.
10月 16 10:41:42 laptop-jin-mi systemd-coredump[2932]: Process 2930
(baloo_file_extr) of user 1000 terminated abnormally with signal 6/ABRT,
processing...
```

The crash is likely caused by `baloo_file` starting before `kwin_wayland`.
Adding the following to `kde-baloo.service` stops the crash:
```
[Unit]
After=plasma-kwin_wayland.service
```

An (IMHO, much cleaner) alternative to each service individually ordering after
kwin, is for `startplasma`
(https://github.com/KDE/plasma-workspace/blob/ac268027ee8eca971fec778e4c9c45c4bb48d5e3/startkde/startplasma.cpp#L742)
to:
1. Start `plasma-kwin_wayland.service`.
2. Wait until the service is running.
3. Start `plasma-workspace-wayland.target`.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.8.0
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

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

Reply via email to