Bug 817349 - Ensure topFrame is always defined; r=ted

This commit is contained in:
Ed Morley 2012-12-03 14:30:35 +00:00
parent 56d3fa6294
commit 28dc7d0586

View File

@ -166,6 +166,7 @@ def checkForCrashes(dumpDir, symbolsPath, testName=None):
for d in dumps:
stackwalkOutput = []
stackwalkOutput.append("Crash dump filename: " + d)
topFrame = None
if symbolsPath and stackwalkPath and os.path.exists(stackwalkPath):
# run minidump stackwalk
p = subprocess.Popen([stackwalkPath, d, symbolsPath],