[fpc-devel] zstream, fpc and lazarus

Vincent Snijders vsnijders at quicknet.nl
Sat Dec 1 22:35:19 CET 2007


Daniƫl Mantione schreef:
> 
> If committed a proper fix, as bonus you can now randomly seek through the 
> compressed file, there are no limitations anymore.
> 

Unfortunately, it still crashes Lazarus:
[FORMS.PP] ExceptionOccurred
   Sender=Ecompressionerror
   Exception=buffer error
   Stack trace:
   $0050802E  TDECOMPRESSIONSTREAM__READ,  line 299 of src/zstream.pp
   $00501F9B  DECODE,  line 755 of src/fpreadpng.pp
   $00501D74  TFPREADERPNG__DODECOMPRESS,  line 771 of src/fpreadpng.pp
   $004FF53D  TFPCUSTOMIMAGEREADER__IMAGEREAD,  line 230 of 
src/fphandler.inc
   $004FE391  TFPCUSTOMIMAGE__LOADFROMSTREAM,  line 37 of src/fpimage.inc
   $004AD081  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
   $004A4394  TBITMAP__LOADFROMSTREAM,  line 459 of ./include/bitmap.inc
   $004A07F0  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of graphics.pp
   $00428C56  CREATEBUTTON,  line 1433 of main.pp
   $004287BB  TMAINIDE__SETUPSPEEDBUTTONS,  line 1462 of main.pp
   $00427A27  TMAINIDE__CREATE,  line 1119 of main.pp
   $00402943  main,  line 93 of lazarus.pp



More information about the fpc-devel mailing list