Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

4.6.8p3 unity crash when program exits normally

Discussion in 'iOS and tvOS' started by bisey, Oct 22, 2015.

  1. bisey

    bisey

    Joined:
    Mar 17, 2015
    Posts:
    3
    sometimes when I exit game normally in ios, crash can be issued. the following is callstack:

    libsystem_kernel.dylib 0x00000001989171e0 __pthread_kill + 8
    libsystem_c.dylib 0x000000019888ab78 abort + 132
    libsystem_malloc.dylib
    0x0000000100bffa58 Renderer::ClearPropertyBlock() (Renderer.cpp:294)
    0x0000000100dc79f0 Animator::ClearRelatedPropertyBlocks() (Animator.cpp:1053)
    0x0000000100dc79a8 Animator::Deactivate(Unity::DeactivateOperation) (Animator.cpp:149)
    0x0000000100b4f50c Unity::GameObject::ActivateAwakeRecursivelyInternal(Unity::DeactivateOperation, AwakeFromLoadQueue&) (GameObject.cpp:214)
    0x0000000100b4f5c0 Unity::GameObject::ActivateAwakeRecursively(Unity::DeactivateOperation) (GameObject.cpp:242)
    0x0000000100c88418 DestroyGameObjectHierarchy(Unity::GameObject&) (GameObjectUtility.cpp:1286)
    0x0000000100c887f4 DestroyObjectHighLevel(Object*, bool) (GameObjectUtility.cpp:1447)
    0x0000000100ca00ac CleanupAllObjects(bool) (SaveAndLoadHelper.cpp:293)
    0x0000000100ca0628 CleanupEngine() (SaveAndLoadHelper.cpp:451)
    0x0000000100c8ea90 PlayerCleanup(bool, bool) (Player.cpp:1168)
    0x0000000100a7e63c UnityCleanup (LibEntryPoint.mm:239)

    I use unity4.6.8p3, I found unity added a function in 4.6.8 in releasenote as follows:
    • (665246) - Animation: Remove relative material property blocks when the animator component is being removed.
    I think that it may make a bug which leads to this crash.

    Could you help me? thanks!
     
  2. Sulbon

    Sulbon

    Joined:
    Aug 20, 2013
    Posts:
    7
    I am having the same problem on ios7.1, built by unity4.6.9f1
     
  3. little_bunny

    little_bunny

    Joined:
    Dec 12, 2015
    Posts:
    5
    yes, I have the same issues on almost all ios devices, unity4.6.9f1

    On 4.6.9f1, Xcode 7, IL2PCC, happening on wide range of iOS devices, iPhone / iPad, 32 / 64 bit
    Here is the raw of the crash

    Code Type: ARM-64
    Parent Process: ??? [1]

    Date/Time: 2015-11-24T08:57:25Z
    OS Version: iPhone OS 9.1 (13B143)
    Report Version: 104

    Exception Type: SIGSEGV
    Exception Codes: SEGV_ACCERR at 0x0
    Crashed Thread: 0

    Thread 0 Crashed:
    0 myapp 0x0000000101453194 MemoryManager::Deallocate(void*, MemLabelId) (MemoryManager.cpp:1080)
    1 myapp 0x000000010150a384 Renderer::ClearPropertyBlock() (dynamic_array.h:322)
    2 myapp 0x00000001016cd104 Animator::ClearRelatedPropertyBlocks() (Animator.cpp:1057)
    3 myapp 0x00000001016cd0bc Animator::Deactivate(Unity::DeactivateOperation) (Animator.cpp:148)
    4 myapp 0x000000010145ce5c Unity::GameObject::ActivateAwakeRecursivelyInternal(Unity::DeactivateOperation, AwakeFromLoadQueue&) (GameObject.cpp:227)
    5 myapp 0x000000010145cdbc Unity::GameObject::ActivateAwakeRecursivelyInternal(Unity::DeactivateOperation, AwakeFromLoadQueue&) (GameObject.cpp:209)
    6 myapp 0x000000010145cdbc Unity::GameObject::ActivateAwakeRecursivelyInternal(Unity::DeactivateOperation, AwakeFromLoadQueue&) (GameObject.cpp:209)
    7 myapp 0x000000010145cf10 Unity::GameObject::ActivateAwakeRecursively(Unity::DeactivateOperation) (GameObject.cpp:241)
    8 myapp 0x0000000101591a18 DestroyGameObjectHierarchy(Unity::GameObject&) (GameObjectUtility.cpp:1283)
    9 myapp 0x0000000101591df4 DestroyObjectHighLevel(Object*, bool) (GameObjectUtility.cpp:1447)
    10 myapp 0x00000001015a8534 CleanupAllObjects(bool) (SaveAndLoadHelper.cpp:298)
    11 myapp 0x00000001015a8ab0 CleanupEngine() (SaveAndLoadHelper.cpp:450)
    12 myapp 0x0000000101597430 PlayerCleanup(bool, bool) (Player.cpp:1162)
    13 myapp 0x000000010138b574 UnityCleanup (LibEntryPoint.mm:238)
    14 UIKit 0x000000018a2cbae0 -[UIApplication _terminateWithStatus:] + 276
    15 UIKit 0x000000018a4e93f8 __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke1974 + 312
    16 UIKit 0x000000018a4ec56c _runAfterCACommitDeferredBlocks + 288
    17 UIKit 0x000000018a4f94bc _cleanUpAfterCAFlushAndRunDeferredBlocks + 88
    18 UIKit 0x000000018a22d984 _afterCACommitHandler + 92
    19 CoreFoundation 0x0000000184c5fbd0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
    20 CoreFoundation 0x0000000184c5d974 __CFRunLoopDoObservers + 368
    21 CoreFoundation 0x0000000184c5dda4 __CFRunLoopRun + 924
    22 CoreFoundation 0x0000000184b8cca0 CFRunLoopRunSpecific + 380
    23 GraphicsServices 0x000000018fdc8088 GSEventRunModal + 176
    24 UIKit 0x000000018a2a4ffc UIApplicationMain + 200
    25 myapp 0x00000001000852dc main (main.mm:37)
    26 libdyld.dylib 0x0000000199fba8b8 start + 0
     
  4. watsonsong

    watsonsong

    Joined:
    May 13, 2015
    Posts:
    555
    I met the same problem, and this crash log is full of my crash collection service.
    I want to fix and remove this. How can I fix it?
     
  5. watsonsong

    watsonsong

    Joined:
    May 13, 2015
    Posts:
    555