News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code::Blocks DeadLock, how correct to resolve the deadlock?

Started by omlk, December 09, 2023, 03:49:09 AM

Previous topic - Next topic

omlk

How correct to resolve the deadlock and find where is in code?Should I end any of the threads and if the program crashes, then watch the dump codeblocks.RPT from same folder there is codeblocks.exe?
I attach screenshot.

Wkerry

Check out the nightly thread for details on using the latest version as you are using an old nightly build.

Wkerry


omlk


omlk

I clicked on the "resume" button and codeblocks continued to work.


* deadlock_4.png (313.67 kB, 1280x1024)


Wkerry

The problem can be attributed to the version you are using.

nenin

Quote from: omlk on December 09, 2023, 03:49:09 AM
How correct to resolve the deadlock and find where is in code?
I suppose you are trying to build more or less fresh CB source with old WX. It likely will not work at all.

ollydbg

I don't know, but from the image screen shot, I see the codeblocks.exe is started inside the bash.exe? As it is a sub-process of the bash.exe.

I haven't see such situation.
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.

omlk

And does anyone know if there is a newer version of the kbDiff(v1.1.1) plugin available for download?

Wkerry

omlk in my opinion in this thread and for the last month has not been from a real human.