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

            Bug ID: 470984
           Summary: Various things fail to launch with errors saying
                    "qt.qpa.xcb: could not connect to display" and
                    "Detected locale "C" with character encoding "UTF-8",
                    which is not UTF-8"
    Classification: Plasma
           Product: plasma-integration
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: qt6
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: n...@kde.org
  Target Milestone: ---

When I open KRunner and click on its configure button, nothing visibly happens.
`journalctl` shows what's going on:

Jun 13 10:17:59 Liberator systemd[1401]: Started
app-kcmshell6-1d22d2baeeab454b99025696db7821c1.scope - kcmshell6.
Jun 13 10:17:59 Liberator kcmshell6[1038311]: Detected locale "C" with
character encoding "UTF-8", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and
has switched to "C.UTF-8" instead.
                                              If this causes problems,
reconfigure your locale. See the locale(1) manual
                                              for more information.
Jun 13 10:17:59 Liberator kcmshell6[1038311]: qt.qpa.xcb: could not connect to
display
Jun 13 10:17:59 Liberator audit[1038311]: ANOM_ABEND auid=1000 uid=1000
gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
pid=1038311 comm="kcmshell6" exe="/home/nate/kde/usr6/bin/kcmshell6" sig=6
res=1
Jun 13 10:17:59 Liberator kcmshell6[1038311]: qt.qpa.plugin: Could not load the
Qt platform plugin "xcb" in "" even though it was found.
Jun 13 10:17:59 Liberator kcmshell6[1038311]: This application failed to start
because no Qt platform plugin could be initialized. Reinstalling the
application may fix this problem.

                                              Available platform plugins are:
linuxfb, wayland-egl, eglfs, wayland, vnc, offscreen, minimal, minimalegl,
vkkhrdisplay, xcb.
Jun 13 10:17:59 Liberator audit: BPF prog-id=464 op=LOAD
Jun 13 10:17:59 Liberator audit: BPF prog-id=465 op=LOAD
Jun 13 10:17:59 Liberator audit: BPF prog-id=466 op=LOAD
Jun 13 10:17:59 Liberator audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-coredump@41-1038313-0 comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 13 10:17:59 Liberator systemd[1]: Started
systemd-coredump@41-1038313-0.service - Process Core Dump (PID 1038313/UID 0).


The crash backtrace is not useful and just shows that it's dying in
QGuiApplicationPrivate::createPlatformIntegration()

#7  0x00007ffb1cb5bc32 in init_platform (pluginNamesWithArguments=...,
platformPluginPath=..., 
    platformThemeName=..., argc=@0x7ffec0c50f0c: 2,
argv=argv@entry=0x7ffec0c51218)
    at
/usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1257
#8  0x00007ffb1cbfede0 in QGuiApplicationPrivate::createPlatformIntegration
(this=0xf260f0)
    at
/usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1505



This issue was also seen today by Justin Zobel when trying to open the "Add new
printer" dialog from the printers KCM.

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

Reply via email to