/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CrashRecoveryContext.h | 1 //===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===// 17 /// Crash recovery helper object. 21 /// detected and control restored to the crashing thread. Crash detection is 36 /// ... a crash was detected, report error to user ... 39 /// ... no crash was detected ... 44 /// executed in any case, whether crash occurs or not. These actions may be used 45 /// to reclaim resources in the case of crash. 61 /// Enable crash recovery. 64 /// Disable crash recovery. 71 /// Return true if the current thread is recovering from a crash. [all …]
|
H A D | PrettyStackTrace.h | 1 //===- llvm/Support/PrettyStackTrace.h - Pretty Crash Handling --*- C++ -*-===// 41 /// a crash. 44 /// Get the bug report message that will be output upon a crash. 70 /// should not contain newlines) to the stream as the stack trace when a crash 81 /// as the stack trace when a crash occurs. 90 /// to the stream as the stack trace when a crash occurs. 108 /// PrettyStackTraceEntries, to make sure the stack that's printed if a crash 109 /// happens after a crash that's been recovered by CrashRecoveryContext
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | CrashRecoveryContext.cpp | 1 //===--- CrashRecoveryContext.cpp - Crash Recovery ------------------------===// 50 /// Called when the separate crash-recovery thread was finished, to 67 assert(!Failed && "Crash recovery context already failed!"); in HandleCrash() 79 // Otherwise let the caller decide of the outcome of the crash. Currently in HandleCrash() 214 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionFilter() 216 // Handle the crash in ExceptionFilter() 232 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely() 252 // running on threads with LLVM crash recovery contexts, so we would like to 294 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionHandler() 296 // Handle the crash in ExceptionHandler() [all …]
|
H A D | PrettyStackTrace.cpp | 1 //===- PrettyStackTrace.cpp - Pretty Crash Handling -----------------------===// 42 " and include the crash backtrace.\n"; 66 // but the program won't crash. 112 // Integrate with crash reporter libraries. 115 // only one crash info struct will be used. 139 // Don't reorder subsequent operations: whatever comes after might crash and in setCrashLogMessage() 140 // we want the system crash handling to see the message we just set. in setCrashLogMessage() 157 // On non-apple systems, just emit the crash stack trace to stderr. in CrashHandler() 160 // Emit the crash stack trace to a SmallString, put it where the system crash in CrashHandler() 173 // If we crash while trying to print the stack trace, we still want the system in CrashHandler() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | pmc8.sh | 27 cat > /tmp/pmc-crash.c <<EOF 54 clang -lpmc pmc-crash.c -o pmc-crash 108 mycc -o /tmp/pmc-crash -Wall -Wextra -O0 /tmp/pmc-crash.c -lpmc || exit 112 ./pmc-crash; s=$? 114 rm -f /tmp/pmc-crash /tmp/pmc-crash.core /tmp/pmc-crash.c
|
/freebsd/sbin/dumpon/ |
H A D | dumpon.8 | 33 .Nd "specify a device for crash dumps" 65 utility is used to configure where the kernel can save a crash dump in the case 132 Select the symmetric algorithm used for encrypted kernel crash dump. 164 eliminates the need to reserve space for crash dumps. 211 The default type of kernel crash dump is the mini crash dump. 212 Mini crash dumps hold only memory pages in use by the kernel. 232 Because the file system layer is already dead by the time a crash dump 233 is taken, it is not possible to send crash dumps directly to a file. 260 to configure encrypted kernel crash dumps: 264 It is recommended to test if the kernel saves encrypted crash dumps using the [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/ |
H A D | crash_handler.h | 10 // out-of-process crash handler after the process has terminated. Functions in 11 // this interface are never thread safe. For an in-process crash handler, the 24 // 1. The crash is unrelated to GWP-ASan - in which case this function returns 26 // 2. The crash is internally detected within GWP-ASan itself (e.g. a 30 // 3. The crash is caused by a memory error at `AccessPtr` that's caught by the 35 // case of some internally-detected errors, the crash may manifest as an abort 51 // 1. If the crash was caused by an internally-detected error (invalid free, 56 // 3. If GWP-ASan wasn't responsible for the crash at all, this function also 63 // the crash. This metadata should not be dereferenced directly due to API 66 // this crash.
|
H A D | common.h | 9 // This file contains code that is common between the crash handler and the 24 // can be understood by tools at different versions. Out-of-process crash 102 // In recoverable mode, whether this allocation has had a crash associated 104 // permanently occupy a slot, and won't ever have another crash reported from 110 // crash handler. This, in conjunction with the Metadata array, forms the entire 111 // set of information required for understanding a GWP-ASan crash. 162 // Out-of-process crash handlers, like breakpad/crashpad, may copy the internal 163 // GWP-ASan structures into a minidump for offline reconstruction of the crash. 166 // architecture-specific layout info, which is left as an exercise to the crash
|
/freebsd/contrib/kyua/utils/ |
H A D | sanity.cpp | 79 /// The crash handler for fatal signals. 93 "doing before the crash happened; if possible, include the log " in crash_handler() 103 /// Installs a handler for a fatal signal representing a crash. 120 LW(F("Could not install crash handler for signal %s: %s") % in install_one_crash_handler() 123 LD(F("Installed crash handler for signal %s") % signo); in install_one_crash_handler() 175 /// Installs persistent handlers for crash signals. 178 /// ensure that a signal handler for fatal crash signals is installed. 182 /// \param logfile_ The path to the log file to report during a crash.
|
/freebsd/tools/test/sort/bigtest/ |
H A D | kcmd | 36 echo ${LANG} ${KEYS} crash >> test.log 53 echo ${LANG} ${KEYS} -t " " crash >> test.log 70 echo ${LANG} ${KEYS} -t "|" crash >> test.log 87 echo ${LANG} ${KEYS} -t 0 crash >> test.log 110 echo ${LANG} ${KEYS} +${f1}.${c1} crash +- >> test.log 127 echo ${LANG} ${KEYS} -k${f1}.${c1} crash >> test.log 144 echo ${LANG} ${KEYS} -k${f1}.${c1}b crash >> test.log 161 echo ${LANG} ${KEYS} -t -k${f1}.${c1} crash >> test.log 178 echo ${LANG} ${KEYS} -k${f1}.${c1}n crash >> test.log 195 echo ${LANG} ${KEYS} -t "|" -k${f1}.${c1} crash >> test.log [all …]
|
/freebsd/lib/libkvm/ |
H A D | kvm.3 | 44 images, including live systems and crash dumps. 52 while crash dumps can be examined via the core file generated by 104 library supports inspection of crash dumps from non-native kernels. 106 To inspect a crash dump of a non-native kernel, 131 crash dumps:
|
/freebsd/share/man/man4/ |
H A D | gdb.4 | 103 .Ss "Debugging a crash dump" 104 By default, crash dumps are stored in the directory 105 .Pa /var/crash . 108 .Dl "gdb -k kernel.debug /var/crash/vmcore.29" 357 It is necessary for remote debugging and crash dumps; for local memory debugging 364 remote debugging and crash dumps; use 523 When debugging a crash dump or over firewire, it is not necessary to start 527 dmesg -M /var/crash/vmcore.0 -N kernel.debug 541 When debugging a crash dump or over firewire, it is not necessary to start 547 ps -M /var/crash/vmcore.0 -N kernel.debug
|
/freebsd/share/man/man8/ |
H A D | crash.8 | 4 .\" Adapted from share/man/man8/man8.hp300/crash.8 37 .Nm crash 41 and (very briefly) how to analyze crash dumps. 107 after a crash, hardware failures, or other condition that should not 113 involved is made to be extensible, running out of entries causes a crash. 182 If the system has been configured to take crash dumps (see
|
/freebsd/sbin/decryptcore/ |
H A D | decryptcore.8 | 102 Specify an alternative crash dump directory. 103 The default crash dump directory is 104 .Pa /var/crash . 106 Specify a number of a crash dump to be decrypted.
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | CrashDebugger.cpp | 106 outs() << "Checking to see if these passes crash: " in doTest() 122 outs() << "Checking to see if these passes crash: " << getPassesString(Suffix) in doTest() 176 outs() << "Checking for crash with only these global variables: "; in TestGlobalVariables() 271 outs() << "Checking for crash with only these functions: "; in TestFuncs() 391 // Pass along the set of attributes that caused the crash. in TestFuncAttrs() 477 outs() << "Checking for crash with only these blocks:"; in TestBlocks() 547 // It didn't crash, try something else. in TestBlocks() 590 outs() << "Checking for crash with changing conditionals to always jump to " in TestBlocks() 648 // It didn't crash, try something else. in TestBlocks() 688 outs() << "Checking for crash with CFG simplifying:"; in TestBlocks() [all …]
|
/freebsd/usr.bin/clang/lldb/ |
H A D | lldb.1 | 94 Alias for \-\-source\-on\-crash 99 Alias for \-\-one\-line\-on\-crash 118 .B \-\-one\-line\-on\-crash <command> 148 .B \-\-source\-on\-crash <file> 365 lldb \-K /source/before/crash \-k /source/after/crash
|
/freebsd/share/doc/smm/02.config/ |
H A D | b.t | 92 System dumps are automatically taken after a system crash, 105 a file in a ``crash'' directory and also makes a copy of the 106 system which was running at the time of the crash (usually 117 assumes a crash occurred and reads \fIdumpsize\fP from the dump area
|
/freebsd/share/doc/smm/06.nfs/ |
H A D | 2.t | 31 .sh 1 "Not Quite NFS, Crash Tolerant Cache Consistency for NFS" 34 consistency between clients in a crash tolerant manner. 40 after a crash. 146 is greater than any value it could have had before a crash. 150 .sh 2 "Crash Recovery and other Failure Scenarios" 155 As such, server crash recovery does not require any state recovery. After 175 outstanding leases for that client on the server prior to the crash will either be renewed or expire 375 RPC request after a short delay. It is used during crash recovery (Section 2)
|
/freebsd/contrib/llvm-project/lldb/docs/man/ |
H A D | lldb.rst | 66 Alias for --source-on-crash 70 Alias for --one-line-on-crash 84 .. option:: --one-line-on-crash <command> 108 .. option:: --source-on-crash <file> 289 lldb -K /source/before/crash -k /source/after/crash
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | ErrorHandling.h | 32 * doing exit(1) will bypass many crash reporting/tracing system tools. This 45 * Enable LLVM's built-in stack trace code. This intercepts the OS's crash 47 * crash.
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | parse.mk | 34 # Try to reproduce some variants that may lead to a crash, depending on the 35 # memory allocator. To get a crash, the terminating '\0' of the line must be 39 # On FreeBSD x86_64, a crash could in some cases be forced using the following
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_util.c | 247 crash(); in error() 255 crash(void) in crash() function 272 crash(); in record_open() 474 crash(); in xmalloc() 486 crash(); in xrealloc() 498 crash(); in xstrdup()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilFuchsia.cpp | 43 // each requested condition (alarm, interrupt, crash). Of these, the crash 77 // For the crash handler, we need to call Fuzzer::StaticCrashSignalCallback 85 // to allow the exception handling thread to gather the crash state directly. 197 // Trampoline to bridge from the assembly below to the static C++ crash 209 // * The stack contains a copy of all the registers at the point of crash, 212 // the fuzzer, generating a crash artifact. 411 // Early exit if no crash handler needed. in SetSignalHandler() 416 // Set up the crash handler and wait until it is ready before proceeding. in SetSignalHandler()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseAST.cpp | 36 /// a crash. 49 /// If a crash happens while the parser is active, an entry is printed for it. 57 /// If a crash happens while the parser is active, print out a line indicating 109 // Recover resources if we crash before exiting this method. in ParseAST() 140 // Recover resources if we crash before exiting this method. in ParseAST()
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | services | 57 dumpdev "Enable kernel crash dumps to /var/crash" ${dumpdev:-on} \ 83 echo '# Set dumpdev to "AUTO" to enable crash dumps, "NO"' \
|