Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
random crashes when building project
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: random crashes when building project (Read 7548 times)
piciji
Guest
random crashes when building project
«
on:
January 18, 2014, 05:38:08 pm »
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?
Logged
BlueHazzard
Developer
Lives here!
Posts: 3352
Re: random crashes when building project
«
Reply #1 on:
January 18, 2014, 06:18:27 pm »
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?
Logged
oBFusCATed
Developer
Lives here!
Posts: 13406
Re: random crashes when building project
«
Reply #2 on:
January 18, 2014, 06:54:30 pm »
We do this for most linux distros...
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
piciji
Guest
Re: random crashes when building project
«
Reply #3 on:
January 20, 2014, 10:20:59 pm »
ok will try latest svn + gdb
Logged
piciji
Guest
Re: random crashes when building project
«
Reply #4 on:
January 26, 2014, 07:29:12 pm »
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.
Logged
piciji
Guest
Re: random crashes when building project
«
Reply #5 on:
February 04, 2014, 09:23:07 pm »
ok the problem was caused by using mingw 32 for debug. mingw 64 works without crashes for release/debug.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
random crashes when building project