Skip to content
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

2.1 branch release debug, editor crashes #9087

Closed
santouits opened this issue Jun 7, 2017 · 4 comments
Closed

2.1 branch release debug, editor crashes #9087

santouits opened this issue Jun 7, 2017 · 4 comments
Labels

Comments

@santouits
Copy link
Contributor

santouits commented Jun 7, 2017

Operating system or device - Godot version:
Ubuntu 17.04 x86_64
Godot 2.1 branch release_debug

Issue description:
I compiled 2.1 branch with release debug option and the editor crashes randomly, or when I press control-F to search a script or when saving a scene.

On launch terminal prints:
ERROR: move_child: Invalid new child position: 2
At: scene/main/node.cpp:269.
ERROR: move_child: Invalid new child position: 2
At: scene/main/node.cpp:269.

It doesn't crash when compiling without target=release_debug

Steps to reproduce:
Attach a script and press control - F inside it, or save a scene.

Link to minimal example project:

@bojidar-bg
Copy link
Contributor

Are you using GCC 6 to compile it?

@santouits
Copy link
Contributor Author

Everything is default ubuntu.
version says
gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
and I use this command: scons platform=x11 target=release_debug -j4

Maybe I'm doing something wrong?

@santouits
Copy link
Contributor Author

Of course I was. For future reference:

check your version with: gcc --version
if it is 6 something: sudo apt install gcc-5 g++-5
and then compile: scons platform=x11 CC=gcc-5 CXX=g++-5 target=release_debug -j4

closed

@bojidar-bg
Copy link
Contributor

Either that or use clang, since we are having some GCC-6 related problems related to getting NULL this pointers...

In short, duplicate of #4623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants