Bug 262427 - Kate crashed after delete 10 or more lines selected
Summary: Kate crashed after delete 10 or more lines selected
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-01-07 16:42 UTC by Nicolo' Andreozzi
Modified: 2011-01-07 19:30 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 Nicolo' Andreozzi 2011-01-07 16:42:12 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-27-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kate crashed when the "del" button is pressed to delete ten or more lines together

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x021017f2 in KateLayoutCache::lastViewLine (this=0xb4b3840, realLine=518) at ../../kate/render/katelayoutcache.cpp:469
#8  0x0216fbc5 in KateViewInternal::viewLineOffset (this=0xb4b31c0, virtualCursor=..., offset=55, keepX=false) at ../../kate/view/kateviewinternal.cpp:1359
#9  0x02172d64 in KateViewInternal::makeVisible (this=0xb4b31c0, c=..., endCol=1, force=false, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:666
#10 0x021735f0 in KateViewInternal::updateCursor (this=0xb4b31c0, newCursor=..., force=true, center=<value optimized out>, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1914
#11 0x021743eb in KateViewInternal::editEnd (this=0xb4b31c0, editTagLineStart=516, editTagLineEnd=516, tagFrom=true) at ../../kate/view/kateviewinternal.cpp:3399
#12 0x02152c69 in KateView::editEnd (this=0xb579038, editTagLineStart=516, editTagLineEnd=516, tagFrom=<value optimized out>) at ../../kate/view/kateview.cpp:1602
#13 0x020bab04 in KateDocument::editEnd (this=0xa72a530) at ../../kate/document/katedocument.cpp:977
#14 0x0215a54d in KateView::removeSelectedText (this=0xb579038) at ../../kate/view/kateview.cpp:1774
#15 0x020b90e6 in KateDocument::del (this=0xa72a530, view=0xb579038, c=...) at ../../kate/document/katedocument.cpp:2914
#16 0x02168121 in KateViewInternal::doDelete (this=0xb4b31c0) at ../../kate/view/kateviewinternal.cpp:849
#17 0x0215550c in KateView::keyDelete (this=0xb579038) at ../../kate/view/kateview.cpp:2307
#18 0x0215adf4 in KateView::qt_metacall (this=0xb579038, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfc24cc8) at ./kateview.moc:375
#19 0x007c2c9a in QMetaObject::metacall (object=0xb579038, cl=QMetaObject::ReadProperty, idx=92, argv=0xbfc24cc8) at kernel/qmetaobject.cpp:237
#20 0x007d13d5 in QMetaObject::activate (sender=0xb6b0428, m=0x194ad58, local_signal_index=1, argv=0xbfc24cc8) at kernel/qobject.cpp:3293
#21 0x0101bbd9 in QAction::triggered (this=0xb6b0428, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#22 0x0101ddcc in QAction::activate (this=0xb6b0428, event=QAction::Trigger) at kernel/qaction.cpp:1255
#23 0x0101f698 in QAction::event (this=0x0, e=0x0) at kernel/qaction.cpp:1181
#24 0x00203d63 in KAction::event (this=0xb6b0428, event=0xbfc251e8) at ../../kdeui/actions/kaction.cpp:129
#25 0x010224dc in QApplicationPrivate::notify_helper (this=0x95a6180, receiver=0xb6b0428, e=0xbfc251e8) at kernel/qapplication.cpp:4300
#26 0x0102905e in QApplication::notify (this=0xbfc26114, receiver=0xb6b0428, e=0xbfc251e8) at kernel/qapplication.cpp:3704
#27 0x002eff2a in KApplication::notify (this=0xbfc26114, receiver=0xb6b0428, event=0xbfc251e8) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x007bda3b in QCoreApplication::notifyInternal (this=0xbfc26114, receiver=0xb6b0428, event=0xbfc251e8) at kernel/qcoreapplication.cpp:704
#29 0x0106434d in QCoreApplication::sendEvent (this=0x95a622c, e=0xbfc25664) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QShortcutMap::dispatchEvent (this=0x95a622c, e=0xbfc25664) at kernel/qshortcutmap.cpp:879
#31 0x0106615e in QShortcutMap::tryShortcutEvent (this=0x95a622c, o=0xb4b31c0, e=0xbfc25664) at kernel/qshortcutmap.cpp:364
#32 0x0102ae43 in QApplication::notify (this=0xbfc26114, receiver=0xb4b31c0, e=0xbfc25664) at kernel/qapplication.cpp:3746
#33 0x002eff2a in KApplication::notify (this=0xbfc26114, receiver=0xb4b31c0, event=0xbfc25664) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x007bda3b in QCoreApplication::notifyInternal (this=0xbfc26114, receiver=0xb4b31c0, event=0xbfc25664) at kernel/qcoreapplication.cpp:704
#35 0x010232be in QCoreApplication::sendSpontaneousEvent (receiver=0xb4b31c0, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 qt_sendSpontaneousEvent (receiver=0xb4b31c0, event=0x0) at kernel/qapplication.cpp:5279
#37 0x010dcd90 in QKeyMapper::sendKeyEvent (keyWidget=0xb4b31c0, 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 0x010df2f5 in QKeyMapperPrivate::translateKeyEvent (this=0x95cc920, keyWidget=0xb4b31c0, event=0xbfc25d2c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#39 0x010b2757 in QApplication::x11ProcessEvent (this=0xbfc26114, event=0xbfc25d2c) at kernel/qapplication_x11.cpp:3394
#40 0x010e260a in x11EventSourceDispatch (s=0x95a9340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x019a45e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x019a82d8 in ?? () from /lib/libglib-2.0.so.0
#43 0x019a84b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x007e95d5 in QEventDispatcherGlib::processEvents (this=0x95889c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0x010e2135 in QGuiEventDispatcherGlib::processEvents (this=0x95889c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x007bc059 in QEventLoop::processEvents (this=0xbfc26024, flags=) at kernel/qeventloop.cpp:149
#47 0x007bc4aa in QEventLoop::exec (this=0xbfc26024, flags=...) at kernel/qeventloop.cpp:201
#48 0x007c069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x01022577 in QApplication::exec () at kernel/qapplication.cpp:3579
#50 0x00a82a65 in kdemain (argc=7, argv=0xbfc267b4) at ../../../kate/app/katemain.cpp:377
#51 0x080485fb in main (argc=7, argv=0xbfc267b4) at kate_dummy.cpp:3

Possible duplicates by query: bug 254701, bug 252284, bug 249861, bug 249826, bug 247081.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-01-07 19:30:10 UTC

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