Skip to content

Segmentations fault with --untrusted-code-mitigations #43296

Closed
@XadillaX

Description

@XadillaX

Version

16.15.0

Platform

Linux zanardance 5.14.0-1036-oem #40-Ubuntu SMP Mon May 9 09:15:08 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

macOS has the same problem

Subsystem

No response

What steps will reproduce the bug?

Use this code:

'use strict';

while (true) {
  const tagKeys = Object.keys({ k: 'key' });
  // const tagKeys = [ 1 ];
  tagKeys[0];
}

And run with --untrusted-code-mitigations:

$ node --untrusted-code-mitigations foo.js

How often does it reproduce? Is there a required condition?

Every time.

What is the expected behavior?

No response

What do you see instead?

Segmentation fault.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions