Saving as FastReport template is incorrect. When creating new report based on template application crash
Original Reporter info from Mantis: forest
-
Reporter name: Boguslaw Brandys
Original Reporter info from Mantis: forest
- Reporter name: Boguslaw Brandys
Description:
First crash is when template has assigned bitmap:
FPImageException - Wrong image format
$00478603 TFPCUSTOMIMAGEREADER__IMAGEREAD, line 233 of src/fphandler.inc
$00474535 TFPIMAGEBITMAP__READSTREAM, line 131 of ./include/fpimagebitmap.inc
$00466E76 TRASTERIMAGE__LOADFROMSTREAM, line 435 of ./include/rasterimage.inc
$00474AF2 TBITMAP__LOADFROMSTREAM, line 148 of ./include/bitmap.inc
$00466D93 TRASTERIMAGE__LOADFROMSTREAM, line 414 of ./include/rasterimage.inc
$00596BD3 TFRREPORT__LOADTEMPLATE, line 7906 of lr_class.pas
$00686FCC TFRTEMPLFORM__LISTBOX1CLICK, line 83 of lr_newrp.pas
$004C70D4 TCONTROL__CLICK, line 2227 of ./include/control.inc
$00518121 TCUSTOMLISTBOX__CLICK, line 624 of ./include/customlistbox.inc
$004C6E2D TCONTROL__WMLBUTTONUP, line 2116 of ./include/control.inc
$0051759D TCUSTOMLISTBOX__WMLBUTTONUP, line 306 of ./include/customlistbox.inc
$0040B3FE TOBJECT__DISPATCH, line 465 of E:/projekty/fpc/rtl/inc/objpas.inc
$004BDCE2 TWINCONTROL__WNDPROC, line 4914 of ./include/wincontrol.inc
$005440B7 DELIVERMESSAGE, line 111 of lclmessageglue.pas
$004E36FE WINDOWPROC, line 2571 of win32callback.inc
$7E368734
$7E368816
Second crash is when template has no bitmap and occur when new report is created based on template.Application starts to consume huge amount of memory and need to be killed or consume all available memory after a long time.No exception this time looks like infinite loop.
Mantis conversion info:
- Mantis ID: 14137
- OS: windows xp home
- OS Build: 32-bit
- Build: Lazarus 0.9.27 r20829 FPC 2.3.1
- Platform: windows
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 42996 (#6054b066)
- Monitored by: » rrricci (Renato Ricci)
- Target version: 1.2.0
- LazTarget: 1.2