[GH-ISSUE #598] Recording broken on macOS #929

Closed
opened 2026-03-15 11:01:13 +03:00 by kerem · 4 comments
Owner

Originally created by @ku1ik on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/598

$ target/release/asciinema rec demo.cast
Error: Invalid argument (os error 22)

Seems to be related to https://github.com/tokio-rs/mio/issues/1377

Originally created by @ku1ik on GitHub (Dec 22, 2023). Original GitHub issue: https://github.com/asciinema/asciinema/issues/598 ```sh $ target/release/asciinema rec demo.cast Error: Invalid argument (os error 22) ``` Seems to be related to https://github.com/tokio-rs/mio/issues/1377
kerem closed this issue 2026-03-15 11:01:18 +03:00
Author
Owner

@ku1ik commented on GitHub (Dec 22, 2023):

More on the problem: https://nathancraddock.com/blog/macos-dev-tty-polling/

<!-- gh-comment-id:1867453577 --> @ku1ik commented on GitHub (Dec 22, 2023): More on the problem: https://nathancraddock.com/blog/macos-dev-tty-polling/
Author
Owner

@ku1ik commented on GitHub (Dec 22, 2023):

The select+thread trick described here is something to consider: https://code.saghul.net/2016/05/libuv-internals-the-osx-select2-trick/

<!-- gh-comment-id:1867466048 --> @ku1ik commented on GitHub (Dec 22, 2023): The `select`+thread trick described here is something to consider: https://code.saghul.net/2016/05/libuv-internals-the-osx-select2-trick/
Author
Owner

@ku1ik commented on GitHub (Jan 8, 2024):

Fixed in #601

<!-- gh-comment-id:1880623940 --> @ku1ik commented on GitHub (Jan 8, 2024): Fixed in #601
Author
Owner

@ku1ik commented on GitHub (Jun 17, 2025):

There's a regression, re-opening this.

<!-- gh-comment-id:2979648781 --> @ku1ik commented on GitHub (Jun 17, 2025): There's a regression, re-opening this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#929
No description provided.