User forums > Help
random crashes when building project
piciji:
I am using the latest version of Code::Blocks on Win7 64. My project is based on a makefile. Sometimes when compiling the latest code changes or rebuilding the whole project Code::Blocks crashes hard without an error message. The build log doesn't help to find out what's going wrong. Code::Blocks almost ever crash if I skip a running build process. The crash behavior is not reproduceable. Code::Blocks 12.x has the same problem so its not a new bug of latest version.
Another way to crash Code::Blocks each time is to open the program Hex-Editor MX while Code::Blocks is running.
Maybe there is some other log to provide you with crashing information?
BlueHazzard:
latest version means? svn odr release?
if svn can you run c::b through gdb?
OT: @dev: Wouldn't it be better to compile the releases version with -g , or provide a version without stripping the debug information, for a better backtrace in gdb?
oBFusCATed:
We do this for most linux distros...
piciji:
ok will try latest svn + gdb
piciji:
haven't tried a nightly yet but switched to release build a few days ago. There wasn't a single crash.
release: mingw 64
debug: mingw 32
ifeq ($(DEBUG), 0)
flags += -O3 -fomit-frame-pointer
link += -mwindows -s
else
flags += -O0 -g -Wall
link += -mconsole
endif
I guess either adding debug information (-g) or the mingw32 compiler cause the crash. I will try it a few more days.
Navigation
[0] Message Index
[#] Next page
Go to full version