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

Executing "yes" freezes the console #555

Open
Bertg opened this issue Aug 3, 2016 · 11 comments
Open

Executing "yes" freezes the console #555

Bertg opened this issue Aug 3, 2016 · 11 comments
Labels
🐛 Type: Bug Issue pertains to something wrong within Hyper

Comments

@Bertg
Copy link

Bertg commented Aug 3, 2016

Reproduce:

  • open hyperterm
  • type "yes"
  • hit enter

Expectation:

  • Window should scroll
  • ctrl-c should interrupt the process
@MrRio
Copy link
Contributor

MrRio commented Aug 3, 2016

Can confirm on latest master

@diessica
Copy link

diessica commented Aug 3, 2016

Also happening on OS X El Capitan 10.11.

Latest master.

@ssdong
Copy link

ssdong commented Aug 3, 2016

This is really an interesting bug I would say. lol

@matheuss matheuss added the 🐛 Type: Bug Issue pertains to something wrong within Hyper label Aug 3, 2016
@albinekb
Copy link
Contributor

albinekb commented Aug 6, 2016

I think this is related to #94

@k1sul1
Copy link

k1sul1 commented Nov 23, 2016

Just happened to me, again..

Everything just freezes in the app, and this is rather interesting:

htop

This is pretty serious bug as it crashes the whole terminal, which could be pretty catastrophic if you have a lot going on in other tabs.

@whitfin
Copy link

whitfin commented Dec 7, 2016

I think it's due to Hyper being slow with IO in general. If you print anything "large", it freezes and doesn't accept input until it has cleared the buffer - not just yes. It just happens that with yes it can't clear the buffer, so it just freezes for good. If you write a script to output something a large number of times, it'll also freeze, but will recover once the buffer has flushed.

Not unrelated, this has been very frustrating when working on Advent of Code :)

@lyndsysimon
Copy link

lyndsysimon commented Feb 17, 2017

Still an issue in 1.2.1.

I agree with @zaxkehh, it's a problem with IO in general. I was able to reproduce with the following zsh script:

for i in {1..50000}
do
    echo $i;
done;
sleep 5;
for i in {1..10}
do
    echo $i;
    sleep 1;
done;

This produces 50k lines of output (which chokes Hyper, and drives CPU usage through the roof), waits 5 seconds, then outputs an additional 10 lines one at a rate of one per second. By the time Hyper catches up the output is complete.

@lyndsysimon
Copy link

This issue is of critical importance to me, because I often run several processes at once that output a debug log during development and testing. This makes Hyper almost unusable for me.

@1Reinier
Copy link

Why is Hyper's I/O so slow?

@chabou
Copy link
Collaborator

chabou commented Jan 16, 2018

It depends on which version you tried ;)

@rolurq
Copy link

rolurq commented May 30, 2019

This is still happening to me in the latest stable version 3.0.2
Not only with yes but with any program with a lot of output as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Issue pertains to something wrong within Hyper
Projects
None yet
Development

No branches or pull requests