almindor / etherwall

Ethereum QT5 Wallet
GNU General Public License v3.0
142 stars 59 forks source link

wayland compatibility segfault issue #117

Closed nimbius closed 3 years ago

nimbius commented 4 years ago

launching etherwall in sway on wayland causes a segfault after the initial dialogue.

etherwall -platform xcb qt.qpa.xcb: could not connect to display 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped) [cicero@malt ~]$ etherwall -platform wayland file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" Segmentation fault (core dumped) [cicero@malt ~]$

almindor commented 4 years ago

This is compiled from source right? I'm running gnome/wayland and it works fine for me...

What distro are you running?

nimbius commented 4 years ago

This is arch

almindor commented 4 years ago

Interesting, I'm also running arch and the latest packaged version works fine for me (gnome/wayland).

Can you try doing export QT_DEBUG_PLUGINS=1 and running etherwall from that terminal. Paste the full error here please.

nimbius commented 4 years ago

etherwall -platform wayland |tee derpo.txt QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqlinuxfb.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "archreq": 0, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqvnc.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqwayland-egl.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqwayland-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-egl" ] }, "archreq": 0, "className": "QWaylandEglPlatformIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wayland-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqwayland-generic.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqwayland-generic.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland" ] }, "archreq": 0, "className": "QWaylandIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wayland") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqwayland-xcomposite-egl.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-xcomposite-egl" ] }, "archreq": 0, "className": "QWaylandXCompositeEglPlatformIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wayland-xcomposite-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqwayland-xcomposite-glx.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-xcomposite-glx" ] }, "archreq": 0, "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wayland-xcomposite-glx") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqxcb.so" Found metadata in lib /usr/lib/qt/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archreq": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ... loaded library "/usr/lib/qt/plugins/platforms/libqwayland-generic.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforminputcontexts" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" Found metadata in lib /usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata= { "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1", "MetaData": { "Keys": [ "compose", "xim" ] }, "archreq": 0, "className": "QComposePlatformInputContextPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("compose", "xim") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" Found metadata in lib /usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata= { "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1", "MetaData": { "Keys": [ "ibus" ] }, "archreq": 0, "className": "QIbusPlatformInputContextPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("ibus") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforminputcontexts" ... loaded library "/usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platformthemes" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platformthemes/libqgtk3.so" Found metadata in lib /usr/lib/qt/plugins/platformthemes/libqgtk3.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1", "MetaData": { "Keys": [ "gtk3" ] }, "archreq": 0, "className": "QGtk3ThemePlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("gtk3") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platformthemes/libqxdgdesktopportal.so" Found metadata in lib /usr/lib/qt/plugins/platformthemes/libqxdgdesktopportal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1", "MetaData": { "Keys": [ "xdgdesktopportal", "flatpak", "snap" ] }, "archreq": 0, "className": "QXdgDesktopPortalThemePlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platformthemes" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/styles" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/styles" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/imageformats" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqgif.so" Found metadata in lib /usr/lib/qt/plugins/imageformats/libqgif.so, metadata= { "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface", "MetaData": { "Keys": [ "gif" ], "MimeTypes": [ "image/gif" ] }, "archreq": 0, "className": "QGifPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("gif") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqico.so" Found metadata in lib /usr/lib/qt/plugins/imageformats/libqico.so, metadata= { "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface", "MetaData": { "Keys": [ "ico", "cur" ], "MimeTypes": [ "image/vnd.microsoft.icon", "image/vnd.microsoft.icon" ] }, "archreq": 0, "className": "QICOPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("ico", "cur") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqjpeg.so" Found metadata in lib /usr/lib/qt/plugins/imageformats/libqjpeg.so, metadata= { "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface", "MetaData": { "Keys": [ "jpg", "jpeg" ], "MimeTypes": [ "image/jpeg", "image/jpeg" ] }, "archreq": 0, "className": "QJpegPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("jpg", "jpeg") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqsvg.so" Found metadata in lib /usr/lib/qt/plugins/imageformats/libqsvg.so, metadata= { "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface", "MetaData": { "Keys": [ "svg", "svgz" ], "MimeTypes": [ "image/svg+xml", "image/svg+xml-compressed" ] }, "archreq": 0, "className": "QSvgPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("svg", "svgz") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/imageformats" ... loaded library "/usr/lib/qt/plugins/imageformats/libqgif.so" loaded library "/usr/lib/qt/plugins/imageformats/libqico.so" loaded library "/usr/lib/qt/plugins/imageformats/libqjpeg.so" loaded library "/usr/lib/qt/plugins/imageformats/libqsvg.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/bearer" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/bearer/libqconnmanbearer.so" Found metadata in lib /usr/lib/qt/plugins/bearer/libqconnmanbearer.so, metadata= { "IID": "org.qt-project.Qt.QBearerEngineFactoryInterface", "MetaData": { "Keys": [ "connman" ] }, "archreq": 0, "className": "QConnmanEnginePlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("connman") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/bearer/libqgenericbearer.so" Found metadata in lib /usr/lib/qt/plugins/bearer/libqgenericbearer.so, metadata= { "IID": "org.qt-project.Qt.QBearerEngineFactoryInterface", "MetaData": { "Keys": [ "generic" ] }, "archreq": 0, "className": "QGenericEnginePlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("generic") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/bearer/libqnmbearer.so" Found metadata in lib /usr/lib/qt/plugins/bearer/libqnmbearer.so, metadata= { "IID": "org.qt-project.Qt.QBearerEngineFactoryInterface", "MetaData": { "Keys": [ "networkmanager" ] }, "archreq": 0, "className": "QNetworkManagerEnginePlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("networkmanager") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/bearer" ... loaded library "/usr/lib/qt/plugins/bearer/libqconnmanbearer.so" loaded library "/usr/lib/qt/plugins/bearer/libqgenericbearer.so" loaded library "/usr/lib/qt/plugins/bearer/libqnmbearer.so" Found metadata in lib /usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuick2Plugin", "debug": false, "uri": [ "QtQuick.2" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuickControls1Plugin", "debug": false, "uri": [ "QtQuick.Controls" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/Dialogs/libdialogplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuick2DialogsPlugin", "debug": false, "uri": [ "QtQuick.Dialogs" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/Dialogs/libdialogplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/Window.2/libwindowplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuick2WindowPlugin", "debug": false, "uri": [ "QtQuick.Window.2" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/Window.2/libwindowplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQml/libqmlplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQmlPlugin", "debug": false, "uri": [ "QtQml" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQml/libqmlplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/PrivateWidgets/libwidgetsplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuick2PrivateWidgetsPlugin", "debug": false, "uri": [ "QtQuick.PrivateWidgets" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/PrivateWidgets/libwidgetsplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuickLayoutsPlugin", "debug": false, "uri": [ "QtQuick.Layouts" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so" Found metadata in lib /usr/lib/qt/qml/QtQuick/Extras/libqtquickextrasplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtQuickExtrasPlugin", "debug": false, "uri": [ "QtQuick.Extras" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtQuick/Extras/libqtquickextrasplugin.so" Found metadata in lib /usr/lib/qt/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtGraphicalEffectsPlugin", "debug": false, "uri": [ "QtGraphicalEffects" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so" Found metadata in lib /usr/lib/qt/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "archreq": 0, "className": "QtGraphicalEffectsPrivatePlugin", "debug": false, "uri": [ "QtGraphicalEffects.private" ], "version": 331264 }

loaded library "/usr/lib/qt/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/wayland-graphics-integration-client" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libdmabuf-server.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libdmabuf-server.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "dmabuf-server" ] }, "archreq": 0, "className": "DmaBufServerBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data () QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libdrm-egl-server.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libdrm-egl-server.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "drm-egl-server" ] }, "archreq": 0, "className": "DrmEglServerBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data () QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandClientBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-egl" ] }, "archreq": 0, "className": "QWaylandEglClientBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wayland-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libshm-emulation-server.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libshm-emulation-server.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "shm-emulation-server" ] }, "archreq": 0, "className": "ShmServerBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data () QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libvulkan-server.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libvulkan-server.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vulkan-server" ] }, "archreq": 0, "className": "VulkanServerBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data () QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libxcomposite-egl.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libxcomposite-egl.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandClientBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcomposite-egl" ] }, "archreq": 0, "className": "QWaylandXCompositeEglClientBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xcomposite-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-graphics-integration-client/libxcomposite-glx.so" Found metadata in lib /usr/lib/qt/plugins/wayland-graphics-integration-client/libxcomposite-glx.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandClientBufferIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcomposite-glx" ] }, "archreq": 0, "className": "QWaylandXCompositeGlxClientBufferPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xcomposite-glx") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/wayland-graphics-integration-client" ... loaded library "/usr/lib/qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/accessible" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/accessible" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/wayland-shell-integration" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libfullscreen-shell-v1.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libfullscreen-shell-v1.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "fullscreen-shell-v1" ] }, "archreq": 0, "className": "QWaylandFullScreenShellV1IntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("fullscreen-shell-v1") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libivi-shell.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libivi-shell.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "ivi-shell" ] }, "archreq": 0, "className": "QWaylandIviShellIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("ivi-shell") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libwl-shell.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libwl-shell.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wl-shell" ] }, "archreq": 0, "className": "QWaylandWlShellIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("wl-shell") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell-v5.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell-v5.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xdg-shell-v5" ] }, "archreq": 0, "className": "QWaylandXdgShellV5IntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xdg-shell-v5") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell-v6.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell-v6.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xdg-shell-v6" ] }, "archreq": 0, "className": "QWaylandXdgShellV6IntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xdg-shell-v6") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell.so" Found metadata in lib /usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xdg-shell" ] }, "archreq": 0, "className": "QWaylandXdgShellIntegrationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("xdg-shell") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/wayland-shell-integration" ... loaded library "/usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/iconengines" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/iconengines/libqsvgicon.so" Found metadata in lib /usr/lib/qt/plugins/iconengines/libqsvgicon.so, metadata= { "IID": "org.qt-project.Qt.QIconEngineFactoryInterface", "MetaData": { "Keys": [ "svg", "svgz", "svg.gz" ] }, "archreq": 0, "className": "QSvgIconPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("svg", "svgz", "svg.gz") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/iconengines" ... file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/wayland-decoration-client" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/wayland-decoration-client/libbradient.so" Found metadata in lib /usr/lib/qt/plugins/wayland-decoration-client/libbradient.so, metadata= { "IID": "org.qt-project.Qt.WaylandClient.QWaylandDecorationFactoryInterface.5.4", "MetaData": { "Keys": [ "bradient" ] }, "archreq": 0, "className": "QWaylandBradientDecorationPlugin", "debug": false, "version": 331264 }

Got keys from plugin meta data ("bradient") QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/wayland-decoration-client" ... loaded library "/usr/lib/qt/plugins/wayland-decoration-client/libbradient.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/accessiblebridge" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/accessiblebridge" ...

almindor commented 4 years ago

Everything works here even when overriding for wayland. Could you try re-installing libxcb with pacman and see if that helps? Seems there are a few posts with this error and reinstalling worked for them, they are on arch as well.

nimbius commented 4 years ago

sadly same problem.

etherwall -platform wayland file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" Segmentation fault (core dumped) [cicero@malt ~]$ etherwall -platform wayland file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" Segmentation fault (core dumped)

On Wed, Mar 18, 2020 at 01:40:58PM -0700, Aleš Katona wrote:

Everything works here even when overriding for wayland. Could you try re-installing libxcb with pacman and see if that helps? Seems there are a few posts with this error and reinstalling worked for them, they are on arch as well.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/almindor/etherwall/issues/117#issuecomment-600847870

--


john@dev1ce.com https://dev1ce.com/john.gpg

almindor commented 4 years ago

Are you able to try and build etherwall from source? You can just use the ABS or directly from github manually. I'd like to see if build-time would catch some missing plugin setup or such. This is really odd.

nimbius commented 4 years ago

built from source and yet after the first click of "ok"

[cicero@malt etherwall]$ /opt/Etherwall/bin/Etherwall -platform wayland file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" Segmentation fault (core dumped)

On Wed, Mar 18, 2020 at 03:24:17PM -0700, Aleš Katona wrote:

Are you able to try and build etherwall from source? You can just use the ABS or directly from github manually. I'd like to see if build-time would catch some missing plugin setup or such. This is really odd.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/almindor/etherwall/issues/117#issuecomment-600889127

--


john@dev1ce.com https://dev1ce.com/john.gpg

almindor commented 4 years ago

When you say click of "ok" what is the message?

Could you try running with gdb ? (provided you built with debug info) and pasting the backtrace from gdb?

nimbius commented 4 years ago

Sorry about that. The 'first time setup wizard' button 'Save' triggers the crash. 'Cancel' also causes this crash.

im not certain how to run gdb to debug this program, and I built with options default as specified in the build instructions in the readme.md for Linux. How should I proceed to debug with GDB?

thanks :)

On Wed, Mar 18, 2020 at 04:47:38PM -0700, Aleš Katona wrote:

When you say click of "ok" what is the message?

Could you try running with gdb ? (provided you built with debug info) and pasting the backtrace from gdb?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/almindor/etherwall/issues/117#issuecomment-600912810

--


john@dev1ce.com https://dev1ce.com/john.gpg

almindor commented 4 years ago

Ah sorry I should've been more specific. In order to use the debugger please install gdb package (pacman -R gdb)

To make a debug build you execute inside the main etherwall source directory:

  1. qmake -config debug
  2. make

This will produce a new Etherwall binary which you can then start via the gdb debugger by doing:

gdb ./Etherwall

In the prompt type r (for run) and confirm.

Once Etherwall starts, press any button as before to get the crash, which should "show up" in the gdb shell/prompt. Then you can copy & paste all the data there.

After that please also type in bt for backtrace info and copy & paste that here as well.

Please use preformatting when pasting to github (triple backtick symbol around the paste) or paste it to an external pastebin such as https://ghostbin.net/ and put the links here.

The data in the gdb/backtrace is safe as you're not inputting password for account anywhere yet and Etherwall does not have access to your stored accounts prior to that.

nimbius commented 4 years ago

Thanks again for the help. Here is the output of the GDB debug:

Reading symbols from Etherwall... (gdb) run Starting program: /home/cicero/etherwall/Etherwall [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff20eb700 (LWP 26133)] [New Thread 0x7ffff18ea700 (LWP 26134)] [New Thread 0x7ffff10aa700 (LWP 26135)] [New Thread 0x7ffff08a9700 (LWP 26136)] [New Thread 0x7fffdc8fa700 (LWP 26137)] [New Thread 0x7fffd7ebe700 (LWP 26138)] [New Thread 0x7fffcffff700 (LWP 26139)] [New Thread 0x7fffd76bd700 (LWP 26140)] [New Thread 0x7fffd6ebc700 (LWP 26141)] [New Thread 0x7fffd66bb700 (LWP 26142)] [New Thread 0x7fffd5eba700 (LWP 26143)] [New Thread 0x7fffd56b9700 (LWP 26144)] [New Thread 0x7fffd4eb8700 (LWP 26145)] [New Thread 0x7fffcf7fe700 (LWP 26146)] [New Thread 0x7fffceffd700 (LWP 26147)] [New Thread 0x7fffce7fc700 (LWP 26148)] [New Thread 0x7fffcdffb700 (LWP 26149)] [New Thread 0x7fffcd7fa700 (LWP 26150)] [New Thread 0x7fffccff9700 (LWP 26151)] [New Thread 0x7fff97fff700 (LWP 26152)] [New Thread 0x7fff977fe700 (LWP 26153)] [New Thread 0x7fff96ffd700 (LWP 26154)] [New Thread 0x7fff967fc700 (LWP 26155)] [New Thread 0x7fff95ffb700 (LWP 26156)] [New Thread 0x7fff957fa700 (LWP 26157)] [New Thread 0x7fff94ff9700 (LWP 26158)] file:///usr/lib/qt/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml:74:9: QML Item: Binding loop detected for property "implicitWidth" [New Thread 0x7fff77fff700 (LWP 26159)] [New Thread 0x7fff777fe700 (LWP 26160)] [Thread 0x7fff77fff700 (LWP 26159) exited] [New Thread 0x7fff77fff700 (LWP 26161)] [New Thread 0x7fff76ffd700 (LWP 26162)] [New Thread 0x7fff767fc700 (LWP 26163)] [New Thread 0x7fff75ffb700 (LWP 26164)] [New Thread 0x7fff757fa700 (LWP 26165)] [New Thread 0x7fff74ff9700 (LWP 26168)] [New Thread 0x7fff57fff700 (LWP 26169)] [New Thread 0x7fff577fe700 (LWP 26170)] [New Thread 0x7fff56ffd700 (LWP 26171)]

Thread 34 "QSGRenderThread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff757fa700 (LWP 26165)] 0x00007ffff24c0913 in QtWayland::wl_surface::damage(int, int, int, int) () from /usr/lib/libQt5WaylandClient.so.5 (gdb)

On Wed, Mar 18, 2020 at 07:31:49PM -0700, Aleš Katona wrote:

Ah sorry I should've been more specific. In order to use the debugger please install gdb package (pacman -R gdb)

To make a debug build you execute inside the main etherwall source directory:

  1. qmake -config debug
  2. make

This will produce a new Etherwall binary which you can then start via the gdb debugger by doing:

gdb ./Etherwall

Press any button as before to get the crash, which should "show up" in the gdb shell/prompt. Then you can copy & paste all the data there.

After that please also type in bt for backtrace info and copy & paste that here as well.

Please use preformatting when pasting to github (triple backtick symbol around the paste) or paste it to an external pastebin such as https://ghostbin.net/ and put the links here.

The data in the gdb/backtrace is safe as you're not inputting password for account anywhere yet and Etherwall does not have access to your stored accounts prior to that.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/almindor/etherwall/issues/117#issuecomment-600955005

--


john@dev1ce.com https://dev1ce.com/john.gpg

almindor commented 4 years ago

OK so this is a QT5 Wayland bug. I'm afraid I can't do anything to fix. You could open an issue with the Qt bugtracker and reference the issue here for reproduction steps.

It's odd how I don't get the same behavior on Arch (with gnome tho).

The most important part is:

Thread 34 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff757fa700 (LWP 26165)]
0x00007ffff24c0913 in QtWayland::wl_surface::damage(int, int, int, int) () from /usr/lib/libQt5WaylandClient.so.5

which indicates that the wayland specific QT5 render code crashed.

almindor commented 3 years ago

As a side note I'm close to having the wallet updated and UI refactored for latest QML2, which should hopefully fix this by using different plugins. The tableviews sadly are still only available in QtQuick v1.

almindor commented 3 years ago

Branch qtcontrols2 is more or less ready and works fine with Wayland.

almindor commented 3 years ago

Merged to master now, closing this as the latest commit should work fine. I will be releasing v3 soon