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 SIGSEGV on switch to system map after HJ #5077

Conversation

Gliese852
Copy link
Contributor

@Gliese852 Gliese852 commented Dec 15, 2020

If you turn on the ships in the system map, turn off the system map and jump into another system, then pointers to the ships from the previous system remain in m_projected, which cause the a segfault. Now clear this when switching from view.

src/SystemView.h Outdated Show resolved Hide resolved
If you turn on the ships in the system map, turn off the system map and
jump into another system, then pointers to the ships from the previous
system remain in m_projectables, which cause the a segfault. Now clear
this when switching from view.
@Gliese852 Gliese852 force-pushed the sysmap-segv-after-hj-with-ships-on branch from 7f8ae93 to cc5b860 Compare December 15, 2020 16:51
@Web-eWorks Web-eWorks merged commit 775bb68 into pioneerspacesim:master Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants