Crash in decoding RLE4 bitmaps in intfgraphics.pas
Original Reporter info from Mantis: BugTrack
-
Reporter name: Andre Scholberg
Original Reporter info from Mantis: BugTrack
- Reporter name: Andre Scholberg
Description:
I get a SIGSEGV exception when loading certain images in:
intfgraphics.pas, line 4990. package LCLBase.
The error occurs both in my own app and in the otherwise excellent image viewer example application (imgview).
I am loading playing cards in a card game. Some load OK, many do not.
This freezes attempts to convert my D7 app to Lazarus.
Steps to reproduce:
Compile and run the image viewer application.
Try opening the bitmaps of playing cards in the attached zip file:
H02.bmp, C04.bmp do not load and produce the error.
D13.bmp is loaded correctly (no error).
Additional information:
The bug was reported in the Graphics forum. One answer was:
Quote
Had a bit of the same problem a few years ago.
I changed my images to PNG and everything was
working again, so i never looked at the problem ?
Maybe it was just lucky
Unquote.
Mantis conversion info:
- Mantis ID: 25366
- OS: Windows
- OS Build: 7
- Build: 1.0.14
- Platform: 64 bits
- Version: 1.0.10
- Fixed in version: 1.3 (SVN)
- Fixed in revision: r43497 (#29108eb5)
- Monitored by: » BugTrack (Andre Scholberg), » BigChimp (Reinier Olislagers), » @flyingsheep (Bart Broersma)
- Target version: 1.2.0RC2