Bug 243831 - Kate Crashes after Undo
Summary: Kate Crashes after Undo
Status: RESOLVED DUPLICATE of bug 237447
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: 2010-07-07 09:59 UTC by Jon H
Modified: 2010-07-07 11:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon H 2010-07-07 09:59:11 UTC
Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
In an attempt to recover some recently deleted text, I hit CTRL+Z a few times in rapid succession, Kate crashed almost immediatly.

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

Thread 2 (Thread 0x7f0fba134710 (LWP 1920)):
#0  0x00007f0fcf645f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fcc00a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0fcc00a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0fd0c4e566 in QEventDispatcherGlib::processEvents (this=0x1822410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f0fd0c23992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f0fd0c23d6c in QEventLoop::exec (this=0x7f0fba133db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f0fd0b2dd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f0fd0c04178 in QInotifyFileSystemWatcherEngine::run (this=0x1f2b130) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0fd0b30775 in QThreadPrivate::start (arg=0x1f2b130) at thread/qthread_unix.cpp:248
#9  0x00007f0fd08a09ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f0fcf6526fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0fd265b760 (LWP 1664)):
[KCrash Handler]
#5  KateSmartCursor (this=0x2066810, position=<value optimized out>, doc=0x1f06950, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartcursor.cpp:50
#6  0x00007f0fbdde04df in KateSmartRange (this=0x2a10050, range=..., doc=0x1f06950, parent=0x0, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartrange.cpp:36
#7  0x00007f0fbdde62b1 in KateSmartManager::newSmartRange (this=0x1d000a0, range=..., parent=0x0, insertBehavior=<value optimized out>, internal=false) at ../../kate/smart/katesmartmanager.cpp:211
#8  0x00007f0fbdd76bcb in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x7f0fbe1097f8, insertBehavior=<value optimized out>) at ../../kate/document/katedocument.cpp:4834
#9  0x00007f0fbde754e5 in KateOnTheFlyChecker::textRemoved (this=0x2186310, document=<value optimized out>, range=<value optimized out>) at ../../kate/spellcheck/ontheflycheck.cpp:262
#10 0x00007f0fbde76f78 in KateOnTheFlyChecker::qt_metacall (this=0x2186310, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204fca00) at ./ontheflycheck.moc:113
#11 0x00007f0fd0c37e3f in QMetaObject::activate (sender=0x1f06950, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#12 0x00007f0fc3fc7437 in KTextEditor::Document::textRemoved (this=0x1d000a0, _t1=0x1f06950, _t2=<value optimized out>) at ./document.moc:176
#13 0x00007f0fbdd898a4 in KateDocument::editUnWrapLine (this=0x1f06950, line=48, removeLine=<value optimized out>, length=<value optimized out>) at ../../kate/document/katedocument.cpp:1377
#14 0x00007f0fbdda669f in KateUndoGroup::undo (this=0x2a13d10) at ../../kate/undo/kateundo.cpp:215
#15 0x00007f0fbdda7819 in KateUndoManager::undo (this=0x1a83270) at ../../kate/undo/kateundomanager.cpp:232
#16 0x00007f0fbdd98d33 in KateDocument::undo (this=0x1f06950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204fcd40) at ../../kate/document/katedocument.cpp:1534
#17 KateDocument::qt_metacall (this=0x1f06950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204fcd40) at ./katedocument.moc:346
#18 0x00007f0fd0c37e3f in QMetaObject::activate (sender=0x1f847b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#19 0x00007f0fcfdbb032 in QAction::triggered (this=0x1d000a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0x00007f0fcfdbd0ab in QAction::activate (this=0x1f847b0, event=<value optimized out>) at kernel/qaction.cpp:1255
#21 0x00007f0fcfdbe9b7 in QAction::event (this=0x1d000a0, e=<value optimized out>) at kernel/qaction.cpp:1181
#22 0x00007f0fd1096f3d in KAction::event (this=0x1d000a0, event=0x7fff204fd3b0) at ../../kdeui/actions/kaction.cpp:129
#23 0x00007f0fcfdc122c in QApplicationPrivate::notify_helper (this=0x18278c0, receiver=0x1f847b0, e=0x7fff204fd3b0) at kernel/qapplication.cpp:4300
#24 0x00007f0fcfdc76fb in QApplication::notify (this=0x7fff204fe9f0, receiver=0x1f847b0, e=0x7fff204fd3b0) at kernel/qapplication.cpp:4183
#25 0x00007f0fd116c526 in KApplication::notify (this=0x7fff204fe9f0, receiver=0x1f847b0, event=0x7fff204fd3b0) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f0fd0c2506c in QCoreApplication::notifyInternal (this=0x7fff204fe9f0, receiver=0x1f847b0, event=0x7fff204fd3b0) at kernel/qcoreapplication.cpp:704
#27 0x00007f0fcfdfce86 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff204fd9b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff204fd9b0) at kernel/qshortcutmap.cpp:879
#29 0x00007f0fcfdfec97 in QShortcutMap::tryShortcutEvent (this=0x18279e8, o=<value optimized out>, e=0x7fff204fd9b0) at kernel/qshortcutmap.cpp:364
#30 0x00007f0fcfdc9268 in QApplication::notify (this=0x7fff204fe9f0, receiver=0x1f1e100, e=0x7fff204fd9b0) at kernel/qapplication.cpp:3746
#31 0x00007f0fd116c526 in KApplication::notify (this=0x7fff204fe9f0, receiver=0x1f1e100, event=0x7fff204fd9b0) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x00007f0fd0c2506c in QCoreApplication::notifyInternal (this=0x7fff204fe9f0, receiver=0x1f1e100, event=0x7fff204fd9b0) at kernel/qcoreapplication.cpp:704
#33 0x00007f0fcfe6c16a in QKeyMapper::sendKeyEvent (keyWidget=0x1f1e100, grab=<value optimized out>, type=QEvent::KeyPress, code=90, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=52, nativeVirtualKey=122, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#34 0x00007f0fcfe6e6f0 in QKeyMapperPrivate::translateKeyEvent (this=0x18599f0, keyWidget=0x1f1e100, event=<value optimized out>, grab=49) at kernel/qkeymapper_x11.cpp:1831
#35 0x00007f0fcfe45904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff204fe580) at kernel/qapplication_x11.cpp:3394
#36 0x00007f0fcfe71882 in x11EventSourceDispatch (s=0x1829e10, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f0fcc0068c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007f0fcc00a748 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007f0fcc00a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007f0fd0c4e513 in QEventDispatcherGlib::processEvents (this=0x17a1140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007f0fcfe7146e in QGuiEventDispatcherGlib::processEvents (this=0x1d000a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f0fd0c23992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f0fd0c23d6c in QEventLoop::exec (this=0x7fff204fe8b0, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f0fd0c27aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x00007f0fc4483eed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#46 0x00000000004070f3 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#47 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#48 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#49 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

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

Possible duplicates by query: bug 242682, bug 242023, bug 238607, bug 237531, bug 237447.

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-07-07 11:55:32 UTC

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