Bug 281024 - kdevelop crashed editing in vi mode
Summary: kdevelop crashed editing in vi mode
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (show other bugs)
Version: 0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 22:21 UTC by vetrisko
Modified: 2012-10-27 13:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (22.78 KB, text/plain)
2012-01-12 00:14 UTC, Marco Vader
Details
New crash information added by DrKonqi (22.78 KB, text/plain)
2012-01-12 00:14 UTC, Marco Vader
Details
New crash information added by DrKonqi (22.78 KB, text/plain)
2012-01-12 00:14 UTC, Marco Vader
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vetrisko 2011-08-29 22:21:10 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-9-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
closed few tabs then pressed 28G in "vi" mode. The tabs contained java code.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f230fbe3780 (LWP 2790))]

Thread 6 (Thread 0x7f22f72d8700 (LWP 2791)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f230e0e70be in wait (time=1000, this=0x373c920) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x37337f0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f230a4bec7b in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#4  0x00007f230e0e6ca5 in QThreadPrivate::start (arg=0x37337d0) at thread/qthread_unix.cpp:320
#5  0x00007f230c145edc in start_thread (arg=0x7f22f72d8700) at pthread_create.c:304
#6  0x00007f230cdc489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f22ede2c700 (LWP 2797)):
#0  0x00007f2307d5850b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2307d5929d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2307d598c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f230e1f8f4e in QEventDispatcherGlib::processEvents (this=0x42e48a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f230e1ccd52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f230e1ccf57 in QEventLoop::exec (this=0x7f22ede2bdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f230e0e421f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#7  0x00007f230e1afd1f in QInotifyFileSystemWatcherEngine::run (this=0x42e42f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f230e0e6ca5 in QThreadPrivate::start (arg=0x42e42f0) at thread/qthread_unix.cpp:320
#9  0x00007f230c145edc in start_thread (arg=0x7f22ede2c700) at pthread_create.c:304
#10 0x00007f230cdc489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f22ed62b700 (LWP 2798)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22f7ab3ee2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f22f7ab3f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f230c145edc in start_thread (arg=0x7f22ed62b700) at pthread_create.c:304
#4  0x00007f230cdc489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f22df736700 (LWP 2799)):
#0  0x00007f230cdb8773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2307d59408 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2307d598c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f230e1f8f4e in QEventDispatcherGlib::processEvents (this=0x4dad260, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f230e1ccd52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f230e1ccf57 in QEventLoop::exec (this=0x7f22df735dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f230e0e421f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#7  0x00007f230e1afd1f in QInotifyFileSystemWatcherEngine::run (this=0x4db01a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f230e0e6ca5 in QThreadPrivate::start (arg=0x4db01a0) at thread/qthread_unix.cpp:320
#9  0x00007f230c145edc in start_thread (arg=0x7f22df736700) at pthread_create.c:304
#10 0x00007f230cdc489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f22de992700 (LWP 2870)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2304eb415c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f2304eb4289 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f230c145edc in start_thread (arg=0x7f22de992700) at pthread_create.c:304
#4  0x00007f230cdc489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f230fbe3780 (LWP 2790)):
[KCrash Handler]
#6  0x00007f22f7f6c79d in KateViGlobal::addMark (this=0x27df900, doc=0x454b0b0, mark=..., pos=...) at ../../part/vimode/kateviglobal.cpp:210
#7  0x00007f22f7f5428e in KateViNormalMode::addCurrentPositionToJumpList (this=<optimized out>) at ../../part/vimode/katevinormalmode.cpp:442
#8  0x00007f22f7f54338 in KateViNormalMode::goToPos (this=0x45ab260, r=...) at ../../part/vimode/katevinormalmode.cpp:400
#9  0x00007f22f7f5b641 in KateViNormalMode::handleKeypress (this=0x45ab260, e=<optimized out>) at ../../part/vimode/katevinormalmode.cpp:284
#10 0x00007f22f7f4a42b in KateViInputModeManager::handleKeypress (this=0x45ab1f0, e=0x7fffb3fad220) at ../../part/vimode/kateviinputmodemanager.cpp:79
#11 0x00007f22f7f3b4a4 in keyPressEvent (e=0x7fffb3fad220, this=0x4682110) at ../../part/view/kateviewinternal.cpp:2267
#12 KateViewInternal::keyPressEvent (this=0x4682110, e=0x7fffb3fad220) at ../../part/view/kateviewinternal.cpp:2200
#13 0x00007f22f7f332e0 in KateViewInternal::eventFilter (this=0x4682110, obj=0x4682110, e=0x7fffb3fad220) at ../../part/view/kateviewinternal.cpp:2152
#14 0x00007f230e1cdce8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x4682110, event=0x7fffb3fad220) at kernel/qcoreapplication.cpp:846
#15 0x00007f230d58311f in notify_helper (e=0x7fffb3fad220, receiver=0x4682110, this=0x2370870) at kernel/qapplication.cpp:4463
#16 QApplicationPrivate::notify_helper (this=0x2370870, receiver=0x4682110, e=0x7fffb3fad220) at kernel/qapplication.cpp:4439
#17 0x00007f230d5886b5 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffb3fad220) at kernel/qapplication.cpp:3926
#18 0x00007f230e9ace36 in KApplication::notify (this=0x7fffb3fae250, receiver=0x4682110, event=0x7fffb3fad220) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x000000000040a896 in _start ()

Reported using DrKonqi
Comment 1 Marco Vader 2012-01-12 00:14:02 UTC
Created attachment 67719 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

go to a in vi mode line using 'gg 512'
I use that command all the time but this this it provoked a crash

-- Backtrace (Reduced):
#6  0x00007fcd662c50dd in KateViGlobal::addMark (this=0x10dd7a0, doc=0x5c45460, mark=..., pos=...) at /usr/src/debug/kate-4.7.4/part/vimode/kateviglobal.cpp:210
#7  0x00007fcd662aca1e in KateViNormalMode::addCurrentPositionToJumpList (this=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:442
#8  0x00007fcd662acac8 in KateViNormalMode::goToPos (this=0x64aeaf0, r=...) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:400
#9  0x00007fcd662b40a1 in KateViNormalMode::handleKeypress (this=0x64aeaf0, e=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:284
#10 0x00007fcd662a2fdb in KateViInputModeManager::handleKeypress (this=0x64aea80, e=0x7fff2cd9a590) at /usr/src/debug/kate-4.7.4/part/vimode/kateviinputmodemanager.cpp:79
Comment 2 Marco Vader 2012-01-12 00:14:03 UTC
Created attachment 67720 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

go to a in vi mode line using 'gg 512'
I use that command all the time but this this it provoked a crash

-- Backtrace (Reduced):
#6  0x00007fcd662c50dd in KateViGlobal::addMark (this=0x10dd7a0, doc=0x5c45460, mark=..., pos=...) at /usr/src/debug/kate-4.7.4/part/vimode/kateviglobal.cpp:210
#7  0x00007fcd662aca1e in KateViNormalMode::addCurrentPositionToJumpList (this=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:442
#8  0x00007fcd662acac8 in KateViNormalMode::goToPos (this=0x64aeaf0, r=...) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:400
#9  0x00007fcd662b40a1 in KateViNormalMode::handleKeypress (this=0x64aeaf0, e=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:284
#10 0x00007fcd662a2fdb in KateViInputModeManager::handleKeypress (this=0x64aea80, e=0x7fff2cd9a590) at /usr/src/debug/kate-4.7.4/part/vimode/kateviinputmodemanager.cpp:79
Comment 3 Marco Vader 2012-01-12 00:14:03 UTC
Created attachment 67721 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

go to a in vi mode line using 'gg 512'
I use that command all the time but this this it provoked a crash

-- Backtrace (Reduced):
#6  0x00007fcd662c50dd in KateViGlobal::addMark (this=0x10dd7a0, doc=0x5c45460, mark=..., pos=...) at /usr/src/debug/kate-4.7.4/part/vimode/kateviglobal.cpp:210
#7  0x00007fcd662aca1e in KateViNormalMode::addCurrentPositionToJumpList (this=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:442
#8  0x00007fcd662acac8 in KateViNormalMode::goToPos (this=0x64aeaf0, r=...) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:400
#9  0x00007fcd662b40a1 in KateViNormalMode::handleKeypress (this=0x64aeaf0, e=<optimized out>) at /usr/src/debug/kate-4.7.4/part/vimode/katevinormalmode.cpp:284
#10 0x00007fcd662a2fdb in KateViInputModeManager::handleKeypress (this=0x64aea80, e=0x7fff2cd9a590) at /usr/src/debug/kate-4.7.4/part/vimode/kateviinputmodemanager.cpp:79
Comment 4 Erlend Hamberg 2012-10-27 13:00:13 UTC
This code has changed in newer versions and I am not able to reproduce. Please re-open if you see this again.