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

            Bug ID: 433279
           Summary: AppImage crashes immediately: Could not load the Qt
                    platform plugin "xcb" in ""
           Product: krita
           Version: 4.4.2
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: markjst...@gmail.com
  Target Milestone: ---

The most recent stable AppImage does not run on Fedora 31; it core dumps
immediately.


STEPS TO REPRODUCE
1. QT_DEBUG_PLUGINS=1 ./krita-4.4.2-x86_64.appimage

OBSERVED RESULT
QFactoryLoader::QFactoryLoader() checking directory path
"/tmp/.mount_krita-YkdSIY/usr/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at
"/tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so"
Found metadata in lib
/tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path
"/tmp/.mount_krita-YkdSIY/usr/bin/platforms" ...
Cannot load library /tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so:
(/usr/lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by
/tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so))
QLibraryPrivate::loadPlugin failed on
"/tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so" : "Cannot load
library /tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so:
(/usr/lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by
/tmp/.mount_krita-YkdSIY/usr/plugins/platforms/libqxcb.so))"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it
was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted (core dumped)

EXPECTED RESULT
krita opens normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 31, updated
(available in About System)
KDE Plasma Version: NA
KDE Frameworks Version: NA
Qt Version: qt5-qtbase-gui-5.13.2-3.fc31.x86_64

ADDITIONAL INFORMATION

/usr/lib64/libQt5Gui.so.5 is provided by qt5-qtbase-gui-5.13.2-3.fc31.x86_64

The symbol appears to have a different form than expected:

readelf -Ws /usr/lib64/libQt5Gui.so.5.13.2 | grep Qt_5_PRIVATE_API | wc -l
0
readelf -Ws /usr/lib64/libQt5Gui.so.5.13.2 | grep Qt_5.13.2_PRIVATE_API | wc -l
2661

Similar bug:
https://bugs.kde.org/show_bug.cgi?id=382944

Long discussion on the Qt forum about related matters:
https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found

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

Reply via email to