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. Dismiss Notice

iOS Crash MemoryManager.cpp line 263

Discussion in 'iOS and tvOS' started by kirilldyagilev, Oct 30, 2019.

  1. kirilldyagilev

    kirilldyagilev

    Joined:
    Jan 16, 2019
    Posts:
    7
    We are getting the following crash on iOS:


    Code (CSharp):
    1. #0. Crashed: com.apple.main-thread
    2. 0  libsystem_kernel.dylib         0x1df56f104 __pthread_kill + 8
    3. 1  libsystem_pthread.dylib        0x1df5ef948 pthread_kill$VARIANT$armv81 + 296
    4. 2  libsystem_c.dylib              0x1df4c6d78 abort + 140
    5. 3  libsystem_malloc.dylib         0x1df5c3768 _malloc_put + 570
    6. 4  libsystem_malloc.dylib         0x1df5c3924 malloc_report + 64
    7. 5  libsystem_malloc.dylib         0x1df5b62d4 free + 376
    8. 6  game                           0x1054dffc0 operator delete[](void*) + 263 (MemoryManager.cpp:263)
    9. 7  game                           0x105647708 InputEvent::eek:perator=(InputEvent const&) + 160 (InputEvent.cpp:160)
    10. 8  game                           0x1053a1bb4 GUIManager::SendQueuedEvents() + 140 (GUIManager.cpp:140)
    11. 9  game                           0x105669238 ExecutePlayerLoop(NativePlayerLoopSystem*) + 277 (PlayerLoop.cpp:277)
    12. 10 game                           0x10566926c ExecutePlayerLoop(NativePlayerLoopSystem*) + 295 (PlayerLoop.cpp:295)
    13. 11 game                           0x105669460 PlayerLoop() + 356 (PlayerLoop.cpp:356)
    14. 12 game                           0x105a5add4 UnityPlayerLoopImpl(bool) + 276 (LibEntryPoint.mm:276)
    15. 13 game                           0x104d9d228 UnityRepaint + 280 (UnityAppController+Rendering.mm:280)
    16. 14 game                           0x104d9d104 -[UnityAppController(Rendering) repaintDisplayLink] + 72 (UnityAppController+Rendering.mm:72)
    17. 15 QuartzCore                     0x1e3ea6368 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 828
    18. 16 QuartzCore                     0x1e3f6f29c display_timer_callback(__CFMachPort*, void*, long, void*) + 272
    19. 17 CoreFoundation                 0x1df94201c __CFMachPortPerform + 188
    20. 18 CoreFoundation                 0x1df969868 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
    21. 19 CoreFoundation                 0x1df968fb4 __CFRunLoopDoSource1 + 440
    22. 20 CoreFoundation                 0x1df963d6c __CFRunLoopRun + 2140
    23. 21 CoreFoundation                 0x1df9631f0 CFRunLoopRunSpecific + 436
    24. 22 GraphicsServices               0x1e1bdc584 GSEventRunModal + 100
    25. 23 UIKitCore                      0x20cba6bc0 UIApplicationMain + 212
    26. 24 game                           0x104d9578c main + 40 (main.mm:40)
    27. 25 libdyld.dylib                  0x1df422bb4 start + 4

    Does it mean that we have memory leaks? What is the best way to find where it happens?
     
  2. WolveX

    WolveX

    Joined:
    May 31, 2016
    Posts:
    48
    Hi,
    DId you manage to fix this issue, I am having very similar crash in my game