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

Exceptions from terminal #67502

Closed
mjbvz opened this issue Jan 29, 2019 · 2 comments
Closed

Exceptions from terminal #67502

mjbvz opened this issue Jan 29, 2019 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented Jan 29, 2019

Testing #23688

  • VSCode Version: 1.31-insiders
  • OS Version: Ubuntu 16.04

Repo
(still trying to track down exact steps)

  1. Split terminal
  2. In each terminal run ls -R
  3. Scroll in windows
  4. Now zoom in and out a bunch and resize the windows/panes (sorry I can't track down exactly what causes this)

Bug
Every so often, I see these sort errors in the developer console after messing around:

bootstrap-window.js:202 [uncaught exception]: TypeError: Cannot read property 'get' of undefined
onUnexpectedError @ bootstrap-window.js:202
bootstrap-window.js:205 TypeError: Cannot read property 'get' of undefined
    at TextRenderLayer._forEachCell (TextRenderLayer.ts:75)
    at TextRenderLayer._drawBackground (TextRenderLayer.ts:184)
    at TextRenderLayer.onGridChanged (TextRenderLayer.ts:263)
    at Renderer.ts:198
    at Array.forEach (<anonymous>)
    at Renderer._renderRows (Renderer.ts:198)
    at RenderDebouncer._innerRefresh (RenderDebouncer.ts:49)
    at RenderDebouncer.ts:40
onUnexpectedError @ bootstrap-window.js:205
TextRenderLayer.ts:75 Uncaught TypeError: Cannot read property 'get' of undefined
    at TextRenderLayer._forEachCell (TextRenderLayer.ts:75)
    at TextRenderLayer._drawBackground (TextRenderLayer.ts:184)
    at TextRenderLayer.onGridChanged (TextRenderLayer.ts:263)
    at Renderer.ts:198
    at Array.forEach (<anonymous>)
    at Renderer._renderRows (Renderer.ts:198)
    at RenderDebouncer._innerRefresh (RenderDebouncer.ts:49)
    at RenderDebouncer.ts:40
bootstrap-window.js:202 [uncaught exception]: TypeError: Cannot read property 'replaceCells' of undefined
onUnexpectedError @ bootstrap-window.js:202
bootstrap-window.js:205 TypeError: Cannot read property 'replaceCells' of undefined
    at InputHandler._eraseInBufferLine (InputHandler.ts:718)
    at InputHandler.eraseInLine (InputHandler.ts:811)
    at Array.<anonymous> (InputHandler.ts:144)
    at EscapeSequenceParser.parse (EscapeSequenceParser.ts:507)
    at InputHandler.parse (InputHandler.ts:299)
    at Terminal._innerWrite (Terminal.ts:1372)
    at Terminal.ts:1341
onUnexpectedError @ bootstrap-window.js:205
InputHandler.ts:718 Uncaught TypeError: Cannot read property 'replaceCells' of undefined
    at InputHandler._eraseInBufferLine (InputHandler.ts:718)
    at InputHandler.eraseInLine (InputHandler.ts:811)
    at Array.<anonymous> (InputHandler.ts:144)
    at EscapeSequenceParser.parse (EscapeSequenceParser.ts:507)
    at InputHandler.parse (InputHandler.ts:299)
    at Terminal._innerWrite (Terminal.ts:1372)
    at Terminal.ts:1341

Does this issue occur when all extensions are disabled?: Yes/No

@mjbvz
Copy link
Collaborator Author

mjbvz commented Jan 29, 2019

Similar to #67439 but different errors

@Tyriar
Copy link
Member

Tyriar commented Jan 30, 2019

@mjbvz I think all the exceptions have the same root cause, something in reflow corrupts the buffer and then various components try to access it at different places.

@Tyriar Tyriar closed this as completed Jan 30, 2019
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants