[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 282675] New: kate crashes when using vi-mode '.' command
From:       Dmitry Suzdalev <dimsuz () gmail ! com>
Date:       2011-09-24 12:18:37
Message-ID: bug-282675-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: kate crashes when using vi-mode '.' command
           Product: kate
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kwrite-bugs-null@kde.org
        ReportedBy: dimsuz@gmail.com


Application: kate (3.7.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I was doing the following: in normal mode cursor was at the beginning of the
word "trades", I pressed "cw" and changed it to "account_trades". Then I went
line down to the another word "trades" and pressed '.' to change it similarly
to "account_trades" by replaying my change. Kate crashed.

This crash happens not always, but very often, I'm even kinda afraid to use '.'
command :-)

Kate is compiled from git branch '4.7', KDE packages are from ArchLinux,
version 4.7.1

-- Backtrace:
Application: Kate (kate), signal: Aborted
[Current thread is 1 (Thread 0xb4ce1710 (LWP 2219))]

Thread 5 (Thread 0xb48b4b70 (LWP 2220)):
#0  0xb778e424 in __kernel_vsyscall ()
#1  0xb595972e in poll () from /lib/libc.so.6
#2  0xb50e7e6b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb50d92b6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb50d9aeb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb49bfae1 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb51002e4 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5b37ca7 in start_thread () from /lib/libpthread.so.0
#8  0xb5963dee in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb269eb70 (LWP 2222)):
#0  0xb778e424 in __kernel_vsyscall ()
#1  0xb595d021 in select () from /lib/libc.so.6
#2  0xb5c88124 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5bae253 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5b37ca7 in start_thread () from /lib/libpthread.so.0
#5  0xb5963dee in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb15feb70 (LWP 2232)):
#0  0xb4efdd00 in clock_gettime () from /lib/librt.so.1
#1  0xb5c05245 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5cd7826 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5cd7b7a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5cd63c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5cd645d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb50d81ec in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb50d9067 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb50d96da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb5cd6ea7 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#10 0xb5ca7b6d in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#11 0xb5ca7db1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#12 0xb5bab3ab in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb5c8883d in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5bae253 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb5b37ca7 in start_thread () from /lib/libpthread.so.0
#16 0xb5963dee in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb0dabb70 (LWP 2233)):
#0  0xb778e424 in __kernel_vsyscall ()
#1  0xb5b3b8ab in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb1ca8fe9 in ?? () from /usr/lib/libQtScript.so.4
#3  0xb1ca902f in ?? () from /usr/lib/libQtScript.so.4
#4  0xb5b37ca7 in start_thread () from /lib/libpthread.so.0
#5  0xb5963dee in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4ce1710 (LWP 2219)):
[KCrash Handler]
#7  0xb778e424 in __kernel_vsyscall ()
#8  0xb58bf96f in raise () from /lib/libc.so.6
#9  0xb58c12f5 in abort () from /lib/libc.so.6
#10 0xb5ba417a in qt_message_output(QtMsgType, char const*) () from
/usr/lib/libQtCore.so.4
#11 0xb5ba437b in ?? () from /usr/lib/libQtCore.so.4
#12 0xb5ba4498 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#13 0xb5ba4525 in qt_assert(char const*, char const*, int) () from
/usr/lib/libQtCore.so.4
#14 0xb18f4506 in QString::at (this=0x8fcb968, i=98) at
/usr/include/QtCore/qstring.h:702
#15 0xb199a5ad in KateRenderer::paintTextLine (this=0x9138228, paint=...,
range=..., xStart=0, xEnd=592, cursor=0xbf9def68) at
/home/dimka/work/kde/kate/part/render/katerenderer.cpp:698
#16 0xb19fe8a5 in KateViewInternal::paintEvent (this=0x9138418, e=0xbf9df424)
at /home/dimka/work/kde/kate/part/view/kateviewinternal.cpp:2909
#17 0xb64078ae in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb63ada24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#19 0xb63b2e78 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#20 0xb6f04e11 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#21 0xb5ca8b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#22 0xb640475b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#23 0xb65e9d4b in ?? () from /usr/lib/libQtGui.so.4
#24 0xb63fa0ab in QWidgetPrivate::syncBackingStore() () from
/usr/lib/libQtGui.so.4
#25 0xb640823f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb682578c in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb6fe12c4 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb70294a2 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0xb7733b72 in KateMainWindow::event (this=0x8e1d8e0, e=0xbf9dfde4) at
/home/dimka/work/kde/kate/kate/app/katemainwindow.cpp:871
#30 0xb63ada24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#31 0xb63b2e78 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#32 0xb6f04e11 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#33 0xb5ca8b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#34 0xb65e6596 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb63f96c2 in QWidget::repaint(QRect const&) () from /usr/lib/libQtGui.so.4
#36 0xb63f97d1 in QWidget::repaint() () from /usr/lib/libQtGui.so.4
#37 0xb1a11a03 in KateViInputModeManager::viEnterInsertMode (this=0x91c8158) at
/home/dimka/work/kde/kate/part/vimode/kateviinputmodemanager.cpp:247
#38 0xb1a15490 in KateViModeBase::startInsertMode (this=0x91c8198) at
/home/dimka/work/kde/kate/part/vimode/katevimodebase.cpp:786
#39 0xb1a18e8b in KateViNormalMode::commandEnterInsertMode (this=0x91c8198) at
/home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:456
#40 0xb1a1aa73 in KateViNormalMode::commandChange (this=0x91c8198) at
/home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:923
#41 0xb1a27c6b in KateViCommand::execute (this=0x91c86e8) at
/home/dimka/work/kde/kate/part/vimode/katevicommand.cpp:38
#42 0xb1a18c95 in KateViNormalMode::executeCommand (this=0x91c8198,
cmd=0x91c86e8) at
/home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:412
#43 0xb1a186e6 in KateViNormalMode::handleKeypress (this=0x91c8198,
e=0xbf9e073c) at /home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:320
#44 0xb1a108f7 in KateViInputModeManager::handleKeypress (this=0x91c8158,
e=0xbf9e073c) at
/home/dimka/work/kde/kate/part/vimode/kateviinputmodemanager.cpp:79
#45 0xb19fbf10 in KateViewInternal::keyPressEvent (this=0x9138418,
e=0xbf9e073c) at /home/dimka/work/kde/kate/part/view/kateviewinternal.cpp:2267
#46 0xb19fb76d in KateViewInternal::eventFilter (this=0x9138418, obj=0x9138418,
e=0xbf9e073c) at /home/dimka/work/kde/kate/part/view/kateviewinternal.cpp:2152
#47 0xb5ca8cc6 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#48 0xb63ad9f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#49 0xb63b38dc in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#50 0xb6f04e11 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#51 0xb5ca8b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#52 0xb1a02955 in QCoreApplication::sendEvent (receiver=0x9138418,
event=0xbf9e073c) at /usr/include/QtCore/qcoreapplication.h:215
#53 0xb1a11428 in KateViInputModeManager::feedKeyPresses (this=0x91c8158,
keyPresses=...) at
/home/dimka/work/kde/kate/part/vimode/kateviinputmodemanager.cpp:169
#54 0xb1a118ea in KateViInputModeManager::repeatLastChange (this=0x91c8158) at
/home/dimka/work/kde/kate/part/vimode/kateviinputmodemanager.cpp:217
#55 0xb1a1c518 in KateViNormalMode::commandRepeatLastChange (this=0x91c8198) at
/home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:1344
#56 0xb1a27c6b in KateViCommand::execute (this=0x91ca318) at
/home/dimka/work/kde/kate/part/vimode/katevicommand.cpp:38
#57 0xb1a18c95 in KateViNormalMode::executeCommand (this=0x91c8198,
cmd=0x91ca318) at
/home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:412
#58 0xb1a18989 in KateViNormalMode::handleKeypress (this=0x91c8198,
e=0xbf9e1084) at /home/dimka/work/kde/kate/part/vimode/katevinormalmode.cpp:347
#59 0xb1a108f7 in KateViInputModeManager::handleKeypress (this=0x91c8158,
e=0xbf9e1084) at
/home/dimka/work/kde/kate/part/vimode/kateviinputmodemanager.cpp:79
#60 0xb19fbf10 in KateViewInternal::keyPressEvent (this=0x9138418,
e=0xbf9e1084) at /home/dimka/work/kde/kate/part/view/kateviewinternal.cpp:2267
#61 0xb19fb76d in KateViewInternal::eventFilter (this=0x9138418, obj=0x9138418,
e=0xbf9e1084) at /home/dimka/work/kde/kate/part/view/kateviewinternal.cpp:2152
#62 0xb5ca8cc6 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#63 0xb63ad9f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#64 0xb63b38dc in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#65 0xb6f04e11 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#66 0xb5ca8b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#67 0xb63abb0d in ?? () from /usr/lib/libQtGui.so.4
#68 0xb645ca01 in ?? () from /usr/lib/libQtGui.so.4
#69 0xb645cea5 in ?? () from /usr/lib/libQtGui.so.4
#70 0xb643645d in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#71 0xb646139c in ?? () from /usr/lib/libQtGui.so.4
#72 0xb50d8c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#73 0xb50d93b0 in ?? () from /usr/lib/libglib-2.0.so.0
#74 0xb50d96da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#75 0xb5cd6e4a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#76 0xb6460f8a in ?? () from /usr/lib/libQtGui.so.4
#77 0xb5ca7b6d in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#78 0xb5ca7db1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#79 0xb5cac50d in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#80 0xb63ab894 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#81 0xb7786c03 in kdemain (argc=1, argv=0xbf9e20a4) at
/home/dimka/work/kde/kate/kate/app/katemain.cpp:377
#82 0x08048709 in main (argc=1, argv=0xbf9e20a4) at
/home/dimka/work/kde/build/kate/app/kate_dummy.cpp:3

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic