Summary: | Konsole crashes when calling KWindowEffects::enableBlurBehind() on a nullptr | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | netizen <rgawenda> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | a.samirh78, asturm, daniel.swarbrick, jonahisadev, kavimehta18, kde, manuel.luna.mx, nate, presnovnikita, this.is.reid |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/f24dd6acc28393ba6f731be1360731c01a9a1ef0 | Version Fixed In: | 21.12 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
netizen
2021-07-15 07:37:02 UTC
I can open it from an xterm as root, gathering more info now... There is a proposed fix already https://invent.kde.org/utilities/konsole/-/merge_requests/439 (for some reason our scripts didn't update the bug report when the merge request was created). Git commit a6b2bd539162b39191e827566b656bd97266ffad by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 23/07/2021 at 16:06. Pushed by hindenburg into branch 'master'. Fix crash when setting blur effect Basically to use QWidget::windowHandle() to get a QWindow*, we need to first set the Qt::WA_NativeWindow attribute on the QWidget. See: https://phabricator.kde.org/D23108 FIXED-IN: 21.12 M +11 -1 src/MainWindow.cpp https://invent.kde.org/utilities/konsole/commit/a6b2bd539162b39191e827566b656bd97266ffad *** Bug 440900 has been marked as a duplicate of this bug. *** What about 21.08 branch? Created attachment 140692 [details]
New crash information added by DrKonqi
konsole (21.08.0) using Qt 5.15.3
- What I was doing when the application crashed:
I updated my system and i rebooted.
I will try reboot system again.
App write in console:
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = /usr/bin pid = 8439
KCrash: Arguments: /usr/bin/konsole
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
It is OK when it run from root.
Another apps based on konsole(yakuake, kate, dolphin) work OK.
-- Backtrace (Reduced):
#4 0x00007fed5e9107d5 in QWindow::winId() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5 0x00007fed5db6a943 in KWindowEffects::enableBlurBehind(QWindow*, bool, QRegion const&) () from /lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#6 0x00007fed5f8804d3 in Konsole::MainWindow::setBlur (blur=true, this=0x562e08ef8ec0) at ./src/MainWindow.cpp:892
#7 Konsole::MainWindow::setBlur (this=0x562e08ef8ec0, blur=<optimized out>) at ./src/MainWindow.cpp:876
#8 0x00007fed5f883c52 in Konsole::MainWindow::activeViewChanged (controller=0x562e090196c0, this=0x562e08ef8ec0) at /usr/include/c++/9/bits/atomic_base.h:413
Git commit f24dd6acc28393ba6f731be1360731c01a9a1ef0 by Ahmad Samir. Committed on 13/08/2021 at 15:19. Pushed by ahmadsamir into branch 'release/21.08'. Fix crash when setting blur effect Basically to use QWidget::windowHandle() to get a QWindow*, we need to first set the Qt::WA_NativeWindow attribute on the QWidget. See: https://phabricator.kde.org/D23108 FIXED-IN: 21.12 (cherry picked from commit a6b2bd539162b39191e827566b656bd97266ffad) M +11 -1 src/MainWindow.cpp https://invent.kde.org/utilities/konsole/commit/f24dd6acc28393ba6f731be1360731c01a9a1ef0 *** Bug 441149 has been marked as a duplicate of this bug. *** *** Bug 441215 has been marked as a duplicate of this bug. *** *** Bug 441045 has been marked as a duplicate of this bug. *** *** Bug 441085 has been marked as a duplicate of this bug. *** |