Bug 289312 - Crash when deleteing text
Summary: Crash when deleteing text
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-12-18 20:57 UTC by Charles MacDonald
Modified: 2011-12-19 19:47 UTC (History)
1 user (show)

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 Charles MacDonald 2011-12-18 20:57:02 UTC
Application: kate (3.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-36-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
Deleted several lines of text, Kate went way with all my changes.

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

Thread 2 (Thread 0xb3ea6b70 (LWP 4566)):
#0  0x00ad5e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x009506fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00955825 in QTimerInfoList::updateCurrentTime (this=0x99af8f4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0095586a in QTimerInfoList::timerWait (this=0x99af8f4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00953818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3ea60cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x009538a5 in timerSourcePrepare (source=0x0, timeout=0xad9ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x028ceaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x028ceee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x028cf4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0095360f in QEventDispatcherGlib::processEvents (this=0x972b358, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00926059 in QEventLoop::processEvents (this=0xb3ea6290, flags=) at kernel/qeventloop.cpp:149
#11 0x009264aa in QEventLoop::exec (this=0xb3ea6290, flags=...) at kernel/qeventloop.cpp:201
#12 0x008225a8 in QThread::exec (this=0x986b688) at thread/qthread.cpp:487
#13 0x00905c1b in QInotifyFileSystemWatcherEngine::run (this=0x986b688) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0082532e in QThreadPrivate::start (arg=0x986b688) at thread/qthread_unix.cpp:248
#15 0x004c496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x05854a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7702aa0 (LWP 4559)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x04f988a2 in KateLayoutCache::lastViewLine (this=0x97d71d0, realLine=-2) at ../../kate/render/katelayoutcache.cpp:469
#8  0x05006c75 in KateViewInternal::viewLineOffset (this=0x97d8690, virtualCursor=..., offset=23, keepX=false) at ../../kate/view/kateviewinternal.cpp:1360
#9  0x05009e14 in KateViewInternal::makeVisible (this=0x97d8690, c=..., endCol=0, force=false, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:667
#10 0x0500a6a0 in KateViewInternal::updateCursor (this=0x97d8690, newCursor=..., force=true, center=<value optimized out>, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1915
#11 0x0500a79b in KateViewInternal::editEnd (this=0x97d8690, editTagLineStart=15, editTagLineEnd=15, tagFrom=true) at ../../kate/view/kateviewinternal.cpp:3400
#12 0x04fe9d19 in KateView::editEnd (this=0x97dd0e0, editTagLineStart=15, editTagLineEnd=15, tagFrom=<value optimized out>) at ../../kate/view/kateview.cpp:1602
#13 0x04f51b54 in KateDocument::editEnd (this=0x9565d40) at ../../kate/document/katedocument.cpp:981
#14 0x04ff15fd in KateView::removeSelectedText (this=0x97dd0e0) at ../../kate/view/kateview.cpp:1774
#15 0x04f50136 in KateDocument::del (this=0x9565d40, view=0x97dd0e0, c=...) at ../../kate/document/katedocument.cpp:2918
#16 0x04fff1d1 in KateViewInternal::doDelete (this=0x97d8690) at ../../kate/view/kateviewinternal.cpp:850
#17 0x04fec5bc in KateView::keyDelete (this=0x97dd0e0) at ../../kate/view/kateview.cpp:2307
#18 0x04ff1ea4 in KateView::qt_metacall (this=0x97dd0e0, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbf98ae18) at ./kateview.moc:375
#19 0x0092cc9a in QMetaObject::metacall (object=0x97dd0e0, cl=QMetaObject::ReadProperty, idx=92, argv=0xbf98ae18) at kernel/qmetaobject.cpp:237
#20 0x0093b3d5 in QMetaObject::activate (sender=0x9862338, m=0x755cd58, local_signal_index=1, argv=0xbf98ae18) at kernel/qobject.cpp:3293
#21 0x06c2dbd9 in QAction::triggered (this=0x9862338, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#22 0x06c2fdcc in QAction::activate (this=0x9862338, event=QAction::Trigger) at kernel/qaction.cpp:1255
#23 0x06c31698 in QAction::event (this=0x0, e=0x0) at kernel/qaction.cpp:1181
#24 0x00f46df3 in KAction::event (this=0x9862338, event=0xbf98b338) at ../../kdeui/actions/kaction.cpp:129
#25 0x06c344dc in QApplicationPrivate::notify_helper (this=0x9439fd0, receiver=0x9862338, e=0xbf98b338) at kernel/qapplication.cpp:4300
#26 0x06c3b05e in QApplication::notify (this=0xbf98c264, receiver=0x9862338, e=0xbf98b338) at kernel/qapplication.cpp:3704
#27 0x0103340a in KApplication::notify (this=0xbf98c264, receiver=0x9862338, event=0xbf98b338) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00927a3b in QCoreApplication::notifyInternal (this=0xbf98c264, receiver=0x9862338, event=0xbf98b338) at kernel/qcoreapplication.cpp:704
#29 0x06c7634d in QCoreApplication::sendEvent (this=0x943a07c, e=0xbf98b7b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QShortcutMap::dispatchEvent (this=0x943a07c, e=0xbf98b7b4) at kernel/qshortcutmap.cpp:879
#31 0x06c7815e in QShortcutMap::tryShortcutEvent (this=0x943a07c, o=0x97d8690, e=0xbf98b7b4) at kernel/qshortcutmap.cpp:364
#32 0x06c3ce43 in QApplication::notify (this=0xbf98c264, receiver=0x97d8690, e=0xbf98b7b4) at kernel/qapplication.cpp:3746
#33 0x0103340a in KApplication::notify (this=0xbf98c264, receiver=0x97d8690, event=0xbf98b7b4) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00927a3b in QCoreApplication::notifyInternal (this=0xbf98c264, receiver=0x97d8690, event=0xbf98b7b4) at kernel/qcoreapplication.cpp:704
#35 0x06c352be in QCoreApplication::sendSpontaneousEvent (receiver=0x97d8690, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 qt_sendSpontaneousEvent (receiver=0x97d8690, event=0x0) at kernel/qapplication.cpp:5279
#37 0x06ceed90 in QKeyMapper::sendKeyEvent (keyWidget=0x97d8690, grab=false, type=QEvent::KeyPress, code=16777223, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#38 0x06cf12f5 in QKeyMapperPrivate::translateKeyEvent (this=0x944d2a8, keyWidget=0x97d8690, event=0xbf98be7c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#39 0x06cc4757 in QApplication::x11ProcessEvent (this=0xbf98c264, event=0xbf98be7c) at kernel/qapplication_x11.cpp:3394
#40 0x06cf460a in x11EventSourceDispatch (s=0x943bb90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x028cb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x028cf2d8 in ?? () from /lib/libglib-2.0.so.0
#43 0x028cf4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x009535d5 in QEventDispatcherGlib::processEvents (this=0x943be40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0x06cf4135 in QGuiEventDispatcherGlib::processEvents (this=0x943be40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00926059 in QEventLoop::processEvents (this=0xbf98c174, flags=) at kernel/qeventloop.cpp:149
#47 0x009264aa in QEventLoop::exec (this=0xbf98c174, flags=...) at kernel/qeventloop.cpp:201
#48 0x0092a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x06c34577 in QApplication::exec () at kernel/qapplication.cpp:3579
#50 0x0319da65 in kdemain () from /usr/lib/libkdeinit4_kate.so
#51 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x9400486 "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x9400497 "core2blk;1324240186;113110;1403_TIME29356803") at ../../kinit/kinit.cpp:717
#52 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#53 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#54 0x0804fe4f in main (argc=4, argv=0xbf98d1b4, envp=0xbf98d1c8) at ../../kinit/kinit.cpp:1845

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

Possible duplicates by query: bug 284097, bug 267976, bug 262427.

Reported using DrKonqi
Comment 1 Shlomi Fish 2011-12-19 11:49:35 UTC
It seems like a very old bug that can no longer be reproduced on KDE-4.7.90. I tried to reproduce it, but could not. You can try reporting it on the Ubuntu bugtracker.
Comment 2 Dominik Haumann 2011-12-19 19:47:57 UTC
Should be fixed with newer versions, especially in the upcoming KDE 4.8.

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