Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807905 - kde-apps/konsole-21.08.0 : crash when blur is activated
Summary: kde-apps/konsole-21.08.0 : crash when blur is activated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-12 20:31 UTC by Julien Delquié
Modified: 2021-08-13 20:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2021-08-12 20:31:45 UTC
After update to 21.08.0, Konsole keeps crashing at start.
If I deactivate blur in Konsole profiles, it stops crashing at start.
If I reactivate blur in Konsole profiles, blur activates, Konsole is working with beautiful blur, but as soon it is closed, Konsole keeps crashing at start until I deactivate blur again.

Here is the backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2a2486dee1 in QWindow::winId() const () from /usr/lib64/libQt5Gui.so.5
#5  0x00007f2a23b6a7cf in KWindowEffects::enableBlurBehind(QWindow*, bool, QRegion const&) () from /usr/lib64/libKF5WindowSystem.so.5
#6  0x00007f2a256f4c43 in Konsole::MainWindow::setBlur(bool) () from /usr/lib64/libkonsoleapp.so.21
#7  0x00007f2a256f7e9d in Konsole::MainWindow::activeViewChanged(Konsole::SessionController*) () from /usr/lib64/libkonsoleapp.so.21
#8  0x00007f2a243ee23f in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f2a255d5952 in Konsole::ViewManager::activeViewChanged(Konsole::SessionController*) () from /usr/lib64/libkonsoleprivate.so.21
#10 0x00007f2a255fdc23 in Konsole::ViewManager::createController(Konsole::Session*, Konsole::TerminalDisplay*) () from /usr/lib64/libkonsoleprivate.so.21
#11 0x00007f2a255fe30f in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib64/libkonsoleprivate.so.21
#12 0x00007f2a256f85d0 in Konsole::MainWindow::createSession(QExplicitlySharedDataPointer<Konsole::Profile>, QString const&) () from /usr/lib64/libkonsoleapp.so.21
#13 0x00007f2a256f3f65 in Konsole::Application::newInstance() () from /usr/lib64/libkonsoleapp.so.21
#14 0x000055a64eeafc4c in ?? ()
#15 0x00007f2a23dda7fd in __libc_start_main () from /lib64/libc.so.6
#16 0x000055a64eeaff1a in ?? ()
[Inferior 1 (process 6196) detached]

Here is the link to KDE bug: https://bugs.kde.org/show_bug.cgi?id=440900

Reproducible: Always

Steps to Reproduce:
1. Activate blur in Konsole profiles
2. Close Konsole
3. Try to open Konsole
Actual Results:  
Konsole crash.

Expected Results:  
Konsole works with a beautiful blur effect.
Comment 1 Julien Delquié 2021-08-13 12:07:57 UTC
It seems that the bug from KDE that I linked is a duplicate of : https://bugs.kde.org/show_bug.cgi?id=439871

This bug has been resolved, and the diff is here : https://invent.kde.org/utilities/konsole/-/commit/a6b2bd539162b39191e827566b656bd97266ffad
Comment 2 Julien Delquié 2021-08-13 12:15:16 UTC
But, I just tried the patch and Konsole does not crash anymore, but blur does not work either…
Comment 3 Larry the Git Cow gentoo-dev 2021-08-13 20:14:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6221644bee352314ff6e2047f415dd289f5d06

commit 9a6221644bee352314ff6e2047f415dd289f5d06
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-08-13 20:11:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-08-13 20:13:47 +0000

    kde-apps/konsole: Fix crash when setting blur effect
    
    Upstream commit f24dd6acc28393ba6f731be1360731c01a9a1ef0
    
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=439871
    Closes: https://bugs.gentoo.org/807905
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/konsole-21.08.0-fix-crash-w-blur.patch   | 49 ++++++++++++++++++++++
 kde-apps/konsole/konsole-21.08.0-r1.ebuild         |  1 +
 2 files changed, 50 insertions(+)