Assertion in ImageList fails on 64-bit Linux
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
In lcl/include/imglist.inc :
procedure TCustomImageList.AllocData(ACount: Integer);
var
n: Integer;
begin
Assert(FAllocCount >= FCount, 'Less space allocated than images');
...
The assertion above fails when starting Lazarus, compiled with -Sa.
This happens only on 64-bit system. Tested on Fedora 13 Linux.
Apparently the assertion itself is correct so there is a memory corruption, too.
Mantis conversion info:
- Mantis ID: 17456
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 28397 (#81ca694b)
- Target version: 0.9.30