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

Fix the physics related crashing #1282

Closed
hhyyrylainen opened this issue May 17, 2020 · 9 comments · Fixed by #4521
Closed

Fix the physics related crashing #1282

hhyyrylainen opened this issue May 17, 2020 · 9 comments · Fixed by #4521

Comments

@hhyyrylainen
Copy link
Member

Quite a few reports have come in about the game locking up and spamming this message:

**ERROR**: Condition "p_node == _data._nil && p_color == RED" is true.
   At: ./core/map.h:154:_set_color() - Condition "p_node == _data._nil && p_color == RED" is true.

repeating infinitely.
One full log file: https://pastebin.com/VPPxKBuQ
It seems to happen on physics contact (attacking with the pilus, respawning).
Might be related to: #1126

@hhyyrylainen
Copy link
Member Author

One more log: https://pastebin.com/0ePs5YFm
This seems to happen on return from editor. So I'm going to say that physics things touching (with certain random stuff having happened before) is what triggers the problem.

@hhyyrylainen hhyyrylainen added this to the Release 0.5.1 milestone May 17, 2020
@hhyyrylainen
Copy link
Member Author

@hhyyrylainen
Copy link
Member Author

Possibly relevant godot bug: godotengine/godot#37652

@hhyyrylainen hhyyrylainen removed this from the Release 0.5.1 milestone Jul 22, 2020
@hhyyrylainen hhyyrylainen added the engine possibly engine related issue label Sep 10, 2020
@hhyyrylainen
Copy link
Member Author

This might be the reason also for random crashing of the game, though that's way less confirmed.

@hhyyrylainen
Copy link
Member Author

@hhyyrylainen
Copy link
Member Author

This might be more likely to be caused when making your cell a stick. At least this youtuber experiences this often: https://youtu.be/GQO-TGaji-Y
Doesn't seem to be a difference between horizontal and vertical stick cells.

@hhyyrylainen
Copy link
Member Author

This might be fixed with Godot 3.3, so after the next release we'll need to check if this still happens or not.

@Kemikal1 Kemikal1 reopened this Oct 30, 2021
@hhyyrylainen hhyyrylainen changed the title Investigate the probably physics related lockup Fix the physics related crashing Jul 26, 2022
@hhyyrylainen
Copy link
Member Author

I renamed this issue to be more accurate. Recently with out crash reporting system back, I think almost 100% of crashes on Windows are either some weird memory corruption somewhere or crashing in the physics system, I suspect both are actually the same problem. Surprisingly it seems like no Linux reports have come in with a crash like this so this might be a Windows only problem.

@hhyyrylainen
Copy link
Member Author

Related physics problem: #2339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
2 participants