minecraft-linux / mcpelauncher-ui-manifest

Manifest for the Qt launcher part, which lets you download and manage Minecraft versions and can assist in troubleshooting.
https://minecraft-linux.github.io
26 stars 8 forks source link

Segfault on trying to edit profile #50

Closed REmerald closed 1 year ago

REmerald commented 1 year ago

Describe the bug Segfault crash on trying to edit default profile.

To Reproduce Steps to reproduce the behavior:

  1. Launch the ui.
  2. Click on the pencil icon.
  3. Application crashes.

Expected behavior Should work normally.

Screenshots None.

Desktop (please complete the following information):

Additional context The feature used to work a while ago (some weeks ago maybe?); mcpelauncher-linux-git updated just recently, maybe that's the problem?

REmerald commented 1 year ago

Additional log:

[remorin@chuwawa:0 ~]$ mcpelauncher-ui-qt -v -d
qrc:/qml/main.qml:247:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/main.qml:233:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/main.qml:224:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/GameLogWindow.qml:153:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/LauncherSettingsAbout.qml:52:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.armeabi-v7a.json.min"
qrc:/qml/LauncherBase.qml:173:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.arm64-v8a.json.min"
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86.json.min"
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86_64.json.min"
Version list loaded, entry count: 1147
qml: Versionslist initialized
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
Segmentation fault (core dumped)
[ble: exit 139]
REmerald commented 1 year ago

Downgraded mcpelauncher-linux-git to v0.8.0.qt6.r6.g3e41fb0-1, didn't help.

ChristopherHX commented 1 year ago

The mcpelauncher-ui-qt binary is in mcpelauncher-ui-git. Did you recently update qt6 via pacman? I already read in discord yesterday there is a crash, not idea. Maybe run it within gdb to get a stacktrace via

REmerald commented 1 year ago

Here you are:

Full gdb backtrace log ``` [remorin@chuwawa:0 ~]$ gdb mcpelauncher-ui-qt GNU gdb (GDB) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from mcpelauncher-ui-qt... This GDB supports auto-downloading debuginfo from the following URLs: Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for /usr/bin/mcpelauncher-ui-qt (No debugging symbols found in mcpelauncher-ui-qt) (gdb) run -v -d Starting program: /usr/bin/mcpelauncher-ui-qt -v -d Downloading separate debug info for /lib64/ld-linux-x86-64.so.2 Downloading separate debug info for system-supplied DSO at 0x7ffff7fc8000 Downloading separate debug info for /usr/lib/libQt6Qml.so.6 Downloading separate debug info for /usr/lib/libQt6Network.so.6 Downloading separate debug info for /usr/lib/libQt6Gui.so.6 Downloading separate debug info for /usr/lib/libQt6Core.so.6 Downloading separate debug info for /usr/lib/libQt6WebEngineWidgets.so.6 Downloading separate debug info for /usr/lib/libQt6WebEngineCore.so.6 Downloading separate debug info for /usr/lib/libQt6WebChannel.so.6 Downloading separate debug info for /usr/lib/libQt6Widgets.so.6 Downloading separate debug info for /usr/lib/libzip.so.5 Downloading separate debug info for /usr/lib/libcurl.so.4 Downloading separate debug info for /usr/lib/libz.so.1 Downloading separate debug info for /usr/lib/libprotobuf.so.32 Downloading separate debug info for /usr/lib/libm.so.6 Downloading separate debug info for /usr/lib/libc.so.6 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2 Downloading separate debug info for /usr/lib/libbrotlidec.so.1 Downloading separate debug info for /usr/lib/libzstd.so.1 Downloading separate debug info for /usr/lib/libEGL.so.1 Downloading separate debug info for /usr/lib/libfontconfig.so.1 Downloading separate debug info for /usr/lib/libX11.so.6 Downloading separate debug info for /usr/lib/libglib-2.0.so.0 Downloading separate debug info for /usr/lib/libQt6DBus.so.6 Downloading separate debug info for /usr/lib/libxkbcommon.so.0 Downloading separate debug info for /usr/lib/libGLX.so.0 Downloading separate debug info for /usr/lib/libOpenGL.so.0 Downloading separate debug info for /usr/lib/libpng16.so.16 Downloading separate debug info for /usr/lib/libharfbuzz.so.0 Downloading separate debug info for /usr/lib/libmd4c.so.0 Downloading separate debug info for /usr/lib/libfreetype.so.6 Downloading separate debug info for /usr/lib/libicui18n.so.72 Downloading separate debug info for /usr/lib/libicuuc.so.72 Downloading separate debug info for /usr/lib/libsystemd.so.0 Downloading separate debug info for /usr/lib/libdouble-conversion.so.3 Downloading separate debug info for /usr/lib/libb2.so.1 Downloading separate debug info for /usr/lib/libpcre2-16.so.0 Downloading separate debug info for /usr/lib/libQt6QuickWidgets.so.6 Downloading separate debug info for /usr/lib/libQt6Quick.so.6 Downloading separate debug info for /usr/lib/libQt6PrintSupport.so.6 Downloading separate debug info for /usr/lib/libnss3.so Downloading separate debug info for /usr/lib/libnssutil3.so Downloading separate debug info for /usr/lib/libnspr4.so Downloading separate debug info for /usr/lib/libgio-2.0.so.0 Downloading separate debug info for /usr/lib/libgobject-2.0.so.0 Downloading separate debug info for /usr/lib/libevent-2.1.so.7 Downloading separate debug info for /usr/lib/libjpeg.so.8 Downloading separate debug info for /usr/lib/libopus.so.0 Downloading separate debug info for /usr/lib/libavcodec.so.60 Downloading separate debug info for /usr/lib/libavformat.so.60 Downloading separate debug info for /usr/lib/libavutil.so.58 Downloading separate debug info for /usr/lib/libvpx.so.8 Downloading separate debug info for /usr/lib/libXcomposite.so.1 Downloading separate debug info for /usr/lib/libXdamage.so.1 Downloading separate debug info for /usr/lib/libXext.so.6 Downloading separate debug info for /usr/lib/libXfixes.so.3 Downloading separate debug info for /usr/lib/libXrandr.so.2 Downloading separate debug info for /usr/lib/libXtst.so.6 Downloading separate debug info for /usr/lib/libgbm.so.1 Downloading separate debug info for /usr/lib/libwebpmux.so.3 Downloading separate debug info for /usr/lib/libwebpdemux.so.2 Downloading separate debug info for /usr/lib/libwebp.so.7 Downloading separate debug info for /usr/lib/libexpat.so.1 Downloading separate debug info for /usr/lib/libharfbuzz-subset.so.0 Downloading separate debug info for /usr/lib/libxcb.so.1 Downloading separate debug info for /usr/lib/libre2.so.10 Downloading separate debug info for /usr/lib/libasound.so.2 Downloading separate debug info for /usr/lib/libsnappy.so.1 Downloading separate debug info for /usr/lib/libdbus-1.so.3 Downloading separate debug info for /usr/lib/libminizip.so.1 Downloading separate debug info for /usr/lib/libxml2.so.2 Downloading separate debug info for /usr/lib/libxslt.so.1 Downloading separate debug info for /usr/lib/liblcms2.so.2 Downloading separate debug info for /usr/lib/libxkbfile.so.1 Downloading separate debug info for /usr/lib/libQt6Positioning.so.6 Downloading separate debug info for /usr/lib/libbz2.so.1.0 Downloading separate debug info for /usr/lib/liblzma.so.5 Downloading separate debug info for /usr/lib/libgnutls.so.30 Downloading separate debug info for /usr/lib/libnettle.so.8 Downloading separate debug info for /usr/lib/libnghttp2.so.14 Downloading separate debug info for /usr/lib/libidn2.so.0 Downloading separate debug info for /usr/lib/libssh2.so.1 Downloading separate debug info for /usr/lib/libpsl.so.5 Downloading separate debug info for /usr/lib/libssl.so.3 Downloading separate debug info for /usr/lib/libcrypto.so.3 Downloading separate debug info for /usr/lib/libkrb5.so.3 Downloading separate debug info for /usr/lib/libk5crypto.so.3 Downloading separate debug info for /usr/lib/libcom_err.so.2 Downloading separate debug info for /usr/lib/libkrb5support.so.0 Downloading separate debug info for /usr/lib/libkeyutils.so.1 Downloading separate debug info for /usr/lib/libresolv.so.2 Downloading separate debug info for /usr/lib/libbrotlicommon.so.1 Downloading separate debug info for /usr/lib/libGLdispatch.so.0 Downloading separate debug info for /usr/lib/libpcre2-8.so.0 Downloading separate debug info for /usr/lib/libgraphite2.so.3 Downloading separate debug info for /usr/lib/libicudata.so.72 Downloading separate debug info for /usr/lib/libcap.so.2 Downloading separate debug info for /usr/lib/libgcrypt.so.20 Downloading separate debug info for /usr/lib/liblz4.so.1 Downloading separate debug info for /usr/lib/libQt6QmlModels.so.6 Downloading separate debug info for /usr/lib/libQt6OpenGL.so.6 Downloading separate debug info for /usr/lib/libplds4.so Downloading separate debug info for /usr/lib/libplc4.so Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0 Downloading separate debug info for /usr/lib/libmount.so.1 Downloading separate debug info for /usr/lib/libffi.so.8 Downloading separate debug info for /usr/lib/libswresample.so.4 Downloading separate debug info for /usr/lib/libdav1d.so.6 Downloading separate debug info for /usr/lib/libopencore-amrwb.so.0 Downloading separate debug info for /usr/lib/librsvg-2.so.2 Downloading separate debug info for /usr/lib/libcairo.so.2 Downloading separate debug info for /usr/lib/libaom.so.3 Downloading separate debug info for /usr/lib/libgsm.so.1 Downloading separate debug info for /usr/lib/libmp3lame.so.0 Downloading separate debug info for /usr/lib/libopencore-amrnb.so.0 Downloading separate debug info for /usr/lib/libopenjp2.so.7 Downloading separate debug info for /usr/lib/librav1e.so.0 Downloading separate debug info for /usr/lib/libspeex.so.1 Downloading separate debug info for /usr/lib/libSvtAv1Enc.so.1 Downloading separate debug info for /usr/lib/libtheoraenc.so.1 Downloading separate debug info for /usr/lib/libtheoradec.so.1 Downloading separate debug info for /usr/lib/libvorbis.so.0 Downloading separate debug info for /usr/lib/libvorbisenc.so.2 Downloading separate debug info for /usr/lib/libx264.so.164 Downloading separate debug info for /usr/lib/libx265.so.199 Downloading separate debug info for /usr/lib/libxvidcore.so.4 Downloading separate debug info for /usr/lib/libva.so.2 Downloading separate debug info for /usr/lib/libmfx.so.1 Downloading separate debug info for /usr/lib/libmodplug.so.1 Downloading separate debug info for /usr/lib/libopenmpt.so.0 Downloading separate debug info for /usr/lib/libbluray.so.2 Downloading separate debug info for /usr/lib/libgmp.so.10 Downloading separate debug info for /usr/lib/libsrt.so.1.5 Downloading separate debug info for /usr/lib/libssh.so.4 Downloading separate debug info for /usr/lib/libva-drm.so.2 Downloading separate debug info for /usr/lib/libva-x11.so.2 Downloading separate debug info for /usr/lib/libvdpau.so.1 Downloading separate debug info for /usr/lib/libdrm.so.2 Downloading separate debug info for /usr/lib/libOpenCL.so.1 Downloading separate debug info for /usr/lib/libXrender.so.1 Downloading separate debug info for /usr/lib/libwayland-server.so.0 Downloading separate debug info for /usr/lib/libsharpyuv.so.0 Downloading separate debug info for /usr/lib/libXau.so.6 Downloading separate debug info for /usr/lib/libXdmcp.so.6 Downloading separate debug info for /usr/lib/libp11-kit.so.0 Downloading separate debug info for /usr/lib/libbrotlienc.so.1 Downloading separate debug info for /usr/lib/libunistring.so.5 Downloading separate debug info for /usr/lib/libtasn1.so.6 Downloading separate debug info for /usr/lib/libhogweed.so.6 Downloading separate debug info for /usr/lib/libgpg-error.so.0 Downloading separate debug info for /usr/lib/libblkid.so.1 Downloading separate debug info for /usr/lib/libsoxr.so.0 Downloading separate debug info for /usr/lib/libcairo-gobject.so.2 Downloading separate debug info for /usr/lib/libgdk_pixbuf-2.0.so.0 Downloading separate debug info for /usr/lib/libpangocairo-1.0.so.0 Downloading separate debug info for /usr/lib/libpango-1.0.so.0 Downloading separate debug info for /usr/lib/libxcb-render.so.0 Downloading separate debug info for /usr/lib/libxcb-shm.so.0 Downloading separate debug info for /usr/lib/libpixman-1.so.0 Downloading separate debug info for /usr/lib/libogg.so.0 Downloading separate debug info for /usr/lib/libmvec.so.1 Downloading separate debug info for /usr/lib/libpthread.so.0 Downloading separate debug info for /usr/lib/libmpg123.so.0 Downloading separate debug info for /usr/lib/libvorbisfile.so.3 Downloading separate debug info for /usr/lib/libX11-xcb.so.1 Downloading separate debug info for /usr/lib/libxcb-dri3.so.0 Downloading separate debug info for /usr/lib/libdl.so.2 Downloading separate debug info for /usr/lib/libtiff.so.6 Downloading separate debug info for /usr/lib/libpangoft2-1.0.so.0 Downloading separate debug info for /usr/lib/libfribidi.so.0 Downloading separate debug info for /usr/lib/libthai.so.0 Downloading separate debug info for /usr/lib/libdatrie.so.1 Downloading separate debug info for /usr/lib/qt6/plugins/platforms/libqwayland-generic.so Downloading separate debug info for /usr/lib/qt6/plugins/platforms/../../../libQt6WaylandClient.so.6 Downloading separate debug info for /usr/lib/qt6/plugins/platforms/../../../libwayland-client.so.0 Downloading separate debug info for /usr/lib/qt6/plugins/platforms/../../../libwayland-cursor.so.0 Downloading separate debug info for /usr/lib/qt6/plugins/platformthemes/libqt6ct.so Downloading separate debug info for /usr/lib/libqt6ct-common.so.0.8 [New Thread 0x7fffd831d6c0 (LWP 11804)] [New Thread 0x7fffd7b1c6c0 (LWP 11805)] Downloading separate debug info for /usr/lib/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6 Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libwayland-egl.so.1 Downloading separate debug info for /usr/lib/libEGL_mesa.so.0 Downloading separate debug info for /usr/lib/libglapi.so.0 Downloading separate debug info for /usr/lib/libxcb-dri2.so.0 Downloading separate debug info for /usr/lib/libxcb-randr.so.0 Downloading separate debug info for /usr/lib/libxcb-xfixes.so.0 Downloading separate debug info for /usr/lib/libxcb-present.so.0 Downloading separate debug info for /usr/lib/libxcb-sync.so.1 Downloading separate debug info for /usr/lib/libxshmfence.so.1 Downloading separate debug info for /usr/lib/dri/iris_dri.so Downloading separate debug info for /usr/lib/libLLVM-15.so Downloading separate debug info for /usr/lib/libsensors.so.5 Downloading separate debug info for /usr/lib/libdrm_radeon.so.1 Downloading separate debug info for /usr/lib/libelf.so.1 Downloading separate debug info for /usr/lib/libdrm_amdgpu.so.1 Downloading separate debug info for /usr/lib/libdrm_nouveau.so.2 Downloading separate debug info for /usr/lib/libdrm_intel.so.1 Downloading separate debug info for /usr/lib/libedit.so.0 Downloading separate debug info for /usr/lib/libncursesw.so.6 Downloading separate debug info for /usr/lib/libpciaccess.so.0 [New Thread 0x7fffd54be6c0 (LWP 11812)] [New Thread 0x7fffd4cbd6c0 (LWP 11813)] [New Thread 0x7fffbbfff6c0 (LWP 11814)] [New Thread 0x7fffbb7fe6c0 (LWP 11815)] [New Thread 0x7fffbaffd6c0 (LWP 11816)] [New Thread 0x7fffba7fc6c0 (LWP 11817)] Downloading separate debug info for /usr/lib/qt6/plugins/styles/libqt6ct-style.so Downloading separate debug info for /usr/lib/qt6/plugins/styles/adwaita.so Downloading separate debug info for /usr/lib/libadwaitaqt6.so.1 Downloading separate debug info for /usr/lib/libadwaitaqt6priv.so.1 [New Thread 0x7fffb9ffb6c0 (LWP 11818)] Downloading separate debug info for /usr/lib/qt6/qml/QtQml/WorkerScript/libworkerscriptplugin.so Downloading separate debug info for /usr/lib/libQt6QmlWorkerScript.so.6 Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Window/libquickwindowplugin.so Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Dialogs/libqtquickdialogsplugin.so Downloading separate debug info for /usr/lib/libQt6QuickDialogs2.so.6 Downloading separate debug info for /usr/lib/libQt6QuickDialogs2QuickImpl.so.6 Downloading separate debug info for /usr/lib/libQt6QuickDialogs2Utils.so.6 Downloading separate debug info for /usr/lib/libQt6QuickTemplates2.so.6 Downloading separate debug info for /usr/lib/libQt6QuickControls2Impl.so.6 Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Controls/libqtquickcontrols2plugin.so Downloading separate debug info for /usr/lib/libQt6QuickControls2.so.6 Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so Downloading separate debug info for /usr/lib/qt6/qml/Qt/labs/platform/libqtlabsplatformplugin.so Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Templates/libqtquicktemplates2plugin.so Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Layouts/libqquicklayoutsplugin.so Downloading separate debug info for /usr/lib/libQt6QuickLayouts.so.6 Downloading separate debug info for /usr/lib/qt6/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so [New Thread 0x7fffb8bff6c0 (LWP 11819)] [New Thread 0x7fffa3fff6c0 (LWP 11820)] qrc:/qml/main.qml:247:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/qml/main.qml:233:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/qml/main.qml:224:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqgif.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqico.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqjpeg.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqicns.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqjp2.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libjasper.so.7 Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqmng.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libmng.so.2 Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqtga.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqtiff.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqwbmp.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqwebp.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqsvg.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libQt6Svg.so.6 Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqpdf.so Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libQt6Pdf.so.6 qrc:/qml/GameLogWindow.qml:153:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/qml/LauncherSettingsAbout.qml:52:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Downloading separate debug info for /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.armeabi-v7a.json.min" Downloading separate debug info for /usr/lib/qt6/plugins/tls/libqcertonlybackend.so Downloading separate debug info for /usr/lib/qt6/plugins/tls/libqopensslbackend.so [New Thread 0x7fffa31ff6c0 (LWP 11821)] [New Thread 0x7fffa29fe6c0 (LWP 11822)] Downloading separate debug info for /usr/lib/libnss_mymachines.so.2 qrc:/qml/LauncherBase.qml:173:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Downloading separate debug info for /usr/lib/libnss_resolve.so.2 [New Thread 0x7fffa21fd6c0 (LWP 11823)] [New Thread 0x7fffa19fc6c0 (LWP 11824)] Downloading separate debug info for /usr/lib/libnss_myhostname.so.2 [New Thread 0x7fffa11fb6c0 (LWP 11825)] [New Thread 0x7fffa09fa6c0 (LWP 11826)] [New Thread 0x7fff7ffff6c0 (LWP 11827)] [New Thread 0x7fff7f7fe6c0 (LWP 11828)] [New Thread 0x7fff7effd6c0 (LWP 11829)] [New Thread 0x7fff7e7fc6c0 (LWP 11830)] [New Thread 0x7fff7dffb6c0 (LWP 11831)] [New Thread 0x7fff7d7fa6c0 (LWP 11832)] [Thread 0x7fff7d7fa6c0 (LWP 11832) exited] [Thread 0x7fff7dffb6c0 (LWP 11831) exited] [New Thread 0x7fff7dffb6c0 (LWP 11833)] [New Thread 0x7fff7d7fa6c0 (LWP 11834)] [New Thread 0x7fff7cff96c0 (LWP 11835)] [Thread 0x7fff7e7fc6c0 (LWP 11830) exited] [Thread 0x7fff7effd6c0 (LWP 11829) exited] [New Thread 0x7fff7effd6c0 (LWP 11836)] [New Thread 0x7fff7e7fc6c0 (LWP 11837)] [Thread 0x7fff7e7fc6c0 (LWP 11837) exited] [New Thread 0x7fff7e7fc6c0 (LWP 11838)] [New Thread 0x7fff5ef816c0 (LWP 11839)] Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.arm64-v8a.json.min" qt.gui.icc: fromIccProfile: failed minimal tag size sanity qt.gui.icc: fromIccProfile: failed minimal tag size sanity Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86.json.min" [Thread 0x7fff7effd6c0 (LWP 11836) exited] Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86_64.json.min" Version list loaded, entry count: 1147 qml: Versionslist initialized qt.gui.icc: fromIccProfile: failed minimal tag size sanity qt.gui.icc: fromIccProfile: failed minimal tag size sanity qt.gui.icc: fromIccProfile: failed minimal tag size sanity [Thread 0x7fffa3fff6c0 (LWP 11820) exited] [Thread 0x7fffa29fe6c0 (LWP 11822) exited] [Thread 0x7fff7f7fe6c0 (LWP 11828) exited] [Thread 0x7fffa11fb6c0 (LWP 11825) exited] [Thread 0x7fffa19fc6c0 (LWP 11824) exited] [Thread 0x7fffa21fd6c0 (LWP 11823) exited] [Thread 0x7fffa09fa6c0 (LWP 11826) exited] Thread 1 "mcpelauncher-ui" received signal SIGSEGV, Segmentation fault. ListElement::getProperty (this=, role=..., owner=owner@entry=0x555555af8600, eng=0x5555559af2d0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp:964 Downloading source file /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp 964 data = QVariant::fromValue(guard->as()->object()); (gdb) backtrace #0 ListElement::getProperty(ListLayout::Role const&, QQmlListModel const*, QV4::ExecutionEngine*) (this=, role=..., owner=owner@entry=0x555555af8600, eng=0x5555559af2d0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp:964 #1 0x00007fffe5f4aaf6 in ListModel::getProperty(int, int, QQmlListModel const*, QV4::ExecutionEngine*) (eng=, owner=0x555555af8600, roleIndex=2, elementIndex=0, this=0x555556470ab0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp:545 #2 QQmlListModel::data(int, int) const (this=0x555555af8600, index=, role=2) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp:2285 #3 0x00007fffe5f4b8d7 in QV4::ModelObject::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) (m=0x7fffc01bf668, id=..., receiver=0x7fffc01bf668, hasProperty=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qmlmodels/qqmllistmodel.cpp:1697 #4 0x00007ffff7b9f9fc in QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (l=0x555556faff00, engine=0x5555559af2d0, object=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4lookup.cpp:194 #5 0x00007ffff7c132f0 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fffffffacf0, engine=0x5555559af2d0, code=0x7fffc7eedf73 "<9P2.:\030\r\254;\r\001\b<<<=\030\r.>, engine=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4vme_moth.cpp:542 #7 0x00007ffff7b8e6f0 in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=, thisObject=, argv=, argc=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4functionobject.cpp:537 #8 0x00007ffff7c12de6 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fffffffb180, engine=0x5555559af2d0, code=0x555556fa9110 "P\004\272\367\377\177") at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4vme_moth.cpp:860 #9 0x00007ffff7c21a2c in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=, engine=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4vme_moth.cpp:542 #10 0x00007ffff7b8de5a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (context=0x0, argc=569127776, argv=0x7fffc01bf4f8, thisObject=0x5555559af2d0, this=0x55555634a120) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4function.cpp:62 #11 QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (this=this@entry=0x555555caf0e0, thisObject=thisObject@entry=0x7fffc01bf4f0, argv=argv@entry=0x7fffc01bf4f0, argc=argc@entry=0, context=context@entry=0x7fffc7ee1508) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4function.cpp:44 #12 0x00007ffff7b8e06b in operator() (argc=0, argv=0x7fffc01bf4f0, thisObject=0x7fffc01bf4f0, __closure=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4function.cpp:31 #13 QV4::convertAndCall > (call=..., argc=0, types=0x7fffffffb3d0, a=0x7fffffffb3e0, thisObject=0x555556662b10, engine=) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.4.3/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4jscall_p.h:197 #14 QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (this=0x555555caf0e0, thisObject=0x555556662b10, a=0x7fffffffb3e0, types=0x7fffffffb3d0, argc=0, context=0x7fffc7ee1508) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/jsruntime/qv4function.cpp:28 #15 0x00007ffff7cae36a in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (this=, a=, types=, argc=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/qml/qqmljavascriptexpression.cpp:270 #16 0x00007ffff7c59494 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x5555564b0670, a=a@entry=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/qml/qqmlboundsignal.cpp:199 #17 0x00007ffff7c5df5c in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (a=0x0, e=0x5555564881f0) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.4.3/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.4.3/src/qml/qml/ftw/qqmlrefcount_p.h:62 #18 QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x5555564881f0, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/qml/qqmlboundsignal.cpp:293 #19 0x00007ffff7cc7fb8 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/qml/qml/qqmlnotifier.cpp:70 #20 0x00007ffff6b80b50 in doActivate(QObject*, int, void**) (sender=0x555556662b10, signal_index=65, argv=0x0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qobject.cpp:3871 #21 0x00007fffb8cd23db in QQuickAbstractButtonPrivate::handleRelease(QPointF const&, unsigned long) (this=this@entry=0x5555566a13b0, point=..., timestamp=timestamp@entry=4164956) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quicktemplates2/qquickabstractbutton.cpp:159 #22 0x00007fffb8cfa5ce in QQuickControl::mouseReleaseEvent(QMouseEvent*) (this=, event=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quicktemplates2/qquickcontrol.cpp:1999 #23 0x00007fffeb1d051d in QQuickItem::event(QEvent*) (this=0x555556662b10, ev=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/items/qquickitem.cpp:8764 #24 0x00007fffecf75a0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x555556662b10, e=0x7fffffffda50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/widgets/kernel/qapplication.cpp:3315 #25 0x00007ffff6b2abb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555556662b10, event=0x7fffffffda50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qcoreapplication.cpp:1035 #26 0x00007ffff6b2abfe in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=, event=) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qcoreapplication.cpp:1451 #27 0x00007fffeb3302ff in QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) (this=this@entry=0x5555558de1d0, item=item@entry=0x555556662b10, isGrabber=isGrabber@entry=true, pointerEvent=pointerEvent@entry=0x7fffffffda50, handlersOnly=handlersOnly@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/util/qquickdeliveryagent.cpp:2109 #28 0x00007fffeb33215a in QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) (this=this@entry=0x5555558de1d0, event=event@entry=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/util/qquickdeliveryagent.cpp:1955 #29 0x00007fffeb333b1c in QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) (this=this@entry=0x5555558de1d0, event=event@entry=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/util/qquickdeliveryagent.cpp:1822 #30 0x00007fffeb333f8d in QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) (this=0x5555558de1d0, event=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/util/qquickdeliveryagent.cpp:1619 #31 0x00007fffeb3290e9 in QQuickDeliveryAgent::event(QEvent*) (this=, ev=0x7fffffffda50) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/util/qquickdeliveryagent.cpp:687 #32 0x00007fffeb26cffc in QQuickWindow::event(QEvent*) (this=, event=) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.4.3/src/quick/items/qquickwindow.cpp:1475 #33 0x00007fffecf75a0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x5555558e3d10, e=0x7fffffffda50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/widgets/kernel/qapplication.cpp:3315 #34 0x00007ffff6b2abb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5555558e3d10, event=0x7fffffffda50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qcoreapplication.cpp:1035 #35 0x00007ffff6b2b03e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=, event=) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qcoreapplication.cpp:1465 #36 0x00007ffff7199ecc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7fffd0002bc0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/gui/kernel/qguiapplication.cpp:2249 #37 0x00007ffff71f7995 in QWindowSystemInterface::sendWindowSystemEvents(QFlags) (flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/gui/kernel/qwindowsysteminterface.cpp:1108 #38 0x00007ffff759a575 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/gui/platform/unix/qeventdispatcher_glib.cpp:38 #39 0x00007fffec1e5afb in g_main_dispatch (context=0x5555558d7e50) at ../glib/glib/gmain.c:3460 #40 g_main_context_dispatch (context=0x5555558d7e50) at ../glib/glib/gmain.c:4200 #41 0x00007fffec2425d9 in g_main_context_iterate.constprop.0 (context=0x5555558d7e50, block=1, dispatch=1, self=) at ../glib/glib/gmain.c:4276 #42 0x00007fffec1e3382 in g_main_context_iteration (context=0x5555558d7e50, may_block=1) at ../glib/glib/gmain.c:4343 #43 0x00007ffff6d4d9b2 in QEventDispatcherGlib::processEvents(QFlags) (this=0x5555558b5430, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #44 0x00007ffff6b361f4 in QEventLoop::exec(QFlags) (this=0x7fffffffdf00, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/global/qflags.h:34 #45 0x00007ffff6b2d8eb in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.3/src/corelib/global/qflags.h:74 #46 0x0000555555669103 in main () (gdb) quit A debugging session is active. Inferior 1 [process 11714] will be killed. Quit anyway? (y or n) y [ble: elapsed 36m41s (CPU 12.0%)] gdb mcpelauncher-ui-qt ```

Also, here's the same log inside the file, if it's more convenient for you: mcpelauncher-gdb-backtrace.log

REmerald commented 1 year ago

Did you recently update qt6 via pacman?

@ChristopherHX Yes, btw, forgot to mention, a lot of qt6-* packages were updated recently on my system (maybe yesterday?)

REmerald commented 1 year ago

Also ran the app in valgrind (no extra options), maybe it'll be useful to you, here's the log:

[remorin@chuwawa:0 ~]$ valgrind mcpelauncher-ui-qt -v -d
==13475== Memcheck, a memory error detector
==13475== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==13475== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==13475== Command: mcpelauncher-ui-qt -v -d
==13475==
qrc:/qml/main.qml:247:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/main.qml:233:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/main.qml:224:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/GameLogWindow.qml:153:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/LauncherSettingsAbout.qml:52:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.armeabi-v7a.json.min"
qrc:/qml/LauncherBase.qml:173:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.arm64-v8a.json.min"
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86.json.min"
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
Downloading Versionsdb "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-versiondb/master/versions.x86_64.json.min"
Version list loaded, entry count: 1147
qml: Versionslist initialized
==13475== Invalid read of size 8
==13475==    at 0x16822C0C: UnknownInlinedFun (string_fortified.h:29)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4value_p.h:63)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:120)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:120)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:127)
==13475==    by 0x16822C0C: ListElement::getProperty(ListLayout::Role const&, QQmlListModel const*, QV4::ExecutionEngine*) [clone .cold] (qqmllistmodel.cpp:964)
==13475==    by 0x1684FAF5: UnknownInlinedFun (qqmllistmodel.cpp:545)
==13475==    by 0x1684FAF5: QQmlListModel::data(int, int) const (qqmllistmodel.cpp:2285)
==13475==    by 0x168508D6: QV4::ModelObject::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) (qqmllistmodel.cpp:1697)
==13475==    by 0x4A229FB: QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (qv4lookup.cpp:194)
==13475==    by 0x4A962EF: QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (qv4vme_moth.cpp:729)
==13475==    by 0x4AA4A2B: QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) [clone .part.0] (qv4vme_moth.cpp:542)
==13475==    by 0x4A116EF: QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (qv4functionobject.cpp:537)
==13475==    by 0x4A95DE5: QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (qv4vme_moth.cpp:860)
==13475==    by 0x4AA4A2B: QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) [clone .part.0] (qv4vme_moth.cpp:542)
==13475==    by 0x4A10E59: UnknownInlinedFun (qv4function.cpp:62)
==13475==    by 0x4A10E59: QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (qv4function.cpp:44)
==13475==    by 0x4A1106A: UnknownInlinedFun (qv4function.cpp:31)
==13475==    by 0x4A1106A: UnknownInlinedFun (qv4jscall_p.h:197)
==13475==    by 0x4A1106A: QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (qv4function.cpp:28)
==13475==    by 0x4B31369: QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (qqmljavascriptexpression.cpp:270)
==13475==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==13475==
==13475==
==13475== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==13475==  Access not within mapped region at address 0x0
==13475==    at 0x16822C0C: UnknownInlinedFun (string_fortified.h:29)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4value_p.h:63)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:120)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:120)
==13475==    by 0x16822C0C: UnknownInlinedFun (qv4qobjectwrapper_p.h:127)
==13475==    by 0x16822C0C: ListElement::getProperty(ListLayout::Role const&, QQmlListModel const*, QV4::ExecutionEngine*) [clone .cold] (qqmllistmodel.cpp:964)
==13475==    by 0x1684FAF5: UnknownInlinedFun (qqmllistmodel.cpp:545)
==13475==    by 0x1684FAF5: QQmlListModel::data(int, int) const (qqmllistmodel.cpp:2285)
==13475==    by 0x168508D6: QV4::ModelObject::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) (qqmllistmodel.cpp:1697)
==13475==    by 0x4A229FB: QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (qv4lookup.cpp:194)
==13475==    by 0x4A962EF: QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (qv4vme_moth.cpp:729)
==13475==    by 0x4AA4A2B: QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) [clone .part.0] (qv4vme_moth.cpp:542)
==13475==    by 0x4A116EF: QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (qv4functionobject.cpp:537)
==13475==    by 0x4A95DE5: QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (qv4vme_moth.cpp:860)
==13475==    by 0x4AA4A2B: QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) [clone .part.0] (qv4vme_moth.cpp:542)
==13475==    by 0x4A10E59: UnknownInlinedFun (qv4function.cpp:62)
==13475==    by 0x4A10E59: QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (qv4function.cpp:44)
==13475==    by 0x4A1106A: UnknownInlinedFun (qv4function.cpp:31)
==13475==    by 0x4A1106A: UnknownInlinedFun (qv4jscall_p.h:197)
==13475==    by 0x4A1106A: QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (qv4function.cpp:28)
==13475==    by 0x4B31369: QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (qqmljavascriptexpression.cpp:270)
==13475==  If you believe this happened as a result of a stack
==13475==  overflow in your program's main thread (unlikely but
==13475==  possible), you can try to increase the size of the
==13475==  main thread stack using the --main-stacksize= flag.
==13475==  The main thread stack size used in this run was 8388608.
==13475==
==13475== HEAP SUMMARY:
==13475==     in use at exit: 33,948,878 bytes in 198,955 blocks
==13475==   total heap usage: 1,074,595 allocs, 875,640 frees, 208,850,913 bytes allocated
==13475==
==13475== LEAK SUMMARY:
==13475==    definitely lost: 1,560 bytes in 100 blocks
==13475==    indirectly lost: 2,971 bytes in 44 blocks
==13475==      possibly lost: 2,895,627 bytes in 4,519 blocks
==13475==    still reachable: 31,046,704 bytes in 194,271 blocks
==13475==                       of which reachable via heuristic:
==13475==                         newarray           : 505,064 bytes in 949 blocks
==13475==                         multipleinheritance: 16,712 bytes in 54 blocks
==13475==         suppressed: 0 bytes in 0 blocks
==13475== Rerun with --leak-check=full to see details of leaked memory
==13475==
==13475== For lists of detected and suppressed errors, rerun with: -s
==13475== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
[ble: exit 139][ble: elapsed 174.924s (CPU 68.4%)] valgrind mcpelauncher-ui-qt -v -d
ChristopherHX commented 1 year ago

Sounds like a bug of the qml engine of qt6.4.3 released on 15.3.2023 and shortly after to archlinux.

I had already a similar problem with qt5.15, where some parts of the app stopped working after updating to the latest patch release

I'm not shure if rewriting qml ( javascript ) for qt6 is required in long term, the stacktrace isn't in c++ code of the launcher ui and therefore hard to debug.

You probably cannot just reinstall qt6.4.2..., I mean the code of the app worked between 6.2.0-6.4.2 without any issue. Now the qt engine crashs within the framework.

REmerald commented 1 year ago

Here're the qt6 packages that were upgraded, took it from /var/log/pacman.log:

[2023-03-19T02:08:54+0300] [ALPM] upgraded qt6-translations (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:54+0300] [ALPM] upgraded qt6-base (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:55+0300] [ALPM] upgraded qt6-3d (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:55+0300] [ALPM] upgraded qt6-5compat (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:56+0300] [ALPM] upgraded qt6-declarative (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:56+0300] [ALPM] upgraded qt6-charts (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:56+0300] [ALPM] upgraded qt6-connectivity (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:08:56+0300] [ALPM] upgraded qt6-datavis3d (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:03+0300] [ALPM] upgraded qt6-doc (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-examples (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-websockets (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-httpserver (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-imageformats (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-languageserver (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-lottie (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-multimedia-gstreamer (6.4.2-2 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-multimedia (6.4.2-2 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-networkauth (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-positioning (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-quicktimeline (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-quick3d (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-quick3dphysics (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-remoteobjects (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-scxml (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-sensors (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-serialport (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-serialbus (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:07+0300] [ALPM] upgraded qt6-shadertools (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-speech (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-svg (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-tools (6.4.2-3 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-virtualkeyboard (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-wayland (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:08+0300] [ALPM] upgraded qt6-webchannel (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:09+0300] [ALPM] upgraded qt6-webengine (6.4.2-4 -> 6.4.3-1)
[2023-03-19T02:09:09+0300] [ALPM] upgraded qt6-webview (6.4.2-1 -> 6.4.3-1)
[2023-03-19T02:09:09+0300] [ALPM] upgraded qt6ct (0.8-1 -> 0.8-2)

Maybe I will try to downgrade them. Btw, is it a good idea to downgrade just one of them, e.g. qt6-webengine?

@ChristopherHX so, which one (or several) of these packages cause the issue?

REmerald commented 1 year ago

@ChristopherHX unfortunately, the automatic "pre-qt6-update" btrfs snapshot was overwritten, and I probably won't downgrade all the qt6 packages manually, because that's too much work for me...

Could you open an issue in the qt6 git repo? I don't know c++, so I can't do it myself.

If you can't reproduce the segfault, maybe I can provide you some additional logs to help with opening the issue?

ChristopherHX commented 1 year ago

It's qt6-declarative, my linux distribution (ubuntu 22.04) uses much older qt versions.

I'm not shure if you can downgrade one qt package without creating more issues

REmerald commented 1 year ago

@ChristopherHX this package is required by other qt6 packages, so I don't think, I will be able to downgrade it...

The good part is that it can launch the game successfully, I just can't change to the newer minecraft version through the profile settings... (What's the newest supported version, btw? In the README there's 1.19.60 mentioned, but in the recent commit there was 1.19.80 mentioned.)

So, is there a way to fix it, or creating an issue in the qt6 repo is the only way?

ChristopherHX commented 1 year ago

You could just use my AppImage file: https://github.com/ChristopherHX/linux-packaging-scripts/releases/tag/v0.8.5-708

It bundles ancient qt5 and is a single runnable file. Make the .AppImage executable chmod +x and run it.

What's the newest supported version, btw?

I stopped using the term supported, with the latest release v0.8.5 1.19.71.02 is the newest usable version. With development snapshots/AUR is also beta 1.19.80.21 usable

REmerald commented 1 year ago

@ChristopherHX thanks for the appimage suggestion, will use the aur version for now, as I don't need to update from 1.19.60 at this moment.

If you create an issue/bug-report, I think it'll be a good idea, if you share the link here, so the other people can track it.

Btw, if a new minecraft version comes out, how to know if it's 'usable' or not (apart from testing it myself)?

ChristopherHX commented 1 year ago

If you create an issue/bug-report, I think it'll be a good idea, if you share the link here, so the other people can track it.

I'm not going to open a bugreport, because I cannot reproduce your issue with qt6.5.0-rc (Official qt6 build) on ubuntu-22.04. Could be a regression of qt6.4.

Btw, if a new minecraft version comes out, how to know if it's 'usable' or not (apart from testing it myself)?

By not using development builds. (AppImage, flatpak, apt / rpm repo)

By using development builds it uses the master branch of the versiondb this always breaks and you have to find the information yourself.

ChristopherHX commented 1 year ago

Hmm depends on the profile, not all profiles cause crash on both qt6.4.3 and qt6.5.0-rc.

REmerald commented 1 year ago

I cannot reproduce your issue with qt6.5.0-rc

Seems like the only way is to wait 10 days for the final release and see if the issue persists.

I push an update to the versionsb of the specfic launcher release

Thanks, will track the minecraft-linux/mcpelauncher-versiondb commits then.

REmerald commented 1 year ago

not all profiles cause crash

Default does cause the crash.
And I don't want to try using the other ones, maybe I will later, but I'm ok with 1.19.60 for now.

on both and qt6.5.0-rc

Wait, so you mean, the crash persists on 6.5.0?

on qt6.4.3

So, does this mean you did successfully reproduce the crash on 6.4.3?

ChristopherHX commented 1 year ago

Wait, so you mean, the crash persists on 6.5.0?

yes

So, does this mean you did successfully reproduce the crash on 6.4.3?

yes

qml Listmodel.get(0) = crash. Older qt6 and qt5 no crash

REmerald commented 1 year ago

So, now it's time to open a bugreport?

REmerald commented 1 year ago

@ChristopherHX - so, I figured a workaround for now, the appimage and the aur vesion share the data, so I just selected the version in the appimage, then closed it and launched the aur version, pressed download and play, and it worked.

Btw, are there any updates about the issue?

ChristopherHX commented 1 year ago

Btw, are there any updates about the issue?

I changed the code to use native javascript arrays instead of stressing the ListModel in js (qml) code.

I didn't create a bug report.

REmerald commented 1 year ago

@ChristopherHX , thx, the update mcpelauncher-ui-git (v0.7.0.qt6.r8.g56ec3e6-1 -> v0.9.0.qt6.r0.g65a1283-1) fixed it.

Should I close the issue now?