SUMMARY I was about to install KDE Neon User Edition (ISO 20230907-0716) and the Calamares installer crashed. The Qt debug symbols were missing so I hit "Install Debug Symbols". That one failed with the unhelpful error message "An error was encountered during the installation of the debug symbol packages" Some more detailed information on what kind of error occurred would be helpful to fix the issue. STEPS TO REPRODUCE 1. Start Neon Live ISO 2. Make Calamares Crash 3. Hit "Install Debug Symbols" in DrKonqi OBSERVED RESULT "An error was encountered during the installation of the debug symbol packages" EXPECTED RESULT Installed debug symbols or at least a hint on what went wrong. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.27.7 (available in About System) KDE Plasma Version: ? KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION List of Files: The packages containing debug information for the following application and libraries are missing: /usr/bin/_neon.calamares /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 /lib/x86_64-linux-gnu/libQt5Gui.so.5 /lib/x86_64-linux-gnu/libQt5Gui.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Widgets.so.5 /lib/x86_64-linux-gnu/libQt5Core.so.5 /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so The incomplete Crash Information: Application: Calamares (_neon), signal: Segmentation fault [KCrash Handler] #4 0x00007f2558e472cd in PartitionCoreModule::partitionModelForDevice(Device const*) const () from /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so #5 0x00007f2558e7289c in PartitionPage::updateFromCurrentDevice() () from /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so #6 0x00007f25918aa924 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f2592f3b829 in QComboBox::currentTextChanged(QString const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007f2592f3e133 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f2592f40b65 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007f2592f40ce8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007f2592f44f74 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x00007f25918aa958 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007f259180beb1 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007f2558e44e19 in DeviceModel::addDevice(Device*) () from /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so #15 0x00007f2558e4aad0 in PartitionCoreModule::createVolumeGroup(QString&, QVector<Partition const*>, int) () from /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so #16 0x00007f2558e75fff in PartitionPage::onNewVolumeGroupClicked() () from /usr/lib/x86_64-linux-gnu/calamares/modules/partition/libcalamares_viewmodule_partition.so #17 0x00007f25918aa924 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f2592f289f6 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f2592f28c7e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f2592f2a8a4 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f2592f2aac7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f2592e7594e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f2592e32763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007f2592e3a3a4 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007f2591872e7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007f2592e38e87 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007f2592e8f1cb in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007f2592e92525 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007f2592e32763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007f2591872e7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #31 0x00007f2591c5e1e7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #32 0x00007f2591c31dbc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #33 0x00007f258d3b2f5e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #34 0x00007f258fa34d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007f258fa8a258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007f258fa323e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f25918cc368 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007f259187179b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007f2591879d44 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #40 0x0000559dffb67f88 in main () [Inferior 1 (process 4908) detached]
Created attachment 161508 [details] Output of journalctl --since '13:16:02'
The actual issue seems to be the installdbgsymbols.sh script (huh? not a script but a symlink?) crashes as well: root@neon:~# installdbgsymbols.sh /lib/x86_64-linux-gnu/libQt5Widgets.so.5 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' org.kde.drkonqi.pk-debug-installer: files: ("/lib/x86_64-linux-gnu/libQt5Widgets.so.5") ("org.kde.neon.com.ubuntu.ddebs") 1 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = drkonqi-pk-debug-installer path = /usr/bin pid = 8271 KCrash: Arguments: /usr/bin/drkonqi-pk-debug-installer /lib/x86_64-linux-gnu/libQt5Widgets.so.5 KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:135:9: QML ListView: Binding loop detected for property "topMargin" QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' org.kde.drkonqi.bugzilla: RuntimeException: "Failed to resolve bugzilla product" org.kde.drkonqi: "Failed to resolve bugzilla product" [1]+ Stopped installdbgsymbols.sh /lib/x86_64-linux-gnu/libQt5Widgets.so.5 root@neon:~# QSocketNotifier: Invalid socket 5 and type 'Read', disabling... QSocketNotifier: Invalid socket 12 and type 'Read', disabling... QSocketNotifier: Invalid socket 14 and type 'Read', disabling... [1]+ Exit 253 installdbgsymbols.sh /lib/x86_64-linux-gnu/libQt5Widgets.so.5
neon's debug symbol installer crashed because of appstreamqt problems
@Harald: I think a bit more detail wouldn't hurt for this error message to give a technically adept person (we are quite deep in debugging territory here anyway) some hint where to look. Something like an additional sentence "The helper %s exited with status code %d." I had a quick glance at debugpackageinstaller.cpp and it looks like all required information would be available.
Patches welcome :)
I might have a shot indeed. When I tried to find the issue I saw that some new Qt packages (incuding QAppstream) were available, maybe the root cause is fixed already. I'll have another shot tomorrow to see if that one is fixed.
Created attachment 161537 [details] apt history.log Apart from the error message: The root cause sounds like the issue in 473017. I had hoped that a new Neon ISO was built in the meantime since updating the packages does not make the crash go away and I am not sure if logging out and in again (rebooting won't work on a live system) will ensure that all updated Qt libraries are loaded. But it looks like the Neon ISOs aren't rebuild too often. I attached my /var/log/apt/history.log which has the updated package version numbers just in case I want to revisit this again.