Recent

Author Topic: [CLOSED] Bug - "Access violation" when trying to remove a TSQLQuery with ...  (Read 2412 times)

paweld

  • Hero Member
  • *****
  • Posts: 966
As bugtracker is currently offline, I report bug here to not forget.

The error occurs from the revision 64985: https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=64985
Tested on Lazarus trunk, Windows 10 and Debian 10.

Steps to reproduce:
1. put TSQLQuery on the Form
2. right mouse button on a sqlquery component
3. select "Edit Fields..."
4. create new field
5. close a "Edit Fields..." window
6. delete a SQLQuery component
« Last Edit: September 26, 2021, 01:44:22 pm by paweld »
Best regards / Pozdrawiam
paweld

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
The error occurs from the revision 64985: https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=64985
Tested on Lazarus trunk, Windows 10 and Debian 10.
That would be my commit: "Designer: When removing a component, remove its owned item declarations in source. Issue #38731."

Quote
Steps to reproduce:
1. put TSQLQuery on the Form
2. right mouse button on a sqlquery component
3. select "Edit Fields..."
4. create new field
5. close a "Edit Fields..." window
6. delete a SQLQuery component
Yes, the create new field button does it. I think I have always added fields with the '+' button.
Reverting r64985 indeed fixes it. I must see what issue #38731 says. Reverting may not be enough.
I think the bugs are being transferred to GitLab. Waiting ...
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

paweld

  • Hero Member
  • *****
  • Posts: 966
Best regards / Pozdrawiam
paweld

 

TinyPortal © 2005-2018