Error DisposeBuf failed

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Error DisposeBuf failed

Post by michaelJ » Tue 15 Dec 2015 11:28

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?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Wed 16 Dec 2015 13:59

Please, try to download the latest IBDAC build (5.6.20) and check if this problem still exists.

hstreicher
Posts: 1
Joined: Tue 26 Jan 2016 12:07

Re: Error DisposeBuf failed

Post by hstreicher » Tue 26 Jan 2016 12:11

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| |

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Tue 26 Jan 2016 14:58

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.

michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Re: Error DisposeBuf failed

Post by michaelJ » Fri 29 Jan 2016 18:39

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Mon 08 Feb 2016 13:27

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.

michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Re: Error DisposeBuf failed

Post by michaelJ » Mon 18 Apr 2016 18:46

I've send some demo-code to your Email-adress.

michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Re: Error DisposeBuf failed

Post by michaelJ » Mon 18 Apr 2016 21:21

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?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Tue 19 Apr 2016 11:37

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Wed 20 Apr 2016 06:03

Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Re: Error DisposeBuf failed

Post by michaelJ » Tue 26 Apr 2016 07:20

Is the problem solved in 5.7?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error DisposeBuf failed

Post by ViktorV » Tue 26 Apr 2016 09:29

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.

Akella
Posts: 8
Joined: Mon 02 Apr 2012 12:04

Re: Error DisposeBuf failed

Post by Akella » Sun 03 Jan 2021 11:44

uniDac 8.3.2, Delphi 10.4.1

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

oleg0k
Devart Team
Posts: 190
Joined: Wed 11 Mar 2020 08:28

Re: Error DisposeBuf failed

Post by oleg0k » Mon 04 Jan 2021 14:11

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

Post Reply