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

            Bug ID: 360418
           Summary: Crash using 'g' in Vi-input mode
           Product: kate
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Vi Input Mode
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: francis.he...@yahoo.co.uk

When editing a file in vi-input, attempting to go to a specific line crashes
Kate (or KDevelop).

Reproducible: Always

Steps to Reproduce:
1. Enter vi-input mode.
2. Type :42g (or a line number of your choice).
3. Hit 'enter'.

Actual Results:  
Kate segfaults.

Expected Results:  
Cursor moved to specified line.

Backtrace. I don't have debug symbols enabled currently, might recompile later.

Thread 1 "kate" received signal SIGSEGV, Segmentation fault.
0x00007ffff79bf408 in KateVi::EmulatedCommandBar::executeCommand(QString
const&) () from /usr/lib/libKF5TextEditor.so.5


#0  0x00007ffff79bf408 in KateVi::EmulatedCommandBar::executeCommand(QString
const&) () from /usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#1  0x00007ffff79c4beb in KateVi::EmulatedCommandBar::handleKeyPress(QKeyEvent
const*) () from /usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#2  0x00007ffff79ad7d9 in KateVi::InputModeManager::handleKeypress(QKeyEvent
const*) () from /usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#3  0x00007ffff324ade4 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff48c60fe in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x00007ffff48cb6d4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
No symbol table info available.
#6  0x00007ffff324b03a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
No symbol table info available.
#7  0x00007ffff79add2d in KateVi::InputModeManager::feedKeyPresses(QString
const&) const () from /usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#8  0x00007ffff79c704b in KateVi::KeyMapper::playBackRejectedKeys() () from
/usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#9  0x00007ffff79c74e5 in KateVi::KeyMapper::handleKeypress(QChar) () from
/usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#10 0x00007ffff79ad770 in KateVi::InputModeManager::handleKeypress(QKeyEvent
const*) () from /usr/lib/libKF5TextEditor.so.5
No symbol table info available.
#11 0x00007ffff324ade4 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQt5Core.so.5
No symbol table info available.
#12 0x00007ffff48c60fe in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#13 0x00007ffff48cb6d4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
No symbol table info available.
#14 0x00007ffff324b03a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
No symbol table info available.
#15 0x00007ffff49302f3 in ?? () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#16 0x00007ffff48c6124 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#17 0x00007ffff48caf78 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
No symbol table info available.
#18 0x00007ffff324b03a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
No symbol table info available.
#19 0x00007ffff411d1b8 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#20 0x00007ffff41224c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#21 0x00007ffff4100a1b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#22 0x00007fffe4e5c750 in ?? () from /usr/lib/libQt5XcbQpa.so.5
No symbol table info available.
#23 0x00007fffee9d3d87 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007fffee9d3fe0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007fffee9d408c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x00007ffff32a318f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
No symbol table info available.
#27 0x00007ffff324957a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
No symbol table info available.
#28 0x00007ffff32521fc in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
No symbol table info available.
#29 0x0000000000439fe0 in main ()
No symbol table info available.

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

Reply via email to