Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanitycheck corrupts stty in some cases #20026

Closed
pabigot opened this issue Oct 22, 2019 · 3 comments
Closed

sanitycheck corrupts stty in some cases #20026

pabigot opened this issue Oct 22, 2019 · 3 comments
Assignees
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@pabigot
Copy link
Collaborator

pabigot commented Oct 22, 2019

Manual runs of sanitycheck since 83fc06a periodically complete with the following stty settings changed:

-brkint -icrnl -ixon -icanon -echo

This is something like what I would expect if stty sane was not invoked at a necessary time.

I can reproduce this with some regularity with:

sanitycheck -p mps2_an385 -T tests/kernel/

but it doesn't always leave the terminal corrupted. There's some evidence it can also affect a subset of the flags.

@pabigot pabigot added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug area: Sanitycheck Sanitycheck has been renamed to Twister labels Oct 22, 2019
@nashif
Copy link
Member

nashif commented Nov 5, 2019

issue confirmed.

@aescolar
Copy link
Member

aescolar commented Nov 6, 2019

Note for whoever faces it, you can always write
stty sane
and press enter (even if you dont get the echo)
or in the worst case
Ctrl+J stty saneCtrl+J

@nashif
Copy link
Member

nashif commented Jan 22, 2020

a fix was added in 1fe1f3a

@nashif nashif closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants