[Lazarus] Rescan FPC sources crashes Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 25 21:23:54 CET 2011


On Fri, 25 Mar 2011 20:51:40 +0200
patspiper <patspiper at gmail.com> wrote:

> On 03/25/2011 07:40 PM, Mattias Gaertner wrote:
> > On Fri, 25 Mar 2011 17:42:51 +0200
> > patspiper<patspiper at gmail.com>  wrote:
> >
> >> Hi,
> >>
> >> Clicking on Tools/Rescan FPC sources crashes the IDE. However, this is
> >> not the case if the IDE includes only its basic packages.
> >>
> >> Can anybody reproduce?
> > Can you find out, what package is the trouble maker?
> It turned out to be a package I had converted from Delphi and installed 
> in the IDE. It has System.IsMultiThread:=true in the initialization 
> section. Commenting this out eliminated the crash.

It is set by the RTL, when switching from single threaded to multi
threaded and back. Only read this, do not set it.


> What does this property do, and what are the effects of commenting it 
> out? The cross platform package uses threads and apps that use it must 
> use -dUseCThreads (in Linux).


Mattias




More information about the Lazarus mailing list