News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

C:B build using wx261_debug_dll

Started by tiwag, September 28, 2005, 08:26:35 AM

Previous topic - Next topic

tiwag

After some problems which occured with the VisualC-port of C::B yesterday, i became suspicious, if these problems were only VC-related or "home-brewed" in the code and (if so) they must also appear in the gcc-build of C::B if using the wx-debug-dll.

Therefore i did a C::B build using the wxWidgets-2.6.1 debug-dll - and there are similar (but not exactly the same)
wxWidgets Debug Alerts, some of them posted here with their (frequency):

  • Thaw() without matching Freeze()          (*** very often)
  • wxYield called recursively                       (**   often)
  • EM_STREAMIN didn't send EN_UPDATE   (*     rare)
  • wxMenu::Check: no such item                (oo   never ending chain, triggered continously)

has anybody already looked at this phenomena ?
i think, we should use the wxWidgets-Debug-build in order to find and lastly correct more flaws in the code, isn't it ?
any thoughts about ?

mandrav

That's what's keeping RC2 from being released. I want to build codeblocks with debug wx to fix those (hoping to find the time this weekend)...
Be patient!
This bug will be fixed soon...

rickg22

The thaw could be solved by making a derivative of the object in question, and add a "freezecounter". If it's 0, don't do nothing.

Perhaps you could make a Freezer class, which has the counter. The class will have only ONE object, the wxwindow in question that you want to freeze / thaw. (Or something).

The recursive wxyield is one i've been ranting for ages. Setting the "extra stability" in environment options solves it.

The EM_STREAMIN O.o I don't know about.

tiwag

i have done a patch which addresses the

  • Thaw() without matching Freeze()
  • wxYield called recursively
topics.

but i've read in this thread
http://forums.next.codeblocks.org/index.php/topic,854.msg5932.html#msg5932
that Yiannis is suspicious against.

Yiannis you maybe want to have a look about this patch doesn't mess something,
therefore i post it here instead of committing to cvs.

regards
tiwag

[attachment deleted by admin]

mandrav

Have you tested it with wx2.4 and wx2.6?
Be patient!
This bug will be fixed soon...

tiwag

i have tested with wx2.6.1 and 2.6.2 , don't have a wx2.4.2 setup at this time available

what are the special needs for wx242 when using freeze ?

mandrav

I don't recall now. Only that it behaved differently...
Never mind, I 'll test it.
Be patient!
This bug will be fixed soon...