Bug 135336 - crash when Find-Select-Replace with "remove trailing spaces" on
Summary: crash when Find-Select-Replace with "remove trailing spaces" on
Status: RESOLVED DUPLICATE of bug 123267
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: grepview (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 13:01 UTC by Renaud Detry
Modified: 2013-03-31 01:22 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 Renaud Detry 2006-10-09 13:01:52 UTC
Version:           3.3.2 (using KDE 3.5.4, Debian Package 4:3.5.4-3 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-2-686

Dear reader,

I have the following crash scenario:

"Remove trailing spaces" is checked in the "Settings">"Configure Editor">"Open/Save" box.

Create a C++ project, have multiple files containing
using namespace zzzzzzz;

Select "Edit">"Find-Select-Replace".

Fill the search & replace strings to replace "using namespace zzzzzzz" with "using namespace xxx", hit "Find & replace".

Hit the "Replace" button to effectively replace throughout the project.

KDevelop crashes, see the backtrace at the end of this message.

Note that not all search/replace strings cause a crash. I have not investigated that though.

If I uncheck the "Remove trailing spaces" setting, KDevelop does not crash.

Cheers,
Renaud.

(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)
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1509759296 (LWP 14841)]
[New Thread -1523319888 (LWP 14843)]
(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)
(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)
(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  0xa4add3c4 in KateDocument::removeTrailingSpace ()
   from /usr/lib/kde3/libkatepart.so
#6  0xa4ade572 in KateDocument::editRemoveText ()
   from /usr/lib/kde3/libkatepart.so
#7  0xa4adff4a in KateDocument::removeText ()
   from /usr/lib/kde3/libkatepart.so
#8  0xa4ae0a0f in KateDocument::removeText ()
   from /usr/lib/kde3/libkatepart.so
#9  0xa4a493b6 in KateDocument::clear () from /usr/lib/kde3/libkatepart.so
#10 0xa4a529b8 in KateDocument::setText () from /usr/lib/kde3/libkatepart.so
#11 0xa58873a3 in ReplaceWidget::makeReplacements ()
   from /usr/lib/kde3/libkdevreplace.so
#12 0xa58877a2 in ReplaceWidget::replace ()
   from /usr/lib/kde3/libkdevreplace.so
#13 0xa5888812 in ReplaceWidget::qt_invoke ()
   from /usr/lib/kde3/libkdevreplace.so
#14 0xa6847b87 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xa6848618 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xa6bd9c67 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#17 0xa68e4b26 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#18 0xa687e528 in QWidget::event () from /usr/lib/libqt-mt.so.3
#19 0xa67dfaea in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#20 0xa67e1c8d in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0xa6f7752e in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0xa6773445 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#23 0xa67720df in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#24 0xa6770660 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#25 0xa6786cb2 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#26 0xa67fa03d in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0xa67f9e5e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0xa67e1683 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0x0804e08e in ?? ()
#30 0xafaec280 in ?? ()
#31 0x080a9ba0 in ?? ()
#32 0xafaec3fc in ?? ()
#33 0x00000001 in ?? ()
#34 0x0805243d in vtable for QGList ()
#35 0x00000001 in ?? ()
#36 0x08052530 in vtable for QGList ()
#37 0x080524e1 in vtable for QGList ()
#38 0x08051d19 in vtable for QGList ()
#39 0x08051d05 in vtable for QGList ()
#40 0x0804bc4f in ?? ()
#41 0xafaec288 in ?? ()
#42 0xa60c6c4f in malloc () from /lib/tls/libc.so.6
#43 0xa6073ea8 in __libc_start_main () from /lib/tls/libc.so.6
#44 0x0804d521 in ?? ()
Comment 1 Bram Schoenmakers 2006-10-09 19:44:56 UTC

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