Page 1 of 1

DADump's backup error

Posted: Mon 28 Jul 2014 15:08
by a.alekizoglou
Hi,

with uniDAC 5.2.8, I am using the DADump to make a backup. In a table with more than 1000 rows the flow goes to Memdata's, iterates three times in the while loop, and get an invalid pointer into Item. After that I have an AV in the while loop's Item.Order

Code: Select all

procedure SetRecordNo(Value: Longint);
.
.
.
    if (Value < Abs(LastOrderedItem.Order + FRecordNoOffset - Value)) and
      (Value < Abs(CurrItem.Order + FRecordNoOffset - Value))
    then begin
    // from first
      Item := FirstItem;
      ForwardDir := True;
    end
.
.
.
    while (IntPtr(Item) <> nil) and (Item.Order + FRecordNoOffset <> Value) do
      if ForwardDir then begin
        if IntPtr(Item.Next) = nil then
          Fetch;
        Item := Item.Next
      end
      else
        Item := Item.Prev;
.
.
Have you noticed that?

Re: DADump's backup error

Posted: Tue 29 Jul 2014 11:41
by a.alekizoglou
Well, it seems that is fixed.

I tried with 5.3.9, and the problem is fixed.

Re: DADump's backup error

Posted: Tue 29 Jul 2014 11:58
by PavloP
It is good to see that the problem has been solved.