Summary: | Kate with vi mode, <c><e> near end of file causes crash | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Christopher Leonard <c.j.leonard> |
Component: | Vi Input Mode | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | c.j.leonard, dnicolas, mikisabate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 3.14.2 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christopher Leonard
2015-07-16 17:01:48 UTC
Can reproduce. Here's the backtrace that I got from current master: #0 0x00007ffff0c20638 in raise () at /lib64/libc.so.6 #1 0x00007ffff0c21a1a in abort () at /lib64/libc.so.6 #2 0x00007ffff18c2005 in () at /usr/lib64/libQt5Core.so.5 #3 0x00007ffff18bd5be in () at /usr/lib64/libQt5Core.so.5 #4 0x00007ffff7653654 in Kate::TextFolding::lineToVisibleLine(int) const (this=0x7b4140, line=-1) at ../src/buffer/katetextfolding.cpp:390 #5 0x00007ffff7798388 in KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (this=0x7cc1b0, virtualCursor=..., offset=0, keepX=false) at ../src/view/kateviewinternal.cpp:1392 #6 0x00007ffff779592e in KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (this=0x7cc1b0, c=..., endCol=-1, force=false, center=false, calledExternally=false) at ../src/view/kateviewinternal.cpp:656 #7 0x00007ffff779b2e5 in KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (this=0x7cc1b0, newCursor=..., force=false, center=false, calledExternally=false) at ../src/view/kateviewinternal.cpp:1972 #8 0x00007ffff782d5a4 in KateAbstractInputMode::updateCursor(KTextEditor::Cursor const&) (this=0x94ced0, c=...) at ../src/inputmode/kateabstractinputmode.cpp:39 #9 0x00007ffff786d904 in KateVi::InputModeManager::updateCursor(KTextEditor::Cursor const&) (this=0x7ceac0, c=...) at ../src/vimode/inputmodemanager.cpp:457 #10 0x00007ffff783972b in KateVi::ModeBase::updateCursor(KTextEditor::Cursor const&) const (this=0x97f7f0, c=...) at ../src/vimode/modes/modebase.cpp:792 #11 0x00007ffff78413be in KateVi::NormalViMode::commandChange() (this=0x97f7f0) at ../src/vimode/modes/normalvimode.cpp:1130 #12 0x00007ffff786f044 in KateVi::Command::execute() const (this=0x7ca010) at ../src/vimode/command.cpp:43 #13 0x00007ffff783ecfa in KateVi::NormalViMode::executeCommand(KateVi::Command const*) (this=0x97f7f0, cmd=0x7ca010) at ../src/vimode/modes/normalvimode.cpp:488 #14 0x00007ffff783e616 in KateVi::NormalViMode::handleKeypress(QKeyEvent const*) (this=0x97f7f0, e=0x7fffffffb780) at ../src/vimode/modes/normalvimode.cpp:374 #15 0x00007ffff786c880 in KateVi::InputModeManager::handleKeypress(QKeyEvent const*) (this=0x7ceac0, e=0x7fffffffb780) at ../src/vimode/inputmodemanager.cpp:149 #16 0x00007ffff782f1fb in KateViInputMode::keyPress(QKeyEvent*) (this=0x94ced0, e=0x7fffffffb780) at ../src/inputmode/kateviinputmode.cpp:284 #17 0x00007ffff779d4ad in KateViewInternal::keyPressEvent(QKeyEvent*) (this=0x7cc1b0, e=0x7fffffffb780) at ../src/view/kateviewinternal.cpp:2378 #18 0x00007ffff779ceab in KateViewInternal::eventFilter(QObject*, QEvent*) (this=0x7cc1b0, obj=0x7cc1b0, e=0x7fffffffb780) at ../src/view/kateviewinternal.cpp:2290 #19 0x00007ffff1aa3a25 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #20 0x00007ffff2e3a84c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #21 0x00007ffff2e407b0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #22 0x00007ffff1aa3bf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #23 0x00007ffff77a45c3 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x7cc1b0, event=0x7fffffffb780) at /usr/include/qt5/QtCore/qcoreapplication.h:228 #24 0x00007ffff786cf68 in KateVi::InputModeManager::feedKeyPresses(QString const&) const (this=0x7ceac0, keyPresses=...) at ../src/vimode/inputmodemanager.cpp:235 #25 0x00007ffff7888f46 in KateVi::KeyMapper::playBackRejectedKeys() (this=0x84db10) at ../src/vimode/keymapper.cpp:69 #26 0x00007ffff7889226 in KateVi::KeyMapper::handleKeypress(QChar) (this=0x84db10, key=...) at ../src/vimode/keymapper.cpp:122 #27 0x00007ffff786c7b1 in KateVi::InputModeManager::handleKeypress(QKeyEvent const*) (this=0x7ceac0, e=0x7fffffffc200) at ../src/vimode/inputmodemanager.cpp:133 #28 0x00007ffff782f1fb in KateViInputMode::keyPress(QKeyEvent*) (this=0x94ced0, e=0x7fffffffc200) at ../src/inputmode/kateviinputmode.cpp:284 #29 0x00007ffff779d4ad in KateViewInternal::keyPressEvent(QKeyEvent*) (this=0x7cc1b0, e=0x7fffffffc200) at ../src/view/kateviewinternal.cpp:2378 #30 0x00007ffff779ceab in KateViewInternal::eventFilter(QObject*, QEvent*) (this=0x7cc1b0, obj=0x7cc1b0, e=0x7fffffffc200) at ../src/view/kateviewinternal.cpp:2290 #31 0x00007ffff1aa3a25 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #32 0x00007ffff2e3a84c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #33 0x00007ffff2e407b0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #34 0x00007ffff1aa3bf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #35 0x00007ffff2e9327b in () at /usr/lib64/libQt5Widgets.so.5 #36 0x00007ffff2e3a86c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #37 0x00007ffff2e3fb80 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #38 0x00007ffff1aa3bf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #39 0x00007ffff269f031 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib64/libQt5Gui.so.5 #40 0x00007ffff26a3cd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #41 0x00007ffff268a8f8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #42 0x00007fffe5ce3d40 in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #43 0x00007fffecf88cc7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #44 0x00007fffecf88ef8 in () at /usr/lib64/libglib-2.0.so.0 #45 0x00007fffecf88f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #46 0x00007ffff1af835f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #47 0x00007ffff1aa15ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #48 0x00007ffff1aa8d6d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #49 0x00007ffff7bc8e66 in kdemain(int, char**) (argc=1, argv=0x7fffffffd688) at ../kwrite/main.cpp:266 #50 0x0000000000400ba8 in main(int, char**) (argc=1, argv=0x7fffffffd688) at kwrite/kwrite_dummy.cpp:3 Cannot reproduce, can you try again? Cannot reproduce on 17.08.2 Thanks for the update; let's assume it is fixed. If you get a crash with newer version, it is best to file a new ticket with an updated backtrace. |