Description

This is a common and longstanding community crash on Mac. Users have not provided descriptions when they crash, so additional information is currently not available. A log file is attached.

Callstack from Log

LogMetal:Warning: Reallocating ring-buffer from 1773056 to 2216320 to avoid wrapping write at offset 595968 into outstanding buffer region 595744 at frame 3589]
LogCrashTracker: 

LogMac: === Critical error: ===
SIGABRT: abort() called

LogMac: __pthread_kill() Address = 0xd2b84d42 (filename not found) [in libsystem_kernel.dylib]
abort() Address = 0xd2aea420 (filename not found) [in libsystem_c.dylib]
-[PLCrashReporter generateLiveReportWithThread:] Address = 0xdf1ea6c  (filename not found) [in UE4Editor-Core.dylib]

DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) Address = 0xbc815b4d (filename not found) [in HIToolbox]
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) Address = 0xbc814ff6 (filename not found) [in HIToolbox]
SendEventToEventTargetWithOptions() Address = 0xbc814e3f (filename not found) [in HIToolbox]
SendTSMEvent_WithCompletionHandler() Address = 0xbc86c6d6 (filename not found) [in HIToolbox]
__SendTextInputEvent_WithCompletionHandler_block_invoke() Address = 0xbca2061c (filename not found) [in HIToolbox]
SendTextInputEvent_WithCompletionHandler() Address = 0xbca1e92d (filename not found) [in HIToolbox]
-[IMKInputSession _postEvent:completionHandler:] Address = 0xbca905b5 (filename not found) [in HIToolbox]
-[IMKInputSession _copyUniCharsForRange:intoBuffer:ofLength:completionHandler:] Address = 0xbcaa120e (filename not found) [in HIToolbox]
-[IMKInputSession _coreAttributesFromRange:whichAttributes:completionHandler:] Address = 0xbcaa1997 (filename not found) [in HIToolbox]
-[IMKInputSession attributedSubstringFromRange:completionHandler:] Address = 0xbcaa3939 (filename not found) [in HIToolbox]
__61-[IMKInputSession imkxpc_attributedSubstringFromRange:reply:]_block_invoke Address = 0xbca93137 (filename not found) [in HIToolbox]
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__() Address = 0xbd2fc17c (filename not found) [in CoreFoundation]
__CFRunLoopDoBlocks() Address = 0xbd2dcf84 (filename not found) [in CoreFoundation]
__CFRunLoopRun() Address = 0xbd2dcac6 (filename not found) [in CoreFoundation]
CFRunLoopRunSpecific() Address = 0xbd2dc114 (filename not found) [in CoreFoundation]
-[IMKInputSessionXPCInvocation invocationAwaitXPCReply] Address = 0xbca7a19e (filename not found) [in HIToolbox]
-[IMKClient menuWithCompletionHandler:] Address = 0xbca67911 (filename not found) [in HIToolbox]
IMKInputSessionGetMenuIntoMenuWithCompletionHandler() Address = 0xbca30907 (filename not found) [in HIToolbox]
GetInputMethodInstanceMenu_IntoMenu_WithCompletionHandler() Address = 0xbca2fce3 (filename not found) [in HIToolbox]
utTryToSetupInputMethodMenu() Address = 0xbca2326a (filename not found) [in HIToolbox]
__utSetupInputMethodMenuFromDeferredBlock_block_invoke() Address = 0xbca23082 (filename not found) [in HIToolbox]
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__() Address = 0xbd2fc17c (filename not found) [in CoreFoundation]
__CFRunLoopDoBlocks() Address = 0xbd2dcf84 (filename not found) [in CoreFoundation]
__CFRunLoopRun() Address = 0xbd2dc705 (filename not found) [in CoreFoundation]
CFRunLoopRunSpecific() Address = 0xbd2dc114 (filename not found) [in CoreFoundation]
RunCurrentEventLoopInMode() Address = 0xbc83debc (filename not found) [in HIToolbox]
ReceiveNextEventCommon() Address = 0xbc83dbf9 (filename not found) [in HIToolbox]
_BlockUntilNextEventMatchingListInModeWithFilter() Address = 0xbc83db26 (filename not found) [in HIToolbox]
_DPSNextEvent() Address = 0xbadd6a54 (filename not found) [in AppKit]
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] Address = 0xbb5527ee (filename not found) [in AppKit]
-[NSApplication run] Address = 0xbadcb3db (filename not found) [in AppKit]
tchar_main(int, wchar_t**) Address = 0xde9db23  (filename not found) [in UE4Editor]
main() Address = 0xde9d3b9  (filename not found) [in UE4Editor]
start() Address = 0xd2a56235 (filename not found) [in libdyld.dylib]
Steps to Reproduce
  1. Within OSX, open System Preferences > Keyboard > Input Sources
  2. Add Chinese - Simplified > Pinyin - Simplified
  3. Set "Show Input Menu in Menu Bar" = True
  4. On the Apple Menu Bar in the upper-left corner, click the "region" symbol (US input looks like the American flag)
  5. From the Input menu, select "Pinyin - Simplified"
  6. Open any project in UE4Editor
  7. Create a new Material
  8. Create a Scalar Parameter
  9. Within the Details Panel, set the Default Value to 1.0

Result:
Editor crashes with a DispatchEventToHandlers() error

Expected Result:
The Scalar Parameter's value is set to 1

Update: a user provided the following:
"100% reproducible: - On macOS Sierra, turn on Chinese Pinyin input. - Open Material Editor and create a Constant Value in Graph panel. - In Detail panel, change the value to 1.0. - Crash. Seems UE editor does not like a mix of Piyin with its entry boxes."

Callstack
#0 at 0x7fff9c8fcd42 *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[NSTaggedPointerString getCharacters:range:]: Range {0, 5} out of bounds; string length 1'

libsystem_kernel.dylib!<Unknown>
libsystem_c.dylib!<Unknown>
UE4Editor-Core.dylib!<Unknown>
???!Unknown()
HIToolbox!DispatchEventToHandlers()
HIToolbox!SendEventToEventTargetInternal()
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
CoreFoundation!Unknown()
HIToolbox!<Unknown>
HIToolbox!<Unknown>
HIToolbox!<Unknown>
AppKit!<Unknown>
AppKit!-[NSApplication()
AppKit!<Unknown>
UE4Editor!tchar_main()
UE4Editor!<Unknown>
libdyld.dylib!<Unknown>

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-46405 in the post.

0
Login to Vote

Fixed
ComponentPlatform - Mac
Affects Versions4.124.144.154.164.17
Target Fix4.18
Fix Commit3698633
Release Commit3698633
CreatedJun 22, 2017
ResolvedOct 16, 2017
UpdatedJan 31, 2018