News:

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

Main Menu

C::B reports wxRecursionGuards error when loading a cbp project

Started by ollydbg, October 10, 2025, 03:50:51 AM

Previous topic - Next topic

Pecan

@ ollydbg

Thank you for that traceback. It spots the errror.
I can be so dumb sometimes. I remember that I copied that code from the original testing "prob of LSP" and told my self I'd need to revisit later. Then I forgot.


I'll fix it to use cross thread communication.

ollydbg

I lot of tools help me to find the crash/assert.

1, gd_on's unified code::blocks cbp/workspace files(gerard-durand/codeblocks_gd_cbps: Workspace and projets files to build Code::Blocks for Windows as a wxWidgets version independant), I can simply change the option so it links to the debug version of the wx 3.3.1, just change a global compiler variable wxWidgets.WX_SUFFIX from "u" to "ud". Without this unifiled cbp, I think I need a lot of changes.

2, gdb(I'm currently using ssbssa/gdb: Unofficial Windows build of gdb with added features., I think other gdbs are all good)can catch such crash call stack.

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.