Summary: | "Bookmark all tabs as folder" crashes if a tab was closed prior | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | rickrods |
Component: | bookmark | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | jkt, tcanabrava |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/34f85cecea5010a5b8fa8c15020bf894f4d0bbcc | Version Fixed In: | 21.04 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
rickrods
2021-01-31 00:15:20 UTC
I forgot to mention I am using KDE neon Unstable Edition Unstable Branches Hope this helps. Thanks, I got it to crash once. I'll try to test more and see what's going on. #0 0x7f86d043a160 in Konsole::BookmarkHandler::titleForView(Konsole::ViewProperties*) const /home/kurthindenburg/Devel/KDE/src/konsole/src/BookmarkHandler.cpp:99:47 #1 0x7f86d043ad72 in Konsole::BookmarkHandler::currentBookmarkList() const /home/kurthindenburg/Devel/KDE/src/konsole/src/BookmarkHandler.cpp:139:48 #2 0x7f86d043aeff in non-virtual thunk to Konsole::BookmarkHandler::currentBookmarkList() const /home/kurthindenburg/Devel/KDE/src/konsole/src/BookmarkHandler.cpp It has nothing to do w/ ssh or # of tabs. To reproduce: 1. start 2 tabs 2. close one tab 3. Bookmark->Bookmark tabs as folder crash According to bit bisect (which is a pain to use w/ so many Qt/KF changes) it is https://invent.kde.org/utilities/konsole/-/commit/6e8153a78e3c63e514a6ecb62f6c9b4b504e7eb7 The views are not removed when you close a session so when BookmarkHandler::currentBookmarkList is called, it loops through removed sessions. Created attachment 136373 [details]
New crash information added by DrKonqi
konsole (20.12.2) using Qt 5.15.2
- What I was doing when the application crashed:
Bookmark Tabs as Folder after closing several tabs from another bookmark
-- Backtrace (Reduced):
#4 0x00007fc0836db8ae in QIcon::name() const () from /lib64/libQt5Gui.so.5
#5 0x00007fc08487cb8c in Konsole::BookmarkHandler::iconForView(Konsole::ViewProperties*) const () from /lib64/libkonsoleprivate.so.20
#6 0x00007fc08487cd53 in Konsole::BookmarkHandler::currentBookmarkList() const () from /lib64/libkonsoleprivate.so.20
#7 0x00007fc082d5cdad in KBookmarkMenu::slotAddBookmarksList() () from /lib64/libKF5Bookmarks.so.5
#8 0x00007fc08325f386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/361 Git commit 34f85cecea5010a5b8fa8c15020bf894f4d0bbcc by Kurt Hindenburg, on behalf of Carlos Alves. Committed on 07/03/2021 at 20:50. Pushed by hindenburg into branch 'master'. Fix Bookmark all tabs as a folder crash The list of active sessions needs to be refreshed when a session is destroyed. It was being refreshed only on creation. FIXED-IN: 21.04 M +4 -0 src/ViewManager.cpp M +2 -0 src/widgets/ViewContainer.cpp M +3 -0 src/widgets/ViewContainer.h https://invent.kde.org/utilities/konsole/commit/34f85cecea5010a5b8fa8c15020bf894f4d0bbcc |