This looks close to #6456, and I thought it was just another case of that issue, but @indutny mentioned that the errors are printed from c++, so #6456 alone shouldn't have caused this, this is why I'm opening a separate issue.
A harder to reproduce example where the error is missing (it reproduces with about 10% chance for me):
for(vari=0;i<10000;i++){console.log('HelloHelloHelloHelloHelloHelelloHelloHelloHelloHelloHelloHello '+i);}a();A simplier to reproduce example (the error gets truncated here most of the times, and sometimes is missing as in the previous example):
for(vari=0;i<10000;i++){console.log('HelloHelloHelloHelloHelloHelelloHelloHelloHelloHelloHelloHello '+i);}thrownewError(Array(100000+1).join('x')+'!');
This looks close to #6456, and I thought it was just another case of that issue, but @indutny mentioned that the errors are printed from c++, so #6456 alone shouldn't have caused this, this is why I'm opening a separate issue.
A harder to reproduce example where the error is missing (it reproduces with about 10% chance for me):
A simplier to reproduce example (the error gets truncated here most of the times, and sometimes is missing as in the previous example):