Developer Notes

A fix has been made in 4.16.2 for half these crashes, and another fix will be in 4.17 for the remainder.

Description

This is a common crash among Mac users in 4.16. It is spread out among many separate CrashGroups, with slight variations in Callstack.

Some Example CrashGroups
[Link Removed]
[Link Removed]
[Link Removed]
[Link Removed]

Crash Details from Log File

LogStreaming:Warning: Failed to read file '../../../Engine/Content/Tutorial/InWorldBlueprintEditing/TutorialAssets/whatYouAreMaking.png' error.
LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Tutorial/InWorldBlueprintEditing/TutorialAssets/whatYouAreMaking.png
LogSlate: Took 0.000112 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/Roboto-Italic.ttf' (157K)
LogMac:Error: appError called: Assertion failed: Assertion failed: IsValid() [File:Runtime/Core/Public/Templates/SharedPointer.h] [Line: 835] 

LogCrashTracker: 

LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

LogMac: FGenericPlatformMisc::RaiseException(unsigned int) Address = 0xb30af1b  (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0xb506d7f  (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0xb5e788d  (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0xb54dafe  (filename not found) [in UE4Editor-Core.dylib]
__31-[FCocoaTextView selectedRange]_block_invoke Address = 0xb478ebc  (filename not found) [in UE4Editor-Core.dylib]
invocation function for block in PerformBlockOnThread(FCocoaRunLoopSource&, void () block_pointer, NSArray*, NSString*, bool) Address = 0xb52a770  (filename not found) [in UE4Editor-Core.dylib]
FCocoaRunLoopSource::Process(__CFString const*) Address = 0xb4c27a4  (filename not found) [in UE4Editor-Core.dylib]
-[FCocoaRunLoopSourceInfo perform] Address = 0xb4c21f6  (filename not found) [in UE4Editor-Core.dylib]
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__() Address = 0xbfaed321 (filename not found) [in CoreFoundation]
__CFRunLoopDoSources0() Address = 0xbface21d (filename not found) [in CoreFoundation]
__CFRunLoopRun() Address = 0xbfacd716 (filename not found) [in CoreFoundation]
CFRunLoopRunSpecific() Address = 0xbfacd114 (filename not found) [in CoreFoundation]
PerformBlockOnThread(FCocoaRunLoopSource&, void () block_pointer, NSArray*, NSString*, bool) Address = 0xb4c313a  (filename not found) [in UE4Editor-Core.dylib]
bool MainThreadReturn<bool>(bool () block_pointer, NSString*) Address = 0xb514a03  (filename not found) [in UE4Editor-Core.dylib]
FMacTextInputMethodSystem::DeactivateContext(TSharedRef<ITextInputMethodContext, (ESPMode)0> const&) Address = 0xb514d87  (filename not found) [in UE4Editor-Core.dylib]
FSlateEditableTextLayout::HandleFocusLost(FFocusEvent const&) Address = 0x11be2886 (filename not found) [in UE4Editor-Slate.dylib]
FSlateApplication::SetUserFocus(FSlateUser*, FWidgetPath const&, EFocusCause) Address = 0x1181b882 (filename not found) [in UE4Editor-Slate.dylib]
FSlateApplication::SetUserFocus(unsigned int, FWidgetPath const&, EFocusCause) Address = 0x1181ea0f (filename not found) [in UE4Editor-Slate.dylib]
...more in log file...

User Descriptions

  • Right clicking repeatedly (3-4 times in a row) in a Blueprints event graph consistently causes UE4 to crash on macOS Sierra.
Steps to Reproduce

Repro steps currently unknown. Tried the user description of multiple right-clicks in Event Graph, but no crash. There was slight lag, but no Ensure either.

Callstack
SEGV_MAPERR at 0x3

UE4Editor-Core.dylib!<Unknown>
UE4Editor-Core.dylib!<Unknown>
UE4Editor-Core.dylib!FCocoaRunLoopSource::Process()
UE4Editor-Core.dylib!<Unknown>
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
UE4Editor-Core.dylib!PerformBlockOnThread(FCocoaRunLoopSource&, void()
UE4Editor-Core.dylib!bool MainThreadReturn<bool>(bool()
UE4Editor-Core.dylib!FMacTextInputMethodSystem::DeactivateContext(TSharedRef<ITextInputMethodContext,()
UE4Editor-Slate.dylib!FSlateEditableTextLayout::HandleFocusLost()
UE4Editor-Slate.dylib!FSlateApplication::SetUserFocus()
UE4Editor-Slate.dylib!FSlateApplication::SetUserFocus()
UE4Editor-Slate.dylib!FSlateApplication::RoutePointerDownEvent()
UE4Editor-Slate.dylib!FSlateApplication::ProcessMouseButtonDownEvent(TSharedPtr<FGenericWindow,()
UE4Editor-Slate.dylib!FSlateApplication::OnMouseDown(TSharedPtr<FGenericWindow,()
UE4Editor-Core.dylib!FMacApplication::ProcessMouseDownEvent(FDeferredMacEvent const&, TSharedPtr<FMacWindow,()
UE4Editor-Core.dylib!FMacApplication::ProcessEvent()
UE4Editor-Core.dylib!FMacApplication::ProcessDeferredEvents()
UE4Editor-Slate.dylib!FSlateApplication::TickPlatform()
UE4Editor-Slate.dylib!FSlateApplication::Tick()
UE4Editor!FEngineLoop::Tick()
UE4Editor!GuardedMain()
UE4Editor!<Unknown>
UE4Editor-Core.dylib!<Unknown>
Foundation!Unknown()
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46069 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Apple
Affects Versions4.16
Target Fix4.16.24.17
Fix Commit3498735
Main Commit3617655
Release Commit3544326
CreatedJun 14, 2017
ResolvedJun 19, 2017
UpdatedApr 27, 2018