Usability granted: [Bug 424249] Segmentation fault when closing a tab by using the keyboard shortcuts

[email protected] Wed, 15 Jul 2020 18:33:08 +0000
Newsgroups gmane.comp.kde.usability
Message-ID <[email protected]/>
ParsaMousavi <[email protected]> has granted  Usability:
Bug 424249: Segmentation fault when closing a tab by using the keyboard
shortcuts
https://bugs.kde.org/show_bug.cgi?id=3D424249



--- Description ---
Created attachment 130145
  --> https://bugs.kde.org/attachment.cgi?id=3D130145&action=3Dedit
Okular crash backtrace

I've assigned the hotkey "Ctrl+W" for closing a tab in Settings->Configure
keyboard shortcuts->Close.
Whenever I close a tab by pressing "Ctrl+W" , Okular crashes and causes all=
 the
opened documents to get closed.That only happens when there are at least "2"
open documents in the same window.By the way I've enabled the option "Open =
new
files in tabs" if that matters.

The output of Okular in its stderr after the crash :
```
KCrash: crashing... crashRecursionCounter =3D 2
KCrash: Application Name =3D okular path =3D /usr/bin pid =3D 28214
KCrash: Arguments: /usr/bin/okular some_file.pdf=20
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
```

And the full backtrace is included as an attachment although the KDE Crash
Handler says it's probably not useful.

STEPS TO REPRODUCE:
1. Open Okular
2. Assign a shortcut for "Close" in Settings->Configure keyboard shortcuts
3. Use that shortcut when you have at least two opened documents at the same
time.



SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.3.0 / KDE Neon Unstable
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2