Bug 111796 - crash when pasting text into file
Summary: crash when pasting text into file
Status: RESOLVED DUPLICATE of bug 105258
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 02:08 UTC by evilmrhenry
Modified: 2005-09-29 20:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description evilmrhenry 2005-08-31 02:08:04 UTC
Version:           4.3 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-5)
OS:                Linux (i686) release 2.4.22-xfs

If I take this file:
	abc
		abc

(one tab, abc, newline, two tabs, abc, newline)
and paste this file into it on the last (blank) line:
	abc
	abc
		abc
(one tab, abc, newline, one tab, abc, newline, two tabs, abc)

Kwrite crashes. This happens every time I try it. The complete backtrace follow:

(no debugging symbols found)
Using host libthread_db library "/lib/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)
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14547)]
(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)
(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)
(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)
(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)
(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]
#5  0x40e9bd58 in QGList::find () from /usr/lib/libqt-mt.so.3
#6  0x40e9b8d9 in QGList::remove () from /usr/lib/libqt-mt.so.3
#7  0x418f279c in KateCodeFoldingTree::removeEnding ()
   from /usr/lib/kde3/libkatepart.so
#8  0x418f48b5 in KateCodeFoldingTree::cleanupUnneededNodes ()
   from /usr/lib/kde3/libkatepart.so
#9  0x418f1b82 in KateCodeFoldingTree::updateLine ()
   from /usr/lib/kde3/libkatepart.so
#10 0x4188530a in KateBuffer::doHighlight () from /usr/lib/kde3/libkatepart.so
#11 0x41883095 in KateBuffer::editEnd () from /usr/lib/kde3/libkatepart.so
#12 0x418a66a6 in KateDocument::editEnd () from /usr/lib/kde3/libkatepart.so
#13 0x418aff4c in KateDocument::paste () from /usr/lib/kde3/libkatepart.so
#14 0x418fbb7f in KateViewInternal::doPaste ()
   from /usr/lib/kde3/libkatepart.so
#15 0x4193dbf8 in KateView::paste () from /usr/lib/kde3/libkatepart.so
#16 0x418d80c0 in KateView::qt_invoke () from /usr/lib/kde3/libkatepart.so
#17 0x40be371c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x40be3544 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0x404b1dab in KAction::activated () from /usr/lib/libkdeui.so.4
#20 0x404b177f in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#21 0x404c5c08 in KPasteTextAction::slotActivated ()
   from /usr/lib/libkdeui.so.4
#22 0x404c8b9b in KPasteTextAction::qt_invoke () from /usr/lib/libkdeui.so.4
#23 0x40be371c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0x40be3544 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0x407b032b in KAccelPrivate::menuItemActivated ()
   from /usr/lib/libkdecore.so.4
#26 0x407aeb68 in KAccelPrivate::eventFilter () from /usr/lib/libkdecore.so.4
#27 0x40be104e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#28 0x40be0f7c in QObject::event () from /usr/lib/libqt-mt.so.3
#29 0x40c19aaf in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0x40cd85b2 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#31 0x40b86e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#32 0x40b86914 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#33 0x4072bec3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#34 0x407adad9 in KAccelEventHandler::x11Event ()
   from /usr/lib/libkdecore.so.4
#35 0x40731e8f in KApplication::x11EventFilter ()
   from /usr/lib/libkdecore.so.4
#36 0x40b0f3c8 in qt_set_x11_event_filter () from /usr/lib/libqt-mt.so.3
#37 0x40b190bb in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#38 0x40b30254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#39 0x40b991d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#40 0x40b99088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#41 0x40b87071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#42 0x41588f17 in kdemain () from /usr/lib/libkdeinit_kwrite.so
#43 0x4001b8c6 in kdeinitmain () from /usr/lib/kde3/kwrite.so
#44 0x0804cd30 in ?? ()
#45 0x00000002 in ?? ()
#46 0x0806f588 in ?? ()
#47 0x00000001 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00001f80 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000000 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0x00000000 in ?? ()
#68 0x00000000 in ?? ()
#69 0x0806f9b8 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x00000000 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000000 in ?? ()
#76 0x00000000 in ?? ()
#77 0x4102ac40 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#78 0x00000000 in ?? ()
#79 0x00004005 in ?? ()
#80 0x41340d11 in mallopt () from /lib/libc.so.6
#81 0x0804e23b in ?? ()
#82 0x00000002 in ?? ()
#83 0x0806ea04 in ?? ()
#84 0x0806ea39 in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000001 in ?? ()
#87 0x0806ea4a in ?? ()
#88 0x00000000 in ?? ()
#89 0x00000000 in ?? ()
#90 0x00000000 in ?? ()
#91 0x0806ea4e in ?? ()
#92 0x00000000 in ?? ()
#93 0x00000000 in ?? ()
#94 0x00000000 in ?? ()
#95 0x0806ea4e in ?? ()
#96 0x00000000 in ?? ()
#97 0x00000000 in ?? ()
#98 0x0806ea3d in ?? ()
#99 0x00000001 in ?? ()
#100 0x00000000 in ?? ()
#101 0x0806ea0b in ?? ()
#102 0x0806ea04 in ?? ()
#103 0x00000002 in ?? ()
#104 0x0806ea00 in ?? ()
#105 0x00000000 in ?? ()
#106 0x00000000 in ?? ()
#107 0x00000000 in ?? ()
#108 0x0000000a in ?? ()
#109 0x0000007d in ?? ()
#110 0x08052538 in vtable for QCString ()
#111 0x0805ac50 in ?? ()
#112 0x00000000 in ?? ()
#113 0x00000000 in ?? ()
#114 0x08052538 in vtable for QCString ()
#115 0x0805ac30 in ?? ()
#116 0x00000000 in ?? ()
#117 0x410b603b in thread_self () from /lib/libpthread.so.0
#118 0x0804e75e in ?? ()
#119 0x00000008 in ?? ()
#120 0xbffffb90 in ?? ()
#121 0xbffffb10 in ?? ()
#122 0xbffffa90 in ?? ()
#123 0x00000000 in ?? ()
#124 0xbffffa30 in ?? ()
#125 0xbffff998 in ?? ()
#126 0x41278d23 in operator delete () from /usr/lib/libstdc++.so.5
#127 0x0804f7dd in ?? ()
#128 0x00000000 in ?? ()
#129 0xbffffc8e in ?? ()
#130 0x00000001 in ?? ()
#131 0x00000000 in ?? ()
#132 0x00000000 in ?? ()
#133 0x00000000 in ?? ()
#134 0x00000000 in ?? ()
#135 0x00000000 in ?? ()
#136 0x00000000 in ?? ()
#137 0x080505f6 in _IO_stdin_used ()
#138 0xbffffd34 in ?? ()
#139 0xbffffc68 in ?? ()
#140 0x412fac34 in __cxa_atexit () from /lib/libc.so.6
#141 0x412e4e36 in __libc_start_main () from /lib/libc.so.6
#142 0x0804b6d1 in ?? ()
Comment 1 evilmrhenry 2005-08-31 02:12:36 UTC
Oops. The tabs didn't show up. Thankfully it works with spaces as well:
file:
 abc
  abc

paste:
 abc
 abc
  abc
Also, I just noticed that this only occurs if the file is in Python markup mode.
Comment 2 Christoph Cullmann 2005-09-29 20:02:45 UTC

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