TMemo crashes when pasting big amounts of text
Original Reporter info from Mantis: alexx
-
Reporter name: Alexander Todorov
Original Reporter info from Mantis: alexx
- Reporter name: Alexander Todorov
Description:
TMemo crashes when pasting text over 4000 characters.
Steps to reproduce:
With the provided test project I do the following:
- run the program -> Memo1 is empty
- write the string "1234567890"
- mark this and press Ctrl+C /Copy/
- press and hold Ctrl+V for some time
The application crashes and shows that Length(Memo1.Lines.Text) = 4200 /see source code/
This happens when pasting with blocks of 10 / 50 / 100 characters.
When holding down a singl key, e.g. "A" it happened to crash between 6000th and 7000th character.
Does not happen when built with Gtk1 or Win32. Only with Gtk2
Mantis conversion info:
- Mantis ID: 2053
- OS: Linux
- Platform: i386
- Version: 0.9.14
- Monitored by: » DarekM (Darek Mazur)
- Target version: 0.9.28