Bug 437269 - Crash when removing all bookmarks
Summary: Crash when removing all bookmarks
Status: RESOLVED DUPLICATE of bug 433006
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-05-17 18:32 UTC by wposiew
Modified: 2021-11-05 06:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wposiew 2021-05-17 18:32:38 UTC
Application: kdevelop (5.6.2)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.20-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Workstation Edition)

-- Information about the crash:
- What I was doing when the application crashed:

1. Open kdevelop (you can create a new project, but not obligatory)
2. Add any file (or edit an existing one)
3. Add some lines (if new file)
4. Set the bookmark as you like
5. Try to delete all bookmarks

It also present on a newly created user - no old saves in kdevelop configuration.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f17d03209d7 in QHashData::nextNode(QHashData::Node*) () at /lib64/libQt5Core.so.5
#5  0x00007f17ce9292b0 in KateBookmarks::clearBookmarks() () at /lib64/libKF5TextEditor.so.5
#6  0x00007f17d04b2386 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#7  0x00007f17d10ec646 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#8  0x00007f17d10eef31 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#9  0x00007f17d126de9a in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#10 0x00007f17d1275512 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#11 0x00007f17d1133b1e in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007f17d10f2ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007f17d10f9eeb in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f17d0482bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f17d10f8efa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#16 0x00007f17d114c8e3 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f17d114f6be in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f17d10f2ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f17d0482bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00007f17d09aa143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#21 0x00007f17d098b8cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#22 0x00007f17b828f47e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#23 0x00007f17ccc83a9f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#24 0x00007f17cccd5a98 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#25 0x00007f17ccc80e73 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#26 0x00007f17d04cf6f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00007f17d048157b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#28 0x00007f17d04891b4 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#29 0x000055e2c6aac30b in main ()
[Inferior 1 (process 2947) detached]

Possible duplicates by query: bug 436863, bug 436308, bug 436117, bug 435463, bug 435427.

Reported using DrKonqi
Comment 1 b2.temp 2021-10-22 01:20:02 UTC
kate, kwrite are also affected, with the same backtrace.
Also reproducible with a blank document of 1 line.
Comment 2 Jonathan Verner 2021-11-03 21:51:46 UTC
This should probably be reported on the kate product. Can you provide your kate version?
Comment 3 wposiew 2021-11-04 09:33:21 UTC
I don't have this bug anymore (Kate 4.21.2).  I have fc34.x86_64.
Comment 4 b2.temp 2021-11-04 17:19:01 UTC
20.12.2 here.
Comment 5 Waqar Ahmed 2021-11-05 06:18:31 UTC

*** This bug has been marked as a duplicate of bug 433006 ***