8000 OTP 28 shell_history flaky · Issue #9863 · erlang/otp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
OTP 28 shell_history flaky #9863
Closed
Closed
@wojtekmach

Description

@wojtekmach

Describe the bug
Looks like there's a race condition in shell history, sometimes it does not save the last entered command.

To Reproduce

$ erl -kernel shell_history enabled
> 1.
1
%% Ctrl+\ to quit

$ erl -kernel shell_history enabled
%% Up Arrow
%% Sometimes I see "1.", sometimes I see nothing. Consequently, If I write another command on subsequent session, sometimes I'd see it, sometimes just 1.

See: https://asciinema.org/a/oU60rFq4y20uU528NJPT3qoxY

Expected behavior
Shell history should work.

Affected versions
OTP 28.0. Works fine on OTP 27 and prior releases. I tested this on arm64 macOS and (via Docker) Ubuntu.

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0