[fpc-devel] Stack misalignment?

Florian Klämpfl florian at freepascal.org
Sun Mar 1 09:35:35 CET 2020


Am 29.02.20 um 12:12 schrieb C Western:
> FPC version r44191 seems to be causing problems for a lazarus 
> application – it crashes on exit, with a segmentation fault. This is 
> x86_64 on linux, with the gtk2 widget set, and the crash occurs in one 
> of the system gtk c library routines. If I am interpreting the gdb 
> information correctly the issue seems to be a misaligned stack – the 
> faulting instruction is MOVAPS involving a stack location. A little more 
> probing with gdb suggests the misalignment is introduced in the 
> InternalExit routine in the rtl.
> 

I think I have an idea what's wrong. I'll look into it.



More information about the fpc-devel mailing list