Segfault on exit with GCC 6.3.0 Release Builds
Bug #1668200 reported by
Tino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
I noticed this problem on my system when upgrading to GCC 6.3.0 in January and now Appveyor shows the same:
When doing Release builds and optimizing with -O3, widelands itself and the economy_test do segfault on exit.
Debug builds or release builds done with -O2 are fine.
I am not sure if this is only MinGW64 GCC 6.3.0 on Windows or it also affects other platforms. Travis does still use GCC 6.2.0 as far as i can see.
Related branches
lp:~widelands-dev/widelands/gcc63
- GunChleoc: Approve
-
Diff: 28 lines (+13/-3)1 file modifiedCMakeLists.txt (+13/-3)
lp:~flegu/widelands/r8481-renderedtext-memory-leaks
- GunChleoc: Approve
-
Diff: 131 lines (+18/-18)2 files modifiedsrc/graphic/text/rendered_text.h (+1/-1)
src/graphic/text/rt_render.cc (+17/-17)
tags: | added: buildsystem crash |
Changed in widelands: | |
importance: | Undecided → High |
milestone: | none → build20-rc1 |
To post a comment you must log in.
I did a brief test with Ubuntu Zesty (the current development version), which from what I can see used GCC 6.3.0 to build the PPA build [1]:
>The CXX compiler identification is GNU 6.3.0
The tests ran ok, and I didn't have any problems with closing Widelands after installing the package in a vm. (Ok, strictly speaking it complained about waiting 5 minutes to close audio and that Widelands had to be killed manually but a) I believe this to be unrelated (?) and b) strongly suspect it is due to running in a vm.
I can double-check a bit by building a release manually though ;)
[1] https:/ /code.launchpad .net/~widelands -dev/+recipe/ widelands- daily, more specifically https:/ /code.launchpad .net/~widelands -dev/+archive/ ubuntu/ widelands- daily/+ build/12062131/ +files/ buildlog_ ubuntu- zesty-amd64. widelands_ 1%3A19- ppa0-bzr8307- 201702271132~ ubuntu17. 04.1_BUILDING. txt.gz