<div dir="ltr"><div dir="ltr">On Fri, 6 Mar 2020 at 11:27, Andrew Sutherland <<a href="mailto:asutherland@asutherland.org">asutherland@asutherland.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Does this eliminate the need documented at
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#stacks" target="_blank">https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#stacks</a>
      to acquire a `minidump_stackwalk` binary and then expose it via
      MINIDUMP_STACKWALK environment variable to get symbolicated
      backtraces when local test runs crash?  Or is that part of the
      future work to "use `fix-stacks` on test outputs"?<br>
    </p></div></blockquote></div><div class="gmail_quote">The short answer is "that is part of the future work".<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">The long answer is: the following is my understanding, which could be wrong in places, because this stuff is surprisingly complicated. Also, the following is all about vanilla local builds that don't involve breakpad symbols; automation builds are a bit different.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Currently:</div><div class="gmail_quote"><div class="gmail_quote"></div><div class="gmail_quote">- On Linux debug builds, you will get a symbolicated stack trace for the following test suites: reftests, jsreftests, crashtests, gtests, mochitests, cppunittests, xpcshelltests, and maybe web platform tests but I'm not sure about them.</div></div><div class="gmail_quote">- On Mac debug builds you won't get symbolication; we have code to do symbolication in the same circumstances as on Linux, but it's currently disabled due to being so slow (bug 1543447).<div class="gmail_quote"></div><div class="gmail_quote">- On Windows debug builds you won't get symbolication because we don't even have code to do that.</div><div class="gmail_quote">- On opt builds you won't get symbolication on any platform.<br></div><div class="gmail_quote"><div class="gmail_quote"><br></div><div class="gmail_quote">Here is the function that these test suites use to enable symbolication, which I will soon be modifying: <a href="https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/utils.py#227-285">https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/utils.py#227-285</a>.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Once bugs 1619837 and 1602717 are completed, you will get symbolicated stack traces on Linux/Mac/Windows debug builds, and you shouldn't need to use `minidump_stackwalk`.<br></div></div></div><br><div class="gmail_quote">Nick<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div></div>