473,505 Members | 13,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ assertion

(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??
--------------------------------
From: Penny Balkwill

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>jyJn2qch1kKAOVDGZanLow==</Id>
Nov 17 '05 #1
2 2256
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
"Penny Balkwill via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
(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??
--------------------------------
From: Penny Balkwill

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>jyJn2qch1kKAOVDGZanLow==</Id>

Nov 17 '05 #2
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]


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
3805
by: Roy Smith | last post by:
I've got a function which gets passed a call-back function as a parameter. I want to check to make sure the thing passed in is indeed callable. Is: assert '__call__' in dir (param) the...
3
3156
by: Todd Miller | last post by:
Hi, I recently discovered an assertion failure in the Python garbage collection system when scripts using our C extension (numarray) exit. The assertion is activated for Pythons configured using...
0
1692
by: benevilent | last post by:
Hey, I'm getting an assertion error as a result of embedding python. "Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed." I only get this assertion error with...
4
6398
by: Morgan Leppink | last post by:
Hey all - We are running SQL 2000 with ALL available service packs, etc. applied. We just built a brand new database server, which has dual 2Ghz XEONs, 2GB memory, and the following disk...
2
5407
by: Craig Klementowski | last post by:
Pardon the cross post, but I'm not sure where exactly to post this question. We have MFC application using many MFC extention DLL's. We started using a new MFC extention DLL that is mixed mode so...
1
1880
by: Timur Safin | last post by:
Hi All, Sorry if it is offtopic here, I wasn't able to find any more relevant group... I'm slowly approaching AMD64 build for our product (as my personal fun project). And after I ran that...
5
5535
by: Ron Louzon | last post by:
I have some C++ code that uses the CSingleLock( CCriticalSection *) constructor. In visual C++ 6.0, this code compiles and runs fine in both Debug and release modes. However, in Visual Studio...
7
2530
by: inkexit | last post by:
I'm getting assertion errors when I try to import or export a file using this code. Please help. I don't even know what an assertion error is. #include <iostream> #include <iomanip> #include...
4
9372
by: Mullai | last post by:
Hi , My program gives an error message like this Debug Assertion Failed! program:................ File: wincore.cpp Line: 958 Please can anyone help me out in this issue. I have to solve...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.