Discussion:
[Lazarus] windows EStackOverflow if compiled with -WG
Andreas Frieß via Lazarus
2018-07-20 09:20:04 UTC
Permalink
I make a project according the sample in
http://wiki.freepascal.org/Form_in_DLL

Compile the programm with -WG activated and started in Commandline
direct, i got a EStackOverflow if i open the form in the dll

Compile the programm with -WG deactivated and started in Commandline
direct, it runs normal

Compile the programm with -WG activate and started in Lazarus (with gdb)
it runs normal

Compile the programm with -WG deactivate and started in Lazarus (without
gdb), i got a EStackOverflow if i open the form in the dll

Any hints whats the diffence, or can happens ?


Andreas


--
Andreas Frieß via Lazarus
2018-07-23 07:39:47 UTC
Permalink
Post by Andreas Frieß via Lazarus
I make a project according the sample in
http://wiki.freepascal.org/Form_in_DLL
Compile the programm with -WG activated and started in Commandline
direct, i got a EStackOverflow if i open the form in the dll
With the actual trunk (fpc&Lazarus) i get a EInOutError -> Disk full

I found the reason:
When i activate LazLogger in the DLL, the error is raised. If i remove
LazLogger it works as expected.

Is this a Bug in LazLogger or by design ?

Andreas

Loading...