Bug 249826 - Kwrite Crash on Deleting Collapsed Text
Summary: Kwrite Crash on Deleting Collapsed Text
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-02 04:36 UTC by Kevin Lyles
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 Kevin Lyles 2010-09-02 04:36:18 UTC
Application: kwrite (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.35-gentoo-r4-iqgryn i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I collapsed several sections in an XML file and attempted to delete one.  Kwrite crashed.  I can reproduce this, but not consistently.

 -- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[KCrash Handler]
#6  0xb3d0d915 in KateLineLayout::viewLineCount (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/render/katelinelayout.cpp:173
#7  0xb3d0a8aa in KateLayoutCache::lastViewLine (this=0x89fff20, realLine=394) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/render/katelayoutcache.cpp:469
#8  0xb3d78525 in KateViewInternal::viewLineOffset (this=0x89ff7a0, virtualCursor=..., offset=49, keepX=false)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1360
#9  0xb3d7b8d4 in KateViewInternal::makeVisible (this=0x89ff7a0, c=..., endCol=0, force=false, center=false, calledExternally=false)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:667
#10 0xb3d7c160 in KateViewInternal::updateCursor (this=0x89ff7a0, newCursor=..., force=true, center=<value optimized out>, calledExternally=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1915
#11 0xb3d7c259 in KateViewInternal::editEnd (this=0x89ff7a0, editTagLineStart=322, editTagLineEnd=322, tagFrom=true)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:3400
#12 0xb3d5b669 in KateView::editEnd (this=0x89fdd70, editTagLineStart=322, editTagLineEnd=322, tagFrom=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateview.cpp:1602
#13 0xb3cc42ac in KateDocument::editEnd (this=0x89fd8f0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/document/katedocument.cpp:981
#14 0xb3d630dd in KateView::removeSelectedText (this=0x89fdd70) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateview.cpp:1774
#15 0xb3cc28e6 in KateDocument::del (this=0x89fd8f0, view=0x89fdd70, c=...) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/document/katedocument.cpp:2918
#16 0xb3d70c51 in KateViewInternal::doDelete (this=0x89ff7a0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:850
#17 0xb3d5e91c in KateView::keyDelete (this=0x89fdd70) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateview.cpp:2307
#18 0xb3d63992 in KateView::qt_metacall (this=0x89fdd70, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfa55d98)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5_build/kate/kateview.moc:375
#19 0xb62e0e9a in QMetaObject::metacall (object=0x89fdd70, cl=QMetaObject::ReadProperty, idx=92, argv=0xbfa55d98) at kernel/qmetaobject.cpp:237
#20 0xb62ef407 in QMetaObject::activate (sender=0x8a5c778, m=0xb7083ff8, local_signal_index=1, argv=<value optimized out>) at kernel/qobject.cpp:3285
#21 0xb67748a9 in QAction::triggered (this=0x8a5c778, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#22 0xb6776a6c in QAction::activate (this=0x8a5c778, event=QAction::Trigger) at kernel/qaction.cpp:1255
#23 0xb6778348 in QAction::event (this=0x0, e=0x0) at kernel/qaction.cpp:1181
#24 0xb718eab3 in KAction::event (this=0x8a5c778, event=0xbfa562c8) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/actions/kaction.cpp:129
#25 0xb677b07c in QApplicationPrivate::notify_helper (this=0x85db328, receiver=0x8a5c778, e=0xbfa562c8) at kernel/qapplication.cpp:4300
#26 0xb6781abe in QApplication::notify (this=0xbfa57188, receiver=0x8a5c778, e=0xbfa562c8) at kernel/qapplication.cpp:3704
#27 0xb727820a in KApplication::notify (this=0xbfa57188, receiver=0x8a5c778, event=0xbfa562c8) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#28 0xb62dbcca in QCoreApplication::notifyInternal (this=0xbfa57188, receiver=0x8a5c778, event=0xbfa562c8) at kernel/qcoreapplication.cpp:704
#29 0xb67bc783 in QCoreApplication::sendEvent (this=0x85db3d4, e=0xbfa56754) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QShortcutMap::dispatchEvent (this=0x85db3d4, e=0xbfa56754) at kernel/qshortcutmap.cpp:879
#31 0xb67be566 in QShortcutMap::tryShortcutEvent (this=0x85db3d4, o=0x89ff7a0, e=0xbfa56754) at kernel/qshortcutmap.cpp:364
#32 0xb6783699 in QApplication::notify (this=0xbfa57188, receiver=0x89ff7a0, e=0xbfa56754) at kernel/qapplication.cpp:3746
#33 0xb727820a in KApplication::notify (this=0xbfa57188, receiver=0x89ff7a0, event=0xbfa56754) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#34 0xb62dbcca in QCoreApplication::notifyInternal (this=0xbfa57188, receiver=0x89ff7a0, event=0xbfa56754) at kernel/qcoreapplication.cpp:704
#35 0xb677bf8e in QCoreApplication::sendSpontaneousEvent (receiver=0x89ff7a0, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 qt_sendSpontaneousEvent (receiver=0x89ff7a0, event=0x0) at kernel/qapplication.cpp:5279
#37 0xb683186d in QKeyMapper::sendKeyEvent (keyWidget=0x89ff7a0, 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 0xb6833cd4 in QKeyMapperPrivate::translateKeyEvent (this=0x86028f0, keyWidget=0x89ff7a0, event=0xbfa56df0, grab=<value optimized out>) at kernel/qkeymapper_x11.cpp:1831
#39 0xb6809bbf in QApplication::x11ProcessEvent (this=0xbfa57188, event=0xbfa56df0) at kernel/qapplication_x11.cpp:3394
#40 0xb6836ec2 in x11EventSourceDispatch (s=0x85de5a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb5acdec4 in g_main_dispatch (context=0x85dd690) at gmain.c:1960
#42 IA__g_main_context_dispatch (context=0x85dd690) at gmain.c:2513
#43 0xb5ad1bc0 in g_main_context_iterate (context=0x85dd690, block=<value optimized out>, dispatch=1, self=0x85db598) at gmain.c:2591
#44 0xb5ad1d58 in IA__g_main_context_iteration (context=0x85dd690, may_block=1) at gmain.c:2654
#45 0xb6307385 in QEventDispatcherGlib::processEvents (this=0x85c4c08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0xb6836a35 in QGuiEventDispatcherGlib::processEvents (this=0x85c4c08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0xb62da339 in QEventLoop::processEvents (this=0xbfa570e4, flags=) at kernel/qeventloop.cpp:149
#48 0xb62da78a in QEventLoop::exec (this=0xbfa570e4, flags=...) at kernel/qeventloop.cpp:201
#49 0xb62de89f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0xb677b127 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0xb78d1e3d in kdemain (argc=3, argv=0xbfa574d4) at /var/tmp/portage/kde-base/kwrite-4.4.5/work/kwrite-4.4.5/kwrite/kwritemain.cpp:691
#52 0x080486ab in main (argc=3, argv=0xbfa574d4) at /var/tmp/portage/kde-base/kwrite-4.4.5/work/kwrite-4.4.5_build/kwrite/kwrite_dummy.cpp:3

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

Possible duplicates by query: bug 247081, bug 237966.

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

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