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

isWrapped exception in terminal #59114

Closed
Tyriar opened this issue Sep 21, 2018 · 8 comments
Closed

isWrapped exception in terminal #59114

Tyriar opened this issue Sep 21, 2018 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug error-telemetry VS Code - Issues generated by telemetry terminal Integrated terminal issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Sep 21, 2018

xtermjs/xterm.js#1702

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug error-telemetry VS Code - Issues generated by telemetry terminal Integrated terminal issues labels Sep 21, 2018
@Tyriar Tyriar added this to the September 2018 milestone Sep 21, 2018
@Tyriar Tyriar self-assigned this Sep 21, 2018
@Tyriar Tyriar closed this as completed in bd05438 Sep 21, 2018
@IlyaBiryukov
Copy link

@Tyriar

I'm hitting an error about isWrapped property in 1.28.0, is this the same issue you just fixed?

In Chrome debug console:

TypeError: Cannot read property 'isWrapped' of undefined
    at Buffer.getWrappedRangeForLine (c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\vscode-xterm\lib\Buffer.js:205)
    at BufferStringIterator.next (c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\vscode-xterm\lib\Buffer.js:305)
    at Linkifier._linkifyRows (c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\vscode-xterm\lib\Linkifier.js:63)
    at c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\vscode-xterm\lib\Linkifier.js:53

@Tyriar
Copy link
Member Author

Tyriar commented Sep 21, 2018

@IlyaBiryukov yep, let me know if you see it again in Monday's build

@chrmarti
Copy link
Contributor

Seeing this in todays build.

VS Code version: Code - Insiders 1.28.0-insider (5ba5f14, 2018-09-26T07:25:01.336Z)
OS version: Darwin x64 17.7.0

@chrmarti chrmarti reopened this Sep 26, 2018
@Tyriar
Copy link
Member Author

Tyriar commented Sep 28, 2018

I guess my fix only covered one of the cases.

The latest xterm.js should fix this due to the additional bound checking in xtermjs/xterm.js#1693, but since this is an error I expect to have minimal impact on the actual experience, there were some issues when upgrading xterm.js last and because we're so late in the iteration, I'd say we hold off on this until 1.29.

@Tyriar
Copy link
Member Author

Tyriar commented Oct 1, 2018

Fixed in aaee349

@Tyriar Tyriar closed this as completed Oct 1, 2018
@chrmarti
Copy link
Contributor

chrmarti commented Oct 2, 2018

@Tyriar This happens quite often (testing on Linux) and will make it difficult to spot other errors. I'd suggest to still fix this for the September milestone.

@Tyriar Tyriar reopened this Oct 6, 2018
@Tyriar Tyriar added the candidate Issue identified as probable candidate for fixing in the next release label Oct 6, 2018
@StephenWeatherford
Copy link

StephenWeatherford commented Oct 9, 2018

This is annoying since it keeps bringing up the chrome debugging window. I'd said earlier it makes the terminal slow, I think that was not correct. But I do wonder if this is related to the fact that the terminal often isn't painting correctly.

@Tyriar
Copy link
Member Author

Tyriar commented Oct 10, 2018

This is not showing up in our error telemetry, I don't have a repro and pulling in the fix in isolation is non-trivial so I'm removing candidate.

@Tyriar Tyriar closed this as completed Oct 10, 2018
@Tyriar Tyriar removed the candidate Issue identified as probable candidate for fixing in the next release label Oct 10, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug error-telemetry VS Code - Issues generated by telemetry terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants