Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Flood enqueue of 21 byte objects triggers corruption near MTU size #134

Open
TimEvens opened this issue Apr 11, 2024 · 0 comments
Open

Flood enqueue of 21 byte objects triggers corruption near MTU size #134

TimEvens opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TimEvens
Copy link
Contributor

New-Qmedia Test Publication States floods 256 21 byte objects to libquicr/transport. This is then enqueued and transport attempts to send them all. Consistently objects 67 and 68 fail with "Invalid Message Type" from relay on received data.

This appears to only happen on slower systems, specifically github runners. It's very hard to reproduce on laptop/dev machine.

Below are the relevant logs. It shows that the client tries to produce the objects but the relay receives two of them as Invalid Message Type. It suggests that the client sent them per picoquic, but something happened with picoquic on transmission that corrupted the data.

2024-04-11T14:07:31.155505 [INFO] PublisherObject name=0x000001010000220100016617EEA20143 size=21
2024-04-11T14:07:31.155512 [INFO]   Forwarding to subscriber_id=1
2024-04-11T14:07:31.155521 [INFO] [QSES] Invalid Message Type
2024-04-11T14:07:31.155534 [INFO] [QSES] conn_id: 140405685483008 data_ctx_id: 2 RX Object gap for name: 0x000001010000220100016617EEA20146 recv: 326 prev: 323 delta: 2
2024-04-11T14:07:31.155542 [INFO] PublisherObject name=0x000001010000220100016617EEA20146 size=21
2024-04-11T14:07:31.155548 [INFO]   Forwarding to subscriber_id=1

----
2024-04-11T14:07:31.155505 [INFO] PublisherObject name=0x000001010000220100016617EEA20143 size=21
2024-04-11T14:07:31.155512 [INFO]   Forwarding to subscriber_id=1
2024-04-11T14:07:31.155521 [INFO] [QSES] Invalid Message Type
2024-04-11T14:07:31.155534 [INFO] [QSES] conn_id: 140405685483008 data_ctx_id: 2 RX Object gap for name: 0x000001010000220100016617EEA20146 recv: 326 prev: 323 delta: 2
2024-04-11T14:07:31.155542 [INFO] PublisherObject name=0x000001010000220100016617EEA20146 size=21
2024-04-11T14:07:31.155548 [INFO]   Forwarding to subscriber_id=1

----

recv (3) [ 42 ]
2024-04-11T14:07:31.161106 [INFO] [QSES] conn_id: 140405693795840 data_ctx_id: 2 RX Object gap for name: 0x000001010000220100016617EEA20146 recv: 326 prev: 323 delta: 2
recv (3) [ 45 ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant