Closed Kevin-Delnoije closed 1 year ago
Right, I made some changes around there for the flatpak support, and we're now seeing a crash in release config. See https://github.com/TTimo/GtkRadiant/issues/574#issuecomment-1466235446 - I haven't spent time trying to track it down yet. Patches welcome..
Could be fixed by https://github.com/TTimo/GtkRadiant/pull/686/commits/8d3a9735370581a1e1c9243265386eccffac3050 if you're able to check.
could not test the exact commit because of this message on github . "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository."
it seems to work when i apply the changes manually because i do not get segmentation fault anymore. release and debug behave the same now :)
on startup i encounter this message on both release and debug "No games setup, aborting errno: No such file or directory An unrecoverable error has occured."
btw to compile the project i need to comment out the following line in bytebool.h
typedef qboolean bool;
thanks, fix is in
When compiling on a ubuntu 22.04 lts system with gcc 11.3.0 gtkradiant compiles succesfully, but when launching the binary a segfault occurs. This only only happens in release mode.
I added a releasewithdebug config in config.py
in gdb when launching the the executable build in release with debug info you can see that the argv variable is optimized out.
The commit before works fine so probably some aggresive optimizations happen when the compiler detects that the environment variable is always empty?
this line is also optimized out