Bug 282227 - Kate crashed while repeatedly undoing (ctrl+z)
Summary: Kate crashed while repeatedly undoing (ctrl+z)
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 16:14 UTC by original-andy
Modified: 2011-09-17 19:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description original-andy 2011-09-17 16:14:59 UTC
Application: kate (3.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

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

Editing multiple files in kate, did approx. 10 undos in a file (probably undoing all work since I opened kate)

-- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3c928ee780 (LWP 3938))]

Thread 3 (Thread 0x7f3c7969f700 (LWP 3939)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3c867b12a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3c86aca180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3c867b12d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f3c86ad8254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f3c8dc84d8c in start_thread (arg=0x7f3c7969f700) at pthread_create.c:304
#4  0x00007f3c901bb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3c7675d700 (LWP 3940)):
#0  0x00007f3c901adf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c8d5c5104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c8d5c5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c91596446 in QEventDispatcherGlib::processEvents (this=0x1f7b620, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3c9156a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3c9156aabc in QEventLoop::exec (this=0x7f3c7675cdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3c91481924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f3c9154cc2f in QInotifyFileSystemWatcherEngine::run (this=0x221b5b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3c91484175 in QThreadPrivate::start (arg=0x221b5b0) at thread/qthread_unix.cpp:320
#9  0x00007f3c8dc84d8c in start_thread (arg=0x7f3c7675d700) at pthread_create.c:304
#10 0x00007f3c901bb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3c928ee780 (LWP 3938)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x00007f3c7a28f46a in KateTextLayout::isValid (this=<value optimized out>) at ../../kate/render/katetextlayout.cpp:90
#8  0x00007f3c7a28f509 in KateTextLayout::line (this=0x2cb07b8) at ../../kate/render/katetextlayout.cpp:95
#9  0x00007f3c7a2d6147 in KateViewInternal::endPos (this=0x29ba6d0) at ../../kate/view/kateviewinternal.cpp:287
#10 0x00007f3c7a2dc262 in KateViewInternal::makeVisible (this=0x29ba6d0, c=..., endCol=65, force=false, center=<value optimized out>, calledExternally=true) at ../../kate/view/kateviewinternal.cpp:608
#11 0x00007f3c7a2dc92f in KateViewInternal::updateCursor (this=0x29ba6d0, newCursor=<value optimized out>, force=<value optimized out>, center=true, calledExternally=true) at ../../kate/view/kateviewinternal.cpp:1825
#12 0x00007f3c7a2c6186 in KateView::setCursorPositionInternal (this=0x2b8a2e0, position=..., tabwidth=1, calledExternally=true) at ../../kate/view/kateview.cpp:1114
#13 0x00007f3c7a26cd6c in KateUndoGroup::undo (this=0x2cc2d70, view=0x2b8a2e0) at ../../kate/undo/kateundo.cpp:219
#14 0x00007f3c7a26e56f in KateUndoManager::undo (this=0x2ad23d0) at ../../kate/undo/kateundomanager.cpp:240
#15 0x00007f3c7a25ff51 in KateDocument::qt_metacall (this=0x29cb8e0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7ffffbf7f3b0) at ./katedocument.moc:331
#16 0x00007f3c915805f8 in QMetaObject::activate (sender=0x292e5e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffffbf7f3b0) at kernel/qobject.cpp:3287
#17 0x00007f3c90922122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f3c9092230f in QAction::activate (this=0x292e5e0, event=<value optimized out>) at kernel/qaction.cpp:1257
#19 0x00007f3c9092247f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#20 0x00007f3c9220851a in KAction::event (this=<value optimized out>, event=0x7ffffbf7f9f0) at ../../kdeui/actions/kaction.cpp:131
#21 0x00007f3c909289f4 in QApplicationPrivate::notify_helper (this=0x1ba4ad0, receiver=0x292e5e0, e=0x7ffffbf7f9f0) at kernel/qapplication.cpp:4462
#22 0x00007f3c9092d3ba in QApplication::notify (this=<value optimized out>, receiver=0x292e5e0, e=0x7ffffbf7f9f0) at kernel/qapplication.cpp:4341
#23 0x00007f3c922e6866 in KApplication::notify (this=0x7ffffbf80f00, receiver=0x292e5e0, event=0x7ffffbf7f9f0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f3c9156b49c in QCoreApplication::notifyInternal (this=0x7ffffbf80f00, receiver=0x292e5e0, event=0x7ffffbf7f9f0) at kernel/qcoreapplication.cpp:731
#25 0x00007f3c9095abf0 in sendEvent (this=<value optimized out>, e=0x7ffffbf7ffc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7ffffbf7ffc0) at kernel/qshortcutmap.cpp:879
#27 0x00007f3c9095c098 in QShortcutMap::tryShortcutEvent (this=0x1ba4bf8, o=<value optimized out>, e=0x7ffffbf7ffc0) at kernel/qshortcutmap.cpp:364
#28 0x00007f3c9092ed25 in QApplication::notify (this=0x7ffffbf80f00, receiver=0x29ba6d0, e=0x7ffffbf7ffc0) at kernel/qapplication.cpp:3904
#29 0x00007f3c922e6866 in KApplication::notify (this=0x7ffffbf80f00, receiver=0x29ba6d0, event=0x7ffffbf7ffc0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f3c9156b49c in QCoreApplication::notifyInternal (this=0x7ffffbf80f00, receiver=0x29ba6d0, event=0x7ffffbf7ffc0) at kernel/qcoreapplication.cpp:731
#31 0x00007f3c909ce3d9 in QKeyMapper::sendKeyEvent (keyWidget=0x29ba6d0, grab=<value optimized out>, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=29, nativeVirtualKey=122, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#32 0x00007f3c909ce856 in QKeyMapperPrivate::translateKeyEvent (this=0x1bd5f30, keyWidget=0x29ba6d0, event=0x7ffffbf80b50, grab=false) at kernel/qkeymapper_x11.cpp:1836
#33 0x00007f3c909a972f in QApplication::x11ProcessEvent (this=0x7ffffbf80f00, event=0x7ffffbf80b50) at kernel/qapplication_x11.cpp:3573
#34 0x00007f3c909d2842 in x11EventSourceDispatch (s=0x1ba4320, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f3c8d5c4bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f3c8d5c53a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f3c8d5c5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f3c915963ef in QEventDispatcherGlib::processEvents (this=0x1ba5700, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f3c909d24de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f3c9156a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f3c9156aabc in QEventLoop::exec (this=0x7ffffbf80e50, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f3c9156eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x00007f3c8191d295 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#44 0x0000000000406dd3 in launch (argc=4, _name=0x1b8ed18 "kate", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b15e "0") at ../../kinit/kinit.cpp:746
#45 0x0000000000407c59 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1238
#46 0x0000000000408325 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1431
#47 0x0000000000408f8a in main (argc=4, argv=0x7ffffbf835a8, envp=0x7ffffbf835d0) at ../../kinit/kinit.cpp:1919

This bug may be a duplicate of or related to bug 269223.

Possible duplicates by query: bug 269223.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-09-17 19:31:30 UTC
Did you have folded text?

Please retest with current version of Kate, by builing it from sources according to http://www.kate-editor.org/get-it/, or wait for KDE 4.8... It is probably fixed.

*** This bug has been marked as a duplicate of bug 247081 ***