Page 1 of 1

Error DisposeBuf failed

Posted: Tue 15 Dec 2015 11:28
by michaelJ
Hi,
I use IBDAC 5.6.19 on XE7 and somtimes I've got the error:

Code: Select all

DisposeBuf failed D:\Projects\Delphi\Dac\Common\Source\MemData.pas 8299
It seems that is only when I start the application in the IDE, but I'm not shure.

What can I do to solve the problem?

Re: Error DisposeBuf failed

Posted: Wed 16 Dec 2015 13:59
by ViktorV
Please, try to download the latest IBDAC build (5.6.20) and check if this problem still exists.

Re: Error DisposeBuf failed

Posted: Tue 26 Jan 2016 12:11
by hstreicher
Same Problem here with 5.6.20 under Delphi 2007

Summary: EAssertionFailed (Bug E5620000)
Description:
DisposeBuf failed (D:\Projects\Delphi\Dac\Common\Source\MemData.pas, Zeile
8235).
Callstack fro Eurekalog :
|7FFFFFFE|03
|00000000|0068199E|Stamdat.exe|0028199E|MemData|TStringHeap|DisposeBuf |
|00000040|03 |026DF8B4|00679380|Stamdat.exe|00279380|MemData|TData
|FreeComplexField| |

Re: Error DisposeBuf failed

Posted: Tue 26 Jan 2016 14:58
by ViktorV
Please describe the problem in more details or try to compose and send us a small sample demonstrating the issue, including scripts for creating database objects. In addition, specify the Firebird version.

Re: Error DisposeBuf failed

Posted: Fri 29 Jan 2016 18:39
by michaelJ
Hi,
the Problem already exists under 5.6.20.
DisposedBuf failed D:\Projects\Delphi\Dac\Common\Source\Memdata.pas at line 8299.
I've got the error in the stand alone exe and in the IDE, but I can't reproduce the problem.
For test I view and save some Records and after I close the application I've got this message.

Re: Error DisposeBuf failed

Posted: Mon 08 Feb 2016 13:27
by ViktorV
Unfortunately, we couldn't reproduce the issue. In order to investigate the issue, please compose and send us a small sample demonstrating the issue, including scripts for creating database objects.

Re: Error DisposeBuf failed

Posted: Mon 18 Apr 2016 18:46
by michaelJ
I've send some demo-code to your Email-adress.

Re: Error DisposeBuf failed

Posted: Mon 18 Apr 2016 21:21
by michaelJ
Some Additional information:
I've set autocommit=false and options.StrictUpdate=false.

If I edit a Field an press 'Cancel' then I've got the error on TR1.rollback.

Code: Select all

procedure TForm2.Q_KUNDENAfterCancel(DataSet: TDataSet);
begin
 if TR1.Active then
    TR1.Rollback;
    Q_Kunden.open;
end;
But It works, when I set options.FlatBuffers=True. What's the reason?

Re: Error DisposeBuf failed

Posted: Tue 19 Apr 2016 11:37
by ViktorV
To investigate the issue, we need scripts for creating LAENDER and KDSSTATUS tables and for populating all the tables with data. Please send the missing scripts to viktorv*devart*com.

Re: Error DisposeBuf failed

Posted: Wed 20 Apr 2016 06:03
by ViktorV
Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

Re: Error DisposeBuf failed

Posted: Tue 26 Apr 2016 07:20
by michaelJ
Is the problem solved in 5.7?

Re: Error DisposeBuf failed

Posted: Tue 26 Apr 2016 09:29
by ViktorV
The bug wasn't fixed in the IBDAC version 5.7.22. We continue investigation of the problem and will inform you as soon as any results are available.

Re: Error DisposeBuf failed

Posted: Sun 03 Jan 2021 11:44
by Akella
uniDac 8.3.2, Delphi 10.4.1

SmallTab in DisposeBuf failed (D:\ProjectsClone1\Delphi\Dac\Common\Source\MemData.pas, line 8992).

Re: Error DisposeBuf failed

Posted: Mon 04 Jan 2021 14:11
by oleg0k
Hello,
Unfortunately, this information is not enough to reproduce the issue. We need a sample project that demonstrates the incorrect behavior, as well as your DDL scripts for creating and populating the database objects. Please send them through the form on our website: https://devart.com/company/contactform.html

wbr, Oleg
Devart Team