[Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Mar 7 09:01:57 CET 2012

On Tue, 6 Mar 2012, Andrew Brunner wrote:

> Up until a few days ago I was using my service daemon app (X) to launch a
> console application (Y) worked flawlessly.  The service daemon monitors for
> crashes and scale and can create instances at runtime.
> I did a trunk update to both FPC and Lazarus and App Y got a bunch of
> linker errors (see below) so I included interfaces unit and (Y) builds just
> fine.

You should not include this unit. That's an error.

> if executed from a Desktop App TProcess (Y) enters the program loop. :-)
> If executed (X) inside a Service Daemon TProcess (Y) zombies and never
> enters the program loop :-(
> The service daemon is mission critical to my project and this is a pretty
> serious issue.
> Errors when I try to build Process app without Interfaces unit :

It means you have a LCL component somewhere in your app, that's what's
causing this.


More information about the Lazarus mailing list