Typing the codes in the picture will make C::B crash. Some other codes may also cause the same problem.
Environment: Windows 8.1
Code::Blocks: r10020 from svn
Compiler: MinGW-w64 x86_64-4.9.1-release-posix-seh-rt_v3-rev3 and TDM-GCC x86_64 4.7.1
Boost: 1.56
wxWidgets: 3.0.2
FortranProject: 1.2 from svn
PS: the code:
#include<stdlib.h>
#include<iostream>
using namespace std;
void plus()
{
}
int main()
{
plus(
}
It looks like you build C::B against wx 3.0.2? Can you try wx2.8.12, as I know, C::B svn build against wx 3.x is not stable yet.
Ok, but which project should I use? There's no "CodeBlocks_64.cbp"
Oh, sorry, I remember that under Windows, C::B link against 64bit wx2.8.12 is also not quite stable. So, there is not such file, currently, fixing the crash problem as you described is the right thing we should do.
Can you try to disable the Codecompletion plugin, and see whether this bug could gone, thanks.
Yes, it's gone with the code completion disabled.
Can you run C::B under debugger, and see where the crash come from? You can debug C::B under C::B.
Here's the screenshot and the debugger log.
OK, what is the crash backtrace?
is this what you want? sorry that I'm not good at C/C++
Thanks. Backtrace under GDB means the call stack. I just want to see what is the call stack when this crash happens.
This gives no info. Can you go to the Settings -> Global variables -> cb_release_type and set it to "-g -O0", then rebuild and retest?
Call Stack
Debug log
Still not helpful. There is no entry coming from cb's sources.
Does this still happen with trunk?
Closing due to inactivity.