Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

qt: bookmark removal crashes the program

Open 375gnu opened this issue 1 year ago • 5 comments

Describe the bug qt: bookmark removal crashes the program

375gnu avatar Nov 29 '23 19:11 375gnu

#0  0x0000555555593a22 in BookmarkTreeModel::parent(QModelIndex const&) const ()
#1  0x00007ffff778bb42 in QTreeView::isIndexHidden(QModelIndex const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#2  0x00007ffff77296f0 in QAbstractItemView::rowsAboutToBeRemoved(QModelIndex const&, int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007ffff779652a in QTreeView::rowsAboutToBeRemoved(QModelIndex const&, int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff772593a in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff61c4525 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff6130aee in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff6137a4b in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x0000555555593c99 in BookmarkTreeModel::removeItem(BookmarkItem*) ()

375gnu avatar Nov 29 '23 19:11 375gnu

Can't reproduce this, on my system removing bookmarks works fine. What bookmarks do you have when this occurs?

ajtribick avatar Dec 01 '23 19:12 ajtribick

I also cannot reproduce it Qt 6. It happens on Ubuntu 18.04 with Qt 5.

375gnu avatar Dec 02 '23 18:12 375gnu

Works on Qt 5.15 in Ubuntu 23.10. What version of Qt5 is in Ubuntu 18.04?

ajtribick avatar Dec 03 '23 18:12 ajtribick

5.9.5

375gnu avatar Dec 04 '23 09:12 375gnu