Page 1 of 1

Logarithmic Axis Bug (v.8.01.10798)

Posted: Sun Sep 30, 2007 7:57 pm
by 9337075
I just uploaded to Steema upload page an example revealing a bug in
Logarithmic axis mode (file LogAxisBug.zip).

The project includes a precompiled executable. The bug is clearly seen in
debug mode when the project was compiled with range check = on.

The exception raises in the "TeEngine.pas" (version 8.01.10798, September
release), around lines 4578-4579:

if tmpNumTicks>0 then // 7.0 fix first tick
begin
tmpValue:=CalcPosPoint(Tick[tmpNumTicks-1])/LogarithmicBase;
DrawLogMinorTicks(tmpValue);

for t:=-1 to tmpNumTicks-3 do
DrawLogMinorTicks(CalcPosPoint(Tick[t]));


It is obvious, that the index of dynamic array Tick is -1 in this loop!

I am using Delphi 2007 + SP3

Best regards,
Michael

Posted: Mon Oct 01, 2007 1:07 pm
by narcis
Hi Michael,

Thanks for the information. I've been able to reproduce the issue here and added it (TV52012480) to our defect list to be reviewed for future releases.