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):

View File

@@ -123,6 +123,8 @@ Are you executing $objdir/_tests/reftest/runreftest.py?""" \
# allow relative paths
options.xrePath = getFullPath(options.xrePath)
options.symbolsPath = getFullPath(options.symbolsPath)
profileDir = None
try:
profileDir = mkdtemp()

View File

@@ -389,6 +389,7 @@ Are you executing $objdir/_tests/testing/mochitest/runtests.py?"""
options.utilityPath = getFullPath(options.utilityPath)
options.certPath = getFullPath(options.certPath)
options.symbolsPath = getFullPath(options.symbolsPath)
debuggerInfo = None