[Lazarus] windows EStackOverflow if compiled with -WG

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] windows EStackOverflow if compiled with -WG

Free Pascal - Lazarus mailing list
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


--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] windows EStackOverflow if compiled with -WG

Free Pascal - Lazarus mailing list
Andreas Frieß via Lazarus wrote:

> 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


--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus