[lazarus] Compile freezes up ??

David Creelman dave at geko.net.au
Sat Oct 26 07:44:54 EDT 2002


Hi All,

Just did an update and recompile and it all worked  !!
Thanks for fixing that one.

Seems it was the TPoint issue after all and not the circular references
(though it's good to be rid of them too).

On a side note, even when the compile was failing, if it was started
from a console window it would lock up but could still be killed with ^c
without killing XWindows. So if we ever run into that kind of compile
lock up it might be useful to remember that.

It is a bit of a worry that a the compiler, a user program, could lock
up the whole machine so tightly. I run seti on my machine here and I
noticed that it was running so hot that the idle task (setiathome)
didn't even get a look in (via the system usage meter before it truly
bit the dust). Do the FPC guys know about this ?

Cheers
DC

On Sat, 2002-10-19 at 18:19, David Creelman wrote:
> Strange,
> 
> For me I can't even compile lazarus now. I do cvs update;make clean all
> and then on graphicsmath.pp, the compiler becomes extremely busy and
> XWindows response becomes very slow and eventually it crashes X11. This
> is before even running it. Everything worked okay a few days ago. What
> has changed ?
> 
> Regards
> David
> On Sat, 2002-10-19 at 08:34, Andrew Johnson wrote:
> > On Fri, 18 Oct 2002 14:47:28 +0200
> > "Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote :
> > 
> > >
> > >On Fri, 18 Oct 2002 08:12:18 -0400
> > >"Andrew Johnson" <aj_genius at hotmail.com> wrote:
> > >
> > > > On Thu, 17 Oct 2002 17:06:33 +0200
> > > > "Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote :
> > > >
> > > > >The problem is not, where it does _not_ freeze. I myself don't
> have
> > > > >such a freezer.
> > > > >The freezes appear on a RH7.3 to RH8.0 upgraded computer and with
> the
> > > > >
> > > > >current lazarus, the lazarus one month ago, but not the lazarus 2
> > > > >months ago.
> > > > >So, this is probably something Andrew and I have done.
> > > >
> > > > Hmm, I just thought of something.. I had set Hint Window's to be
> > > > transient to the main form, before I changed the BorderStyle code,
> but
> > > > I never removed it when I was done. Since Hint Window's are still
> > > > popup's..it is possible that they could get stuck recieving all
> > > > Lazarus Mouse calls, though I thought this had been fixed, but if
> > > > something in X or later versions of GTK has changed the behaviour
> of
> > > > popup's this could have some deadly results. Try disabling the
> code
> > > > that set hint windows transient for now. It is in the create
> routine..
> > > > I will look into making Hint windows Bordlerless Transient Dialogs
> > > > instead on my system here and see how well that works. If it takes
> > > > care of all the problems I will commit it and see what happens for
> > > > other people using RH >=7.3
> > >
> > >I also thought so, but the hints were not created at all and it
> freezes.
> > >I looked at the grabbing code in the gtk itself and found out, that
> the
> > >old capturing code in the gtk interface did not really play nice
> > >together with some of the gtk widgets. So, I completely rewrote the
> > >capturing/uncapturing and now it seems to work ... time will show ...
> > 
> > Well bright side.. I think, though I can't be positive yet, that at
> least 
> > the hintwindow errors on destroy widget are gone now. I think that
> transient 
> > windows are destroyed with the parent, so if hint windows still
> existed(had 
> > valid handles in memory).. we get invalid typecasts.
> > 
> > Andrew
> > 
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online 
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail lazarus-request at miraclec.com with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> 
> 
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives







More information about the Lazarus mailing list