Skip to content

Easy segmentation fault in mac node --debug #4322

Closed
@jchbh-duplicate

Description

try this v5.1.1

node --debug;

const obj = Promise.resolve(1);
util.inspect(obj)
['any command after last command']

after run util.inspect(obj), any new command will cause segmentation fault on Mac's node .

more information:

  • without --debug, all work fine as expected.
  • the third command can be anything, .

Metadata

Assignees

No one assigned

    Labels

    utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions