Konsole 21.08 Segfaulting

After full updrade, Konsole 21.08 won’t launch for me on virtual and bare metal systems, just insta-segfaults, had to downgrade back to 21.04.3.

[  111.655923] konsole[1221]: segfault at 8 ip 00007f6ea4f93f21 sp 00007ffc94d42f80 error 4 in libQt5Gui.so.5.15.2[7f6ea4f32000+4dc000]

Anyone else experiencing this?

Dr Konqi output.

Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fe3a803af21 in QWindow::winId() const () from /usr/lib/libQt5Gui.so.5
#5  0x00007fe3a72c1e32 in KWindowEffects::enableBlurBehind(QWindow*, bool, QRegion const&) () from /usr/lib/libKF5WindowSystem.so.5
#6  0x00007fe3a8f9bde7 in Konsole::MainWindow::setBlur(bool) () from /usr/lib/libkonsoleapp.so.21
#7  0x00007fe3a8f9f55c in Konsole::MainWindow::activeViewChanged(Konsole::SessionController*) () from /usr/lib/libkonsoleapp.so.21
#8  0x00007fe3a7be175b in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fe3a8e3a243 in Konsole::ViewManager::activeViewChanged(Konsole::SessionController*) () from /usr/lib/libkonsoleprivate.so.21
#10 0x00007fe3a8e649dd in Konsole::ViewManager::createController(Konsole::Session*, Konsole::TerminalDisplay*) () from /usr/lib/libkonsoleprivate.so.21
#11 0x00007fe3a8e650ce in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib/libkonsoleprivate.so.21
#12 0x00007fe3a8f9fd53 in Konsole::MainWindow::createSession(QExplicitlySharedDataPointer<Konsole::Profile>, QString const&) () from /usr/lib/libkonsoleapp.so.21
#13 0x00007fe3a8f9b0d7 in Konsole::Application::newInstance() () from /usr/lib/libkonsoleapp.so.21
#14 0x0000558960e1b6fe in ?? ()
#15 0x00007fe3a7536b25 in __libc_start_main () from /usr/lib/libc.so.6
#16 0x0000558960e1b9de in ?? ()
[Inferior 1 (process 1236) detached]

Yakuake working fine, which depends on konsole, so :man_shrugging: .

EDIT :

Not just me … also reported upstream.

https://bbs.archlinux.org/viewtopic.php?id=268773

Current workaround is to downgrade to 21.04.3 and wait for fix.

1 Like

Nothing mentioned about it (yet?) on KDE bug tracking system: Bug List

Works fine on my end.

1 Like

Thanks for the link, this issue with a temp workaround has now been reported.

https://bugs.kde.org/show_bug.cgi?id=440928

To get Konsole to work again, you can edit ~/.config/konsolerc and set 

[KonsoleWindow]
SaveGeometryOnExit=true

When launching konsole could be expecting previous geometry info that doesn’t exist if you don’t have this setting on.

3 Likes

I saw that one also before but perhaps I didn’t read carefully enough to connect the dots. Thanks!

1 Like

I don’t have that, and konsole works…

2 Likes

#metoo

I’m guessing the window geometry was already set correctly so there was no funny business with the new version of konsole getting incorrect geometry and segfaulting. I think this is the case with a vast majority of users, and that’s why this bug slipped through quality control.

They couldn’t see that one through all the bloat :rofl:

P.S. We need a bloat control department :male_detective:

1 Like

Try setting that value to false and see if you get the same segfault.

No segfault… works as expected.

Works for me also.

Screenshot_20210814_160608

250px-Mascot_konqi

1 Like

Apparently, it works if you are saving window geometry. That is probably why it works for some people and not others.

Patched and released with konsole 21.08.0-2, along with the toolbar bug everyone was screaming about on reddit.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.