Forums - Crash in libGLESv2_adreno.so

1 post / 0 new
Crash in libGLESv2_adreno.so
cqarthur
Join Date: 7 Dec 21
Posts: 1
Posted: Fri, 2022-12-30 00:11

The crash can be reproduced 100% on Samsung S10 SM-G973U (USA)  which uses Adreno 640 with the small apk I can provide.

Just press the button "warmup", and a few seconds later it will crash.

The crash log only has the backtrace without any useful hints about when went wrong with my shader. I was wondering if someone could investigate  this crash, and I can provide the apk to you.

Below is the crash log:

 
15:54:40.508  E  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
15:54:40.508  E  Version '2021.3.8f1 (b30333d56e81)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
15:54:40.508  E  Build fingerprint: 'samsung/beyond1qltesq/beyond1q:11/RP1A.200720.012/G973USQS5GUF1:user/release-keys'
15:54:40.508  E  Revision: '17'
15:54:40.508  E  ABI: 'arm64'
15:54:40.508  E  Timestamp: 2022-12-30 15:54:40+0800
15:54:40.508  E  pid: 16529, tid: 18321, name: UnityMain  >>> com.DefaultCompany.NewUnityProject <<<
15:54:40.508  E  uid: 10501
15:54:40.508  E  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4c
15:54:40.508  E  Cause: null pointer dereference
15:54:40.508  E      x0  b40000768c576b80  x1  0000000000000000  x2  0000000000000050  x3  0000000000000010
15:54:40.508  E      x4  000000768c576bc0  x5  0000000000000004  x6  00000000000000cb  x7  0000000000000000
15:54:40.508  E      x8  0000000000000007  x9  0000000000000000  x10 0000000000000007  x11 b40000767c462390
15:54:40.508  E      x12 b4000076bc583c98  x13 b40000768c419ad0  x14 0000000000000000  x15 b40000766c4b80d0
15:54:40.508  E      x16 000000793d7d2b70  x17 000000793d75dd40  x18 0000007530394088  x19 b40000775c5bf670
15:54:40.508  E      x20 b40000775c5bf670  x21 b40000771ca22e58  x22 b40000775c5bfa44  x23 b4000076dc41e490
15:54:40.508  E      x24 0000000000000000  x25 0000000000000000  x26 ffffffffffffffff  x27 b40000773c505ed0
15:54:40.508  E      x28 b40000768c576b80  x29 00000075e0ac6340
15:54:40.508  E      sp  00000075e0ac6260  lr  b40000771ca22e10  pc  0000007631f72dcc
15:54:40.508  E  backtrace:
15:54:40.508  E        #00 pc 0000000000219dcc  /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: b87189ccebbe50e571d1bf6b17cf24dc)
15:54:40.508  E        #01 pc 000000000013d8b8  /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: b87189ccebbe50e571d1bf6b17cf24dc)
15:54:40.508  E        #02 pc 000000000021453c  /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: b87189ccebbe50e571d1bf6b17cf24dc)
15:54:40.508  E        #03 pc 00000000001407a0  /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: b87189ccebbe50e571d1bf6b17cf24dc)
15:54:40.509  E        #04 pc 0000000000693e1c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GlslGpuProgramGLES::CompileProgramImpl(unsigned int&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, ShaderChannelMask&, int, unsigned int, int*, int*)+3288) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #05 pc 00000000006915c0  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GlslGpuProgramGLES::Create(dynamic_array<unsigned char, 0ul> const&, core::basic_string<char, core::StringStorageDefault<char> > const&, ShaderChannelMask&)+4236) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #06 pc 000000000068ff78  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GlslGpuProgramGLES::GlslGpuProgramGLES(dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&)+272) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #07 pc 000000000065ef5c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (CreateGpuProgram(ShaderGpuProgramType, dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&)+404) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #08 pc 000000000026ca24  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::SubProgram::Compile(ShaderLab::CompilationData&)+2044) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #09 pc 000000000026e3c8  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::Program::EnsureCompiledAndMarkUnsupportedIfFailed(ShaderLab::SubProgram const*, int, keywords::LocalKeywordState const&, keywords::LocalKeywordState*, ShaderSnippetResult&) const+204) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #10 pc 000000000026e89c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::Program::GetMatchingSubProgram(Shader const*, ShaderLab::Pass const*, keywords::LocalKeywordState const&, unsigned int, keywords::LocalKeywordState*, ShaderSnippetResult&, AsyncShaderCompilationMode, bool, int, int) const+1036) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #11 pc 0000000000263978  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::ShaderState::FindSubProgramsToUse(Shader const*, ShaderLab::Pass const*, ShaderLab::SubPrograms&, ShaderPassContext const&, keywords::LocalKeywordState const&, bool, int, int) const+212) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #12 pc 00000000002610cc  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::ShaderState::ApplyShaderState(unsigned int, ShaderPropertySheet const*, ShaderPassContext const&, keywords::LocalKeywordState const&, Shader*, ShaderLab::Pass*, bool*, ShaderLab::SubPrograms*, DeviceRenderStateBlock const*, int, int) const+128) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #13 pc 0000000000260fe8  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderLab::Pass::ApplyPass(unsigned int, ShaderPropertySheet const*, ShaderPassContext&, keywords::LocalKeywordState const&, Shader*, int, int, bool*, ShaderLab::GrabPasses const*, ShaderLab::SubPrograms*, DeviceRenderStateBlock const*)+220) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #14 pc 0000000000258214  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #15 pc 0000000000257d60  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderVariantCollection::WarmupOneShaderImpl(Shader*, vector_set<ShaderVariantCollection::VariantInfo, std::__ndk1::less<ShaderVariantCollection::VariantInfo>, std::__ndk1::allocator<ShaderVariantCollection::VariantInfo> > const&, WarmupPassSetup const&, DynamicVBO*, void (*)(Shader*, int, int, ShaderLab::Pass*, keywords::LocalKeywordState const&, WarmupPassSetup const&, DynamicVBO*, void*, ShaderPassContext&), void*)+596) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #16 pc 0000000000258030  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderVariantCollection::WarmupShadersImpl(void (*)(Shader*, int, int, ShaderLab::Pass*, keywords::LocalKeywordState const&, WarmupPassSetup const&, DynamicVBO*, void*, ShaderPassContext&), void*)+328) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #17 pc 0000000000257eb0  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderVariantCollection::WarmupShaders(bool)+180) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #18 pc 00000000000e43e0  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ShaderVariantCollection_CUSTOM_WarmUp(ScriptingBackendNativeObjectPtrOpaque*)+180) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #19 pc 000000000039c464  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libil2cpp.so (BuildId: f3d9dcb8a5655f6979ec2684e5409e4ee27f54c3)
15:54:40.509  E        #20 pc 0000000000a94f4c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libil2cpp.so (BuildId: f3d9dcb8a5655f6979ec2684e5409e4ee27f54c3)
15:54:40.509  E        #21 pc 0000000000a94dac  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libil2cpp.so (BuildId: f3d9dcb8a5655f6979ec2684e5409e4ee27f54c3)
15:54:40.509  E        #22 pc 0000000000304e78  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+164) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #23 pc 0000000000314248  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #24 pc 0000000000495814  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (MonoBehaviourDoGUI(int, ObjectGUIState&, MonoBehaviour::GUILayoutType, int, ScriptingMethodPtr, PPtr<MonoBehaviour>)+360) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #25 pc 00000000004922f8  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GUIManager::GUIObjectWrapper::DoGUI(MonoBehaviour::GUILayoutType, int, int) const+128) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #26 pc 0000000000491ac0  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GUIManager::DoGUIEvent(InputEvent&, bool)+1136) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #27 pc 0000000000491f48  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (GUIManager::SendQueuedEvents()+272) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #28 pc 0000000000491218  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #29 pc 00000000001f0ac4  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+92) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #30 pc 00000000001f0b04  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+156) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #31 pc 00000000001f0da4  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (PlayerLoop()+312) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #32 pc 00000000003a3ca8  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (UnityPlayerLoop()+748) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #33 pc 00000000003d491c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+72) (BuildId: 570433c5f6d4ecf43bfe6f7d1b11c47c649d0b3d)
15:54:40.509  E        #34 pc 000000000000554c  /data/app/~~EDqohzxA0barA_ArCSrxHg==/com.DefaultCompany.NewUnityProject-FoHrJGqGQE80JKU1ZpNHrw==/oat/arm64/base.odex
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.