Assertion failure (...\OraClasses.pas, line 3361)

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
DDinformatica
Posts: 4
Joined: Fri 08 Dec 2006 09:24
Location: The Netherlands

Assertion failure (...\OraClasses.pas, line 3361)

Post by DDinformatica » Wed 17 Mar 2010 13:10

Hi,

We get this error message in our application at a client site:

Assertion failure (...\OraClasses.pas, line 3361)

I'm not sure at what query exactly this happens, as we are not able to reproduce this on our site and we can not debug the software on the client site.

Please help.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 18 Mar 2010 10:58

Please specify the version of ODAC you are using.

DDinformatica
Posts: 4
Joined: Fri 08 Dec 2006 09:24
Location: The Netherlands

Post by DDinformatica » Fri 19 Mar 2010 07:45

I'm sorry I totally forgot that. We are using ODAC 6.90.0.53

tadadams
Posts: 7
Joined: Mon 02 Nov 2009 11:02
Location: Naples, Italy
Contact:

Same issue

Post by tadadams » Tue 23 Mar 2010 08:03

I'm using madExcept 3.0l and it is reporting the following error on many of my programs.

Assertion failure (D:\Projects\Delphi\Dac\Oracle\Source\OraClasses.pas, line 3493)

I assume the path in the error is from your folder structure when you compile because I don't have that path on my computer.

I am using ODAC version 6.90.0.52

Thanks,

Tad
Last edited by tadadams on Mon 05 Apr 2010 07:04, edited 1 time in total.

tadadams
Posts: 7
Joined: Mon 02 Nov 2009 11:02
Location: Naples, Italy
Contact:

Still getting the Assertion error

Post by tadadams » Mon 05 Apr 2010 07:02

I upgraded to 6.90.0.56 and I'm still getting the error, although the line number has changed to 3708.

Is there going to be a fix for this?

Is anyone monitoring this forum?

Looking forward to your response.

Tad

DDinformatica
Posts: 4
Joined: Fri 08 Dec 2006 09:24
Location: The Netherlands

Re: Still getting the Assertion error

Post by DDinformatica » Tue 06 Apr 2010 10:50

tadadams wrote:Is anyone monitoring this forum?
Tad
I don't think so.

My client solved the problem by installing a newer version of a Citrix application. So my problem is solved.

But I looked in the source beore and found that this is most likely cased by this construction:

Code: Select all

procedure TOCIConnection.BusyWait;
begin
{$IFDEF MSWINDOWS}
  if FThreadSafety then begin
    case WaitForSingleObject(hBusy, INFINITE) of
      WAIT_OBJECT_0:
        Exit;
      WAIT_TIMEOUT:
        raise EOraError.Create(OCI_CONNECTION_BUSY,
          'ORA-03127a');
      WAIT_ABANDONED: begin
        Exit;
        Abort;
      end;
    else
      Assert(False);
    end;
  end;
{$ENDIF}
end;
I this function the Assert is used in place of a RaiseWinOSError. Therefor you can never see what went wrong.

If you can reproduce this error and are able to recompile the ODAC maybe you can replace the Assert and run a test.

Andreas

tadadams
Posts: 7
Joined: Mon 02 Nov 2009 11:02
Location: Naples, Italy
Contact:

Post by tadadams » Tue 06 Apr 2010 11:31

I have written a program that loads upon logon to the domain. About 30 people use the program, and I get about 5 bug reports a day from different computers/people so I should be able to get it reproduced. I didn't have the source code to ODAC, but I just bought it. So I should be able to tinker with it later.

Take care, see you later...

Tad

Post Reply