Description

This is a common crash occurring for Mac users on the 4.17 Preview, and a few cases in 4.16. I have been unable to find any matching reports of this crash on Windows. There is a slight variation in the Callstack between the two linked CrashReports. All reports have so-far occurred on Mac OS 10.12

User Descriptions

  • Just quit, when I cliked on the main editor window - was previosy editing a pawn BP
  • crash ,but i do nothing.......
  • Focussed on the Editor after loading
  • focussed on the editor after loading and closing a 4.16 project (not the same one)
Steps to Reproduce
  1. Create a Blueprint (any class).
  2. Add a Print String node.
  3. Use the Command-S keyboard shortcut to save the project.
Callstack
SEGV_NOOP at 0x0

UE4Editor-Slate.dylib!FTextLayout::GetAsTextAndOffsets()
UE4Editor-Slate.dylib!FSlateEditableTextLayout::FTextInputMethodContext::GetSelectionRange()
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!FMacPlatformMisc::PumpMessages()
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>

Callstack from Log

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

LogMac: FTextLayout::GetAsTextAndOffsets(FString*, FTextLayout::FTextOffsetLocations*) const Address = 0x8a41990  (filename not found) [in UE4Editor-Slate.dylib]
FSlateEditableTextLayout::FTextInputMethodContext::GetSelectionRange(unsigned int&, unsigned int&, ITextInputMethodContext::ECaretPosition&) Address = 0x8bcf4c9  (filename not found) [in UE4Editor-Slate.dylib]
__31-[FCocoaTextView selectedRange]_block_invoke Address = 0x162d0a1  (filename not found) [in UE4Editor-Core.dylib]
invocation function for block in PerformBlockOnThread(FCocoaRunLoopSource&, void () block_pointer, NSArray*, NSString*, bool) Address = 0x16972e0  (filename not found) [in UE4Editor-Core.dylib]
FCocoaRunLoopSource::Process(__CFString const*) Address = 0x162f7f4  (filename not found) [in UE4Editor-Core.dylib]
-[FCocoaRunLoopSourceInfo perform] Address = 0x162f246  (filename not found) [in UE4Editor-Core.dylib]
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__() Address = 0xd5e1e321 (filename not found) [in CoreFoundation]
__CFRunLoopDoSources0() Address = 0xd5dff21d (filename not found) [in CoreFoundation]
__CFRunLoopRun() Address = 0xd5dfe716 (filename not found) [in CoreFoundation]
CFRunLoopRunSpecific() Address = 0xd5dfe114 (filename not found) [in CoreFoundation]
FMacPlatformMisc::PumpMessages(bool) Address = 0x163840f  (filename not found) [in UE4Editor-Core.dylib]
FEngineLoop::Tick() Address = 0x13538bb  (filename not found) [in UE4Editor]
GuardedMain(wchar_t const*) Address = 0x135c1b2  (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1369680  (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x162fa76  (filename not found) [in UE4Editor-Core.dylib]
__NSThread__start__() Address = 0xd78218ed (filename not found) [in Foundation]
_pthread_body() Address = 0xeb7c593b (filename not found) [in libsystem_pthread.dylib]
_pthread_body() Address = 0xeb7c5887 (filename not found) [in libsystem_pthread.dylib]
thread_start() Address = 0xeb7c508d (filename not found) [in libsystem_pthread.dylib]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Platform - Apple
Affects Versions4.164.17
Target Fix4.18
Fix Commit3604258
Main Commit3621569
Release Commit3643070
CreatedJul 17, 2017
ResolvedAug 23, 2017
UpdatedApr 27, 2018
View Jira Issue