Bug 96783 - kate crashes on paste
Summary: kate crashes on paste
Status: RESOLVED DUPLICATE of bug 89042
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 16:29 UTC by Norbert Nemec
Modified: 2005-02-26 00:40 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 Norbert Nemec 2005-01-11 16:29:20 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Once in a while, doing a simple copy&paste within a file, kate segfaults and dies horribly. To reproduce the problem load the file 'tryout.py':
-------tryout.py--------
.l()
.if.f:
..break
------------------------
(replacing . with space and including a newline at the end)

mark the complete text, copy it and paste it to the end of the same file.

>>>> crash!

I have the feeling that the problem is connected to the folding of the text and/or Python syntax highlighting.



The backtrace starts out with:
------------------------------------
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208082304 (LWP 7304)]
[KCrash handler]
#4  0x4a347228 in QGList::find () from /usr/lib/libqt-mt.so.3
#5  0x4a346da9 in QGList::remove () from /usr/lib/libqt-mt.so.3
#6  0xb7e7d70c in KateCodeFoldingTree::removeEnding ()
   from /usr/lib/kde3/libkatepart.so
#7  0xb7e7f825 in KateCodeFoldingTree::cleanupUnneededNodes ()
   from /usr/lib/kde3/libkatepart.so
#8  0xb7e7caf2 in KateCodeFoldingTree::updateLine ()
   from /usr/lib/kde3/libkatepart.so
#9  0xb7e102fa in KateBuffer::doHighlight () from /usr/lib/kde3/libkatepart.so
#10 0xb7e0e085 in KateBuffer::editEnd () from /usr/lib/kde3/libkatepart.so
#11 0xb7e31656 in KateDocument::editEnd () from /usr/lib/kde3/libkatepart.so
#12 0xb7e3aefc in KateDocument::paste () from /usr/lib/kde3/libkatepart.so
#13 0xb7e86aef in KateViewInternal::doPaste ()
   from /usr/lib/kde3/libkatepart.so
#14 0xb7ec8b28 in KateView::paste () from /usr/lib/kde3/libkatepart.so
#15 0xb7e63070 in KateView::qt_invoke () from /usr/lib/kde3/libkatepart.so
#16 0x4a08fd8c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x4a08fbb4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x4a8da7ab in KAction::activated () from /usr/lib/libkdeui.so.4
#19 0x4a8da17f in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#20 0x4a8ee608 in KPasteTextAction::slotActivated ()
   from /usr/lib/libkdeui.so.4
#21 0x4a8f159b in KPasteTextAction::qt_invoke () from /usr/lib/libkdeui.so.4
#22 0x4a08fd8c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0x4a08fbb4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0x4a6a20db in KAccelPrivate::menuItemActivated ()
   from /usr/lib/libkdecore.so.4
#25 0x4a6a095c in KAccelPrivate::eventFilter () from /usr/lib/libkdecore.so.4
#26 0x4a08d6be in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#27 0x4a08d5ec in QObject::event () from /usr/lib/libqt-mt.so.3
#28 0x4a0c5e6f in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0x4a184502 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#30 0x4b1b258f in KMdiMainFrm::event () from /usr/lib/libkmdi.so.1
#31 0x4a03342f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#32 0x4a032f24 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#33 0x4a61dda3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#34 0x4a69f8eb in KAccelEventHandler::x11Event ()
   from /usr/lib/libkdecore.so.4
#35 0x4a623d6f in KApplication::x11EventFilter ()
   from /usr/lib/libkdecore.so.4
#36 0x49fbbd08 in qt_set_x11_event_filter () from /usr/lib/libqt-mt.so.3
#37 0x49fc59ab in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#38 0x49fdca04 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#39 0x4a045788 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#40 0x4a045638 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#41 0x4a033681 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#42 0x4aef5a44 in kdemain () from /usr/lib/libkdeinit_kate.so
#43 0xb7ffd906 in kdeinitmain () from /usr/lib/kde3/kate.so
-------------------------------------------
Comment 1 Christoph Cullmann 2005-02-26 00:40:15 UTC

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