UniDac 7.1.4 component crashes when activating pooling (Delphi 10.2 Tokyo Update 1)

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
PeterLorenz
Posts: 1
Joined: Fri 10 Nov 2017 10:27

UniDac 7.1.4 component crashes when activating pooling (Delphi 10.2 Tokyo Update 1)

Post by PeterLorenz » Fri 10 Nov 2017 10:52

Dear all,

I'm currently trying out latest Version of UNIDAC 7.1.4 for Rad Studio 10.2.1
Seems to be a cool solution but everytime I activate the pooling option, Component crash on finalize.

Steps to reproduce:
- create a form1 project
- add Unidac Connection and a button

Code: Select all

  UniConnection1.ProviderName:= 'Oracle';
  UniConnection1.UserName          := ****
  UniConnection1.Database          := ****
  UniConnection1.Password          := ****
  UniConnection1.Server            := ****
  UniConnection1.Port              := 3306;
  UniConnection1.Pooling := True;	// If that option is set, everything crashes
  UniConnection1.Connect;
  UniConnection1.Disconnect;
On closing project you will get an ugly access vaiolation with the following callstack:
System.Classes.TList.IndexOf($30B6A80)
System.Classes.TList.IndexOfItem(???,???)
System.Classes.TList.RemoveItem(???,???)
System.Classes.TList.Remove(???)
:004B1D61 System::Classes::TList::IndexOf(Self=NULL, Item=:030B6A80)
rtl.System._PackageUnload(???,???)
:0379193e ; C:\Windows\SysWOW64\unidac250.bpl
System.FinalizeUnits
System._Halt0
:00409EC5 System::__linkproc__ Halt0()
It doesn't matter if I connect to our oracle or my local postgressql server, even it dosn't matter if I create a query after connect.
Any suggestions?

regards
Peter

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: UniDac 7.1.4 component crashes when activating pooling (Delphi 10.2 Tokyo Update 1)

Post by MaximG » Mon 13 Nov 2017 06:38

Thank you for the information. We have reproduced the described issue when using UniDAC Trial Edition. This issue is absent in other UniDAC editions. We will investigate the cause of such behavior and tell you the results shortly.

Post Reply