<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 16/03/2013 09:55, Jonas Maebe wrote:<br>
</div>
<blockquote
cite="mid:01985827-E963-4873-A78E-7C352E5171FA@elis.ugent.be"
type="cite"><br>
<div>
<div>On 16 Mar 2013, at 02:35, Paul Ishenin wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Monaco;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">16.03.13, 1:54, Martin wrote:<br>
<blockquote type="cite">revision 23848<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">As reported recently:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">make clean<br>
</blockquote>
<blockquote type="cite">make.exe all LINKSMART=1
CREATESMART=1 DEBUG=1 OPTIMIZE=0 OPT="-gl<br>
</blockquote>
<blockquote type="cite">-O2"<br>
</blockquote>
<br>
No, it does not work.</span></blockquote>
</div>
<br>
<div>It definitely should work (there's even a special extcycle
target in the compiler Makefile to test it), and has worked
mostly in the past. It's not always checked and occasionally
does get broken though.</div>
<br>
</blockquote>
<br>
The above "make" did not match my question. I have a batch and build
several different configurations (mainly differ in debug related
-gs/gw -O1/2 --- the -Cr was just for fun)<br>
<br>
The -Cr make is<br>
<br>
make clean<br>
make.exe all LINKSMART=1 CREATESMART=1 DEBUG=1 OPTIMIZE=0
OPT="-gl -gw -godwarfsets -O-1 -Cr" <br>
<br>
And started to crash a few weeks (maybe few month) back.<br>
<br>
I did never run the testcases for it. Only build it, and used it to
build my tests.<br>
<br>
--------------------------<br>
<br>
The particular crash in question is by <br>
cstringpattern: AnsiString;<br>
len:=length(cstringpattern);<br>
recordtokenbuf.write(cstringpattern[1],len);<br>
with a len of zero, writing 0 bytes from an address that is out of
range.<br>
<br>
<br>
Could be solved by using<br>
{$PUSH} {$R-}<br>
{$POP}<br>
around those lines.<br>
<br>
</body>
</html>