[fpc-devel] crash with -gt -O2 in trunk
Martin
lazarus at mfriebe.de
Sat Jun 5 18:09:52 CEST 2010
Ok, I should say first, I do not know if it is fpc, or lazarus. At the
moment I guess fpc.
It only happens in trunk (15366, also seen with earlier trunk) / rel
2.4.0 seems to be not affected
It only happens in combination of -O2 and -gt together.
Compiled lazarus with: -gh -gt -g -gl -gw -godwarfsets -O2
According to the debugger (if it can be trusted on -O2) this is inside
an end statement. It is also within the rtl. So the later makes me think
it could be FPC
Since I am not familiar with this ode, I have no idea how to create a
simple example that triggers the issue (for the same reason I do not
know if it may be caused by something in Lazarus, passed to the RTL).
Observed on Windows Vista / stack is with laz rev 25916
Martin
Exception=Error reading ReplaceAllButton.Kind: Access violation
Stack trace:
$0047ED1A line 1255 of ../objpas/classes/reader.inc
$0047DF6B line 963 of ../objpas/classes/reader.inc
$0047855B line 317 of ../objpas/classes/compon.inc
$0047DCD2 line 927 of ../objpas/classes/reader.inc
$0047DFF5 line 976 of ../objpas/classes/reader.inc
$0047855B line 317 of ../objpas/classes/compon.inc
$0047DCD2 line 927 of ../objpas/classes/reader.inc
$0047DFF5 line 976 of ../objpas/classes/reader.inc
$0047855B line 317 of ../objpas/classes/compon.inc
$0047F74D line 1433 of ../objpas/classes/reader.inc
$004C2970 line 3043 of lresources.pp
$004C27CC line 3063 of lresources.pp
$0041ED11 line 2749 of include/customform.inc
$0084AAC7 line 138 of findreplacedialog.pp
$0042EDB7 line 1477 of main.pp
$00402F33 line 103 of lazarus.pp
More information about the fpc-devel
mailing list