TIniPropStorage crash when saving boolean or integer
Original Reporter info from Mantis: forest
-
Reporter name: Boguslaw Brandys
Original Reporter info from Mantis: forest
- Reporter name: Boguslaw Brandys
Description:
TIniPropStorage crash when code use WriteBoolean or WriteInteger or Read Boolean. Strangely seems to invoke method call on nil object.
stacktrace added:
EAccessViolation - Access violation
$0057BF2B TCUSTOMINIPROPSTORAGE__DOWRITESTRING, line 273 of inipropstorage.pas
$004D13E4 TCUSTOMPROPERTYSTORAGE__DOWRITEINTEGER, line 670 of propertystorage.pas
$004D166C TCUSTOMPROPERTYSTORAGE__WRITEBOOLEAN, line 754 of propertystorage.pas
$005CDA30 TUSTAWIENIA__FORMCLOSE, line 68 of frmustawienia.pas
$00419C2D TCUSTOMFORM__DOCLOSE, line 721 of ./include/customform.inc
$00418746 TCUSTOMFORM__CLOSEMODAL, line 37 of ./include/customform.inc
$0041CC86 TCUSTOMFORM__SHOWMODAL, line 2273 of ./include/customform.inc
$005CD846 SHOWUSTAWIENIA, line 44 of frmustawienia.pas
$004257D4 TFRMMAIN__MENUUSTAWIENIACLICK, line 174 of main.pas
$004CC491 TMENUITEM__CLICK, line 74 of ./include/menuitem.inc
$004CCAA0 TMENUITEM__DOCLICKED, line 266 of ./include/menuitem.inc
$0040B32E TOBJECT__DISPATCH, line 465 of E:/projekty/fpc/rtl/inc/objpas.inc
$7E368734
$7E368816
$7E3689CD
$7E368A10
$004E1A2D TWIN32WIDGETSET__APPPROCESSMESSAGES, line 379 of win32object.inc
Steps to reproduce:
Additional information:
WriteString/ReadString works fine
Mantis conversion info:
- Mantis ID: 14115
- OS: windows xp home
- OS Build: 32-bit
- Build: Lazarus 0.9.27 r20800 FPC 2.3.1
- Platform: windows
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 21127 (#552c41ac)
- Target version: 1.0.0
- LazTarget: 1.0