bobthecow/psysh

Pager process crashes on macOS

Closed this issue · 2 comments

An error occurs when outputting a long value to the pager on macOS.
No value can be output once the process crashes.

2022-07-02.0.57.52.mov

From what I've looked at, range(1, 3563) doesn't cause any problems and range(1, 3564) raises an exception.

This problem does not occur on Linux.

The cause of this issue is still unknown, but I have submitted a patch to continue the output.

Yeah, that's weird. Your workaround helps it successfully recover, though, so that's great!

At least on my machine, after your change it only fails when trying to close the pager, so at that point it's … probably fine? The workaround makes it not terrible :)