Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Assertion in Debug.cpp:246 "nesting_depth == 0" [BUGS?]
Re: Assertion in Debug.cpp:246 "nesting_depth == 0" [message #1843 is a reply to message #1840] Wed, 22 March 2006 17:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
hojtsy wrote on Wed, 22 March 2006 10:25

I have an assertion failure in my application while quitting. Assertion is triggered in this method of Core/Debug.cpp:

TimingInspector::~TimingInspector() {
ASSERT(nesting_depth == 0);

I have running timers and threads when I quit. Could this be the reason for this assertion? I am using 603-dev2 on Windows.


Very likely - if you have threads running at exit. Actually, at the moment, it seems to me like bad practice - IMO code process should start and end with single thread...

Unfortunately, it is also quite possible that this fails with MT app even if ended as one thread - TiminigInspector has very specic use and is not MT safe (and likely will never be).

The real question is: are you using TIMING or RTIMING macros somewhere or they are just forgoten in U++ library code?

Mirek
 
Read Message BugQuestion.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: To Save setup settings buttons
Next Topic: Wizard(s) for various class generation...[FEATURE REQUEST][WORKAROUND]
Goto Forum:
  


Current Time: Mon Aug 18 10:28:38 CEST 2025

Total time taken to generate the page: 0.00642 seconds