Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:

> On Wed, Nov 19, 2008 at 3:07 PM, Henry Vermaak <[EMAIL PROTECTED]>
> wrote:
> >
> > before each compile, you can execute a program (see
> > lazarus/tools/svn2revisioninc.pas) that puts the revision number in a
> > revision.inc, or something.  see the "compilation" tab of "compiler
> > options".  you can obviously use this method in a Makefile, too (like
> > lazarus does).
>
>
> I didn't know about the svn2revisioninc.pas file, but I did know about
> the 'compilation' tax
>
> I added a 'getrevision.sh' in the "Execute Before" Command edit box
> and checked Build and Compile.
>
> When I compile, Lazarus IDE crashed and closed without showing any
> error message.
>
> I then thought maybe Lazarus IDE can't find my 'getrevision.sh'
> script, so I added the following in the Command edit box:
> $(ProjPath)/getrevision.sh
>
> Again the same thing. When I compile Ctrl+F9 Lazarus IDE simply
> crashes and closes. :-(

I can reproduce the bug under linux by creating an empty file with executable
perms set.
TProcess then forks a child process and for some reason the Halt of the child
process is not invoked. Two instances of the IDE are running, playing havoc,
resulting in a crash.
I was not able to reproduce it in a simple example though.
I have no clue what to search next.

Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to