Major problem with CSVDataset lazarus / 16-Databases ---------------------------------------------------------------------- wmeyer · 2021-01-13 18:56 I am new to Lazarus, but a long time Delphi dev. I have noticed a problem with the CSVDataset component, and have minimized the steps needed to reproduce. Create a new GUI applicationPut a CSVDataset on the form.Select the CSVDatasetIn the Object Inspector, select a csv file. Mine has 5 columns, and maybe a thousand rows.Now set the CSVDataset.Active to true. Wait a few seconds for it to read the file.Now set the CSVDataset.Active to False.In a few seconds, the IDE will crash. Simple and repeatable. If I add a TDataSource and a VirtualDBGrid, and set Active in the OnFormCreate event, it works fine, reads the file, presents the data. So the file is fine (verified in other apps, as well as by inspection in Notepad++). And as the TDataSource and the VirtualDBGrid are not needed to illustrate the problem, it is clearly a defect of the component itself. My OS is Windows 10 64-bit. I am using Lazarus 2.0.10, installed from a fresh download just a few days ago. Thanks! ---------------------------------------------------------------------- dseligo · 2021-01-13 20:50 Confirmed, same OS and same Lazarus version. You should report bug I guess. ---------------------------------------------------------------------- wp · 2021-01-13 21:14 I had reported this two years ago (https://bugs.freepascal.org/view.php?id=34435), it was fixed, and the test project that I had added is working now (same Windows, same Laz).  I can confirm, however, that the IDE crashes when Active is set to false. Yes, please file a bug report, and refer to my report. [EDIT] I tested also with fpc 3.3.1 and see the issue there, too. ---------------------------------------------------------------------- wmeyer · 2021-01-13 22:12 Reported in 38352.  Reference to yours has already been added.