Bug 249861 - Kate crashes when cutting and some part of the text is collapsed
Summary: Kate crashes when cutting and some part of the text is collapsed
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-02 11:19 UTC by Josep M. Perez
Modified: 2010-09-09 00:11 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 Josep M. Perez 2010-09-02 11:19:56 UTC
Application: kate (3.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
The crash happens while cutting text on a document that has some parts collapsed. In this case the cutted text was not collapsed, but was at the end of the document.


 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f4dee0ceb1f in KateLayoutCache::lastViewLine (this=<value optimized out>, realLine=433) at ../../kate/render/katelayoutcache.cpp:469
#7  0x00007f4dee131ac8 in KateViewInternal::viewLineOffset (this=0x1b8a050, virtualCursor=..., offset=48, keepX=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1360
#8  0x00007f4dee134722 in KateViewInternal::makeVisible (this=0x1b8a050, c=..., endCol=0, force=false, center=<value optimized out>, calledExternally=false)
    at ../../kate/view/kateviewinternal.cpp:667
#9  0x00007f4dee134ee9 in KateViewInternal::updateCursor (this=0x1b8a050, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1915
#10 0x00007f4dee134fb9 in KateViewInternal::editEnd (this=0x1b8a050, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:3400
#11 0x00007f4dee08db91 in KateDocument::editEnd (this=0x183f160) at ../../kate/document/katedocument.cpp:981
#12 0x00007f4dee120327 in KateView::removeSelectedText (this=0x1b5e340) at ../../kate/view/kateview.cpp:1774
#13 0x00007f4dee120792 in KateView::qt_metacall (this=0x1b5e340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0332f1e0) at ./kateview.moc:328
#14 0x00007f4dffad8346 in QMetaObject::activate (sender=0x1b954f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3295
#15 0x00007f4e00fc9132 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007f4e00fcb1ab in QAction::activate (this=0x1b954f0, event=<value optimized out>) at kernel/qaction.cpp:1255
#17 0x00007f4e00fccab7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#18 0x00007f4e001b49ad in KAction::event (this=0x0, event=0x7fff0332f850) at ../../kdeui/actions/kaction.cpp:129
#19 0x00007f4e00fcf32c in QApplicationPrivate::notify_helper (this=0x1536d90, receiver=0x1b954f0, e=0x7fff0332f850) at kernel/qapplication.cpp:4302
#20 0x00007f4e00fd580b in QApplication::notify (this=0x7fff03330e60, receiver=0x1b954f0, e=0x7fff0332f850) at kernel/qapplication.cpp:4185
#21 0x00007f4e00289836 in KApplication::notify (this=0x7fff03330e60, receiver=0x1b954f0, event=0x7fff0332f850) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f4dffac515c in QCoreApplication::notifyInternal (this=0x7fff03330e60, receiver=0x1b954f0, event=0x7fff0332f850) at kernel/qcoreapplication.cpp:726
#23 0x00007f4e0100af26 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff0332fe50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff0332fe50) at kernel/qshortcutmap.cpp:879
#25 0x00007f4e0100cd17 in QShortcutMap::tryShortcutEvent (this=0x1536eb8, o=<value optimized out>, e=0x7fff0332fe50) at kernel/qshortcutmap.cpp:364
#26 0x00007f4e00fd7368 in QApplication::notify (this=0x7fff03330e60, receiver=0x1b8a050, e=0x7fff0332fe50) at kernel/qapplication.cpp:3748
#27 0x00007f4e00289836 in KApplication::notify (this=0x7fff03330e60, receiver=0x1b8a050, event=0x7fff0332fe50) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007f4dffac515c in QCoreApplication::notifyInternal (this=0x7fff03330e60, receiver=0x1b8a050, event=0x7fff0332fe50) at kernel/qcoreapplication.cpp:726
#29 0x00007f4e01079d1a in QKeyMapper::sendKeyEvent (keyWidget=0x1b8a050, grab=<value optimized out>, type=QEvent::KeyPress, code=88, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=53, nativeVirtualKey=120, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1875
#30 0x00007f4e0107c291 in QKeyMapperPrivate::translateKeyEvent (this=0x151cdd0, keyWidget=0x1b8a050, event=<value optimized out>, grab=176) at kernel/qkeymapper_x11.cpp:1845
#31 0x00007f4e01053a04 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff03330a00) at kernel/qapplication_x11.cpp:3406
#32 0x00007f4e0107f552 in x11EventSourceDispatch (s=0x1529a00, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f4dfed306c2 in g_main_dispatch (context=0x152d620) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x152d620) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#35 0x00007f4dfed34538 in g_main_context_iterate (context=0x152d620, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#36 0x00007f4dfed346ec in IA__g_main_context_iteration (context=0x152d620, may_block=1) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#37 0x00007f4dffaee713 in QEventDispatcherGlib::processEvents (this=0x1509b60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f4e0107f14e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f4dffac3a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f4dffac3e5c in QEventLoop::exec (this=0x7fff03330d20, flags=) at kernel/qeventloop.cpp:201
#41 0x00007f4dffac8aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#42 0x00007f4e01e1cead in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#43 0x00007f4e01ad4c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff033323e8) at libc-start.c:228
#44 0x0000000000400679 in _start ()

This bug may be a duplicate of or related to bug 249826, bug 247081.

Possible duplicates by query: bug 249826, bug 247081, bug 237966.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-09-09 00:11:51 UTC

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