Bug 455641 - Crash on saving
Summary: Crash on saving
Status: VERIFIED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-20 09:49 UTC by Antonio Liccardo
Modified: 2022-08-31 15:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Liccardo 2022-06-20 09:49:39 UTC
Application: kate (22.04.2)

Qt Version: 5.15.2
Frameworks Version: 5.95.0
Operating System: Linux 5.18.4-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.0 [KCrashBackend]

-- Information about the crash:
After deleting a file from inside Kate, I saved afile and the kate crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x000055791c3620fc in  ()
#5  0x00007f7bccd12b3f in  () at /lib64/libQt5Core.so.5
#6  0x00007f7bcdc917e7 in QTreeWidget::currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*) () at /lib64/libQt5Widgets.so.5
#7  0x00007f7bccd12b6c in  () at /lib64/libQt5Core.so.5
#8  0x00007f7bccc8604a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () at /lib64/libQt5Core.so.5
#9  0x00007f7bccc89859 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib64/libQt5Core.so.5
#10 0x00007f7bcdc1e396 in QAbstractItemView::focusInEvent(QFocusEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007f7bcd9e75b3 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007f7bcda91f6e in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007f7bcd9a53ce in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f7bcccdbce8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f7bcd9a9839 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () at /lib64/libQt5Widgets.so.5
#16 0x00007f7bcd9e0bd5 in QWidget::setFocus(Qt::FocusReason) () at /lib64/libQt5Widgets.so.5
#17 0x00007f7bcd9a9caf in QApplication::setActiveWindow(QWidget*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f7bcd9a9d93 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f7bcd1767a5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /lib64/libQt5Gui.so.5
#20 0x00007f7bcd14f2bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#21 0x00007f7bc811e2fa in  () at /lib64/libQt5XcbQpa.so.5
#22 0x00007f7bcafbfea0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#23 0x00007f7bcafc0258 in  () at /lib64/libglib-2.0.so.0
#24 0x00007f7bcafc02ec in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#25 0x00007f7bccd33106 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f7bcccda75b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00007f7bcdbab927 in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#28 0x000055791c37a51a in  ()
#29 0x00007f7bccd16832 in  () at /lib64/libQt5Core.so.5
#30 0x00007f7bccd072ad in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007f7bcd9a53ce in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007f7bcccdbce8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007f7bccd32501 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#34 0x00007f7bccd32d94 in  () at /lib64/libQt5Core.so.5
#35 0x00007f7bcafbfea0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#36 0x00007f7bcafc0258 in  () at /lib64/libglib-2.0.so.0
#37 0x00007f7bcafc02ec in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#38 0x00007f7bccd33106 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#39 0x00007f7bcccda75b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#40 0x00007f7bccce28c6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#41 0x000055791c364bd1 in  ()
#42 0x00007f7bcc2405b0 in __libc_start_call_main () at /lib64/libc.so.6
#43 0x00007f7bcc240679 in __libc_start_main_impl () at /lib64/libc.so.6
#44 0x000055791c366b55 in  ()
[Inferior 1 (process 5202) detached]

Reported using DrKonqi
Comment 1 Waqar Ahmed 2022-06-20 12:33:54 UTC
> After deleting a file from inside Kate, I saved afile and the kate crashed.

Please provide more details about "deleting a file from inside kate"
Comment 2 Antonio Liccardo 2022-06-21 09:38:49 UTC
Sorry Hamed,
I was very unclear, but I was in a hurry at that moment.
What I have done so far to crash Kate was:
* I selected the "Project" pane from Kate;
* from there I selected a file;
* Then right clicking on it I got the menu
* I choose "Delete" from the menu to delete that file.
* Subsequently I clicked on the "Save" button and  Kate crashed.
I hope that everything is clearer now!
Comment 3 Christoph Cullmann 2022-08-22 20:13:22 UTC
Naturally I would like to fix this, but I can't reproduce.
Could you try the latest release 22.08.0 if that still has this issue?
Comment 4 Antonio Liccardo 2022-08-23 11:11:17 UTC
   I'm sorry, I am in vacation now, and will try next week when I 'll be
   at work again!Thank you!
   Il 22 ago 2022 22:13, Christoph Cullmann <bugzilla_noreply@kde.org> ha
   scritto:

     https://bugs.kde.org/show_bug.cgi?id=455641

     Christoph Cullmann <cullmann@kde.org> changed:

     What |Removed |Added
     ----------------------------------------------------------------------------
     CC| |cullmann@kde.org
     Resolution|--- |WORKSFORME
     Status|REPORTED |RESOLVED

     --- Comment #3 from Christoph Cullmann <cullmann@kde.org> ---
     Naturally I would like to fix this, but I can't reproduce.
     Could you try the latest release 22.08.0 if that still has this
     issue?

     --
     You are receiving this mail because:
     You reported the bug.
Comment 5 Antonio Liccardo 2022-08-31 15:47:27 UTC
(In reply to Christoph Cullmann from comment #3)
> Naturally I would like to fix this, but I can't reproduce.
> Could you try the latest release 22.08.0 if that still has this issue?

Sorry for the delay, Christoph, now it work fine! Thank you.
I have checked with: 
Kate Version: 22.08.0
QT version: 5.15.5 (compiled with con 5.15.5)
KDE Frameworks Version: 5.97.0
Windowing System: X11
Distribution: "openSUSE Tumbleweed"