Skip to content

Crash when notebook scrolling is on and a lot of output is streamed in #182636

@r3m0t

Description

@r3m0t

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

  • VS Code Version:
  • OS Version:
    Version: 1.79.0-insider (user setup)
    Commit: 2575777
    Date: 2023-05-12T05:21:06.392Z
    Electron: 22.5.2
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Windows_NT x64 10.0.19045
    Sandboxed: Yes

Steps to Reproduce:

  1. Install Jupyter and Python
  2. Ensure user setting "notebook.output.scrolling": true, "notebook.output.textLineLimit": 30 (this is the default)
  3. Create interactive window
  4. Run cell containing
import sys
for i in range(31500):
    print('{!r} {!r}'.format(list(range(10)), i), file=sys.stderr)

This works, it's only abou 1 MB of output.

  1. Run cell containing
import sys
for i in range(31500):
    print('{!r} {!r}'.format(list(range(10)), i), file=sys.stderr)
    sys.stderr.flush()

The renderer crashes!

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions