I have another problem
https://forum.lazarus.freepascal.org/index.php/topic,69558.0.html and to test that I wrote a small command line program. If I run it in a terminal then it ends up in an infinite error loop (it is interesting in itself why a loop when the whole program is linear - see there). So, if I kill it with Ctrl-C it stops.
However if I run it from Lazarus (without debugging) the error is not shown in the terminal window (CtrlAlt-O) and it seems that the program ended. I can even normally exit Lazarus.
However the program runs in the background on and as it is an infinite loop of errors it generates lot os entries in the syslog and in the user log. As you do not notice that the program is still running (it has no terminal, nothing) and it does not end when the mother process (Lazarus) exits, it can just eat disk space slowly.
So, after a while I got a disk full error and a system crash.
Is it a bug somewhere or is it normal behavior?