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.

Freshly imported and built ARKitRemote crash with SIGABRT on launch. Logs included.

Discussion in 'AR' started by LouisHong, May 3, 2018.

  1. LouisHong

    LouisHong

    Joined:
    Nov 11, 2014
    Posts:
    69
    Logs provided here https://pastebin.com/edpnjrfb

    I notice NullReferenceExceptions during launch without a connection. When connected to the editor, the editor shows the video feed for 1 second then crashes around 1 second.

    Noteworthy exceptions:

    Happens before connection, shows a null exception.
    NullReferenceException: Object reference not set to an instance of an object.
    at UnityEngine.XR.iOS.UnityRemoteVideo_OnPreRender () [0x00000] in <00000000000000000000000000000000>:0
    at System.IO.Iterator`1[TSource].Clone () [0x00000] in <00000000000000000000000000000000>:0
    at System.IO.Iterator`1[TSource].Clone () [0x00000] in <00000000000000000000000000000000>:0
    at System.IO.Iterator`1[TSource].Clone () [0x00000] in <00000000000000000000000000000000>:0
    System.IO.Iterator`1:Clone()
    System.IO.Iterator`1:Clone()
    System.IO.Iterator`1:Clone()



    The SIGABRT memory leak.
    arkitremote(366,0x1b4038b40) malloc: *** error for object 0x1132f9772: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    SIGABRT received (abort() call) -- WHOA! I did something nasty. Dumping the stack trace:
    0 arkitremote 0x00000001020685f8 __sig_handler + 180
    1 libsystem_platform.dylib 0x0000000181898b48 _sigtramp + 36
    2 libsystem_pthread.dylib 0x000000018189e288 <redacted> + 376
    3 libsystem_c.dylib 0x000000018166bd0c abort + 140
    4 libsystem_malloc.dylib 0x0000000181735838 <redacted> + 0
    5 arkitremote 0x000000010142eb60 MemoryManager::Deallocate(void*) + 364
    6 arkitremote 0x000000010142e348 MemoryManager::Deallocate(void*, MemLabelId const&) + 400
    7 arkitremote 0x0000000101769f70 GeneralConnection::Connection::SendPendingData(bool) + 88
    8 arkitremote 0x0000000101769dbc GeneralConnection::Connection::SendMessage(GeneralConnection::NetworkMessage&, void const*, bool) + 56
    9 arkitremote 0x0000000101769d18 GeneralConnection::SendMessage(unsigned int, UnityGUID, void const*, unsigned int, bool) + 160
    10 arkitremote 0x0000000101c78760 PlayerConnectionInternal_CUSTOM_SendMessage(Il2CppString*, Il2CppArray*, int) + 204
    11 arkitremote 0x00000001010a5ac8 PlayerConnectionInternal_UnityEngine_IPlayerEditorConnectionNative_SendMessage_m389985885 + 204
    12 arkitremote 0x000000010093ac4c ARFrameUpdate_Invoke_m2222676468 + 488
    13 arkitremote 0x0000000100936f8c UnityARSessionNativeInterface__frame_update_m1185891212 + 588
    14 arkitremote 0x0000000100936d14 ReversePInvokeWrapper_UnityARSessionNativeInterface__frame_update_m1185891212 + 52
    15 arkitremote 0x000000010123603c __41-[UnityARSession session:didUpdateFrame:]_block_invoke + 56
    16 libdispatch.dylib 0x0000000181568b24 <redacted> + 24
    17 libdispatch.dylib 0x0000000181568ae4 <redacted> + 16
    18 libdispatch.dylib 0x00000001815756e0 <redacted> + 1012
    19 CoreFoundation 0x0000000181c1f070 <redacted> + 12
    20 CoreFoundation 0x0000000181c1cbc8 <redacted> + 2272
    21 CoreFoundation 0x0000000181b3cda8 CFRunLoopRunSpecific + 552
    22 GraphicsServices 0x0000000183b1f020 GSEventRunModal + 100
    23 UIKit 0x000000018bb1d78c UIApplicationMain + 236
    24 arkitremote 0x00000001008cf03c _rdc_main(int, char**) + 160
    25 arkitremote 0x00000001020682bc main + 764
    26 libdyld.dylib 0x00000001815cdfc0 <redacted> + 4
     

    Attached Files:

    • out.txt
      File size:
      280.9 KB
      Views:
      1,107
  2. LouisHong

    LouisHong

    Joined:
    Nov 11, 2014
    Posts:
    69