NikolaiVChr / f16

General Dynamics F-16 for Flightgear flight simulator
GNU General Public License v2.0
122 stars 39 forks source link

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

Open super-xxx opened 1 year ago

super-xxx commented 1 year ago

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 commented 1 year ago

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

super-xxx commented 1 year ago

I am using f16 downloaded here at github.

NikolaiVChr commented 1 year ago

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

super-xxx commented 1 year ago

thanks, I like f16 !! haha~

NikolaiVChr commented 1 year ago

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 commented 1 year ago

I can confirm i experienced this issue too

super-xxx commented 1 year ago

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 commented 1 year ago

Okay, I forwarded that information to the FG developers.