Page 1 of 1

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

Posted: Fri 10 Nov 2017 10:52
by PeterLorenz
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

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

Posted: Mon 13 Nov 2017 06:38
by MaximG
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.