Menu

[RESOLVED] LAC Maneuver Segmentation Faults

bbosen
2019-12-27
2021-10-18
  • bbosen

    bbosen - 2019-12-27

    Sometimes LAC will suffer from a segmentation fault in flight. This is rare overall, but some aircraft seem to suffer more than others. The most common symptom occurs within about 10 seconds of commencing flight if the player initiates a strong "climb" maneuver.

    To avoid this bug, we recommend issuing a modest little "dive" or "descent" maneuver during the first two or three seconds of each mission. The resulting descent should last for at least one second, before any attempt to climb. Pilots that form this habit report no trouble with this bug.

    If that doesn't work, try avoiding any use of your elevators for the first 5 seconds of a new mission. That usually avoids the bug.

     

    Last edit: bbosen 2020-03-25
  • bbosen

    bbosen - 2020-04-07

    Version 8.01 diminishes the frequency of these bugs substantially.

    I suspect that the vast majority of remaining instances are related to my "Gun-Camera" player (an enhancement to the server). My experience indicates that I never see these segmentation faults in MissionNetworkBattle01, for which I have not activated any Gun-Camera replay missions. I am looking into this. I suspect it is related to the negotiation over "MyNetworkId" when a new LAC player enters a mission when a GunCamera mission is already using a conflicting value for "MyNetworkId" to represent a "Replay" aircraft.

     
  • bbosen

    bbosen - 2020-04-12

    Update:

    As I suspected, further testing still indicates that this bug does not come from LAC at all! I never see this bug unless LAC's server is enhanced with "Replay Missions" from its companion "Gun Camera Player". Accordingly, I now suspect that the problem originates in that Gun Camera player. Perhaps it is sending some improperly formed packets into LAC. ???

    I don't know when I will be able to look into this. I'm doing some additional testing in an attempt to confirm this theory.

    In the meantime, I am becoming convinced that the "maneuvers" that I make during the first few seconds of a mission do NOT really cause or avoid segmentation errors; it seems more related to the data streaming in from the server. Likewise, it seems unaffected by the player's choice of aircraft.

    Because of the way the LAC server skips transmission of some packets when players are far apart, I find I can usually get out of a situation that had resulted in a sequence of seg faults by choosing a more remote starting airfield.

    One other option is just to choose a different mission. In particular, MissionNetworkBattle01 never seems to suffer from these segmentation faults. This is consistent with this theory, since (among the three "classic" missions,) MissionNetworkBattle01 is the only mission in Realm 0 that is never joined by any Replay mission activity.

     

    Last edit: bbosen 2020-10-26
  • bbosen

    bbosen - 2020-05-19

    Update: This bug has been fixed in version 8.08. You should no longer see those segmentation faults during the first few seconds of a mission that has active "REPLAY" activity.

     

Log in to post a comment.

MongoDB Logo MongoDB