Bug 247331 - really long line of text busted kwrite
Summary: really long line of text busted kwrite
Status: RESOLVED DUPLICATE of bug 236899
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 07:47 UTC by darkplexus
Modified: 2010-10-23 17:25 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 darkplexus 2010-08-11 07:47:13 UTC
Application: kwrite (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.16-150.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
i put the full chemical moniker of titin on a single line (about 200k letters)
and i went to the front of the word ( just used the home key ) and deleted the line-return above it.
so basically, the word was on line 2, and i erased line 1 by hitting backspace.
i did this really quick, and it crashed kwrite.

 -- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[KCrash Handler]
#6  QTextLine::cursorToX (this=0xbfb180a8, cursorPos=0xbfb1800c, edge=Leading) at text/qtextlayout.cpp:2327
#7  0x02325846 in cursorToX (this=0x9a2fef8, range=..., pos=...) at /usr/include/QtGui/qtextlayout.h:218
#8  KateRenderer::cursorToX (this=0x9a2fef8, range=..., pos=...) at /usr/src/debug/kdelibs-4.4.5/kate/render/katerenderer.cpp:948
#9  0x02325b8b in KateRenderer::cursorToX (this=0x9a2fef8, range=..., pos=..., returnPastLine=false) at /usr/src/debug/kdelibs-4.4.5/kate/render/katerenderer.cpp:953
#10 0x0239a4ba in KateViewInternal::makeVisible (this=0x9a32ec0, c=..., endCol=0, force=false, center=false, calledExternally=false) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:691
#11 0x0239abe0 in KateViewInternal::updateCursor (this=0x9a32ec0, newCursor=..., force=true, center=false, calledExternally=false) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1915
#12 0x0239acdc in KateViewInternal::editEnd (this=0x9a32ec0, editTagLineStart=1, editTagLineEnd=1, tagFrom=true) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:3400
#13 0x0237be0a in KateView::editEnd (this=0x9a2ad48, editTagLineStart=1, editTagLineEnd=1, tagFrom=true) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateview.cpp:1602
#14 0x022eb5a4 in KateDocument::editEnd (this=0x9a26578) at /usr/src/debug/kdelibs-4.4.5/kate/document/katedocument.cpp:981
#15 0x022f28e8 in KateDocument::removeText (this=0x9a26578, _range=..., block=false) at /usr/src/debug/kdelibs-4.4.5/kate/document/katedocument.cpp:825
#16 0x022e9d74 in KateDocument::del (this=0x9a26578, view=0x9a2ad48, c=...) at /usr/src/debug/kdelibs-4.4.5/kate/document/katedocument.cpp:2928
#17 0x02390492 in KateViewInternal::doDelete (this=0x9a32ec0) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:850
#18 0x0237ed5c in KateView::keyDelete (this=0x9a2ad48) at /usr/src/debug/kdelibs-4.4.5/kate/view/kateview.cpp:2307
#19 0x02383c54 in KateView::qt_metacall (this=0x9a2ad48, _c=InvokeMetaMethod, _id=53, _a=0xbfb18528) at /usr/src/debug/kdelibs-4.4.5/i686-redhat-linux-gnu/kate/kateview.moc:375
#20 0x049447eb in QMetaObject::metacall (object=0x9a2ad48, cl=InvokeMetaMethod, idx=92, argv=0xbfb18528) at kernel/qmetaobject.cpp:237
#21 0x049536e5 in QMetaObject::activate (sender=0x9ab7710, m=0x30836b8, local_signal_index=1, argv=0xbfb18528) at kernel/qobject.cpp:3295
#22 0x02795eba in QAction::triggered (this=0x9ab7710, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x0279784c in QAction::activate (this=0x9ab7710, event=Trigger) at kernel/qaction.cpp:1255
#24 0x02798a08 in QAction::event (this=0x9ab7710, e=0xbfb18a48) at kernel/qaction.cpp:1181
#25 0x052ec584 in KAction::event (this=0x9ab7710, event=0xbfb18a48) at /usr/src/debug/kdelibs-4.4.5/kdeui/actions/kaction.cpp:129
#26 0x0279b6cc in QApplicationPrivate::notify_helper (this=0x9864440, receiver=0x9ab7710, e=0xbfb18a48) at kernel/qapplication.cpp:4306
#27 0x027a2206 in QApplication::notify (this=0xbfb19928, receiver=0x9ab7710, e=0xbfb18a48) at kernel/qapplication.cpp:3710
#28 0x053bca6b in KApplication::notify (this=0xbfb19928, receiver=0x9ab7710, event=0xbfb18a48) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#29 0x0493fd53 in QCoreApplication::notifyInternal (this=0xbfb19928, receiver=0x9ab7710, event=0xbfb18a48) at kernel/qcoreapplication.cpp:726
#30 0x027d435d in sendEvent (this=0x98644ec, e=0xbfb18ec4) at ../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=0x98644ec, e=0xbfb18ec4) at kernel/qshortcutmap.cpp:879
#32 0x027d6287 in QShortcutMap::tryShortcutEvent (this=0x98644ec, o=0x9a32ec0, e=0xbfb18ec4) at kernel/qshortcutmap.cpp:364
#33 0x027a3db2 in QApplication::notify (this=0xbfb19928, receiver=0x9a32ec0, e=0xbfb18ec4) at kernel/qapplication.cpp:3752
#34 0x053bca6b in KApplication::notify (this=0xbfb19928, receiver=0x9a32ec0, event=0xbfb18ec4) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#35 0x0493fd53 in QCoreApplication::notifyInternal (this=0xbfb19928, receiver=0x9a32ec0, event=0xbfb18ec4) at kernel/qcoreapplication.cpp:726
#36 0x0279c40f in sendSpontaneousEvent (receiver=0x9a32ec0, event=0xbfb18ec4) at ../../src/corelib/kernel/qcoreapplication.h:218
#37 qt_sendSpontaneousEvent (receiver=0x9a32ec0, event=0xbfb18ec4) at kernel/qapplication.cpp:5285
#38 0x02844b8e in QKeyMapper::sendKeyEvent (keyWidget=0x9a32ec0, grab=false, type=KeyPress, code=16777223, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=119, nativeVirtualKey=
    65535, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1875
#39 0x02846f39 in QKeyMapperPrivate::translateKeyEvent (this=0x988d580, keyWidget=0x9a32ec0, event=0xbfb1958c, grab=false) at kernel/qkeymapper_x11.cpp:1845
#40 0x0281d697 in QApplication::x11ProcessEvent (this=0xbfb19928, event=0xbfb1958c) at kernel/qapplication_x11.cpp:3406
#41 0x0284a29a in x11EventSourceDispatch (s=0x9867640, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00735fb8 in g_main_dispatch (context=0x9865f08) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=0x9865f08) at gmain.c:2513
#44 0x007398e8 in g_main_context_iterate (context=0x6abeb0, block=1, dispatch=1, self=0x9863e60) at gmain.c:2591
#45 0x00739a14 in IA__g_main_context_iteration (context=0x9865f08, may_block=1) at gmain.c:2654
#46 0x049680c6 in QEventDispatcherGlib::processEvents (this=0x984e370, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x02849e86 in QGuiEventDispatcherGlib::processEvents (this=0x984e370, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x0493e42a in QEventLoop::processEvents (this=0xbfb19884, flags=...) at kernel/qeventloop.cpp:149
#49 0x0493e76a in QEventLoop::exec (this=0xbfb19884, flags=...) at kernel/qeventloop.cpp:201
#50 0x04942427 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#51 0x0279b778 in QApplication::exec () at kernel/qapplication.cpp:3585
#52 0x00b90723 in kdemain (argc=1, argv=0xbfb19c84) at /usr/src/debug/kdebase-4.4.5/apps/kwrite/kwritemain.cpp:691
#53 0x0804864c in main (argc=1, argv=0xbfb19c84) at /usr/src/debug/kdebase-4.4.5/i686-redhat-linux-gnu/apps/kwrite/kwrite_dummy.cpp:3

Possible duplicates by query: bug 236899, bug 208056.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-23 17:25:50 UTC
If this is reproducible, please add a comment to bug 236899.

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