Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

C++ assertion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Penny Balkwill - 27 May 2005 12:24 GMT
(Type your message here)
I am supporting a system which uses ORACLE Forms, and we are getting an intermittent error:

Assertion failed!
Program: D:\Dev6i\bin\ifrun60.exe
File: D:\f994w32\src\it\ittl.c
Line: 482

Expression: !((ptimer->pflags_ittlt)&(((ittlpflg)4)))&&(current || !((ptimer->pflags_ittlt)&(((ittlpflg)2))))&&(current || !((ptimer->pflags_ittlt)&(((ittlpflag)1))))

We have no c++ or ORACLE FORMS people on site, as this is third party software.  Is it possible anyone out there knows why this error happens??
Antti Keskinen - 28 May 2005 01:49 GMT
Hello !

A quick look suggests that some sort of a timer's bit flag field is causing
an assertion. It is checking the lowest three bits of a variable
(pflags_ittlt). When simplifying the expression, it will resolve to the
following:

!(pflags_ittlt & 4) AND ( current OR !(pflags_ittlt & 2 ) AND ( current OR
!(pflags_ittlt & 1) )

This expression will lead to an assertion (evaluate to false) when the
following conditions are set:
   - third bit of pflags_ittlt is not set AND
   - 'current' is not set OR second bit of pflags_ittlt is not set AND
   - 'current' is not set OR first bit of pflags_ittlt is not set

Thus, 'current' is the most significant variable. What it represents in the
code is completely unknown to me. I recommend trying to debug the code (if
possible) to see what the value of 'current' is when the assertion occurs.
This might or might not be related to Oracle Forms itself, as you've given
no context upon which to judge whether it is or not. The expression itself
does not say "Yes, I'm Oracle Forms related" or vice versa :)

Hope this helps (though I believe it doesn't)..

-Antti Keskinen

> (Type your message here)
> I am supporting a system which uses ORACLE Forms, and we are getting an
[quoted text clipped - 18 lines]
>
> <Id>jyJn2qch1kKAOVDGZanLow==</Id>
Oleg Starodumov - 30 May 2005 10:37 GMT
> Assertion failed!
> Program: D:\Dev6i\bin\ifrun60.exe
> File: D:\f994w32\src\it\ittl.c
> Line: 482

This is most likely a build problem in the executable mentioned
in the message, or in one of DLLs used by it (debug code left in
release build, probably by mistake).
The best way to solve it is to request a fix from the developers of
the application.

Regards,
Oleg
[VC++ MVP]

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.