bug 519194 - No symbols in stack trace on tests of optimized builds (landing without review, consider it a bustage fix)

This commit is contained in:
Ted Mielczarek
2009-10-02 14:46:49 -04:00
parent ee84abf99c
commit 086ed5d3e5
3 changed files with 8 additions and 0 deletions

View File

@@ -79,6 +79,11 @@ def checkForCrashes(dumpDir, symbolsPath, testName=None):
# eat minidump_stackwalk errors
subprocess.call([stackwalkPath, d, symbolsPath], stderr=nullfd)
nullfd.close()
else:
if not symbolsPath:
print "No symbols path given, can't process dump."
if not stackwalkPath:
print "MINIDUMP_STACKWALK not set, can't process dump."
os.remove(d)
extra = os.path.splitext(d)[0] + ".extra"
if os.path.exists(extra):