ArduPilot / ArduPilot/MissionPlanner

Windows MP Timeout on read - GetLogEntry

Open
#3,408 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details
_Please describe the problem, or desired feature_
Error:System.TimeoutException: Timeout on read - GetLogEntry
https://discuss.ardupilot.org/t/windows-build-1-3-81-build-1-3-8741-25556-timeoutexception/119439
USB 921600bps direct cube USB port, not via carrier board.

#### Version
_What version was the issue encountered with_
Windows build 1.3.81 build 1.3.8741.25556 and Windows build 1.3.82 build 1.3.8979.17128
Arducopter 4.5.6

#### Platform
[ ] All
[ ] AntennaTracker
[ x ] Copter
[ ] Plane
[ ] Rover
[ ] Sub

#### Airframe type
_What type of airframe (flying wing, glider, hex, Y6, octa etc)_
FRAME_CLASS,2
FRAME_TYPE,1
Hexa/X

#### Hardware type
_What autopilot hardware was used? (pixhawk, pixracer, PX4FMU etc)_
CubeOrange 00420019 3239510C 38363839,

#### Logs
_Please provide a link to any relevant logs that show the issue_
```
Getting list of log files...
Error:System.TimeoutException: Timeout on read - GetLogEntry
at MissionPlanner.MAVLinkInterface.d__270.MoveNext() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\ArduPilot\Mavlink\MAVLinkInterface.cs:line 6142
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MissionPlanner.Utilities.Extensions.<>c__DisplayClass1_0`1.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MissionPlanner.Utilities.Extensions.AwaitSync[T](Task`1 infunc)
at MissionPlanner.MAVLinkInterface.GetLogList() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\ArduPilot\Mavlink\MAVLinkInterface.cs:line 6086
at MissionPlanner.Log.LogDownloadMavLink.b__12_0() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\Log\LogDownloadMavLink.cs:line 80
```
![MP_error_log](https://github.com/user-attachments/assets/1f7a49a7-7f1d-42f0-9c78-d54e91a83628)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading GetLogEntry in ExtLibs/ArduPilot/Mavlink/MAVLinkInterface.cs at line 6142, then follow its caller GetLogList and LogDownloadMavLink.cs at line 80. Reproduce log-list loading on Windows with the reported CubeOrange and direct USB setup, and identify a change that prevents the reported timeout from aborting the operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.