-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault at boot screen #9300
Comments
upon further investigation this is project specific, I'll have to debug it myself I think |
in godot/platform/x11/detect.py if i comment out line 131, which causes: and build using: the editor works fine. So this looks to be some linker optimisation bug.... |
I assume you are using GCC. If so, which version it is? Have you tried compiling with Clang? |
gcc (GCC) 7.1.1 20170528 |
To compile Godot with Clang, install it then add |
scons use_llvm=yes platform=x11 builtin_openssl=yes tools=yes target=release_debug bits=64 both run fine with the binarys they produce |
Can you retest with current master? This is probably fixed with #10581 |
my release build works: "scons -j 4 platform=x11 tools=no target=release bits=64 builtin_openssl=yes" my release_debug build does not work: "scons -j 4 platform=x11 tools=yes target=release_debug bits=64 builtin_openssl=yes" I get the following error: Loading Menu prefab: res://Prefab/UI/Matrix.tscn Thread 1 "linux_x11_64_de" received signal SIGSEGV, Segmentation fault. |
Would it be possible for you to send me the project that is causing this crash? |
Ill take a stab at debugging it when i get a chance. Failing that I'll see if i can get you a build. |
What might help is building like this: cons -j 4 platform=x11 tools=yes target=release_debug debug_release=yes bits=64 builtin_openssl=yes |
I think this is now fixed together with another issue in #10701 |
i can confirm there is now boot crash! even the mingw windows builds are working for me! |
hurrah! |
I'm working on linux and trying to get my build system setup.
when i build with:
scons -j 4 platform=x11 bits=64 builtin_openssl=yes
I get a working exe
if i use:
scons -j 4 platform=x11 tools=yes target=release_debug bits=64 builtin_openssl=yes
or
scons -j 4 platform=x11 tools=no target=release bits=64 builtin_openssl=yes
the generated exe loads the splash screen then crashes with a segmentation fault.
gdb bt gives me:
#0 0x0000000001bbd520 in atomic_conditional_increment(unsigned int*) ()
#1 0x0000000001bd1f78 in Reference::init_ref() ()
#2 0x0000000001c187c8 in Image::load(String const&) ()
#3 0x00000000008ca56b in Main::start() ()
#4 0x00000000008b46a1 in main ()
I do have a custom boot splash image loaded.
The text was updated successfully, but these errors were encountered: