[Lazarus] Tracking down an intermittent termination exception
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Tue Mar 26 11:13:44 CET 2013
Mattias Gaertner wrote:
>> Looking at classes.inc, I see that the affected line is
>>
>> DoneCriticalSection(SynchronizeCritSect);
>>
>> Assuming that this is a problem in my own code, what sort of thing
>> should I be looking for?
>
> Double call of DoneCriticalSection, missing InitCriticalSection, heap
> corruption.
So does that imply that I'm doing something careless like nesting a
Synchronize() or calling it from the main thread?
>> Laz+LCL 1.1, FPC 2.6.2, Linux x86. This might in practice happen most
>> often when X is tunneled over ssh: could this mess up LCL termination?
>
> As far as I know: no
Thanks for that, I'll keep my eyes open.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list