Skip to content

[Bug] MavFTP checksum computes synchronously #26422

@Martoon-00

Description

@Martoon-00

Describe the bug

From what I can tell, handler for CRC32 computation of MavFTP happens in the same thread as Mavlink handler. This can effectively clog Mavlink messages processing?

In practice I see that attempt to send CalcFileCRC32 request for a flight log file of 35Mb size results in no other message being processed over 20+ seconds.

Flight Log / Additional Information

I cannot attach any logs or information unfortunately, can only tell that I'm using a fork of PX4 based on 1.16.0 and witnessed the issue there. But I'm willing to close this ticket if my suggestion about the code is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions