Search Unity

macOS editor crashes

Discussion in 'macOS' started by eelstork, Oct 19, 2018.

  1. eelstork

    eelstork

    Joined:
    Jun 15, 2014
    Posts:
    221
    I've been experiencing daily crashes inside the editor.
    Crashes happen at various times, however the most common is:
    - While (or maybe after) recompiling.
    - Upon pressing 'play'

    Frequency? Within a half hour of starting Unity. Afaik these do not occur if you left the editor idling.

    Here's a sample stack trace (MB 12" 2017, 16gb, High Sierra 10.13.6, Unity 2018.2.1f1).
    Metal editor is enabled.


    Thread 0 Crashed:: tid_307 Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x00007fff686ddb66 __pthread_kill + 10
    1 libsystem_pthread.dylib 0x00007fff688a8080 pthread_kill + 333
    2 libsystem_c.dylib 0x00007fff686391ae abort + 127
    3 com.unity3d.UnityEditor5.x 0x0000000100ffb951 HandleSignal(int, __siginfo*, void*) + 81
    4 libmonobdwgc-2.0.dylib 0x000000013b339d81 mono_chain_signal + 79
    5 libmonobdwgc-2.0.dylib 0x000000013b20b9c7 mono_sigsegv_signal_handler + 414
    6 libsystem_platform.dylib 0x00007fff6889bf5a _sigtramp + 26
    7 ??? 000000000000000000 0 + 0
    8 libobjc.A.dylib 0x00007fff6796e972 objc_object::clearDeallocating_slow() + 104
    9 libobjc.A.dylib 0x00007fff67968309 objc_destructInstance + 153
    10 libobjc.A.dylib 0x00007fff6796825f object_dispose + 22
    11 com.apple.CoreFoundation 0x00007fff4074e72c -[_CFXNotificationRegistrationBase dealloc] + 60
    12 com.apple.CoreFoundation 0x00007fff4074e778 -[_CFXNotificationRegistrationContainer dealloc] + 56
    13 com.apple.CoreFoundation 0x00007fff40757286 -[_CFXNotificationObjcObserverRegistration dealloc] + 70
    14 libobjc.A.dylib 0x00007fff67969087 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 817
    15 com.apple.CoreFoundation 0x00007fff406f7a06 _CFAutoreleasePoolPop + 22
    16 com.apple.CoreFoundation 0x00007fff4073bd28 _CFXNotificationRemoveObservers + 216
    17 com.apple.Foundation 0x00007fff42843d74 -[NSNotificationCenter removeObserver:name:object:] + 235
    18 com.apple.AppKit 0x00007fff3e23c2c6 -[NSWindow(NSCursorRects) _discardCursorRectsForView:] + 330
    19 com.apple.AppKit 0x00007fff3e58ca6b -[NSView(NSInternal) _updateTrackingAreasWithInvalidCursorRects:] + 367
    20 com.apple.AppKit 0x00007fff3e58d17d -[NSView(NSInternal) _updateTrackingAreasWithInvalidCursorRects:] + 2177
    21 com.apple.AppKit 0x00007fff3e58d17d -[NSView(NSInternal) _updateTrackingAreasWithInvalidCursorRects:] + 2177
    22 com.apple.AppKit 0x00007fff3e23d7c3 _NSWindowDisplayCycleUpdateStructuralRegions + 553
    23 com.apple.AppKit 0x00007fff3de1255e __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 695
    24 com.apple.QuartzCore 0x00007fff4baa98c7 CA::Transaction::run_commit_handlers(CATransactionPhase) + 49
    25 com.apple.QuartzCore 0x00007fff4baa8389 CA::Transaction::commit() + 171
    26 com.apple.AppKit 0x00007fff3e5caa72 __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 283
    27 com.apple.CoreFoundation 0x00007fff40756417 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    28 com.apple.CoreFoundation 0x00007fff4075633f __CFRunLoopDoObservers + 527
    29 com.apple.CoreFoundation 0x00007fff407388b8 __CFRunLoopRun + 1240
    30 com.apple.CoreFoundation 0x00007fff40738153 CFRunLoopRunSpecific + 483
    31 com.apple.HIToolbox 0x00007fff3fa22d96 RunCurrentEventLoopInMode + 286
    32 com.apple.HIToolbox 0x00007fff3fa22a0f ReceiveNextEventCommon + 366
    33 com.apple.HIToolbox 0x00007fff3fa22884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    34 com.apple.AppKit 0x00007fff3dcd3a73 _DPSNextEvent + 2085
    35 com.apple.AppKit 0x00007fff3e469e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    36 com.apple.AppKit 0x00007fff3dcc8885 -[NSApplication run] + 764
    37 com.apple.AppKit 0x00007fff3dc97a72 NSApplicationMain + 804
    38 com.unity3d.UnityEditor5.x 0x00000001006e3657 EditorMain(int, char const**) + 839
    39 com.unity3d.UnityEditor5.x 0x00000001006e3ad9 main + 9
    40 libdyld.dylib 0x00007fff6858d015 start + 1


    Tempted to once again revert my system to Sierra, after waiting it out over 6 months I expected that related issues got ironed out, now I'm not so sure.

    I'm also using the experimental (is it still experimental?) incremental compiler. No proof that this causes the problem but I'll also try turning it off.

    Going to test with another box soon.

    Advice much welcome.