TBufDAtaset: After Setting Up TBufDAtaset, setting acitve to false crashes App/ Lazarus
Original Reporter info from Mantis: usrpad11
-
Reporter name: Willi Meier
Original Reporter info from Mantis: usrpad11
- Reporter name: Willi Meier
Description:
TBufDAtaset: After Setting Up TBufDAtaset, setting active first to true then to false crashes App/ Lazarus
Steps to reproduce:
-new project
-place BufDataset- compontent on form
-in property-editor open fielddefs- window, add 3 fielddefs, set them to int, close
-in property-editor add FileName c:/aa
-add Button to Form with click- event containing:
BufDataset1.CreateDataset;
-start app
-click button once
-end app
-mark the BufDS component on the form, so that prop-editor is visible
-go to active property, click on it so that its true
-click on it so that its false, draw the mouse pointer to somewhere else
-> Access Violation
-Click OK on the Access Violation field
-move mouse pointer over the active-property again
-move it away again
-> Access Violation
etc
finally, click abort on the AV-messagewin:
Lazarus closed instantly
Additional information:
looks little bit same direction like ID 0037981;
i first testet something similar on MX Linux, where in similar situation BufDS crashed,
(so i found this situation)
and i could simply build above szenario on Win 10 as described.
(On MX Linux also newest Lazarus;)
Mantis conversion info:
- Mantis ID: 39014
- OS: Win 10
- OS Build: Home
- Platform: PC
- Version: 2.0.12