Bug 121809 - Kate crashed while pasting piece of Python code
Summary: Kate crashed while pasting piece of Python code
Status: RESOLVED DUPLICATE of bug 89042
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 04:25 UTC by Krzysztof Lichota
Modified: 2006-04-22 15:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Code which caused crash (266 bytes, text/plain)
2006-02-12 04:31 UTC, Krzysztof Lichota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Lichota 2006-02-12 04:25:06 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs

Kate crashed when I tried to paste some part of Python code
into class definition in other part of the same Python file.

Here is the code I wanted to paste from clipboard (hopefully whitespace is preserved):
	only_in_1 = keysset1.difference(keysset2)
	only_in_2 = keysset2.difference(keysset1)
	common = keysset2.intersection(keysset1)
Here is the class where I wanted to paste it (at the end of __init___ method):
class TwoPoFilesProcessor:
	def __init__(self, po1, po2):
		self.po1 = po1
		self.po2 = po2

Unfortunately after restart of Kate I couldn't reproduce this, even though I have tried to paste it in different places.

Here is the backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1096265248 (LWP 8507)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#9  0x40b74146 in QGArray::find () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x41a88b42 in KateCodeFoldingTree::removeEnding ()
   from /opt/kde3/lib/kde3/libkatepart.so
#11 0x41b0c7b5 in KateCodeFoldingTree::cleanupUnneededNodes ()
   from /opt/kde3/lib/kde3/libkatepart.so
#12 0x41b0d102 in KateCodeFoldingTree::updateLine ()
   from /opt/kde3/lib/kde3/libkatepart.so
#13 0x41aeed88 in KateBuffer::doHighlight ()
   from /opt/kde3/lib/kde3/libkatepart.so
#14 0x41b14366 in KateBuffer::editEnd () from /opt/kde3/lib/kde3/libkatepart.so
#15 0x41b14454 in KateDocument::editEnd ()
   from /opt/kde3/lib/kde3/libkatepart.so
#16 0x41b13258 in KateDocument::paste () from /opt/kde3/lib/kde3/libkatepart.so
#17 0x41b3a01c in KateView::paste () from /opt/kde3/lib/kde3/libkatepart.so
#18 0x41b1b7d0 in KateView::qt_invoke () from /opt/kde3/lib/kde3/libkatepart.so
#19 0x408af9ae in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x408b0156 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x4119b649 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#22 0x412b5673 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#23 0x412b5770 in KPasteTextAction::slotActivated ()
   from /opt/kde3/lib/libkdeui.so.4
#24 0x412b5021 in KPasteTextAction::qt_invoke ()
   from /opt/kde3/lib/libkdeui.so.4
#25 0x408af9ae in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x408b0156 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x404b14f9 in KAccelPrivate::menuItemActivated ()
   from /opt/kde3/lib/libkdecore.so.4
#28 0x404ec409 in KAccelPrivate::emitActivatedSignal ()
   from /opt/kde3/lib/libkdecore.so.4
#29 0x40558827 in KAccelPrivate::eventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#30 0x408b024e in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x408b0330 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x408e58ff in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x409ada42 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x417820ec in KateMainWindow::event ()
   from /opt/kde3/lib/libkateinterfaces.so.0
#35 0x4084cc6f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x4084ed51 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40591091 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#38 0x4050082d in KAccelEventHandler::x11Event ()
   from /opt/kde3/lib/libkdecore.so.4
#39 0x4058a65f in KApplication::x11EventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#40 0x407d7b17 in qt_set_x11_event_filter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x407e83ab in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x407f9a78 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x40864c01 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x40864a46 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x4084e6ff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x416f64e8 in kdemain () from /opt/kde3/lib/libkdeinit_kate.so
#47 0x40018554 in kdeinitmain () from /opt/kde3/lib/kde3/kate.so
#48 0x0804e94e in ?? ()
#49 0x00000001 in ?? ()
#50 0x0811bdf0 in ?? ()
#51 0x00000001 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000006 in ?? ()
#56 0xbfffe88c in ?? ()
#57 0xbfffe890 in ?? ()
#58 0xbfffe894 in ?? ()
#59 0xbfffe898 in ?? ()
#60 0xbfffe89c in ?? ()
#61 0x4020037f in KIO::CopyJob::slotEntries () from /opt/kde3/lib/libkio.so.4
#62 0x0804f05c in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000001 in ?? ()
#65 0x0811afe2 in ?? ()
#66 0x00000000 in ?? ()
#67 0x00000000 in ?? ()
#68 0x00000000 in ?? ()
#69 0x0811afe6 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x00000000 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x0811afe6 in ?? ()
#76 0x00000000 in ?? ()
#77 0x00000000 in ?? ()
#78 0x0811afd5 in ?? ()
#79 0x00000001 in ?? ()
#80 0x00000000 in ?? ()
#81 0x0811afd1 in ?? ()
#82 0x0811afcc in ?? ()
#83 0x00000001 in ?? ()
#84 0x0811afc8 in ?? ()
#85 0x00000008 in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0x0000000a in ?? ()
#90 0x00000047 in ?? ()
#91 0x08052420 in vtable for QCString ()
#92 0x0805b4d0 in ?? ()
#93 0x00000000 in ?? ()
#94 0x00000000 in ?? ()
#95 0x08052420 in vtable for QCString ()
#96 0x0805b4c0 in ?? ()
#97 0x80cd0000 in ?? ()
#98 0x00000001 in ?? ()
#99 0xbfffed48 in ?? ()
#100 0xbfffec30 in ?? ()
#101 0xbfffecb0 in ?? ()
#102 0x00000000 in ?? ()
#103 0xbfffebb0 in ?? ()
#104 0xbfffec30 in ?? ()
#105 0xbfffed48 in ?? ()
#106 0x0804f619 in ?? ()
#107 0x0000000a in ?? ()
#108 0xbfffecb0 in ?? ()
#109 0xbfffec30 in ?? ()
#110 0xbfffebb0 in ?? ()
#111 0x00000000 in ?? ()
#112 0x0000001e in ?? ()
#113 0xbfffecd0 in ?? ()
#114 0x40fa7115 in _int_free () from /lib/tls/libc.so.6
Comment 1 Krzysztof Lichota 2006-02-12 04:31:03 UTC
Created attachment 14650 [details]
Code which caused crash

As whitespace has not been preserved in bug report, here are the code pieces in
separate file.
Comment 2 Krzysztof Lichota 2006-02-12 05:39:31 UTC
Happened again, the same backtrace.
Comment 3 Dominik Haumann 2006-04-22 15:51:42 UTC

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