Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 2019 Android build crashes on devices using Adreno 506 GPU

Discussion in 'Android' started by wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg, Jul 18, 2019.

  1. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3
    After we upgraded our game from Unity 2018.2.21 to Unity 2019.1.*, we found a lot of crashes on Firebase Crashlytics.

    upload_2019-7-18_14-3-52.png

    upload_2019-7-18_14-4-7.png


    Caused by java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 83f5ff90
    Build fingerprint: 'motorola/potter_amx_n/potter_n:8.1.0/OPSS28.85-13-5/2f72:user/release-keys'
    Revision: 'p3b0'
    pid: 2589, tid: 2681, name: UnityMain >>> com.casualjoygames.cooking.kitchen <<<
    r0 48e1b285 r1 48e09801 r2 40e24083 r3 00000000
    r4 00000002 r5 83f5ff90 r6 84060000 r7 00020040
    r8 00000000 r9 84069000 sl 00000000 fp 0001ffff
    ip 10020002 sp 9597f2b0 lr 63720600 pc a189f56c cpsr b07c2d10

    at libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4263(HwPatchForDirectRendering:4263)
    at libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) + 6206(ProcessAndSubmitRendering:6206)
    at libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312(Flush:312)
    at libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) + 530(GetMemory:530)
    at libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) + 830(Init:830)
    at libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) + 1010(AllocGfxMemForRange:1010)
    at libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) + 658(PreparePackedGpuAccess:658)
    at libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) + 100(PreRenderProcessing:100)
    at libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) + 2240(ValidateProgramTexUnitBoundObjs:2240)
    at libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() + 44(ValidateTexUnitBoundObjs:44)
    at libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) + 1442(ValidateGfxState:1442)
    at libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) + 652(DrawElementsInstanced:652)
    at libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*) + 180(GlDrawElements:180)
    at libGLESv2_adreno.glDrawElements + 40(glDrawElements:40)
    at libunity.0075daf0()
    at libunity.0075dca4()
    at libunity.00246228()
    at libunity.00762c38()
    at libunity.0020683c()
    at libunity.005b5c34()
    at libunity.00246b9c()
    at libunity.0024b19c()
    at libunity.00206688()
    at libunity.00249c60()
    at libunity.0024b600()
    at libunity.0024c7a8()
    at libunity.002616b0()
    at libunity.0029e58c()
    at libunity.0029fa48()
    at libunity.002a8c40()
    at libunity.003f2fb8()
    at libunity.003fb52c()


    We found that all devices reporting this issue is made with adreno 506 and Android 8.

    Anyone knows how to prevent this kind of crash?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    Yes, please submit a bug report.
     
  3. jsmits062

    jsmits062

    Joined:
    Jul 16, 2014
    Posts:
    5
    We have the exact same issue running 2018.4.2f1:

    libESXGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4155 (HwPatchForDirectRendering:4155)

    libESXGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) + 6140 (ProcessAndSubmitRendering:6140)

    libESXGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312 (Flush:312)

    libESXGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) + 530 (GetMemory:530)

    libESXGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) + 830 (Init:830)

    libESXGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) + 1012 (AllocGfxMemForRange:1012)

    libESXGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) + 662 (PreparePackedGpuAccess:662)

    libESXGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) + 100 (PreRenderProcessing:100)

    libESXGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) + 2240 (ValidateProgramTexUnitBoundObjs:2240)

    libESXGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() + 44 (ValidateTexUnitBoundObjs:44)

    libESXGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) + 1422 (ValidateGfxState:1422)

    libESXGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) + 648 (DrawElementsInstanced:648)

    libESXGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*) + 180 (GlDrawElements:180)

    libESXGLESv2_adreno.glDrawElements + 40 (glDrawElements:40)

    libunity.006e85e4 0

    libunity.006e8798 0

    libunity.0020317c 0

    libunity.006ed394 0

    libunity.0079b8e0 0

    libunity.0079c1f8 0

    libunity.007943f0 0

    libunity.0036ea9c 0

    libc.__pthread_start(void*) + 22 (__pthread_start:22)

    libc.__start_thread + 32 (__start_thread:32)
     
  4. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3

    I have submitted a bug report. https://fogbugz.unity3d.com/default.asp?1170442_97fgis6elcqo1arm

    I cannot reproduce this crash often, but got thousands of crashes report from Crashlytics.
     
  5. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3
    the bug report id is 1170442
     
  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    Thank you!
     
  7. gbyh

    gbyh

    Joined:
    Apr 19, 2014
    Posts:
    5
    @wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg
    Can I have your test demo that you had submitted to the bug report?
    We have been experiencing the same crashes a long time but it's very hard to reproduce from our project.
     
  8. TommyTheITGuy

    TommyTheITGuy

    Joined:
    Jun 11, 2015
    Posts:
    53
    We're experiencing the same crashes on loading screens between scenes. We're using Unity 2018.4.4, Asset Bundles and OGLES2.

    upload_2019-9-3_12-17-34.png
    Code (CSharp):
    1. Caused by java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5aa7d610
    2. Build fingerprint: 'motorola/cedric_amzin/cedric:8.1.0/OPP28.85-19-4-2/3447de:user/release-keys'
    3. Revision: 'p500'
    4. pid: 21612, tid: 21727, name: UnityGfxDeviceW  >>> com.artifexmundi.village.gp.f2p <<<
    5.     r0 48e1b285  r1 48e09801  r2 40e24083  r3 00000000
    6.     r4 00000002  r5 5aa7d610  r6 86ee0000  r7 00020040
    7.     r8 00000000  r9 86ee9000  sl 00000000  fp 0001ffff
    8.     ip 10020002  sp 8b8fef88  lr 4d95a000  pc a39ac56c  cpsr b06bcd10
    9.  
    10.        at libESXGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4263(HwPatchForDirectRendering:4263)
    11.        at libESXGLESv2_adreno.EsxContext::ProcessAndSubmitRendering(EsxFlushReason) + 6206(ProcessAndSubmitRendering:6206)
    12.        at libESXGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312(Flush:312)
    13.        at libESXGLESv2_adreno.EsxContext::SwapBuffers(EsxRect const*, unsigned int) + 138(SwapBuffers:138)
    14.        at libESXGLESv2_adreno.EglContext::SwapBuffers(EsxRect const*, unsigned int) + 656(SwapBuffers:656)
    15.        at libESXGLESv2_adreno.EglWindowSurface::PerformContextSwapOperation(EglContext*, EsxRect const*, unsigned int, EglResourceAccessInfo*) + 64(PerformContextSwapOperation:64)
    16.        at libESXGLESv2_adreno.EglWindowSurface::SwapBuffers(EglContext*, EsxRect const*, unsigned int) + 46(SwapBuffers:46)
    17.        at libESXGLESv2_adreno.EglApi::SwapBuffers(void*, void*) + 86(SwapBuffers:86)
    18.        at libEGL.eglSwapBuffersWithDamageKHR + 232(eglSwapBuffersWithDamageKHR:232)
    19.        at libunity.00474344()
    20.        at libunity.00472cb4()
    21.        at libunity.00a61244()
    22.        at libunity.0046ef68()
    23.        at libunity.0046f5a8()
    24.        at libunity.004677a0()
    25.        at libunity.006021e0()
    26.        at libc.__pthread_start(void*) + 22(__pthread_start:22)
    27.        at libc.__start_thread + 32(__start_thread:32)
     
    v-i-s likes this.
  9. rankornfeld

    rankornfeld

    Joined:
    Sep 29, 2016
    Posts:
    57
    The bug (1170442) has been closed but the issue is still here!
     
    Qbit86 likes this.
  10. Nyankoooo

    Nyankoooo

    Joined:
    May 21, 2016
    Posts:
    144
    @aleksandrk Any update on this, as the bug report is closed but the issue is still happening?
    We can't reproduce this on our end, so sadly we can't create a repro.
     
  11. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    It's highly likely that this is a genuine out-of-memory happening.
    QA asked for a minimal repro project on this bug, and never got any reply, so the bug was closed.
     
  12. BigRedGames

    BigRedGames

    Joined:
    Jun 25, 2016
    Posts:
    48
    I'm have seeing the same issues with IL2CPP + Unity 2019
     
  13. BigRedGames

    BigRedGames

    Joined:
    Jun 25, 2016
    Posts:
    48
    This problem still happening Unity 2019.2.15f1
     
    CrazyPanda and v-i-s like this.
  14. dm_bond

    dm_bond

    Joined:
    Sep 19, 2011
    Posts:
    61
    case 1204226
     
    CrazyPanda and v-i-s like this.
  15. v-i-s

    v-i-s

    Joined:
    Jul 23, 2013
    Posts:
    3
    +1 the same! Need fix it, very quickly!
     
    CrazyPanda likes this.
  16. BeatMicrosoft

    BeatMicrosoft

    Joined:
    Aug 11, 2015
    Posts:
    4
    i have the same questions ,every day i catch Thousands of this crash logs

    void std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> >::_M_assign_aux<__gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > > >(__gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > >, __gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > >, std::forward_iterator_tag)
    GenericSlowGarbageCollector::GenerateInstanceID(int, TransferMetaFlags)
    CameraProjectionCache::CameraProjectionCache(Camera const&, MonoOrStereoscopicEye)
    ClearFramebuffer(Camera::ClearMode, RectT<float>, ColorRGBAf const&, bool, bool)
    Camera::GetProjectionMatrix() const
    RenderLight(RenderLoopContext const&, LightingContext const&, QualitySettingsShadowQuality, ShadowProjection, RenderTexture*&, RenderTexture*, int, int, DeviceStencilState const*, MinMaxAABB const&, DeviceMVPMatricesState const&, Vector4f const&, LightingLayers const&, bool, ShaderPassContext&)
    RenderForwardObjectsIntoDepth(RenderLoopContext const&, RenderTexture*, dynamic_array<RenderObjectData, 0u>*, ObjectHandle<RenderSurface_Tag, RenderSurfaceBase*>, ObjectHandle<RenderSurface_Tag, RenderSurfaceBase*>, int, int, bool)
    BatchRenderer::Add(BatchInstanceData const&)
    void qsort_internal::FindAndMovePivotToLastPosition<RenderObjectData*, int, RenderPrePassObjectSorter>(RenderObjectData*, RenderObjectData*, int, RenderPrePassObjectSorter)
    GfxDevice::GfxDevice(MemLabelId)
    LightmapSTCache::ApplyLightmapST(Vector4f const (&) [2], SharedMeshData const*)
    SpriteUser::UpdateRenderNodeWithCustomPivotBounds(RenderNode&, AABB const&, Vector2f const&, bool, bool)
    void SkinnedMeshRenderer::Transfer<SafeBinaryRead>(SafeBinaryRead&)
    GfxDeviceGLES::MemoryBarrierImmediate(unsigned long long, gl::MemoryBarrierType)
    void qsort_internal::QSort<ForwardRenderPassData*, int, ForwardShaderRenderLoop::RenderObjectSorter<false> >(ForwardRenderPassData*, ForwardRenderPassData*, int, ForwardShaderRenderLoop::RenderObjectSorter<false>)
    ApiGLES::Load(GfxDeviceLevelGL)
    ApiGLES::Load(GfxDeviceLevelGL)
    libGLESv2_adreno.glDrawElements(glDrawElements:42)
    libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)(GlDrawElements:192)
    libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int)(DrawElementsInstanced:662)
    libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*)(ValidateGfxState:1848)
    libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs()(ValidateTexUnitBoundObjs:48)
    libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int)(ValidateProgramTexUnitBoundObjs:1916)
    libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*)(PreRenderProcessing:102)
    libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*)(PreparePackedGpuAccess:296)
    libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*)(AllocGfxMemForRange:980)
    libGLESv2_adreno.EsxGfxMem::Create(EsxGfxMemCreateData*)(Create:48)
    libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*)(Init:832)
    libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*)(GetMemory:540)
    libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason)(Flush:686)
    libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason)(ProcessAndSubmitRendering:4588)
    libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)(HwPatchForDirectRendering:4329)

    i report a bug ,but i can not reproduce it...... F***!
     
  17. BeatMicrosoft

    BeatMicrosoft

    Joined:
    Aug 11, 2015
    Posts:
    4
    are you using astc texture format???
     
  18. Qbit86

    Qbit86

    Joined:
    Sep 2, 2013
    Posts:
    487
    We have the same issue on Unity 2018.4.10:
    Code (csharp):
    1. 01-27 12:25:32.260: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2. 01-27 12:25:32.273: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    3. 01-27 12:25:32.285: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    4. 01-27 12:25:32.295: E/CRASH(4372): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5cbc7fc0
    5. 01-27 12:25:32.295: E/CRASH(4372): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    6. 01-27 12:25:32.295: E/CRASH(4372): Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    7. 01-27 12:25:32.295: E/CRASH(4372): Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPSS28.65-36-11-4/b6557:user/release-keys'
    8. 01-27 12:25:32.295: E/CRASH(4372): Revision: 'p400'
    9. 01-27 12:25:32.295: E/CRASH(4372): pid: 4372, tid: 4489, name: UnityGfxDeviceW  >>> com.pixel.gun3d <<<
    10. 01-27 12:25:32.295: E/CRASH(4372):     r0 48e1b285  r1 48e09801  r2 40e24083  r3 00000000
    11. 01-27 12:25:32.295: E/CRASH(4372):     r4 00000000  r5 5cbc7fc0  r6 00000000  r7 00000000
    12. 01-27 12:25:32.295: E/CRASH(4372):     r8 00000000  r9 00000000  sl 00000000  fp 0001ffff
    13. 01-27 12:25:32.295: E/CRASH(4372):     ip 00000000  sp 882fedb0  lr 0b9de400  pc a476856c  cpsr a7cd6d10
    14. 01-27 12:25:32.295: E/CRASH(4372): backtrace:
    15. 01-27 12:25:32.910: E/CRASH(4372):     #00  pc 0035256c  /system/vendor/lib/egl/libGLESv2_adreno.so (A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)+4263)
    16. 01-27 12:25:32.910: E/CRASH(4372):     #01  pc 000c3163  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ProcessAndSubmitRendering(EsxFlushReason)+6206)
    17. 01-27 12:25:32.910: E/CRASH(4372):     #02  pc 001b7999  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+312)
    18. 01-27 12:25:32.910: E/CRASH(4372):     #03  pc 001d7d5b  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*)+530)
    19. 01-27 12:25:32.910: E/CRASH(4372):     #04  pc 001ce423  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGfxMem::Init(EsxGfxMemCreateData*)+830)
    20. 01-27 12:25:32.910: E/CRASH(4372):     #05  pc 001523eb  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*)+1010)
    21. 01-27 12:25:32.910: E/CRASH(4372):     #06  pc 00154d27  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxResource::PreparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*)+658)
    22. 01-27 12:25:32.910: E/CRASH(4372):     #07  pc 00160535  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxTextureObject::PreRenderProcessing(EsxContext*)+100)
    23. 01-27 12:25:32.910: E/CRASH(4372):     #08  pc 000d846d  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int)+2240)
    24. 01-27 12:25:32.910: E/CRASH(4372):     #09  pc 000d7b59  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateTexUnitBoundObjs()+44)
    25. 01-27 12:25:32.910: E/CRASH(4372):     #10  pc 000d50a7  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateGfxState(EsxDrawDescriptor const*)+1442)
    26. 01-27 12:25:32.910: E/CRASH(4372):     #11  pc 000ca8d5  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int)+652)
    27. 01-27 12:25:32.910: E/CRASH(4372):     #12  pc 000f4159  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+180)
    28. 01-27 12:25:32.910: E/CRASH(4372):     #13  pc 00094401  /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElements+40)
    29. 01-27 12:25:32.910: E/CRASH(4372):     #14  pc 00784c94  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    30. 01-27 12:25:32.910: E/CRASH(4372):     #15  pc 00784e48  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    31. 01-27 12:25:32.911: E/CRASH(4372):     #16  pc 0022a0ec  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    32. 01-27 12:25:32.911: E/CRASH(4372):     #17  pc 00789a44  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    33. 01-27 12:25:32.911: E/CRASH(4372):     #18  pc 0084c988  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    34. 01-27 12:25:32.911: E/CRASH(4372):     #19  pc 0084d2a0  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    35. 01-27 12:25:32.911: E/CRASH(4372):     #20  pc 00845498  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    36. 01-27 12:25:32.911: E/CRASH(4372):     #21  pc 003b0684  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    37. 01-27 12:25:32.911: E/CRASH(4372):     #22  pc 000475cf  /system/lib/libc.so (__pthread_start(void*)+22)
    38. 01-27 12:25:32.911: E/CRASH(4372):     #23  pc 0001afe9  /system/lib/libc.so (__start_thread+32)
     
    Petr777 likes this.
  19. faveris_dt

    faveris_dt

    Joined:
    Sep 13, 2017
    Posts:
    6
    We use Unity 2018.4.12f1 and we have the exact same issue according to Crashlytics. It was reproduced on these device models so far:
    • Xiaomi Redmi S2
    • LGE LG Q6
    • Xiaomi Redmi 7A
    • motorola Moto Z (2) Play
    • motorola moto g(6)
    All these devices have 2GB - 4GB RAM, I'm pretty sure that our game works stable on other devices with such amount of RAM, so I doubt this issue is related to memory consumption of our game. @aleksandrk could you please help us, should we submit a new bug report? Our QA haven't reproduced this issue unfortunately (we have no such devices in our office) so we can't provide you a minimal reproduction project. Also, looks like there is no certain WTR (in-game logs before crash are pretty random).
     
  20. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    @faveris_dt yes, please submit a bug report and specify, on which devices out there in the wild you see this. Perhaps our QA will be able to repro this as well.
     
    faveris_dt likes this.
  21. faveris_dt

    faveris_dt

    Joined:
    Sep 13, 2017
    Posts:
    6
    Petr777, Qbit86 and aleksandrk like this.
  22. Petr777

    Petr777

    Joined:
    Nov 8, 2017
    Posts:
    48
    >Just letting you know that crash report has been submitted: https://fogbugz.unity3d.com/default.asp?1219324_ubo6viot7coqbdrj
    And closed without a fix...

    Our users have a lot of crashes on adreno devices (Motorola Moto G5 , Moto G7, ....)
    This crashes are hard to reproduce, so we cannot create repro project.
    QA closes all bug reports on this crash without repro projects.
    But looks like this crashes are really a problem! some of other users have them every few minutes
    Unity, please research and fix this!
     
    Last edited: May 13, 2020
    faveris_dt and Qbit86 like this.
  23. haseungbong

    haseungbong

    Joined:
    Aug 9, 2018
    Posts:
    1
    Still happening Unity 2018.4.22f1.
    LG Stylo 4
    Moto G (5S) Plus
    Android 8.1.0
     
  24. FifthPlanetClaude

    FifthPlanetClaude

    Joined:
    Jan 28, 2019
    Posts:
    1
    @haseungbong do you guys use shader graph in combination with baked lightmaps?
    We had some issues with that on adreno gpus.
     
  25. waldgeist

    waldgeist

    Joined:
    May 6, 2017
    Posts:
    376
    Same problem here. Unity 2019.3.15f1 on a Moto G5S Plus.

    Code (CSharp):
    1. E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2.     Version '2019.3.15f1 (59ff3e03856d)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    3.     Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPS28.65-36-14/63857:user/release-keys'
    4.     Revision: 'p400'
    5.     ABI: 'arm'
    6.     Timestamp: 2020-06-17 22:41:42+0200
    7.     pid: 4898, tid: 5238, name: Chrome_InProcGp  >>> com.marblear.prototype.development <<<
    8.     uid: 10250
    9.     signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1a
    10.     Cause: null pointer dereference
    11. E/CRASH:     r0  00000002  r1  00000003  r2  00000000  r3  00000001
    12.         r4  00001f50  r5  8e59a400  r6  00000000  r7  00000000
    13.         r8  8e59a400  r9  00000000  r10 8f8b4678  r11 00000000
    14.         ip  00000001  sp  47a4dd08  lr  9db59971  pc  9db5a2e2
    15.     backtrace:
    16.           #00 pc 0015a2e2  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::AddUnbucketedEntries(EsxCmdBufType, unsigned int)+102)
    17.           #01 pc 0015996d  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::BucketRenderingCmds(EsxRenderBucketParams*)+754)
    18.           #02 pc 0018a0e5  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BucketRenderingCmds(int)+732)
    19. E/CRASH:       #03 pc 000dda67  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BindDrawFramebuffer(EsxFramebufferObject*)+82)
    20.           #04 pc 000a6027  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlDeleteFramebuffers(int, unsigned int const*)+430)
    21.           #05 pc 01573407  <anonymous:974a9000>
    22. E/CRASH: other thread is trapped; signum = 11
    23. E/AndroidRuntime: FATAL EXCEPTION: UnityMain
    24.     Process: com.marblear.prototype.development, PID: 4898
    25.     java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    26.     Version '2019.3.15f1 (59ff3e03856d)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    27.     Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPS28.65-36-14/63857:user/release-keys'
    28.     Revision: 'p400'
    29.     ABI: 'arm'
    30.     Timestamp: 2020-06-17 22:41:42+0200
    31.     pid: 4898, tid: 5238, name: Chrome_InProcGp  >>> com.marblear.prototype.development <<<
    32.     uid: 10250
    33.     signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1a
    34.     Cause: null pointer dereference
    35.         r0  00000002  r1  00000003  r2  00000000  r3  00000001
    36.         r4  00001f50  r5  8e59a400  r6  00000000  r7  00000000
    37.         r8  8e59a400  r9  00000000  r10 8f8b4678  r11 00000000
    38.         ip  00000001  sp  47a4dd08  lr  9db59971  pc  9db5a2e2
    39.  
    40.     backtrace:
    41.           #00 pc 0015a2e2  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::AddUnbucketedEntries(EsxCmdBufType, unsigned int)+102)
    42.           #01 pc 0015996d  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::BucketRenderingCmds(EsxRenderBucketParams*)+754)
    43.           #02 pc 0018a0e5  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BucketRenderingCmds(int)+732)
    44.           #03 pc 000dda67  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BindDrawFramebuffer(EsxFramebufferObject*)+82)
    45.           #04 pc 000a6027  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlDeleteFramebuffers(int, unsigned int const*)+430)
    46.           #05 pc 01573407  <anonymous:974a9000>
    47.  
    48.         at libGLESv2_adreno.EsxRenderBucket::AddUnbucketedEntries(EsxCmdBufType, unsigned int)(AddUnbucketedEntries:102)
    49.         at libGLESv2_adreno.EsxRenderBucket::BucketRenderingCmds(EsxRenderBucketParams*)(BucketRenderingCmds:754)
    50.         at libGLESv2_adreno.EsxContext::BucketRenderingCmds(int)(BucketRenderingCmds:732)
    51.         at libGLESv2_adreno.EsxContext::BindDrawFramebuffer(EsxFramebufferObject*)(BindDrawFramebuffer:82)
    52.         at libGLESv2_adreno.EsxContext::GlDeleteFramebuffers(int, unsigned int const*)(GlDeleteFramebuffers:430)
    53.         at Unknown.0x98a1c407(Unknown Source:0)
    Before these crashes happen, there are quite some out of memory errors in the logs.
     
    Last edited: Jun 17, 2020
    Petr777 and Qbit86 like this.
  26. waldgeist

    waldgeist

    Joined:
    May 6, 2017
    Posts:
    376
    Also tested an earlier version of our app that previously worked. After upgrading it to Unity 2018.4.23f1, I am experiencing similar problems. Sometimes the app just freezes, but doesn't completely crash.

    Here's a log of this situation:

    Code (CSharp):
    1. 2020-06-17 23:16:22.419 11596-11810/com.marblear.prototype.development I/native: performance_monitor.cc:115 Event: FeatureExtraction is taking too long, it took 115.487ms
    2. 2020-06-17 23:16:22.650 11596-11846/com.marblear.prototype.development E/native: camera_image_stream.cc:230 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
    3. 2020-06-17 23:16:23.584 11596-11810/com.marblear.prototype.development I/native: performance_monitor.cc:115 Event: FeatureExtraction is taking too long, it took 112.701ms
    4. 2020-06-17 23:16:24.787 11596-11810/com.marblear.prototype.development I/native: performance_monitor.cc:115 Event: FeatureExtraction is taking too long, it took 112.745ms
    5. 2020-06-17 23:16:26.544 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    6. 2020-06-17 23:16:26.546 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    7. 2020-06-17 23:16:26.549 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    8. 2020-06-17 23:16:26.551 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    9. 2020-06-17 23:16:26.583 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    10. 2020-06-17 23:16:26.584 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    11. 2020-06-17 23:16:26.585 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    12. 2020-06-17 23:16:26.586 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    13. 2020-06-17 23:16:26.589 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    14. 2020-06-17 23:16:26.590 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    15. 2020-06-17 23:16:26.591 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    16. 2020-06-17 23:16:26.593 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    17. 2020-06-17 23:16:26.597 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    18. 2020-06-17 23:16:26.599 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    19. 2020-06-17 23:16:26.601 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    20. 2020-06-17 23:16:26.602 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    21. 2020-06-17 23:16:26.605 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    22. 2020-06-17 23:16:26.607 11596-11759/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    23. 2020-06-17 23:16:26.610 11596-11759/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    24. 2020-06-17 23:16:26.612 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    25. 2020-06-17 23:16:26.629 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    26. 2020-06-17 23:16:26.634 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    27. 2020-06-17 23:16:26.636 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    28. 2020-06-17 23:16:26.642 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    29. 2020-06-17 23:16:26.643 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    30. 2020-06-17 23:16:26.648 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    31. 2020-06-17 23:16:26.649 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    32. 2020-06-17 23:16:26.660 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    33. 2020-06-17 23:16:26.662 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    34. 2020-06-17 23:16:26.670 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    35. 2020-06-17 23:16:26.673 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    36. 2020-06-17 23:16:26.680 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    37. 2020-06-17 23:16:26.681 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    38. 2020-06-17 23:16:26.687 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    39. 2020-06-17 23:16:26.688 11596-11915/com.marblear.prototype.development W/Adreno-GSL: <sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    40. 2020-06-17 23:16:26.694 11596-11915/com.marblear.prototype.development E/Adreno-GSL: <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    41. 2020-06-17 23:16:28.491 11596-11756/com.marblear.prototype.development I/Choreographer: Skipped 37 frames!  The application may be doing too much work on its main thread.
    42. 2020-06-17 23:16:28.492 11596-11846/com.marblear.prototype.development E/native: session.cc:664 INVALID_ARGUMENT: Passed timestamp is too new.
    43. 2020-06-17 23:16:28.492 11596-11846/com.marblear.prototype.development E/native: camera_image_stream.cc:230 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
    44. 2020-06-17 23:16:28.493 11596-11846/com.marblear.prototype.development I/chatty: uid=10251(com.marblear.prototype.development) ImageReader-640 identical 12 lines
    45. 2020-06-17 23:16:28.493 11596-11846/com.marblear.prototype.development E/native: camera_image_stream.cc:230 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
    46. 2020-06-17 23:16:28.523 11596-11810/com.marblear.prototype.development I/native: performance_monitor.cc:101 Event: FeatureExtraction did not happen before the timeout. Waited for 500 milliseconds
    47. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development D/Unity: NativeCrashSerializer::EndReport() Success!
    48. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001a
    49. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    50. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development E/CRASH: Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    51. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development E/CRASH: Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPS28.65-36-14/63857:user/release-keys'
    52. 2020-06-17 23:16:28.561 11596-11915/com.marblear.prototype.development E/CRASH: Revision: 'p400'
    53. 2020-06-17 23:16:28.563 11596-11915/com.marblear.prototype.development E/CRASH: pid: 11596, tid: 11915, name: RenderThread  >>> com.marblear.prototype.development <<<
    54. 2020-06-17 23:16:28.563 11596-11915/com.marblear.prototype.development E/CRASH:     r0 00000002  r1 00000003  r2 00000000  r3 00000001
    55. 2020-06-17 23:16:28.563 11596-11915/com.marblear.prototype.development E/CRASH:     r4 00001f50  r5 7f1a4000  r6 00000000  r7 00000000
    56. 2020-06-17 23:16:28.563 11596-11915/com.marblear.prototype.development E/CRASH:     r8 7f1a4000  r9 00000000  sl 842ba8b8  fp 00000000
    57. 2020-06-17 23:16:28.563 11596-11915/com.marblear.prototype.development E/CRASH:     ip 00000001  sp 42efdd98  lr 9db59971  pc 9db5a2e2  cpsr 908d7d10
    58. 2020-06-17 23:16:28.564 11596-11915/com.marblear.prototype.development E/CRASH: backtrace:
    59. 2020-06-17 23:16:28.576 11596-11830/com.marblear.prototype.development W/native: vio_initializer.cc:391 Dropped initialization window due to skip in data.
    60. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #00  pc 001502e2  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::AddUnbucketedEntries(EsxCmdBufType, unsigned int)+101)
    61. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #01  pc 0014f96d  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::BucketRenderingCmds(EsxRenderBucketParams*)+754)
    62. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #02  pc 001800e5  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BucketRenderingCmds(int)+732)
    63. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #03  pc 0017f7bb  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BucketProcessingSetup()+70)
    64. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #04  pc 000c6beb  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::Clear(unsigned int, unsigned int, unsigned int, EsxClearValues*)+514)
    65. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #05  pc 000f2b89  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlClear(EsxDispatch*, unsigned int)+140)
    66. 2020-06-17 23:16:29.027 11596-11915/com.marblear.prototype.development E/CRASH:     #06  pc 0232b2a9  /data/app/com.android.chrome-GMR91TSpE_E2qC4KKzzWLw==/base.apk
    67. "....
    68. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db59970 0430f8d8 05005900 4640d504 22002105  ..0..Y....@F.!."
    69. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db59980 fc7cf000 21044640 f0002200 e06cfc77  ..|.@F.!."..w.l.
    70. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db59990 0298f8d8 d0452800 0434f8d8 6c3169c6  .....(E...4..i1l
    71. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db599a0 6bb4b1b9 0a00f04f bf002700 bf00bf00  ...kO....'......
    72. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db599b0 6820b15c 6941b138 21006181 a028f8c0  \. h8.Ai.a.!..(.
    73. 2020-06-17 23:16:29.039 11596-11915/com.marblear.prototype.development E/CRASH:     9db599c0 f86bf087 68a46c31 2400e000 428f3701  ..k.1l.h...$.7.B
    74. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db599d0 2000d3ee 7154f641 643063b0 0430f8d8  ... A.Tq.c0d..0.
    75. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db599e0 5c409f02 d5400740 0434f8d8 6c316986  ..@\@.@...4..i1l
    76. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db599f0 6bb4b3b9 0a00f04f bf002700 bf00bf00  ...kO....'......
    77. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db59a00 6820b15c 6941b138 21006181 a028f8c0  \. h8.Ai.a.!..(.
    78. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db59a10 f843f087 68a46c31 2400e000 428f3701  ..C.1l.h...$.7.B
    79. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db59a20 e01ed3ee 02acf8d8 f0002800 f8d88389  .........(......
    80. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db59a30 6a060434 b1a16c31 f04f6bb4 27000a00  4..j1l...kO....'
    81. 2020-06-17 23:16:29.040 11596-11915/com.marblear.prototype.development E/CRASH:     9db59a40 6820b15c 6941b138 21006181 a028f8c0  \. h8.Ai.a.!..(.
    82. 2020-06-17 23:16:29.140 11596-11618/com.marblear.prototype.development E/CRASH: other thread is trapped; signum = 11
    83. 2020-06-17 23:16:29.142 11596-11618/com.marblear.prototype.development E/MessageQueue: IdleHandler threw exception
    84.    java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001a
    85.    Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPS28.65-36-14/63857:user/release-keys'
    86.    Revision: 'p400'
    87.    pid: 11596, tid: 11915, name: RenderThread  >>> com.marblear.prototype.development <<<
    88.        r0 00000002  r1 00000003  r2 00000000  r3 00000001
    89.        r4 00001f50  r5 7f1a4000  r6 00000000  r7 00000000
    90.        r8 7f1a4000  r9 00000000  sl 842ba8b8  fp 00000000
    91.        ip 00000001  sp 42efdd98  lr 9db59971  pc 9db5a2e2  cpsr 908d7d10
    92.  
    93.        at libGLESv2_adreno.EsxRenderBucket::AddUnbucketedEntries(EsxCmdBufType, unsigned int)(AddUnbucketedEntries:101)
    94.        at libGLESv2_adreno.EsxRenderBucket::BucketRenderingCmds(EsxRenderBucketParams*)(BucketRenderingCmds:754)
    95.        at libGLESv2_adreno.EsxContext::BucketRenderingCmds(int)(BucketRenderingCmds:732)
    96.        at libGLESv2_adreno.EsxContext::BucketProcessingSetup()(BucketProcessingSetup:70)
    97.        at libGLESv2_adreno.EsxContext::Clear(unsigned int, unsigned int, unsigned int, EsxClearValues*)(Clear:514)
    98.        at libGLESv2_adreno.EsxGlApiParamValidate::GlClear(EsxDispatch*, unsigned int)(GlClear:140)
    99.        at base.0232b2a9(Native Method)
     
    Qbit86 likes this.
  27. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,594
    A year and two bug reports later, I think people should just accept that Unity will not fix this issue and your games will never not crash on devices with those GPUs.
     
    Neto_Kokku, Zeeppo-Games and Qbit86 like this.
  28. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    24
    Having similar problems. Is there a workaround?

    Unity Version '2019.3.14f1 (2b330bf6d2d8)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    Device used: Samsung Galaxy 8" Tab A Wi-Fi Tablet 32GB - Model SM-T290NZSCXAR - Android 9.0

    Thanks,
    Ash

    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: Version '2019.3.14f1 (2b330bf6d2d8)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: Build fingerprint: 'samsung/gtowifixx/gtowifi:9/PPR1.180610.011/T290XXU1:user/release-keys'
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: Revision: '4'
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: ABI: 'arm64'
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: Timestamp: 2020-06-17 15:04:52-0700
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: pid: 22416, tid: 22495, name: UnityGfxDeviceW >>> <<<
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: uid: 10149
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2dc
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: Cause: null pointer dereference
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x0 0000007965e49800 x1 0000000000000000 x2 000000796fbddbf4 x3 000000796fbddc78
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x4 000000796effea94 x5 0000000000000004 x6 0000000000000405 x7 0000000000000405
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x8 0000000000000000 x9 00000079634fb968 x10 0000000000000002 x11 0000000000000003
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x12 0000000000000006 x13 00000079634fb800 x14 000000796fb92040 x15 00000079d129e7a8
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x16 000000796398d400 x17 00000079d129e780 x18 0000000000000002 x19 00000079634fb800
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x20 000000796fa2f400 x21 000000796faef800 x22 000000796fbddbc0 x23 00000079634fb800
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x24 0000000000000001 x25 000000796fafb580 x26 0000000000000000 x27 0000000000000001
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: x28 0000000000000000 x29 000000796effee70
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: sp 000000796effee50 lr 00000079e07d6bec pc 00000079e08740e4
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: backtrace:
    2020-06-17 15:04:52.886 22416-22495/? E/CRASH: #00 pc 00000000001c90e4 /vendor/lib64/egl/libGLESv2_adreno.so (EsxRenderBucket::IsBucketInvalidateRequired()+4)
    2020-06-17 15:04:52.887 22416-22495/? E/CRASH: #01 pc 000000000012bbe8 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::BindReadFramebuffer(EsxFramebufferObject*)+592)
    2020-06-17 15:04:52.887 22416-22495/? E/CRASH: #02 pc 00000000000e9008 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::GlBindFramebuffer(unsigned int, unsigned int)+504)
    2020-06-17 15:04:52.887 22416-22495/? E/CRASH: #03 pc 0000000000426550
     
    Qbit86 likes this.
  29. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    @AcidArrow one of those two bug reports got closed because there was not enough information. Another one had a problematic shader that caused a crash, but was not related to the issue on this thread (it happened on a different GPU).
    Without a repro case it's impossible to do anything about this, unfortunately.
     
  30. waldgeist

    waldgeist

    Joined:
    May 6, 2017
    Posts:
    376
    @aleksandrk Have you tried an app built with the latest Unity 2019.3 on a Moto G5s Plus? On our end, fiddling a bit around with our app was sufficient to cause these crashes or freezes. We don't even use much 3D content, as the app is mainly for location-based AR.
     
  31. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    @waldgeist not personally, but our QA did.
    All repro cases I can find right now in our bug tracker and that were reproducible have been genuine out of memory crashes.
    How much memory does your app use?
     
  32. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    24
    So, I did find a workaround for my issue through I am not clear what is the exact cause of it.

    One of our scenes was using this asset
    https://assetstore.unity.com/packages/3d/environments/urban/modern-gallery-82524

    That scene works on Windows, UWP, iOS and some Android devices. I purchased this Android tablet from Costco and found it always crashes when moving in the scene. We used Adventure Creator but I don't think that is an issue.

    @aleksandrk - Your QA team should be able to create a repro case using the above asset.

    We like that asset and would appreciate if you had any suggestions on why that Asset is triggering of the crash and what we could do to work around it.

    Thanks,
    Ash

    Unity Version '2019.3.14f1 (2b330bf6d2d8)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    Device used: Samsung Galaxy 8" Tab A Wi-Fi Tablet 32GB - Model SM-T290NZSCXAR - Android 9.0
     
    Qbit86 likes this.
  33. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    @ash4096 It would be great if you could file a bug report.
     
  34. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    24
    Done. Case 1257283
     
    aleksandrk and Qbit86 like this.
  35. waldgeist

    waldgeist

    Joined:
    May 6, 2017
    Posts:
    376
    @aleksandrk Our app is typically using around 500mb of texture memory.
     
  36. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    Btw, is it a 3GB or a 4GB RAM version?
    Are these textures read-only? There's a flag that controls, whether texture contents can be accessible by the CPU. If it's set, the texture is duplicated in CPU-visible memory.
    Do you use intermediate render targets? These can consume quite some memory as well.
    How much memory do the shaders you use take?
     
  37. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    Thank you!
     
  38. Qbit86

    Qbit86

    Joined:
    Sep 2, 2013
    Posts:
    487
    Please let us know in this thread when issue is fixed.
     
    Aelcyx likes this.
  39. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    I'll add this request to the bug report :)
    Although there's going to be a public issue tracker link to follow on the ticket progress.
     
    Qbit86 likes this.
  40. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    102
    Hi. Do you mean “if it’s not set it’s duplicated” correct?
     
  41. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    If the texture is accessible by the CPU (see https://docs.unity3d.com/Manual/class-TextureImporter.html, Read/Write Enabled checkbox set), a copy of the texture data is maintained in the CPU-visible memory, so a texture with this checkbox set takes 2x memory.
     
  42. akiyamaexe

    akiyamaexe

    Joined:
    Mar 3, 2020
    Posts:
    12
    In a similar issue, changing the ClearFlag of the camera from Depth Only to Solid Color worked on the device that was having the issue.

    However, when SolidColor is set, the screen may not be displayed correctly on some terminals, so there is no setting that works properly on all terminals.

    I'm glad if you can use it as a reference.
     
  43. Aelcyx

    Aelcyx

    Joined:
    Jun 13, 2014
    Posts:
    12
  44. unity_sharpidea

    unity_sharpidea

    Joined:
    May 7, 2019
    Posts:
    2
    the same issue in my app:

    Fatal Exception: java.lang.Error
    FATAL EXCEPTION [UnityMain] Unity version : 2019.2.21f1 Device model : LGE LGL423DL Device fingerprint: lge/mh4_fg/mh4:8.1.0/OPM1.171019.026/190101215ee77:user/release-keys
    keyboard_arrow_up



    Caused by java.lang.Error
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 6edd44e4 Build fingerprint: 'lge/mh4_fg/mh4:8.1.0/OPM1.171019.026/190101215ee77:user/release-keys' Revision: '0' pid: 20593, tid: 20690, name: UnityMain >>> com.blowfire.wildclassic <<< r0 48e1b285 r1 00000000 r2 48e09801 r3 6edd44e0 r4 00000002 r5 6ca20000 r6 58ebbe00 r7 0000d200 r8 00000000 r9 00000054 sl 00000000 fp 00000000 ip 00000000 sp 875deef8 lr 9e25722b pc 9e4e6ff0 cpsr 57e18280
    keyboard_arrow_up


    arrow_right
    libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) (HwPatchForDirectRendering:4155)

    (ProcessAndSubmitRendering:6140)(Flush:312)(GetMemory:530)(Init:830)(AllocGfxMemForRange:1012)(PreparePackedGpuAccess:662)(PreRenderProcessing:100)(ValidateProgramTexUnitBoundObjs:2240)(ValidateTexUnitBoundObjs:44)(ValidateGfxState:1422)(DrawElementsInstanced:648)(GlDrawElements:180)(glDrawElements:40)

    libunity.005342b9


    libunity.005343f1


    libunity.006037c5


    libunity.005385c9


    libunity.001ca733


    libunity.005f847f


    libunity.005fb639


    libunity.0065bd13


    libunity.005fa7d5


    libunity.005fb93f


    libunity.005fc5e9


    libunity.005f565f


    libunity.005b7f59


    libunity.005b8f09


    libunity.005c1709


    libunity.003fda9b


    libunity.003fabf7


    libunity.003fac13
     
  45. unity_sharpidea

    unity_sharpidea

    Joined:
    May 7, 2019
    Posts:
    2
    the same:


    Fatal Exception: java.lang.Error
    FATAL EXCEPTION [UnityMain] Unity version : 2019.2.21f1 Device model : LGE LGL423DL Device fingerprint: lge/mh4_fg/mh4:8.1.0/OPM1.171019.026/190101215ee77:user/release-keys
    Caused by java.lang.Error
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 6dcece04 Build fingerprint: 'lge/mh4_fg/mh4:8.1.0/OPM1.171019.026/190101215ee77:user/release-keys' Revision: '0' pid: 21018, tid: 21115, name: UnityMain >>> com.blowfire.wildclassic <<< r0 48e1b285 r1 00000000 r2 48e09801 r3 6dcece00 r4 00000002 r5 6cad0000 r6 362d0200 r7 0000d200 r8 00000000 r9 00000054 sl 00000000 fp 00000000 ip 00000000 sp 8748def8 lr 9e25722b pc 9e4e6ff0 cpsr 56af7780
    libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) (HwPatchForDirectRendering:4155)
    libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) (ProcessAndSubmitRendering:6140)
    libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) (Flush:312)
    libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) (GetMemory:530)
    libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) (Init:830)
    libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) (AllocGfxMemForRange:1012)
    libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) (PreparePackedGpuAccess:662)
    libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) (PreRenderProcessing:100)
    libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) (ValidateProgramTexUnitBoundObjs:2240)
    libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() (ValidateTexUnitBoundObjs:44)
    libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) (ValidateGfxState:1422)
    libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) (DrawElementsInstanced:648)
    libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*) (GlDrawElements:180)
    libGLESv2_adreno.glDrawElements (glDrawElements:40)
    libunity.005342b9
    libunity.005343f1
    libunity.006037c5
    libunity.005385c9
    libunity.001ca733
    libunity.005f847f
    libunity.005fb639
    libunity.0065bd13
    libunity.005fa7d5
    libunity.005fb93f
    libunity.005fc5e9
    libunity.005f565f
    libunity.005b7f59
    libunity.005b8f09
    libunity.005c1709
    libunity.003fda9b
    libunity.003fabf7
    libunity.003fac13
     
  46. We_Bros_Media

    We_Bros_Media

    Joined:
    Nov 14, 2019
    Posts:
    2
    We have the exact same issue in Unity 2019.4.12f1 version. Any solution for this?

    Error log
    I/MediaCodec: failed to start codec bacause of codec capacity
    E/MediaCodec: Codec reported err 0xffffec77, actionCode 0, while in state 4
    D/SurfaceUtils: disconnecting from surface 0xb9dcc008, reason disconnectFromSurface
    E/NdkMediaCodec: sf error code: -38
    W/Unity: AndroidVideoMedia: Error -10000 while starting codec.
    (Filename: ./PlatformDependent/AndroidPlayer/Modules/Video/Private/AndroidVideoMedia.cpp Line: 2200)
    E/NdkMediaCodec: sf error code: -38
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Idle->Executing
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
    I/MediaCodec: setCodecState state : 0
    I/ACodec: [OMX.qcom.video.decoder.avc] Now uninitialized
    I/ACodec: [] Now kWhatShutdownCompleted event : 8508
    I/MediaCodec: Codec shutdown complete
    W/: buffer descriptor with invalid usage bits 0x2000
    W/: buffer descriptor with invalid usage bits 0x2000
    W/Unity: AndroidVideoMedia: Decoder setup error.
    (Filename: ./PlatformDependent/AndroidPlayer/Modules/Video/Private/AndroidVideoMedia.cpp Line: 1163)
    W/ainGameVer19Lt: 0xebadde09 skipped times: 0
    E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Version '2019.4.12f1 (225e826a680e)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    Build fingerprint: 'samsung/m11qnnxx/m11q:10/QP1A.190711.020/M115FXXU1ATG2:user/release-keys'
    Revision: '0'
    ABI: 'arm'
    Timestamp: 2020-10-22 18:40:37+0530
    pid: 20605, tid: 20647, name: UnityMain >>> com.DefaultCompany.BrainGameVer19Lts <<<
    uid: 10324
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    Cause: null pointer dereference
    r0 00000000 r1 00000000 r2 00000000 r3 3ff00000
    r4 98a0ab90 r5 00000001 r6 00000004 r7 afd7b000
    r8 bc3bb4ac r9 bc3bb4a0 r10 afd7b044 r11 bc3bb3b8
    ip ede15d1c sp bc3bb358 lr bd0ddad5 pc bd0ddb3a
    backtrace:
    #00 pc 00c18b3a /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (VideoClipPlayback::DetectEndReached()+210) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #01 pc 00c17713 /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (VideoPlaybackMgr::Update()+62) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #02 pc 0093eb35 /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (InitializeVideoManagerCallbacks()::preUpdateUpdateVideoRegistrator::Forward()+28) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #03 pc 00324e4d /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+52) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #04 pc 00324e81 /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+104) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    E/CRASH: #05 pc 00325031 /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (PlayerLoop()+264) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #06 pc 004e3e1b /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (UnityPlayerLoop()+490) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #07 pc 005074d9 /data/app/com.DefaultCompany.BrainGameVer19Lts-NxBgBr3Yq_ubdKggVJyU5A==/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*)+40) (BuildId: bffaec518b851de82ce26855292cedd209920d86)
    #08 pc 02068b4b /memfd:/jit-cache (deleted)
     
    Last edited: Oct 23, 2020
    Qbit86 likes this.
  47. Deleted User

    Deleted User

    Guest

    the same issue:
    Device : LG Stylo 4 / Unity : 2019.2.21f

    libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) (HwPatchForDirectRendering:4263)

    libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) (ProcessAndSubmitRendering:6206)

    libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) (Flush:312)

    libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) (GetMemory:530)

    libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) (Init:830)

    libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) (AllocGfxMemForRange:1010)

    libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) (PreparePackedGpuAccess:658)

    libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) (PreRenderProcessing:100)

    libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) (ValidateProgramTexUnitBoundObjs:2240)

    libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() (ValidateTexUnitBoundObjs:44)

    libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) (ValidateGfxState:1442)

    libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) (DrawElementsInstanced:652)

    libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElementsBaseVertex(EsxDispatch*, unsigned int, int, unsigned int, void const*, int) (GlDrawElementsBaseVertex:180)

    libGLESv2_adreno.glDrawElementsBaseVertex (glDrawElementsBaseVertex:46)

    libunity.005342b9

    libunity.005343f1

    libunity.006037c5

    libunity.005385c9

    libunity.003097b5

    libunity.003099cb

    libunity.00303a5f

    libunity.0044f6df

    libc.__pthread_start(void*) (__pthread_start:22)

    libc.__start_thread (__start_thread:32)
     
  48. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    I've got this happening on a phone with lots of memory (Pocophone F1) and the bug reporter is showing there is tons of memory left.

    I have some build machines I could arrange for you to use via VPN and RDP as I'm fairly confident if we spend a few weeks trying to make a repro the problem will likely not exist in that repro.

    upload_2020-12-9_16-9-10.png
     
  49. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,978
    @trooper this just means you have something different happening.
     
  50. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    It doesn't allow more than 500mb of GPU memory usage even though Unity reports 2048 available. Guess it's a problem with this GPU / chipset that can't be fixed by unity.
     
    leoviathan likes this.