Skip to content

armhf segmentation fault --inspect-brk and simple import statement #48939

Open
@kapouer

Description

@kapouer

Version

18.13.0, 18.17.0

Platform

6.1.0-10-armmp #1 SMP Debian 6.1.38-1 (2023-07-14) armv7l GNU/Linux

Subsystem

inspector

What steps will reproduce the bug?

Execute
node --inspect-brk main.js

with these files:

import './odd.js';

and

class A extends URL {
	constructor(str) {
		super(str);
	}
	toString() {
		return super.toString();
	}
}

console.log("fail")

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

No response

What is the expected behavior? Why is that the expected behavior?

Not fail

What do you see instead?

Segmentation fault

Additional information

Reproduced with the debian package AND the latest nodesource package node 18.x on debian bookworm.
Small changes to odd.js will stop crashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.inspectorIssues and PRs related to the V8 inspector protocolv8 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