[Lazarus] External SIGSEGV (random) when assigning TBookmark

Virgo Pärna virgo.parna at mail.ee
Mon Nov 2 12:57:38 CET 2015

On Sun, 1 Nov 2015 17:06:18 +0100, Luca Olivetti <luca at wetron.es> wrote:
> El 01/11/15 a les 13:25, Leonardo M. Ramé ha escrit:
>> To me, the code looks correct, but I'm getting a SIGSEGV while assigning
>> the bookmark. I must add the error only happens the 2nd or 3rd time this
>> method is called:
> I suppose that's because the bookmark is only valid while the query is 
> opened, buy you close it between getting the bookmark and setting it.

	Also: in my experience in Delphi closing with DisableControls
active is a bad idea. I have seen cases, when components are still
referencing old field instances.

Virgo Pärna 
virgo.parna at mail.ee

More information about the Lazarus mailing list