ImageList memory leak
Original Reporter info from Mantis: 007
-
Reporter name: lainz
Original Reporter info from Mantis: 007
- Reporter name: lainz
Description:
https://forum.lazarus.freepascal.org/index.php/topic,43525.msg305057.html#msg305057
TApplication.HandleException: EOutOfMemory
Out of memory
Stack trace:
$00413B9A
$00413EDA
$0061B2B2 ALLOCDATA, line 329 of include/imglist.inc
$0061BF46 INTERNALINSERT, line 626 of include/imglist.inc
$0061E112 ADDSLICE, line 1390 of include/imglist.inc
$0062227A ADDNEWBTNIMAGE, line 2745 of include/imglist.inc
$00621F76 GETIMAGEINDEX, line 2781 of include/imglist.inc
$007F96CD GETIMAGEINDEX, line 290 of ideimagesintf.pas
$008494C8
$008663DE
$00875CE8
$0043A61E GETCHILDREN, line 1072 of include/customform.inc
$008755B0
$00875E7A
$008760E7
$00875F59
$008785B8
Steps to reproduce:
I have a big form with many image lists on it, when I'm using the IDE it crashes, the log file points that the leak comes from image list if I understand it correctly.
Mantis conversion info:
- Mantis ID: 34708
- OS: Windows
- OS Build: 10
- Build: 59627
- Platform: i386
- Version: 2.1 (SVN)
- Fixed in revision: 59892 (#042ab482)