[fpc-devel] fpc-image crashes on loading jpeg

Marco van de Voort marcov at stack.nl
Mon Jul 19 21:13:48 CEST 2010


In our previous episode, Felipe Monteiro de Carvalho said:
[ Charset ISO-8859-1 unsupported, converting... ]
> Hello,
> 
> Regarding this bug: http://bugs.freepascal.org/view.php?id=16983
> 
> Does anyone have any ideas about what I should be looking for to fix it?
> 
> I got stuck in the stack frame between #2 and #3:
> 
> 0000002 0x00121d20 in JERROR_ERREXIT1$J_COMMON_PTR$J_MESSAGE_CODE$LONGWORD ()
> 0000003 0x000fe9b0 in
> FPREADJPEG_TFPREADERJPEG_$_INTERNALREAD$TSTREAM$TFPCUSTOMIMAGE_READPIXELS
> ()
> 
> Because there is no call to ErrExit in FPReadJPEG.pas

But there is:

 FError:=jpeg_std_error;
 FInfo.err := @FError;

Maybe something ancestor can call it?



More information about the fpc-devel mailing list