MechJeb2

MechJeb2

4M Downloads

Landing logic Error induces loops

DainUnicorn opened this issue ยท 1 comments

commented

This intermittent problem with MechJeb refusing to step past the initial landing fix has been bothering me off and on. Usually with a very simple craft, early on in a save file, its not an issue. But later in the game when precision landings are needed, it frequently throws a tantrum and leaves me in orbit while locked in a error induced logic loop. Worse the only indication that something is wrong is an error about the "orbit does not reenter" in the data area on the Landing MechJeb window.

i suspect this is related to #1362.

Using the console command "/comment BREAK" before I initialed a targeted autoland and after I broke out of it shows the proof in the pudding... By searching for "/comment BREAK" in NotePad++ i get these results:

Line 25096: /comment BREAK
Line 25096: Comment: BREAK
Line 720068: /comment BREAK
Line 720080: Comment: BREAK

That's almost three quarters of a million lines of log dedicated to recording a loop.

I trimmed the payload of the loop down to just this:
--Begin Trimmed Log--

(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.MechJebModuleAttitudeController.attitudeReferenceToWorld (Vector3d vector, MuMech.AttitudeReference reference) [0x00000] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.MechJebModuleAttitudeController.attitudeTo (Vector3d direction, MuMech.AttitudeReference reference, System.Object controller) [0x0005a] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.Landing.PlaneChange.OnFixedUpdate () [0x00188] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
  at MuMech.AutopilotModule.OnFixedUpdate () [0x00008] in <b17e1da17deb4a87b0eab526a34d9b55>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
MuMech.AutopilotModule:OnFixedUpdate()
MuMech.MechJebModuleLandingAutopilot:OnFixedUpdate()
MuMech.MechJebCore:FixedUpdate()

--End Trimmed Log--

This error and the messages it throws are repeated until the application crashes or the user gives up and aborts.

In an attempt to get a cleaner log file of the issue, I saved the game, exited KSP completely and for good measure rebooted Windows. I went back to the save, using the cheats, I reset my orbit around The Mun with the affected vessel above, and after selecting the same target, hit autoland. This time MechJeb worked as expected. Forgive the break comment as I expected to see the same failure.

--Begin Trimmed Log--

/comment BREAK BEFORE MECHJEB LANDING ERROR
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

+++++++++++++++++++++ RUNTIME COMMENT +++++++++++++++++++++
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Time: 12:06:19 PM
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Comment: BREAK BEFORE MECHJEB LANDING ERROR
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 4.01593902520835, applying analytic temperature 257.801584587279
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 3.61640625074506, applying analytic temperature 257.802609138676
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 3.21672058105469, applying analytic temperature 257.803832606537
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 2.81718780472875, applying analytic temperature 257.809498239482
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 2.41750244051218, applying analytic temperature 257.810092523049
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Camera Mode: AUTO
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[ApplicationLauncher] SetVisible: 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

ScaleModList: listSize 41 maxListSize 252
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

ScaleModList: listSize 82 maxListSize 252
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1b has been unloaded 14.9600219726563, applying analytic temperature 149.062474780224
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Reference Frame: Rotating
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Packing Munbase 1b for orbit
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1b
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightGlobals]: Active Vessel is under acceleration (G = 0.58551902540366). Cannot save.
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightGlobals]: Active Vessel is under acceleration (G = 0.655069815642852). Cannot save.
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] Loading Mechjeb 2.10.0
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

ScaleModList: listSize 82 maxListSize 344
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] Loading Mechjeb 2.10.0
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[Munbase 1]: landed - waiting for ground contact to resume physics...
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

ScaleModList: listSize 82 maxListSize 344
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Reloaded drag cube for zeroed cube root part cupola (Munbase 1) on vessel Munbase 1
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightIntegrator]: Vessel Munbase 1 has been unloaded 719681.41023712, applying analytic temperature 254.434244600938
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightGlobals]: Active Vessel is under acceleration (G = 0.804158741461211). Cannot save.
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unpacking Munbase 1
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightGlobals]: Active Vessel is about to crash. Cannot save
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

RCS lock/unlock
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[FlightGlobals]: Active Vessel is moving (sqrVel = 0.664988720979023). Cannot save.
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Outsourced R&D]: 0 Funds taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[CurrencyConverter for Unpaid Research Program]: 0 Reputation taken, yields 0 Science
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

/comment BREAK AFTER AUTO LAND SUCCESSFUL
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

+++++++++++++++++++++ RUNTIME COMMENT +++++++++++++++++++++
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Time: 12:13:04 PM
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Comment: BREAK AFTER AUTO LAND SUCCESSFUL
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--End Trimmed log--

Environment Info
Win32NT 7FFFFFFFFFFFFFFF Args: KSP_x64.exe

Mod DLLs found:
Stock assembly: Assembly-CSharp v0.0.0.0
MechJeb2 v2.5.1.0 / v / v2.10.0.0
ModuleManager v4.1.3.0
DockingPortAlignmentIndicator v6.9.1.0
DPAI_RPM v1.0.0.1
ModuleDockingNodeNamed v1.0.0.1

Folders and files in GameData:
Stock folder: Squad

Stock folder: SquadExpansion

MechJeb2
GameData
CHANGELOG.md
LICENSE
Readme.txt
ModuleManager.ConfigSHA
ModuleManager.ConfigCache
ModuleManager.TechTree
ModuleManager.Physics

KSP Stock 1.10.1.2939
Making History 1.10.1
Breaking Ground 1.5.1

Screenshot and untrimmed logged files available [here].(https://www.dropbox.com/s/l3v3fn7l6c2jyip/MechJeb%20Landing%20Logic%20Loop%20Error.7z?dl=0)

commented

MechJeb2 v2.5.1.0 / v / v2.10.0.0

The version of MJ you are running is not the last one. The last one is 2.11.0 and it has a fix for that problem.