class Foo {
valueOf(m, n) {
var a;
try { a = this.valueOf(); } catch (e) {}
var b = `
class Bar extends m {
constructor(a21, a22) {
}
static {
for (let i25 = 0; i25 < 5;) {
}
}
/*
constructor(a31) {
/0()*/;
isNaN(a);
}
*/
}
`;
eval(b, eval, this, a);
}
}
var c = new Foo();
c.valueOf();
Error message:
SEGV on ASAN version
AddressSanitizer:DEADLYSIGNAL
=================================================================
==505902==ERROR: AddressSanitizer: SEGV on unknown address 0x000000002cee (pc 0x55ca4212e04b bp 0x7ffc2cef5740 sp 0x7ffc2cef56a0 T0)
==505902==The signal is caused by a READ memory access.
jerryScript version 3.0.0: commit 05dbbd134c3b9e2482998f267857dd3722001cd7
Build platform: Ubuntu 20.04
Build cmd:
Test case
Error message:
SEGV on ASAN version
Aborted with assertion error in debug version: