In an application, I'm repeatedly setting a parameter values and calling ExecSQL on the TIBCQuery component.
After several thousand rows, this suddenly fails on a text blob parameter with an access violation.
Code: Select all
FCommand.Params[Index].AsWideString := 'this is a wide string';
According to the call stack, it happens in TBlob.Clear + $26, from TDAParam.SetAsWideString + $6C.
Using Delphi XE7, version 7.1.3 of IBDac. In the fixes list for the newer versions, there's nothing about blobs.
Note: this doesn't happen at once, only after a few thousand iterations.