Lines Matching refs:stack
117 line_number, stack):
118 """Search for frame entries in the given stack dump text.
124 frame_index: number of the stack frame (0 is innermost frame)
126 function_name: name of the function in the stack
129 stack: text string of stack frame entries on separate lines.
144 return re.search(regexp, stack) is not None
147 def _verify_stack(self, stack, basename, from_crash_reporter):
149 logging.debug('minidump_stackwalk output:\n%s', stack)
154 match = re.search(r'Crash reason:\s+([^\s]*)', stack)
162 match = re.search(r'Crash address:\s+(.*)', stack)
169 'recbomb', 'bomb.cc', 9, stack):
170 raise error.TestFail('Did not show crash line on stack')
172 # Should identify recursion line which is on the stack
175 'bomb.cc', 12, stack):
176 raise error.TestFail('Did not show recursion line on stack')
180 'crasher.cc', 24, stack):
181 raise error.TestFail('Did not show main on stack')
341 stack = utils.system_output('/usr/bin/minidump_stackwalk %s %s' %
343 self._verify_stack(stack, basename, from_crash_reporter)