-
Notifications
You must be signed in to change notification settings - Fork 1
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
visual glitch with many progress bars scrolling up screen #8
Comments
Probably this is just 2 progress bars updating at the same time and outputting to console at the same time. |
I have git-annex using ascii-progress now. This bug is one of the blockers for merging that into git-annex:master |
Looking at this |
I'll need to use a VM to reproduce this, because nor I'm going to limit the amount of updates done per second too, maybe have a single writer-thread after all. Maybe that fixes it. Let me try to understand this better. You tweaked the |
Pedro Tacla Yamada wrote:
I've attached it. In extreme cases (when git-annex is driving it), the concurrent writers can E [ TE1EEEATGTTT AAAA N aNNNNNaaaa This was 6 threads all printing out something like ETA NaN. This is on Linux BTW. Basically the same as: Prelude> import Control.Concurrent see shy jo |
I modified MultiExample.hs in 2 ways for this test:
This image shows the visual glitch that resulted from the resulting stream of progress bars.
http://tmp.kitenet.net/multimultibug.png
I see this in multiple different terminal emulators (eg, gnome-terminal). It seems to be somewhat timing dependent, ie changing the *1000 in the delay to * 10 doesn't produce it, but * 1 does.
BTW, the original goal in this test was to check if there were any memory leaks when using enormous numbers of progress bars. Good job -- no memory leaks found!
The text was updated successfully, but these errors were encountered: