question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReportFatalException0

See original GitHub issue

Enviromnet

ubuntu 18

poc

var tests = [{
        name: 'Octal escape sequences are not allowed in string template literals - exhaustive test',
        body: function () {
            function verifyOctalThrows(octalNumber) {
                if (i <= 255) {
                    (function () {
                    }());
                }   
                if (octalNumber < 100) {
                    (function () {
                    }());
                }   
                (function () {
                }());
            }   
            for (var i = 1; i <= 255; i++) {
                verifyOctalThrows(i.toString(8));
            }   
        }   
    }]; 
var JYTH = Promise;
tests.forEach(v => i.toString());

call stack

[#0] 0x555555d59fac → DebugBreak()
[#1] 0x555555d59fac → ReportFatalException(context=<optimized out>, exceptionCode=<optimized out>, reasonCode=<optimized out>, scenario=<optimized out>)
[#2] 0x555555d5a3a7 → OutOfMemory_unrecoverable_error()
[#3] 0x555557ef6673 → Js::Exception::RaiseIfScriptActive(scriptContext=0x0, kind=0x0, returnAddress=0x0)
[#4] 0x555555d5a929 → Js::Throw::OutOfMemory()
[#5] 0x55555754750d → Js::JavascriptString::SafeSzSize(cch=0xfffffd8d)
[#6] 0x55555805f9a1 → Js::BufferStringBuilder::WritableString::New(length=0xfffffd8d, scriptContext=0x61a000000680)
[#7] 0x555556e7e4aa → Js::BufferStringBuilder::BufferStringBuilder(this=0x7fffffffc7f0, charLength=0xfffffd8d, scriptContext=<optimized out>)
[#8] 0x555556e7e4aa → Js::JavascriptExceptionMetadata::PopulateMetadataFromException(metadata=0x7ffff21ad180, recordedException=<optimized out>, scriptContext=<optimized out>)
[#9] 0x555555cfc248 → JsGetAndClearExceptionWithMetadata::$_41::operator()(scriptContext=<optimized out>, _actionEntryPopper=@0x7fffffffca20, this=<optimized out>)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pleathcommented, Mar 17, 2021

I would treat all fatal errors on legitimate OOM as By Design.

0reactions
pleathcommented, Mar 18, 2021

Right. Thanks, @rhuanjl . I’m speaking, not for Microsoft, but from my experience as a member of the team that invented and maintained Chakra. I’m trying to understand @rain6851 ‘s intent in requesting a CVE. 2 points ought to be made, I think:

  1. I don’t think this issue requires a CVE.
  2. A public forum like GitHub is not an appropriate place for reporting the kind of vulnerability that would require a CVE. The best place I know of for reporting vulnerabilities in Chakra[Core] is secure@microsoft.com.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fatal exception (0): - Resolved - Everything ESP8266
I'm using an ESP12-E. On reboot my ESP sat in a loop at 78800 reporting the following: Fatal exception (0): epc1=0x40100003, epc2=0x00000000 ...
Read more >
Fatal exception (0) · Issue #3138 · esp8266/Arduino - GitHub
Could be a flash memory failure. Exception (0) indicates an illegal instruction. I sometimes get this when uploading at speeds > 115200 baud, ......
Read more >
Crash report: Fatal Exception: NSI… | Apple Developer Forums
Hi! I have no clue how to handle it. Can anyone help me? Or anyone has encountered the same crash. Stack Trace: Fatal...
Read more >
My ESP crashes running some code. How to troubleshoot it?
Use ESP Exception Decoder to find out where the code fails. If you do you homework and are still unable to identify the...
Read more >
8. Errors and Exceptions — Python 3.11.1 documentation
There are (at least) two distinguishable kinds of errors: syntax error... ... fatal: you will soon learn how to handle them in Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found