Bug 468536 - Crash when pressing CTRL+. on the welcome menu
Summary: Crash when pressing CTRL+. on the welcome menu
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-15 13:17 UTC by kdebugs
Modified: 2023-04-15 15:14 UTC (History)
1 user (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 kdebugs 2023-04-15 13:17:00 UTC
Application: kate (22.12.3)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.10-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Kate crashes on the welcome screen when CTRL+. is pressed.
The crash is consistent (happens every time), only on the welcome screen (opening a new file prevents the crash).
Returning to the welcome screen by closing all open files and pressing CTRL+. crashes too

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  LSPClientPluginViewImpl::quickFix (this=0x5581af4102a0) at /usr/src/debug/kate/kate-22.12.3/addons/lspclient/lspclientpluginview.cpp:1625
#7  0x00007fa783abeb41 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x5581af443650, signal_index=4, argv=0x7ffe0705f4d0) at kernel/qobject.cpp:3923
#9  0x00007fa78476bec7 in QAction::triggered (this=this@entry=0x5581af443650, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#10 0x00007fa7847718c7 in QAction::activate (this=0x5581af443650, event=<optimized out>) at kernel/qaction.cpp:1161
#11 0x00007fa78477198e in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1086
#12 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075
#13 0x00007fa784778b5c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5581af443650, e=0x7ffe0705f660) at kernel/qapplication.cpp:3640
#14 0x00007fa783a8e028 in QCoreApplication::notifyInternal2 (receiver=0x5581af443650, event=0x7ffe0705f660) at kernel/qcoreapplication.cpp:1064
#15 0x00007fa783a8e093 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#16 0x00007fa783f74f8d in QShortcutMap::dispatchEvent (this=<optimized out>, e=<optimized out>) at kernel/qshortcutmap.cpp:675
#17 0x00007fa783f6b7e7 in QShortcutMap::tryShortcut (this=0x5581aea93568, e=0x7ffe0705f720) at kernel/qshortcutmap.cpp:343
#18 0x00007fa783f2b098 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, timestamp=1785788, keyCode=46, modifiers=..., nativeScanCode=60, nativeVirtualKey=46, nativeModifiers=4, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#19 0x00007fa783f409e2 in QGuiApplicationPrivate::processKeyEvent (e=0x5581af35c910) at kernel/qguiapplication.cpp:2398
#20 0x00007fa783f298c5 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#21 0x00007fa77eac38d5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQt5WaylandClient.so.5
#22 0x00007fa78150f53b in g_main_dispatch (context=0x7fa778000ee0) at ../glib/glib/gmain.c:3460
#23 g_main_context_dispatch (context=0x7fa778000ee0) at ../glib/glib/gmain.c:4200
#24 0x00007fa78156c219 in g_main_context_iterate.constprop.0 (context=0x7fa778000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#25 0x00007fa78150e1a2 in g_main_context_iteration (context=0x7fa778000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#26 0x00007fa783ad8d3c in QEventDispatcherGlib::processEvents (this=0x5581aeae72a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007fa783a8668c in QEventLoop::exec (this=0x7ffe0705fad0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007fa783a912f9 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00007fa783f3b052 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#30 0x00007fa784776f2a in QApplication::exec () at kernel/qapplication.cpp:2832
#31 0x00005581ae4db5d5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate/kate-22.12.3/apps/kate/main.cpp:603
[Inferior 1 (process 3472) detached]

Reported using DrKonqi
Comment 1 Waqar Ahmed 2023-04-15 13:29:45 UTC
Unfortunately I forgot to back-port the fix for this bug so 22.12.3 will remain broken :/

This is fixed in the latest release though.
Comment 2 kdebugs 2023-04-15 15:14:45 UTC
(In reply to Waqar Ahmed from comment #1)
> Unfortunately I forgot to back-port the fix for this bug so 22.12.3 will
> remain broken :/
> 
> This is fixed in the latest release though.

Sorry for wasting your time and thanks for the fix! I will wait for the latest version in the arch repos :)