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

Avoid potential crash on signal disconnection #94666

Merged

Conversation

RandomShaper
Copy link
Member

I have not been able to come up with an MRP. It seems that on very complex resource dependency graphs, with signal connections among them, there's the possibility of hitting a pathological case where a signal connection is no longer in the map, which causes as segfault.

@RandomShaper RandomShaper added this to the 4.3 milestone Jul 23, 2024
@RandomShaper RandomShaper requested a review from a team as a code owner July 23, 2024 17:21
@AThousandShips
Copy link
Member

Seems you forgot to include some files

@RandomShaper RandomShaper force-pushed the fix_tangled_obj_clear_crash branch from db3db40 to 2326329 Compare July 23, 2024 17:25
@RandomShaper
Copy link
Member Author

You're right. Fixed.

@RandomShaper RandomShaper force-pushed the fix_tangled_obj_clear_crash branch from 2326329 to fb76ba6 Compare July 23, 2024 17:26
@RandomShaper RandomShaper force-pushed the fix_tangled_obj_clear_crash branch from fb76ba6 to 100935e Compare July 25, 2024 09:56
@RandomShaper RandomShaper modified the milestones: 4.3, 4.4 Jul 25, 2024
@RandomShaper RandomShaper added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Jul 25, 2024
@RandomShaper RandomShaper force-pushed the fix_tangled_obj_clear_crash branch from 100935e to 32b7f83 Compare August 19, 2024 10:18
@akien-mga akien-mga merged commit 86212c1 into godotengine:master Aug 19, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@RandomShaper RandomShaper deleted the fix_tangled_obj_clear_crash branch August 19, 2024 15:24
@akien-mga
Copy link
Member

Cherry-picked for 4.3.1.

@akien-mga akien-mga removed the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants