Bug 459909 - Discover crash on exit after failed dbx update
Summary: Discover crash on exit after failed dbx update
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: fwupd Backend (show other bugs)
Version: 5.24.6
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-02 06:44 UTC by mathieu
Modified: 2022-10-09 23:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mathieu 2022-10-02 06:44:40 UTC
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
***

STEPS TO REPRODUCE
1. Have a "old" shimx64.efi on the EFI partition
2. run Discover
3. Try to apply the "UEFI dbx update" proposed by "Firmware Updates (lfvs)" backend
4. The update will fails as the current shimx64 is blacklisted in the new dbx, so the new dbx is not applied to avoid making the system unbootable
5. close Discover

OBSERVED RESULT

Discover crashes.

EXPECTED RESULT

Discover closes without an error.
If you close Discover without trying to apply the UEFI dbx update, it does not crash.

Application: plasma-discover (5.24.6)

Qt Version: 5.15.3
Frameworks Version: 5.98.0
Operating System: Linux 5.19.3-051903-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f82bfe7d275 in QQuickWindow::mouseGrabberItem() const () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f82bfe7faef in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f82bfe67195 in QQuickItemPrivate::derefWindow() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f82bfe67d58 in QQuickItem::setParentItem(QQuickItem*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f82bfe6803c in QQuickItem::~QQuickItem() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f82bffe9859 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f82be0e4a6e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f82be0ef924 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f82bffe9859 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f82be0e4a6e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f82be0ef924 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f82bffea789 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f82be0e4a6e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f82be0ef924 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f829807b609 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#19 0x00007f82becaf463 in QV4::MemoryManager::sweep(bool, void (*)(char const*)) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007f82becaf5a9 in QV4::MemoryManager::~MemoryManager() () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007f82bed2c0e4 in QV4::ExecutionEngine::~ExecutionEngine() () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007f82bed167e2 in QJSEngine::~QJSEngine() () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007f82beef4a3d in QQmlApplicationEngine::~QQmlApplicationEngine() () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x000055ad4573b151 in  ()
#25 0x000055ad4573b17d in  ()
#26 0x00007f82be0e71c3 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f82bf36c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f82be0b9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f82be0bcf27 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f82be0c0d0c in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055ad45739638 in  ()
#32 0x00007f82bd629d90 in __libc_start_call_main (main=main@entry=0x55ad45738d40, argc=argc@entry=1, argv=argv@entry=0x7ffe143aa5c8) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f82bd629e40 in __libc_start_main_impl (main=0x55ad45738d40, argc=1, argv=0x7ffe143aa5c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe143aa5b8) at ../csu/libc-start.c:392
#34 0x000055ad4573a075 in  ()
[Inferior 1 (process 14933) detached]