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

Output window gets stuck constantly appending to queue #1509

Closed
stefan-toubia opened this issue Jan 27, 2022 · 4 comments
Closed

Output window gets stuck constantly appending to queue #1509

stefan-toubia opened this issue Jan 27, 2022 · 4 comments
Labels
bug Something isn't working output/repl window

Comments

@stefan-toubia
Copy link
Contributor

I've identified a long running issue where the output window gets into a bad state and no longer updates with new output. What I found is that the current logic which uses an isUpdating flag encounters some edge condition that causes isUpdating to never get cleared, causing the queue to grow indefinitely and require a vscode restart.

@PEZ
Copy link
Collaborator

PEZ commented Jan 27, 2022

I think I encountered that the other day. It was too strange for me to make any sense of that single time.

@bpringe
Copy link
Member

bpringe commented Feb 26, 2022

@stefan-toubia Can you reproduce this consistently? If so, can you provide a repro case? I haven't experienced this, that I know of, but a repro case would help with testing the PR.

@stefan-toubia
Copy link
Contributor Author

@bpringe I have not been able to reproduce this consistently, though it's at least a daily occurrence for me. The only reason I was able to identify the cause was by launching calva with the debugger turned on and getting lucky with break points.

I haven't seen a specific pattern. Sometimes it gets into a bad state nearly immediately after starting vscode, before ever starting a repl. Most of the time though it's after a few hours of working with a repl and then trying to restart the repl with jack-in.

@bpringe
Copy link
Member

bpringe commented Apr 4, 2022

Seems this wasn't linked properly to be closed when the changes were merged to published.

@bpringe bpringe reopened this Apr 4, 2022
@bpringe bpringe closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working output/repl window
Projects
None yet
Development

No branches or pull requests

3 participants