Lines Matching refs:crash
25 Base class for tests that verify crash reporting for user processes. Shared
31 # Every crash report needs one of these to be valid.
52 @param expected_version: Expected version included in the crash report,
54 @param force_user_crash_dir: Always look for crash reports in the crash
152 # Crash reason: SIGSEGV
153 # Crash reason: SIGSEGV /0x00000000
154 match = re.search(r'Crash reason:\s+([^\s]*)', stack)
157 # We cannot yet determine the crash address when coming
162 match = re.search(r'Crash address:\s+(.*)', stack)
164 raise error.TestFail('Did not identify crash address %s' %
167 # Should identify crash at *(char*)0x16 assignment line
170 raise error.TestFail('Did not show crash line on stack')
190 Will wait up to 10 seconds for crash_reporter to report the crash.
191 crash_reporter_caught will be marked as true when the "Received crash
196 @param cause_crash: Whether the crasher should crash.
197 @param consent: Whether the user consents to crash reporting.
209 @param expected_uid: The uid the crash happens under.
210 @param expected_gid: The gid the crash happens under.
283 ('[%s] Received crash notification for %s[%d] sig 11, user %d '
322 if crash_dir == '/var/spool/crash':
403 raise error.TestFail('Crash directory should not exist')
407 raise error.TestFail('Crash directory does not exist')
412 # A dict tracking files for each crash report.
429 logging.debug('Found crash report file (%s): %s', ext, filename)
437 raise error.TestFail('Crash reporter created an unknown file: '
446 raise error.TestFail('crash report is missing files: %s' % (
449 raise error.TestFail('crash report includes unknown files: %s' % (
476 raise error.TestFail('crash_reporter did not catch crash')
497 raise error.TestFail('crash reporter did not generate minidump')
501 raise error.TestFail('crash reporter did not announce minidump')