Einige Qt-Apps (VLC und KDevelop) stürzen in Manjaro aufgrund eines QXcbWindow :: setWindowIcon-Seg-Fehlers ab

696
Jackson Ming Hu

Vor kurzem habe ich mit Manjaro 18.0 angefangen. Alles ist in Ordnung, außer KDevelop und VLC stürzen ab, wenn es startet.

Meine Desktop-Umgebung ist die neueste Version von Deepin DE. Früher habe ich auch Budgie und Xfce ausprobiert. Aber ich habe das gleiche Ergebnis.

Meine VLC-Version ist 3.0.4-6 und die KDevelop-Version ist 5.3.0-1. Alle Apps wurden auf die neueste Version hochgerollt.

Hier ist der GDB-Backtrace für KDevelop:

GNU gdb (GDB) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>.  For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from kdevelop...(no debugging symbols found)...done. (gdb) r Starting program: /usr/bin/kdevelop  [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffdbca9700 (LWP 2906)] [New Thread 0x7fffdae26700 (LWP 2907)] kdevplatform.serialization: version mismatch or no version hint; expected version: 84082689 kdevplatform.serialization: "The data-repository at /home/hu/.cache/kdevduchain/kdevelop- has to be cleared." Icon theme "breeze-dark" not found. Icon theme "gnome" not found.  (process:2902): librsvg-WARNING **: 17:38:32.021: cannot render on a cairo_t with a failure status (status=32, invalid value (typically too big) for the size of the input (surface, pattern, etc.))  Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault. 0x00007fffdcbbc1d6 in QXcbWindow::setWindowIcon(QIcon const&) () from /usr/lib/libQt5XcbQpa.so.5 (gdb) bt #0 0x00007fffdcbbc1d6 in QXcbWindow::setWindowIcon(QIcon const&) () at /usr/lib/libQt5XcbQpa.so.5 #1 0x00007fffdcbbb950 in QXcbWindow::create() () at /usr/lib/libQt5XcbQpa.so.5 #2 0x00007fffdcba5d42 in QXcbIntegration::createPlatformWindow(QWindow*) const () at /usr/lib/libQt5XcbQpa.so.5 #3 0x00007ffff6cafd78 in QWindowPrivate::create(bool, unsigned long long) () at /usr/lib/libQt5Gui.so.5 #4 0x00007ffff730d438 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () at /usr/lib/libQt5Widgets.so.5 #5 0x00007ffff730da90 in QWidget::create(unsigned long long, bool, bool) () at /usr/lib/libQt5Widgets.so.5 #6 0x00007ffff730dfd5 in QWidget::winId() const () at /usr/lib/libQt5Widgets.so.5 #7 0x00007ffff493bb80 in () at /usr/lib/libKF5XmlGui.so.5 #8 0x00007ffff493e598 in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5 #9 0x00007ffff4988cb6 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5 #10 0x00007ffff72dbe14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #11 0x00007ffff72e36e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #12 0x00007ffff6812c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #13 0x00007ffff7317205 in QWidget::ensurePolished() const () at /usr/lib/libQt5Widgets.so.5 #14 0x00007ffff73173e3 in QWidget::adjustSize() () at /usr/lib/libQt5Widgets.so.5 #15 0x00007ffff498924b in KXmlGuiWindow::setupGUI(QSize const&, QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () at /usr/lib/libKF5XmlGui.so.5 #16 0x00007ffff49893ac in KXmlGuiWindow::setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () at /usr/lib/libKF5XmlGui.so.5 #17 0x00007ffff7e30103 in KDevelop::MainWindow::initialize() () at /usr/lib/libKDevPlatformShell.so.53 #18 0x00007ffff7e535fa in KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString const&) () at /usr/lib/libKDevPlatformShell.so.53 #19 0x00007ffff7e54c00 in KDevelop::Core::initialize(KDevelop::Core::Setup, QString const&) () at /usr/lib/libKDevPlatformShell.so.53 #20 0x000055555555eecb in () #21 0x00007ffff6270223 in __libc_start_main () at /usr/lib/libc.so.6 #22 0x000055555556085e in _start () 

Hier ist ein weiterer GDB-Backtrace für VLC:

GNU gdb (GDB) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>.  For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from vlc...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/vlc  [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) [New Thread 0x7ffff59e8700 (LWP 5116)] [New Thread 0x7ffff51e7700 (LWP 5117)] [New Thread 0x7ffff50e6700 (LWP 5118)] [000055555555a570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [New Thread 0x7fffdc9a0700 (LWP 5119)] [New Thread 0x7fffd719a700 (LWP 5120)] [New Thread 0x7fffd6010700 (LWP 5121)]  (process:5112): librsvg-WARNING **: 17:52:32.029: cannot render on a cairo_t with a failure status (status=32, invalid value (typically too big) for the size of the input (surface, pattern, etc.))  Thread 5 "vlc" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffdc9a0700 (LWP 5119)] 0x00007fffdc74b1d6 in QXcbWindow::setWindowIcon(QIcon const&) () from /usr/lib/libQt5XcbQpa.so.5 (gdb) bt #0 0x00007fffdc74b1d6 in QXcbWindow::setWindowIcon(QIcon const&) () at /usr/lib/libQt5XcbQpa.so.5 #1 0x00007fffdc74a950 in QXcbWindow::create() () at /usr/lib/libQt5XcbQpa.so.5 #2 0x00007fffdc734d42 in QXcbIntegration::createPlatformWindow(QWindow*) const () at /usr/lib/libQt5XcbQpa.so.5 #3 0x00007fffdfb91d78 in QWindowPrivate::create(bool, unsigned long long) () at /usr/lib/libQt5Gui.so.5 #4 0x00007ffff4531438 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () at /usr/lib/libQt5Widgets.so.5 #5 0x00007ffff4531a90 in QWidget::create(unsigned long long, bool, bool) () at /usr/lib/libQt5Widgets.so.5 #6 0x00007ffff4531b9f in QWidget::create(unsigned long long, bool, bool) () at /usr/lib/libQt5Widgets.so.5 #7 0x00007ffff453f086 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5 #8 0x00007ffff4b6d290 in () at /usr/lib/vlc/plugins/gui/libqt_plugin.so #9 0x00007ffff4b071ca in () at /usr/lib/vlc/plugins/gui/libqt_plugin.so #10 0x00007ffff4af1155 in () at /usr/lib/vlc/plugins/gui/libqt_plugin.so #11 0x00007ffff4af1926 in () at /usr/lib/vlc/plugins/gui/libqt_plugin.so #12 0x00007ffff7f50a9d in start_thread () at /usr/lib/libpthread.so.0 #13 0x00007ffff7e7bb23 in clone () at /usr/lib/libc.so.6 (gdb)  

Gibt es Lösungen oder Ideen zur Lösung dieses Problems? Danke im Voraus!

UPDATE: Anscheinend funktionieren diese beiden Apps mit Root-Berechtigung (mit Sudo). Daher kann es Probleme mit den Berechtigungs- und / oder Umgebungsvariablen geben.

1
Haben Sie das kdevelop-Daten-Repository wie oben beschrieben gelöscht? Haben Sie das neueste Qt von seiner Website installiert? harrymc vor 5 Jahren 0
@Harrymc Danke für deine Antwort. Ich verwende den Qt 5.11.2, der vom offiziellen Repo von Manjaro bereitgestellt wird, nicht den auf der offiziellen Qt-Seite. Ich habe versucht, das im Protokoll erwähnte Daten-Repository zu entfernen, und es hat nicht geholfen. Jackson Ming Hu vor 5 Jahren 0
UPDATE: Anscheinend funktionieren diese beiden Apps mit Root-Berechtigung (mit Sudo). Daher kann es Probleme mit den Berechtigungs- und / oder Umgebungsvariablen geben. Jackson Ming Hu vor 5 Jahren 0
Möglicherweise setzt die Neuinstallation alles auf bessere Werte zurück. Versuchen Sie möglicherweise, die installierte Version zu deinstallieren und eine Neuinstallation aus dem Internet durchzuführen. harrymc vor 5 Jahren 0
@harrymc Problem gelöst, es ist das Problem des Symbolthemas Jackson Ming Hu vor 5 Jahren 0

1 Antwort auf die Frage

0
Jackson Ming Hu

Okay, ich habe gerade eine Problemumgehung gefunden. Es sieht so aus, als ob das Paprius-Icon-Design, das ich verwendete, einige Kompatibilitätsprobleme mit diesen beiden Apps hat. Jetzt wechselte ich zum Standard-Icon-Theme von Deepin DE und beide funktionieren.

Ich werde Paprius diesen Fehler später melden.

UPDATE: Paprius sagte, es könnte das Problem mit Librsvg sein. Ich habe auch einen Fehlerbericht an das GNOME-Thema gesendet.