![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Unix/UnixPlatformCrashContext.h"#include "Containers/StringConv.h"#include "HAL/PlatformStackWalk.h"#include "HAL/PlatformTime.h"#include "HAL/PlatformProcess.h"#include "HAL/PlatformOutputDevices.h"#include "Logging/LogMacros.h"#include "CoreGlobals.h"#include "HAL/FileManager.h"#include "Misc/Parse.h"#include "Misc/CommandLine.h"#include "Misc/Paths.h"#include "Misc/FileHelper.h"#include "Delegates/IDelegateInstance.h"#include "Misc/ConfigCacheIni.h"#include "Misc/Guid.h"#include "Misc/OutputDeviceRedirector.h"#include "Misc/OutputDeviceError.h"#include "Misc/OutputDeviceArchiveWrapper.h"#include "Containers/Ticker.h"#include "Misc/FeedbackContext.h"#include "Misc/App.h"#include "Misc/EngineVersion.h"#include "Misc/StringBuilder.h"#include "HAL/PlatformMallocCrash.h"#include "Unix/UnixPlatformRealTimeSignals.h"#include "Unix/UnixPlatformRunnableThread.h"#include "HAL/ExceptionHandling.h"#include "Stats/Stats.h"#include "HAL/ThreadHeartBeat.h"#include "BuildSettings.h"#include <sys/mman.h>#include <atomic>Classes | |
| struct | UnixCrashReporterTracker::CrashReporterProcess |
Namespaces | |
| namespace | UnixCrashReporterTracker |
Macros | |
| #define | HANDLE_CASE(a, b) case a: ErrorString += TEXT(#a ": " b); break; |
| #define | SERVER_MAX_CONCURRENT_REPORTS 1 |
Functions | |
| FString | DescribeSignal (int32 Signal, siginfo_t *Info, ucontext_t *Context) |
| void | GracefulTerminationHandler (int32 Signal, siginfo_t *Info, void *Context) |
| void | CreateExceptionInfoString (int32 Signal, siginfo_t *Info, ucontext_t *Context) |
| std::atomic< uint32 > | UnixCrashReporterTracker::NumUploadingProcesses (0) |
| bool | UnixCrashReporterTracker::Tick (float DeltaTime) |
| void | UnixCrashReporterTracker::PreInit () |
| bool | UnixCrashReporterTracker::WaitForProcWithTimeout (FProcHandle Proc, const double TimeoutInSec, const double SleepIntervalInSec) |
| void | UnixCrashReporterTracker::RemoveValidCrashReportTickerForChildProcess () |
| void | DefaultCrashHandler (const FUnixCrashContext &Context) |
| void | PlatformCrashHandler (int32 Signal, siginfo_t *Info, void *Context) |
| void | ThreadStackWalker (int32 Signal, siginfo_t *Info, void *Context) |
| #define SERVER_MAX_CONCURRENT_REPORTS 1 |
| void CreateExceptionInfoString | ( | int32 | Signal, |
| siginfo_t * | Info, | ||
| ucontext_t * | Context | ||
| ) |
| void DefaultCrashHandler | ( | const FUnixCrashContext & | Context | ) |
Good enough default crash reporter.
| FString DescribeSignal | ( | int32 | Signal, |
| siginfo_t * | Info, | ||
| ucontext_t * | Context | ||
| ) |
Handles graceful termination. Gives time to exit gracefully, but second signal will quit immediately.
True system-specific crash handler that gets called first
|
extern |
Message for the assert triggered on this thread
|
extern |
|
extern |
| void(* GCrashHandlerPointer) (const FGenericCrashContext &Context) | ( | const FGenericCrashContext & | Context | ) | = NULL |
Global pointer to crash handler
|
extern |
| volatile sig_atomic_t GEnteredSignalHandler = 0 |
|
extern |