Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

Issue ID

1399467

Regression

No

Fatal Error crash on the editor on a Mac results in an Abort on destruct

Metal

-

When a crash of type "Fatal Error" occurs in the editor, the editor tries to handle the error. However during it's destruction, an abort signal is sent and the clean up doesn't complete properly.
This only seems to occur on a Mac.
Call stack:
__pthread_kill (@__pthread_kill:6)
pthread_kill (@pthread_kill:65)
abort (@abort:41)
abort_message (@abort_message:59)
demangling_terminate_handler() (@demangling_terminate_handler():66)
_objc_terminate() (@_objc_terminate():35)
std::__terminate(void (*)()) (@std::__terminate(void (*)()):8)
std::terminate() (@std::terminate():16)
__clang_call_terminate (@__clang_call_terminate:7)
GfxDoubleCache<unsigned long, unsigned long long, GfxGenericHash<unsigned long>, std::__1::equal_to<unsigned long>, GfxDoubleCacheConcurrencyPolicy::LocklessGet, GfxDoubleCacheDefaultEmptyDeletedGenerator<unsigned long>, (MemLabelIdentifier)83>::~GfxDoubleCache() (/Users/kara.virgo-ammann/unity/Runtime/GfxDevice/utilities/GfxDoubleCache.h:153)
GfxDoubleCache<unsigned long, unsigned long long, GfxGenericHash<unsigned long>, std::__1::equal_to<unsigned long>, GfxDoubleCacheConcurrencyPolicy::LocklessGet, GfxDoubleCacheDefaultEmptyDeletedGenerator<unsigned long>, (MemLabelIdentifier)83>::~GfxDoubleCache() (/Users/kara.virgo-ammann/unity/Runtime/GfxDevice/utilities/GfxDoubleCache.h:151)
__cxa_finalize_ranges (@__cxa_finalize_ranges:91)
exit (@exit:21)
LaunchBugReporter(BugReportMode, dynamic_array<core::basic_string<char, core::StringStorageDefault<char> >, 0ul> const&) (/Users/kara.virgo-ammann/unity/Editor/Platform/OSX/BugReportingTools.mm:74)
LaunchBugReporter(BugReportMode) (/Users/kara.virgo-ammann/unity/Editor/Platform/OSX/BugReportingTools.mm:42)
EditorMonoConsole::LogToConsoleImplementation(CppLogEntry&) (/Users/kara.virgo-ammann/unity/Editor/Src/EditorMonoConsole.cpp:753)
EditorMonoConsole::LogToConsoleImplementation(DebugStringToFileData const&) (/Users/kara.virgo-ammann/unity/Editor/Src/EditorMonoConsole.cpp:657)
LogToConsoleImplementation(DebugStringToFileData const&) (/Users/kara.virgo-ammann/unity/Editor/Src/EditorMonoConsole.cpp:793)
DebugStringToFilePostprocessedStacktrace(DebugStringToFileData const&) (/Users/kara.virgo-ammann/unity/Runtime/Logging/LogAssert.cpp:993)
DebugStringToFile(DebugStringToFileData const&) (/Users/kara.virgo-ammann/unity/Runtime/Logging/LogAssert.cpp:1073)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.