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

            Bug ID: 450308
           Summary: Kate crashes when invoking code completion
           Product: kate
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: nicolas.fe...@gmx.de
  Target Milestone: ---

Application: kate (22.03.70)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.14.21-2-MANJARO x86_64
Windowing System: Wayland
Distribution: Manjaro Linux
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Hacking on a C++ project. The crash seems to be related to invoking the code
completion

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char,
std::default_delete<char []> >> = {_M_t = std::tuple containing = {[1] = 0x0,
[2] = {<No data fields>}}}, <No data fields>}}
[KCrash Handler]
#5  0x00007f919b0ddd22 in raise () from /usr/lib/libc.so.6
#6  0x00007f919b0c7862 in abort () from /usr/lib/libc.so.6
#7  0x00007f919b67cbb1 in qt_message_fatal (message=<synthetic pointer>...,
context=...) at global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7ffc38dafbc8,
msg=msg@entry=0x7f919b97c068 "ASSERT failure in %s: \"%s\", file %s, line %d")
at global/qlogging.cpp:893
#9  0x00007f919b67c03e in qt_assert_x (where=<optimized out>, what=<optimized
out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:3366
#10 0x00007f9194a73b90 in QList<LSPClientCompletionItem>::at
(this=0x5621a25ffbb0, i=5) at /home/nico/kde/usr/include/QtCore/qlist.h:571
#11 0x00007f9194a72f91 in LSPClientCompletionImpl::executeCompletionItem
(this=0x5621a25ffb50, view=0x5621a291f9c0, word=..., index=...) at
/home/nico/kde/src/kate/addons/lspclient/lspclientcompletion.cpp:434
#12 0x00007f919e19c81e in KateCompletionWidget::execute (this=0x5621a2f74e70)
at /home/nico/kde/src/ktexteditor/src/completion/katecompletionwidget.cpp:938
#13 0x00007f919e3d60f6 in KateNormalInputMode::keyPress (this=0x5621a230d180,
e=0x7ffc38db0330) at
/home/nico/kde/src/ktexteditor/src/inputmode/katenormalinputmode.cpp:205
#14 0x00007f919e31b44d in KateViewInternal::keyPressEvent (this=0x5621a27a18a0,
e=0x7ffc38db0330) at
/home/nico/kde/src/ktexteditor/src/view/kateviewinternal.cpp:2757
#15 0x00007f919e31ae8d in KateViewInternal::eventFilter (this=0x5621a27a18a0,
obj=0x5621a27a18a0, e=0x7ffc38db0330) at
/home/nico/kde/src/ktexteditor/src/view/kateviewinternal.cpp:2666
#16 0x00007f919b89abe2 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>,
receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#17 QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x5621a27a18a0, event=event@entry=0x7ffc38db0330) at
kernel/qcoreapplication.cpp:1179
#18 0x00007f919c5eb68e in QApplicationPrivate::notify_helper
(this=this@entry=0x5621a1fa0820, receiver=receiver@entry=0x5621a27a18a0,
e=e@entry=0x7ffc38db0330) at kernel/qapplication.cpp:3626
#19 0x00007f919c5f33ce in QApplication::notify (this=<optimized out>,
receiver=0x5621a27a18a0, e=0x7ffc38db0330) at kernel/qapplication.cpp:2994
#20 0x00007f919b89ae7a in QCoreApplication::notifyInternal2
(receiver=0x5621a27a18a0, event=0x7ffc38db0330) at
kernel/qcoreapplication.cpp:1064
#21 0x00007f919c6499cf in QWidgetWindow::event (this=0x5621a2658010,
event=0x7ffc38db0330) at kernel/qwidgetwindow.cpp:293
#22 0x00007f919c5eb69f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5621a2658010, e=0x7ffc38db0330) at
kernel/qapplication.cpp:3632
#23 0x00007f919b89ae7a in QCoreApplication::notifyInternal2
(receiver=0x5621a2658010, event=0x7ffc38db0330) at
kernel/qcoreapplication.cpp:1064
#24 0x00007f919be6f562 in QGuiApplicationPrivate::processKeyEvent
(e=0x5621a3789470) at kernel/qguiapplication.cpp:2414
#25 0x00007f919be494dc in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1169
#26 0x00007f9198065a60 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:74
#27 0x00007f9198236f13 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#28 0x00007f919828d0d9 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f9198234485 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#30 0x00007f919b8f24c4 in QEventDispatcherGlib::processEvents
(this=0x5621a1ff4c90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f919b89987b in QEventLoop::exec (this=this@entry=0x7ffc38db0620,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f919b8a1b50 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00005621a01c03da in main (argc=2, argv=0x7ffc38db0af8) at
/home/nico/kde/src/kate/kate/main.cpp:700
[Inferior 1 (process 74505) detached]

Possible duplicates by query: bug 423907, bug 419428, bug 416315, bug 398573,
bug 389595.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to