Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

2017.2 new tango api crashes with ARBackgroundRenderer #112

Open
SetoKaiba opened this issue Aug 26, 2017 · 3 comments
Open

2017.2 new tango api crashes with ARBackgroundRenderer #112

SetoKaiba opened this issue Aug 26, 2017 · 3 comments

Comments

@SetoKaiba
Copy link

08-26 15:25:46.461 2436-2448/? W/Unity: Tango failed to connect!

                                    (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Failed to connect. I'm using 2017.2 with Phab 2 Pro.

@SetoKaiba
Copy link
Author

@SetoKaiba
Copy link
Author

It's able to connect Tango now after I check the XR settings.
But it crashes if I use the ARRenderSetup.

@SetoKaiba
Copy link
Author

SetoKaiba commented Aug 26, 2017

08-26 16:54:17.659 13562-13603/empty.empty.empty I/tango_client_api: TangoErrorType TangoService_getCameraIntrinsics(TangoCameraId, TangoCameraIntrinsics*): Getting camera intrinsics...
08-26 16:54:17.659 10080-10105/? I/TangoServer.cc: Tango Service: getCameraIntrinsics, internal status 0
08-26 16:54:17.661 13562-13603/empty.empty.empty I/tango_client_api: TangoErrorType TangoService_getCameraIntrinsics(TangoCameraId, TangoCameraIntrinsics*): Done getting camera intrinsics.

                                                                 --------- beginning of crash

08-26 16:54:17.661 13562-13603/empty.empty.empty A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 13603 (UnityGfxDeviceW)
08-26 16:54:17.680 447-9679/? W/qdmemalloc: Gralloc using 4K chunk.
08-26 16:54:17.711 447-6208/? W/qdmemalloc: Gralloc using 4K chunk.
08-26 16:54:17.714 1393-5773/? D/PowerManagerService: updateWakeLockWorkSourceInternal: lock=22485117 [AudioMix], ws=null
08-26 16:54:17.745 447-484/? W/qdmemalloc: Gralloc using 4K chunk.
08-26 16:54:17.754 546-3718/? D/APM::AudioPolicyManager: stopOutput() output 6, stream 3, session 51
08-26 16:54:17.763 541-541/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-26 16:54:17.763 541-541/? A/DEBUG: Build fingerprint: 'Lenovo/phinny_prc/PB2PRO:6.0.1/MMB29M/PB2-690N_S200027_161214:user/release-keys'
08-26 16:54:17.763 541-541/? A/DEBUG: Revision: '0'
08-26 16:54:17.763 541-541/? A/DEBUG: ABI: 'arm'
08-26 16:54:17.764 541-541/? A/DEBUG: pid: 13562, tid: 13603, name: UnityGfxDeviceW >>> empty.empty.empty <<<
08-26 16:54:17.764 541-541/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
08-26 16:54:17.778 447-482/? W/qdmemalloc: Gralloc using 4K chunk.
08-26 16:54:17.776 541-541/? W/debuggerd: type=1400 audit(0.0:1185): avc: denied { search } for name="com.google.tango" dev="dm-0" ino=508055 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
08-26 16:54:17.789 541-541/? A/DEBUG: r0 00000000 r1 00000001 r2 de449a18 r3 de449930
08-26 16:54:17.789 541-541/? A/DEBUG: r4 00000008 r5 ac4b76e0 r6 00000004 r7 00000000
08-26 16:54:17.789 541-541/? A/DEBUG: r8 00000438 r9 007e9000 sl 00000001 fp 00000780
08-26 16:54:17.789 541-541/? A/DEBUG: ip de449a78 sp de449268 lr e1b4be58 pc e177b54c cpsr 400f0010
08-26 16:54:17.810 541-541/? A/DEBUG: backtrace:
08-26 16:54:17.810 541-541/? A/DEBUG: #00 pc 0049b54c /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN9Texture2D11InitTextureEii13TextureFormatNS_10EInitFlagsEiii+988)
08-26 16:54:17.810 541-541/? A/DEBUG: #1 pc 00d9bd34 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN5Tango11ARRendering29UpdateExternalTextureCallbackEi+368)
08-26 16:54:17.810 541-541/? A/DEBUG: #2 pc 00874ef4 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN9GfxDevice26InsertCustomMarkerCallbackEPFviEi+36)
08-26 16:54:17.810 541-541/? A/DEBUG: #3 pc 00960978 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer+29328)
08-26 16:54:17.811 541-541/? A/DEBUG: #4 pc 00961e50 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer+32)
08-26 16:54:17.811 541-541/? A/DEBUG: #5 pc 009596c8 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv+108)
08-26 16:54:17.811 541-541/? A/DEBUG: #6 pc 00723c50 /data/app/empty.empty.empty-1/lib/arm/libunity.so (_ZN6Thread16RunThreadWrapperEPv+84)
08-26 16:54:17.811 541-541/? A/DEBUG: #7 pc 00041823 /system/lib/libc.so (_ZL15__pthread_startPv+30)
08-26 16:54:17.811 541-541/? A/DEBUG: #8 pc 00019285 /system/lib/libc.so (__start_thread+6)

@SetoKaiba SetoKaiba changed the title 2017.2 new tango api is not working. 2017.2 new tango api crashes Aug 28, 2017
@SetoKaiba SetoKaiba changed the title 2017.2 new tango api crashes 2017.2 new tango api crashes with ARBackgroundRenderer Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant