Summary
SIGSEGV (exit 139) running test/js/bun/jsc/native-constructor-identity.test.ts from Bun's suite. Pre-existing — reproduces on a clean main build.
Repro
The file asserts that call-only builtins throw when new-ed:
expect(() => new (BigInt as any)(1)).toThrow(TypeError);
expect(() => new (Symbol as any)("x")).toThrow(TypeError);
The file SIGSEGVs (not yet minimized). Likely new BigInt(...) / new Symbol(...) (constructing a non-constructable builtin) or the expect.any(Ctor) path.
Found via running Bun's own test suite through perry.
Summary
SIGSEGV (exit 139) running
test/js/bun/jsc/native-constructor-identity.test.tsfrom Bun's suite. Pre-existing — reproduces on a cleanmainbuild.Repro
The file asserts that call-only builtins throw when
new-ed:The file SIGSEGVs (not yet minimized). Likely
new BigInt(...)/new Symbol(...)(constructing a non-constructable builtin) or theexpect.any(Ctor)path.Found via running Bun's own test suite through perry.