Home | History | Annotate | Download | only in crash

Lines Matching refs:crasher

20 CRASHER = 'crasher_nobreakpad'
26 functionality includes installing a crasher executable, generating Breakpad
27 symbols, running the crasher process, and verifying collection and sending.
32 """Copy the crasher source code under |srcdir| and build it."""
33 src = os.path.join(os.path.dirname(__file__), 'crasher')
34 dest = os.path.join(self.srcdir, 'crasher')
59 """Extract the crasher and set its permissions.
61 crasher is only gzipped to subvert Portage stripping.
64 crasher is installed and run.
67 self._crasher_path = os.path.join(self.srcdir, 'crasher', CRASHER)
68 utils.system('cd %s; tar xzf crasher.tgz-unmasked' %
71 # this directory and its decendents in order to run crasher
115 16 crasher_nobreakpad!main [crasher.cc : 21 + 0xb]
171 'crasher.cc', 24, stack):
179 """Runs the crasher process.
186 @param username: Unix user of the crasher process.
187 @param cause_crash: Whether the crasher should crash.
189 @param crasher_path: Path to which the crasher should be copied before
207 returncode: return code of the crasher
208 crashed: did the crasher return segv error code
210 output: stderr output of the crasher process
240 logging.debug('Running crasher: %s', crasher_command)
246 crasher = subprocess.Popen(crasher_command,
250 output = crasher.communicate()[1]
251 exit_code = crasher.returncode
254 logging.debug('Crasher output:\n%s', output)
257 # Get the PID from the output, since |crasher.pid| may be su's PID.
260 raise error.TestFail('Missing PID in crasher output')
296 logging.debug('Crasher process result: %s', result)
449 raise error.TestFail('Crasher returned %d instead of crashing' %