-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: ShellShell subsystemShell subsystembugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
The shell doesn't always consume all input data when it arrives.
For example, when several lines worth of data are pasted simultaneously from the host, the shell will act as if it only received the first or second line. If the host sends even more input, then the shell starts to "catch up" and processes the third original pasted line as if it had just arrived.
Tested on nrf52 with shell over UART but this would affect any transport.
The exact behavior is messy depending on timing and whether the shell_uart RX buffer overflows -- basically the user visible effect is that the shell seems to drop input, then processes old input when new input comes in, etc.
This is fixed by PR #15224
Metadata
Metadata
Labels
area: ShellShell subsystemShell subsystembugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug