SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** First off I can't find Tokodon in the applications list on bugs.kde.org but your gitlab repo instructed me to file bug reports here instead of in the actual git repo issues section. STEPS TO REPRODUCE 1. Start tokodon application. 2. I then get a Segmentation fault (core dumped) OBSERVED RESULT - The first time I ran Tokodon, it loaded up fine and was working. - All other times I run Tokodon, I get "Segmentation fault (core dumped)" EXPECTED RESULT The application to always start up and run. SOFTWARE/OS VERSIONS Arch Linux rolling with tokodon-git AUR package Qt Version: 6.3.2-1 and 5.15.6+kde+r167-1 are both installed ADDITIONAL INFORMATION here is the output from gdb $ gdb tokodon GNU gdb (GDB) 12.1 Copyright (C) 2022 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: <https://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 tokodon... This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. (No debugging symbols found in tokodon) (gdb) run Starting program: /usr/bin/tokodon [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1e7e6c0 (LWP 1026305)] [New Thread 0x7ffff167d6c0 (LWP 1026306)] [New Thread 0x7ffff0e7c6c0 (LWP 1026307)] Loading any accounts from settings. [New Thread 0x7fffe3fff6c0 (LWP 1026308)] [New Thread 0x7fffe37fe6c0 (LWP 1026309)] [New Thread 0x7fffe2ffd6c0 (LWP 1026310)] [WEBSOCKET] Connecting to QUrl("wss://social.linux.pizza/api/v1/streaming?access_token=<OMIT MY TOKEN>&stream=user") Loaded from settings: Account(0x5555555ee1b0) [New Thread 0x7fffe27fc6c0 (LWP 1026311)] [New Thread 0x7fffe13f26c0 (LWP 1026312)] [New Thread 0x7fffe0ab06c0 (LWP 1026313)] [New Thread 0x7fffd25ff6c0 (LWP 1026314)] [New Thread 0x7fffd1dfe6c0 (LWP 1026315)] [New Thread 0x7fffd15fd6c0 (LWP 1026316)] [New Thread 0x7fffd0dfc6c0 (LWP 1026317)] [New Thread 0x7fffc4dff6c0 (LWP 1026318)] [New Thread 0x7fffa7fff6c0 (LWP 1026319)] [New Thread 0x7fff9ffff6c0 (LWP 1026320)] [New Thread 0x7fffa77fe6c0 (LWP 1026321)] [New Thread 0x7fffa6ffd6c0 (LWP 1026322)] [New Thread 0x7fffa67fc6c0 (LWP 1026323)] [New Thread 0x7fffa5ffb6c0 (LWP 1026324)] [New Thread 0x7fffa57fa6c0 (LWP 1026325)] [New Thread 0x7fffa4ff96c0 (LWP 1026326)] [New Thread 0x7fff9f7fe6c0 (LWP 1026327)] [New Thread 0x7fff9effd6c0 (LWP 1026328)] [New Thread 0x7fff9e7fc6c0 (LWP 1026329)] [New Thread 0x7fff9dffb6c0 (LWP 1026330)] QObject::connect(AccountManager, TimelineModel): invalid nullptr parameter file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:286:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. Thread 1 "tokodon" received signal SIGSEGV, Segmentation fault. 0x00007ffff732517f in QV4::Heap::InternalClass::changeVTableImpl(QV4::VTable const*) () from /usr/lib/libQt5Qml.so.5 (gdb) backtrace #0 0x00007ffff732517f in QV4::Heap::InternalClass::changeVTableImpl(QV4::VTable const*) () from /usr/lib/libQt5Qml.so.5 #1 0x00007ffff749d106 in QV4::QQmlValueTypeWrapper::create(QV4::ExecutionEngine*, QObject*, int, QMetaObject const*, int) () from /usr/lib/libQt5Qml.so.5 #2 0x00007ffff7371e36 in ?? () from /usr/lib/libQt5Qml.so.5 #3 0x00007fffd0064ae2 in ?? () #4 0x00007fffff7ff3e0 in ?? () #5 0x0000000000000000 in ?? () (gdb)
Thank you for heeding the warning. :) Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols that we need to figure out exactly what's going wrong. Could you please install debug symbols for Tokodon and Qt, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Thanks again!
Trying this again with debuginfod set to ON this time... $ gdb tokodon GNU gdb (GDB) 12.1 Copyright (C) 2022 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: <https://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 tokodon... This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org 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. (No debugging symbols found in tokodon) (gdb) run Starting program: /usr/bin/tokodon Downloading 1.07 MB separate debug info for /lib64/ld-linux-x86-64.so.2 Downloading 4.36 MB separate debug info for /usr/lib/libKF5I18n.so.5 Downloading 9.08 MB separate debug info for /usr/lib/libKF5Notifications.so.5 Downloading 3.41 MB separate debug info for /usr/lib/libKF5ConfigGui.so.5 Downloading 15.04 MB separate debug info for /usr/lib/libKF5CoreAddons.so.5 Downloading 4.08 MB separate debug info for /usr/lib/libKF5DBusAddons.so.5 Downloading 5.95 MB separate debug info for /usr/lib/libKF5WindowSystem.so.5 Downloading 6.64 MB separate debug info for /usr/lib/libQt5WebSockets.so.5 Downloading 11.88 MB separate debug info for /usr/lib/libQt5QuickControls2.so.5 Downloading 132.30 MB separate debug info for /usr/lib/libQt5Quick.so.5 Downloading 120.51 MB separate debug info for /usr/lib/libQt5Qml.so.5 Downloading 38.07 MB separate debug info for /usr/lib/libQt5Network.so.5 Downloading 5.90 MB separate debug info for /usr/lib/libKF5ConfigCore.so.5 Downloading 104.28 MB separate debug info for /usr/lib/libQt5Widgets.so.5 Downloading 135.76 MB separate debug info for /usr/lib/libQt5Gui.so.5 Downloading 67.92 MB separate debug info for /usr/lib/libQt5Core.so.5 Downloading 9.92 MB 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 0.18 MB separate debug info for /usr/lib/libcanberra.so.0 Downloading 1.84 MB separate debug info for /usr/lib/libQt5TextToSpeech.so.5 Downloading 0.53 MB separate debug info for /usr/lib/libQt5X11Extras.so.5 Downloading 15.14 MB separate debug info for /usr/lib/libQt5DBus.so.5 Downloading 2.31 MB separate debug info for /usr/lib/libm.so.6 Downloading 64.91 MB separate debug info for /usr/lib/libQt5QuickTemplates2.so.5 Downloading 12.23 MB separate debug info for /usr/lib/libQt5QmlModels.so.5 Downloading 0.26 MB separate debug info for /usr/lib/libGL.so.1 Downloading 20.70 MB separate debug info for /usr/lib/libharfbuzz.so.0 Downloading 3.19 MB separate debug info for /usr/lib/libsystemd.so.0 Downloading 1.34 MB separate debug info for /usr/lib/libpcre2-16.so.0 Downloading 4.17 MB separate debug info for /usr/lib/libzstd.so.1 Downloading 3.97 MB separate debug info for /usr/lib/libglib-2.0.so.0 Downloading 0.10 MB separate debug info for /usr/lib/libltdl.so.7 Downloading 0.02 MB separate debug info for /usr/lib/libcom_err.so.2 Downloading 0.18 MB separate debug info for /usr/lib/libresolv.so.2 Downloading 0.36 MB separate debug info for /usr/lib/libGLdispatch.so.0 Downloading 0.49 MB separate debug info for /usr/lib/libGLX.so.0 Downloading 2.94 MB separate debug info for /usr/lib/libfreetype.so.6 Downloading 0.10 MB separate debug info for /usr/lib/libcap.so.2 Downloading 1.43 MB separate debug info for /usr/lib/libpcre2-8.so.0 Downloading 0.58 MB separate debug info for /usr/lib/qt/plugins/platforms/libqwayland-generic.so Downloading 19.25 MB separate debug info for /usr/lib/libQt5WaylandClient.so.5 Downloading 0.04 MB separate debug info for /usr/lib/libwayland-cursor.so.0 Downloading 0.12 MB separate debug info for /usr/lib/libwayland-client.so.0 Downloading 1.00 MB separate debug info for /usr/lib/libfontconfig.so.1 Downloading 0.65 MB separate debug info for /usr/lib/libxkbcommon.so.0 Downloading 0.11 MB separate debug info for /usr/lib/libffi.so.8 Downloading 0.37 MB separate debug info for /usr/lib/libexpat.so.1 [New Thread 0x7ffff1e7e6c0 (LWP 347796)] Downloading 0.81 MB separate debug info for /usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so [New Thread 0x7ffff167d6c0 (LWP 347797)] [New Thread 0x7ffff0e7c6c0 (LWP 347798)] Loading any accounts from settings. [New Thread 0x7fffe3fff6c0 (LWP 347799)] Downloading 4.32 MB separate debug info for /usr/lib/qt/plugins/bearer/libqconnmanbearer.so Downloading 1.98 MB separate debug info for /usr/lib/qt/plugins/bearer/libqgenericbearer.so Downloading 4.70 MB separate debug info for /usr/lib/qt/plugins/bearer/libqnmbearer.so [New Thread 0x7fffe37fe6c0 (LWP 347819)] [New Thread 0x7fffe2ffd6c0 (LWP 347820)] [WEBSOCKET] Connecting to QUrl("wss://social.linux.pizza/api/v1/streaming?access_token=<OMIT MY TOKEN>&stream=user") Loaded from settings: Account(0x5555555ee1b0) Downloading 1.51 MB separate debug info for /usr/lib/libnss_mymachines.so.2 Downloading 0.68 MB separate debug info for /usr/lib/libnss_resolve.so.2 [New Thread 0x7fffe27fc6c0 (LWP 347821)] Downloading 0.76 MB separate debug info for /usr/lib/libnss_myhostname.so.2 Downloading 0.60 MB separate debug info for /usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so Downloading 3.20 MB separate debug info for /usr/lib/libQt5QmlWorkerScript.so.5 Downloading 14.51 MB separate debug info for /usr/lib/qt/qml/org/kde/kirigami.2/libKirigamiPlugin.so Downloading 4.65 MB separate debug info for /usr/lib/libKF5Kirigami2.so.5 Downloading 4.62 MB separate debug info for /usr/lib/qt/qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so Downloading 4.34 MB separate debug info for /usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so Downloading 0.37 MB separate debug info for /usr/lib/qt/qml/QtQml/Models.2/libmodelsplugin.so Downloading 0.55 MB separate debug info for /usr/lib/qt/qml/QtQml/libqmlplugin.so Downloading 3.44 MB separate debug info for /usr/lib/qt/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so Downloading 0.55 MB separate debug info for /usr/lib/qt/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so Downloading 1.93 MB separate debug info for /usr/lib/qt/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so Downloading 1.39 MB separate debug info for /usr/lib/qt/qml/QtQuick/Window.2/libwindowplugin.so Downloading 2.07 MB separate debug info for /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so Downloading 3.13 MB separate debug info for /usr/lib/qt/qml/Qt/labs/qmlmodels/liblabsmodelsplugin.so Downloading 1.70 MB separate debug info for /usr/lib/qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so Downloading 0.24 MB separate debug info for /usr/lib/libEGL.so.1 Downloading 0.01 MB separate debug info for /usr/lib/libwayland-egl.so.1 Downloading 0.01 MB separate debug info for /usr/lib/libpthread.so.0 Downloading 0.01 MB separate debug info for /usr/lib/librt.so.1 Downloading 0.01 MB separate debug info for /usr/lib/libdl.so.2 Downloading 0.20 MB separate debug info for /usr/lib/libnvidia-egl-wayland.so.1 Downloading 0.18 MB separate debug info for /usr/lib/libwayland-server.so.0 Downloading 0.23 MB separate debug info for /usr/lib/libdrm.so.2 Downloading 0.04 MB separate debug info for /usr/lib/libgbm.so.1 Downloading 0.27 MB separate debug info for /usr/lib/libEGL_mesa.so.0 Downloading 0.09 MB separate debug info for /usr/lib/libglapi.so.0 [Detaching after fork from child process 347871] Downloading 26.98 MB separate debug info for /usr/lib/dri/radeonsi_dri.so Downloading 0.10 MB separate debug info for /usr/lib/libdrm_radeon.so.1 Downloading 0.88 MB separate debug info for /usr/lib/libelf.so.1 Downloading 0.13 MB separate debug info for /usr/lib/libdrm_amdgpu.so.1 Downloading 0.09 MB separate debug info for /usr/lib/libdrm_nouveau.so.2 Downloading 1.63 MB separate debug info for /usr/lib/libncursesw.so.6 Downloading 3.43 MB separate debug info for /usr/lib/libxml2.so.2 [New Thread 0x7fffe0a976c0 (LWP 347894)] [New Thread 0x7fffc4dff6c0 (LWP 347895)] [New Thread 0x7fffbffff6c0 (LWP 347896)] [New Thread 0x7fffbf7fe6c0 (LWP 347897)] [New Thread 0x7fffbeffd6c0 (LWP 347898)] [New Thread 0x7fffbe7fc6c0 (LWP 347899)] [New Thread 0x7fffbdffb6c0 (LWP 347900)] [New Thread 0x7fffbd7fa6c0 (LWP 347901)] [New Thread 0x7fffbcff96c0 (LWP 347902)] [New Thread 0x7fff9bfff6c0 (LWP 347903)] [New Thread 0x7fff9b7fe6c0 (LWP 347904)] [New Thread 0x7fff9affd6c0 (LWP 347905)] [New Thread 0x7fff9a7fc6c0 (LWP 347906)] [New Thread 0x7fff99ffb6c0 (LWP 347907)] [New Thread 0x7fff997fa6c0 (LWP 347908)] [New Thread 0x7fff98ff96c0 (LWP 347909)] [New Thread 0x7fff7bfff6c0 (LWP 347910)] [New Thread 0x7fff7b7fe6c0 (LWP 347911)] [New Thread 0x7fff7affd6c0 (LWP 347912)] Downloading 1.61 MB separate debug info for /usr/lib/qt/plugins/kf5/kirigami/org.kde.desktop.so Downloading 4.67 MB separate debug info for /usr/lib/libKF5IconThemes.so.5 Downloading 9.23 MB separate debug info for /usr/lib/libKF5ConfigWidgets.so.5 Downloading 7.83 MB separate debug info for /usr/lib/libQt5Svg.so.5 Downloading 4.14 MB separate debug info for /usr/lib/libKF5Archive.so.5 Downloading 30.56 MB separate debug info for /usr/lib/libKF5WidgetsAddons.so.5 Downloading 5.11 MB separate debug info for /usr/lib/libKF5Codecs.so.5 Downloading 6.49 MB separate debug info for /usr/lib/libKF5GuiAddons.so.5 Downloading 3.01 MB separate debug info for /usr/lib/libKF5AuthCore.so.5 [Thread 0x7fffe2ffd6c0 (LWP 347820) exited] Downloading 1.75 MB separate debug info for /usr/lib/qt/plugins/wayland-shell-integration/libxdg-shell.so QObject::connect(AccountManager, TimelineModel): invalid nullptr parameter file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:286:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. Thread 1 "tokodon" received signal SIGSEGV, Segmentation fault. 0x00007ffff742a048 in QQmlNotifierEndpoint::disconnect (this=0x555555d913a8) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmlnotifier_p.h:206 206 /usr/src/debug/qtdeclarative/src/qml/qml/qqmlnotifier_p.h: Directory not empty. (gdb) backtrace #0 0x00007ffff742a048 in QQmlNotifierEndpoint::disconnect (this=0x555555d913a8) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmlnotifier_p.h:206 #1 0x00007ffff747af56 in QQmlNotifierEndpoint::connect (this=0x555555d913a8, source=0x5555558cfae0, sourceSignal=69, engine=0x7fffffffe130, doNotify=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:118 #2 0x00007ffff7492135 in QQmlPropertyCapture::captureProperty (this=0x7fffff7ff4b0, o=0x5555558cfae0, c=<optimized out>, n=69, doNotify=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:315 #3 0x00007ffff7372177 in QV4::QObjectWrapper::getProperty (engine=0x555555620280, object=0x5555558cfae0, property=0x7fffcc1456b8) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:261 #4 0x00007fffe000b95b in ?? () #5 0x00007fffff7ff3b0 in ?? () #6 0x0000000000000000 in ?? () (gdb)
Thanks! Unfortunately some stack frames are still missing: #4 0x00007fffe000b95b in ?? () #5 0x00007fffff7ff3b0 in ?? () #6 0x0000000000000000 in ?? () And I don't see any KDE code implicated in the frames that have symbols.
I honestly do not know how to fix the ?? symbols & have done everything in the "How to create useful crash reports" readme. After looking at the Tokodon git issues, I appear to be having the same exact issue that this person reported 5 months prior with version 22.02 - https://invent.kde.org/network/tokodon/-/issues/32 - should I also report my issue within there too since it's the same exact one? There were new git commits, so my package manager pulled those and compiled the latest Tokodon, but I have the same issue I originally reported.
Ok, since https://invent.kde.org/network/tokodon/-/issues/32already exists, we can track it there.
Sounds good. Just posting this comment with the correct issue link of https://invent.kde.org/network/tokodon/-/issues/32