Skip to content

Process crashes when trying to log a large object #9734

@srolel

Description

@srolel
  • Version: 7.1.0
  • Platform: 64-bit Windows 10

The process consistently crashes (I assume, it simply doesn't log anything at all after running) when trying to run this:

const obj = {};
Array(607).fill('x').forEach((_, i) => obj[i] = i);
console.log(obj);

Changing the array's length to 606 or lower shows the correct output, anything higher produces the crash. Anything after the log doesn't run. Omitting just the console.log call makes the program run correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.consoleIssues and PRs related to the console subsystem.duplicateIssues and PRs that are duplicates of other issues or PRs.libuvIssues and PRs related to the libuv dependency or the uv binding.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions