Summary: | Kate snippets: crash when editing a snippet repository | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Lassi Väätämöinen <lassi.vaatamoinen> |
Component: | plugin-snippets | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | abode091, christoph |
Priority: | NOR | Keywords: | drkonqi |
Version: | 23.08.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/a6bc7ac3883fd7e1dd6b9486e0f0278f7ac2894c | Version Fixed In: | 24.02.0 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Lassi Väätämöinen
2023-12-07 21:54:43 UTC
Looks like it is easier to crash when a snippet is selected in the snippet side panel, and then clicking "Add snippet". Git commit e2db4cef84f5e8e7e0c00fe069966cdf48f363e0 by Christoph Cullmann. Committed on 20/01/2024 at 22:37. Pushed by cullmann into branch 'master'. fix Kate snippets: crash when editing a snippet repository M +1 -1 addons/snippets/snippet.h https://invent.kde.org/utilities/kate/-/commit/e2db4cef84f5e8e7e0c00fe069966cdf48f363e0 Git commit a6bc7ac3883fd7e1dd6b9486e0f0278f7ac2894c by Christoph Cullmann. Committed on 20/01/2024 at 22:37. Pushed by cullmann into branch 'release/24.02'. fix Kate snippets: crash when editing a snippet repository (cherry picked from commit e2db4cef84f5e8e7e0c00fe069966cdf48f363e0) M +1 -1 addons/snippets/snippet.h https://invent.kde.org/utilities/kate/-/commit/a6bc7ac3883fd7e1dd6b9486e0f0278f7ac2894c Created attachment 171482 [details]
New crash information added by DrKonqi
kate (23.08.5) using Qt 5.15.13
I had another Kate window open, then I tried to add a snippet into a snippet folder that I made.
Although I've added snippets so mant times, I Didn't experience this before, this time the difference is that I had another Kate window opened.
-- Backtrace (Reduced):
#4 0x00007f346ea4f422 in EditSnippet::EditSnippet(SnippetRepository*, Snippet*, QWidget*) () from /usr/lib64/qt5/plugins/ktexteditor/katesnippetsplugin.so
#5 0x00007f346ea43a1e in SnippetView::slotAddSnippet() () from /usr/lib64/qt5/plugins/ktexteditor/katesnippetsplugin.so
#6 0x00007f34908eac81 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7 0x00007f34915a7d44 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#8 0x00007f34915aab9b in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
|