On 05/06/2010 20:20, Martin wrote:
Unfortunately no luck.
-gh -g -gt -gl -gw -godwarfsets -CX -XX -Xs -O2 -Oonocse
I noted that if I compile with -Cr (range checks), then it fails
earlier (ButtonPanel.Create) => but that is also shortly after
bitbtn.kind (bitbtn.create) code. It also fails with a SigSegV, not
with a range-check.
BitBtn.kind loads glyphs from resources... So there could be something
there. Only it must be something that doesn't crash straight ahead.
=> like accessing random mem => or messng around with the stack a few
frames above it's own stack (since I guess a sigsegv inside a
procedures "end" means that the current stackframe got corrupted?)
Just tested with 2.4.1 branch => no problems there
Martin
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel