User forums > General (but related to Code::Blocks)
Code::Blocks crashes during project reload
alexchen:
I have not built the source code yet. I am using the prebuilt one from the download site, therefore the crash is from the original build.
From the stack dump, the problem is either in Code::Blocks' use of wxGTK API or wxGTK's own issue.
If it is an issue in wxGTK, which is pretty old, maybe the it is fixed in wxGTK3? My CentOS 7 has wxGTK (2.8.12) installed (via Code::Blocks' dependency) and wxGTK3 (3.0.2) available.
What I am trying to says is that my build script invokes Code::Blocks command line multiple times for various workspace during the build.
The crash always happens in one of the last few invocations during the process, but not necessarily in the same workspace.
I do not know if the repeated process of bringing up Code::Blocks via command line has any bearing to the symptom.
I just tried to build from the source by running the bootstrap command via the instructions in BUILD and got the following errors:
[fmserver@181x101 trunk]$ ./bootstrap
Using 'svn --xml info' to get the revision
Found revision: '11558' '2019-01-24 14:28:36'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:141: warning: macro 'AM_OPTIONS_WXCONFIG' not found in library
configure.ac:142: warning: macro 'AM_PATH_WXCONFIG' not found in library
configure.ac:39: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:22: installing './install-sh'
configure.ac:22: installing './missing'
src/base/tinyxml/Makefile.am: installing './depcomp'
configure.ac:141: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:142: error: possibly undefined macro: AM_PATH_WXCONFIG
[
oBFusCATed:
The bug is in C::B. You need to install the wxgtk-devel package. I'm using wxgtk 2.8.12 on centos7 and it works fine...
Here is a discussion of a similar problem:
http://forums.codeblocks.org/index.php/topic,23072.msg157018.html#msg157018
alexchen:
Is it a known bug if it is in C::B? It is the same bug you fixed in the beginning of the history?
oBFusCATed:
Probably it is the same bug. When you build the trunk version and you test it we will know for sure.
alexchen:
It seems to be stable, at least I have not encountered a crash yet. :)
However, it is a local build, not a RPM, therefore the execution path is different, /usr/local/bin v.s. /usr/bin.
Is there somewhere I can get an installable dev build RPM for CentOS 7?
It will be even better if you can release an official RPM from current code base. Cord dump is difficult for end users unless them have the time and energy to trace down the issue and build from source.
Thanks for the help.
BTW, it would be nice to update the BUILD file to include the dependency of wxGTK-devel and gamin-devel in build steps.
It would not build without these two packages.
Alex
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version