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

In FlightGear Nightly , f16 fire missiles and the software always stucked? #562

Open
super-xxx opened this issue May 25, 2023 · 10 comments
Open

Comments

@super-xxx
Copy link

Hi,
l am using the latest version of FlightGear which is build nightly , but I found when I fired missiles, the software always stucked like pausing, then I can't do anything except exist. I do not know why.
My Windows version is 10.

@NikolaiVChr
Copy link
Owner

Which f16 are you using? One downloaded here at github? Or the one from launcher/fgaddon?

@super-xxx
Copy link
Author

I am using f16 downloaded here at github.

@NikolaiVChr
Copy link
Owner

Roger, I will download nightly and check it. Will come back to you after some days.

@super-xxx
Copy link
Author

thanks, I like f16 !! haha~

@NikolaiVChr
Copy link
Owner

This seems to be caused by a deadlock.
Don't think its any of the mutexes I use in the missile-code.
So its probably a deadlock in the new thread-safe property system in FG, caused by missile-code threads.

@SP-NTX
Copy link
Contributor

SP-NTX commented May 27, 2023

I can confirm i experienced this issue too

@super-xxx
Copy link
Author

When I set "SG_PROPERTY_LOCKING_VERBOS" to 1, f16 firing missiles became normal, FightGear nightly would not stuck.
Maybe answer is in simgear/propscxx Line 328

@NikolaiVChr
Copy link
Owner

Okay, I forwarded that information to the FG developers.

@NikolaiVChr
Copy link
Owner

Fixed with fc58718

@NikolaiVChr
Copy link
Owner

The fix did not fully work.

@NikolaiVChr NikolaiVChr reopened this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants