[fpc-devel] fpc 2.7.1 segfault in writestr?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 5 22:37:34 CET 2013


On 15 Feb 2013, at 23:38, Martin wrote:

> 
> RTL build with OPT="-gl -gw -godwarfsets -O-1"
> compiler build with OPT="-gl -O3 -Or -CpPENTIUMM -OpPENTIUMM"
> Lazarus  -WC -gh -Criot -gw2 -godwarfsets -O-1 -gt
> 
> The following line crashes with SigSegV
>    writestr(BaseConf, AType,':',
>             ' IMode=', dbgs(AIndentMode), ' IMax=', AIndentFirstLineMax, ' IExtra=', AIndentFirstLineExtra,
>             ' CMode=', ACommentMode, ' CMatch=', AMatchMode, ' CLine=', AMatchLine,
>             ' M=''', AMatch, ''' R=''', APrefix, ''' CIndent=', ACommentIndent
>            );
> 
> 
> Stepping through the disassembler it happens in a cass to
> 0046E95B e8e03efaff               call   0x412840 <fpc_write_end>

As mentioned before: please post a compilable example that demonstrates the problem.


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130305/182afec4/attachment.html>


More information about the fpc-devel mailing list