Bug 392334 - Crash when closing tab (with Ctrl+Shift+w)
Summary: Crash when closing tab (with Ctrl+Shift+w)
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-25 20:39 UTC by Martin Kostolný
Modified: 2018-04-04 17:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash backtrace (5.29 KB, text/plain)
2018-03-25 20:39 UTC, Martin Kostolný
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kostolný 2018-03-25 20:39:14 UTC
Created attachment 111649 [details]
crash backtrace

Lately I get crashes on closing a konsole tab. I have a git version - this commit: 1f2128ead7bdbbd7994a7e26c7afe2249dd0ad44

It crashes only sometimes. I have not developed any specific scenario. I always close tabs with ctrl+shift+w. I also close tabs only when there is safe to type exit+enter.

Please see attached backtrace. And thanks for developing Konsole! :)
Comment 1 Kurt Hindenburg 2018-03-27 14:03:06 UTC
Can you update to today's git master - there were some issues w/ my revert of that commit.

I see you're using Wayland as well, is that the default on Arch?
Comment 2 Kurt Hindenburg 2018-03-27 14:06:14 UTC
Ok this crashes when the new kmessagewidget is shown and then you close using Ctrl+Shift+W
Comment 3 Kurt Hindenburg 2018-03-27 14:38:03 UTC
Git commit df68818e527d963bb1b06af5fdb7e896fae6a194 by Kurt Hindenburg.
Committed on 27/03/2018 at 14:36.
Pushed by hindenburg into branch 'master'.

Delete new KMessageWidgets first before _image

Compile with ASAN to show SEGV

M  +2    -2    src/TerminalDisplay.cpp

https://commits.kde.org/konsole/df68818e527d963bb1b06af5fdb7e896fae6a194
Comment 4 Kurt Hindenburg 2018-03-27 14:46:19 UTC
Git commit 417225644b9dc1cee8947b693e5d3b42ea5e9d9f by Kurt Hindenburg.
Committed on 27/03/2018 at 14:43.
Pushed by hindenburg into branch 'Applications/18.04'.

Delete new KMessageWidgets first before _image

Compile with ASAN to show SEGV
(cherry picked from commit df68818e527d963bb1b06af5fdb7e896fae6a194)

M  +2    -2    src/TerminalDisplay.cpp

https://commits.kde.org/konsole/417225644b9dc1cee8947b693e5d3b42ea5e9d9f
Comment 5 Martin Kostolný 2018-04-04 17:18:57 UTC
Sorry for my late response. After your commits there are no crashes anymore, thanks!

> I see you're using Wayland as well, is that the default on Arch?

Arch is rather do-it-yourself distro, at least regarding KDE. So wayland will be default when KDE say so :). I'm running the whole session in kdesrc-build environment and starting it with startplasmacompositor.