Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,108
    • Issues 2,108
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #34708
Closed
Open
Issue created Dec 16, 2018 by FPC Admin account@fpc_adminOwner

ImageList memory leak

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)
Assignee
Assign to
Time tracking