Bug 474065

Summary: Kate crashes whenever I used an external tool with a project folder open
Product: [Applications] kate Reporter: Hasan <husnainlatif>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: christoph, nate, waqar.17a
Priority: NOR Keywords: drkonqi
Version: 22.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hasan 2023-09-02 17:50:47 UTC
Application: kate (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.0-31-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.04
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
I have a git project open and I used a custom external tool to build my javascript project
This crashes kate for some reason.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fc47827016c in ?? () from /lib/x86_64-linux-gnu/libkateprivate.so.22.12.3
#5  0x00007fc478280296 in Utils::showMessage(QString const&, QIcon const&, QString const&, QString const&, KTextEditor::MainWindow*) () from /lib/x86_64-linux-gnu/libkateprivate.so.22.12.3
#6  0x00007fc456395341 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/externaltoolsplugin.so
#7  0x00007fc456395643 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/externaltoolsplugin.so
#8  0x00007fc456395a28 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/externaltoolsplugin.so
#9  0x00007fc476af39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fc477965546 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fc477968203 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fc477968ddd in QAction::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fc47796bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fc476abae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fc4771721ab in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007fc477172b03 in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007fc477119c1a in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007fc47713e0d1 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007fc470fe80f3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
#20 0x00007fc476af39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fc47800fa83 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#22 0x00007fc476ae7de0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fc47796bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fc476abae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fc476abdea1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fc476b157b7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fc474a6149d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc474abc178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc474a601b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc476b14e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fc476ab97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fc476ac1c1a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x0000555ae819e388 in ?? ()
#34 0x00007fc476023a90 in __libc_start_call_main (main=main@entry=0x555ae819cef0, argc=argc@entry=2, argv=argv@entry=0x7ffc96313468) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007fc476023b49 in __libc_start_main_impl (main=0x555ae819cef0, argc=2, argv=0x7ffc96313468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc96313458) at ../csu/libc-start.c:360
#36 0x0000555ae81a0795 in ?? ()
[Inferior 1 (process 83355) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'kate' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Christoph Cullmann 2023-09-24 18:11:20 UTC
Can not reproduce that, could you try a more recent version of Kate?
Comment 2 Bug Janitor Service 2023-10-09 03:45:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-10-24 03:45:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!