Another backtrace (seems to be from a codeblocks child process launched by codeblocks master process when building a workspace from command-line, as the workspace build continued after this crash and even appeared to succeed). The crash seems to come from the process shutdown, so maybe it indeed had already completed all its work.
This is from an older codeblocks build (2010), so this place might be already fixed, but if not, the stacktrace should give a good idea where it goes wrong. I have a feeling there are a lot of multithreading bugs in codeblocks code.
[exec] Using built-in specs.
[exec] Target: x86_64-suse-linux
[exec] Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
[exec] Thread model: posix
[exec] gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
[exec] COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/
[exec] LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/
[exec] COLLECT_GCC_OPTIONS='-L../../BuildProducts/Linux/Release/lib' '-o' '../../BuildProducts/Linux/Release/bin/acapella' '-v' '-shared-libgcc' '-mtune=generic'
[exec] /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o ../../BuildProducts/Linux/Release/bin/acapella /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o -L../../BuildProducts/Linux/Release/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.. ../../Intermediates/Release/Acapella/Version.o ../../Intermediates/Release/Acapella/autotest.o ../../Intermediates/Release/Acapella/mainstate_posix.o ../../Intermediates/Release/Acapella/options.o ../../Intermediates/Release/Acapella/problem.*** glibc detected *** codeblocks: corrupted double-linked list: 0x0000000001260c70 ***
[exec] ======= Backtrace: =========
[exec] /lib64/libc.so.6(+0x75018)[0x7f153e3f8018]
[exec] /lib64/libc.so.6(+0x755ff)[0x7f153e3f85ff]
[exec] /lib64/libc.so.6(+0x76b80)[0x7f153e3f9b80]
[exec] /lib64/libc.so.6(cfree+0x6c)[0x7f153e3fcf6c]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN9pfDetailsD1Ev+0x205)[0x7f15413a3055]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN11ProjectFileD1Ev+0x2aa)[0x7f15413a28ba]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN9cbProject13CloseAllFilesEb+0xaa)[0x7f15412d4e3a]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN14ProjectManager12CloseProjectEP9cbProjectbb+0x155)[0x7f15413be4f5]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN14ProjectManager16CloseAllProjectsEb+0x4c)[0x7f15413be77c]
[exec] /usr/lib64/libcodeblocks.so.0(_ZN14ProjectManager14CloseWorkspaceEv+0x62)[0x7f15413c2ee2]
[exec] codeblocks(_ZN9MainFrame18OnApplicationCloseER12wxCloseEvent+0x268)[0x46ab68]
[exec] /usr/lib64/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x89)[0x7f153f3723e9]
[exec] /usr/lib64/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x7f153f3735c4]
[exec] /usr/lib64/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x7f153f3736b7]
[exec] /usr/lib64/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x7f153f373640]