Open
Description
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.