On Fri, 25 Mar 2011 20:51:40 +0200 patspiper <[email protected]> wrote:
> On 03/25/2011 07:40 PM, Mattias Gaertner wrote: > > On Fri, 25 Mar 2011 17:42:51 +0200 > > patspiper<[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
