Replace-Dialog (gtk2): "Replace all" crashs if you want to replace many words
Original Reporter info from Mantis: Euklid
-
Reporter name: Alexander Staidl
Original Reporter info from Mantis: Euklid
- Reporter name: Alexander Staidl
Description:
You can reproduce the bug very easy. The following instruction seams to be a bit artificial - in reality the bug appears if you have to replace many words.
-
Start lazarus(gtk2).
-
Add the following line in the sourcecode of a new application-project:
//t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t -
Press ctrl+R to open the Replace-Dialog. Replace t with for example a, mark "Prompt on replace" and click "Replace All"
-
If you now press ENTER very short-frequented, Lazarus will crash.
Additional information:
Lazarus 0.9.26
gtk2
OpenSuSE 11, KDE 4
This bug also appears with Laz Rev 18026
Perhaps the command-line-output will help you:
TApplication.HandleException Access violation
Stack trace:
$0825BEC7 GTKWSBITBTN_STATECHANGED, line 108 of /home/mattias/rpm/BUILD/lazarus-0.9.26/lazarus/lcl/interfaces/gtk/gtkwsbuttons.pp
$B7AB6D2C
$B7AA9C3B
$B7ABE1C7
$B7ABF67E
$B7ABFAE6
$B7DE51E0
$B7DE842C
$B7BD7BD4
$B7BD7D2E
$B7BD8609
$B7AB72A4
$B7AA8389
$B7AA9C3B
$B7ABDE7F
$B7ABF67E
$B7ABFAE6
**
** GLib-GObject:ERROR:(gsignal.c:652):emission_pop: code should not be reached
Mantis conversion info:
- Mantis ID: 12929
- Version: 0.9.26
- Fixed in version: 0.9.26.2
- Fixed in revision: 18174 (#3e472316)
- Target version: 0.9.28