[Lazarus] TStringList.Destroy generate SIGSEGV with Zeos 6.6.6

Vincent Snijders vincent.snijders at gmail.com
Fri Mar 30 17:03:21 CEST 2012


Op 30 maart 2012 16:37 heeft Daniel Simoes de Ameida
<dopidaniel at yahoo.com.br> het volgende geschreven:
> Hi All,
>
> On recent FPC 2.6.1 I notice a strange behavior with TStringList.Destroy
> TStringList.Destroy, calls method TStringList.Clear, but the problem is that
> TStringList.Clear call methods Changing and Changed
>
> This affect Zeos 6.6.6, I presume is because Zeos try to read Params from
> the SQL.Text, every time a Change occurs
>
> I suggest a new InternalClear method, without calling Change/Changed that
> can be used in Destroy and Clear methods...

see also:
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=20570

Vincent




More information about the Lazarus mailing list