my app is a game app based on unity. it is runing normally in mobile, but when i linked it to snapdragon profiler and open gpu stats(such as GPU memory stats) it will be crash. i located a drawinstanced invoke caused crash. the follow is the decatil log:
signal 11 (SIGSEGV) code 1 (SEGV_MAPERR) fault addr 0000000000002748
Build type 'Development' Scripting Backend 'il2cpp' CPU 'arm64-v8a'
name: UnityGfxDeviceW >>> ****** <<<
x0 0000000000000017 x1 0000007b2c9eb860 x2 46746e6572727543 x3 6e65736572500042
x4 0000000000000008 x5 0000000000000016 x6 6d647264714eff41 x7 7f7f7f7f7f7f7f7f
x8 0000000000000000 x9 0000007b7d87f930 x10 0000000000000001 x11 0000007b870f69c4
x12 0000000000000000 x13 0000000000000000 x14 0000000000000050 x15 0000000000000020
x16 0000007b7d8774a0 x17 0000007c193a8a60 x18 000000000000000b x19 00000000ffffffff
x20 0000007c1cb8f600 x21 000000000000824a x22 0000007b2c9eb852 x23 0000000000000000
x24 0000007b7e971000 x25 0000007b06da1c70 x26 0000000000002772 x27 0000007b06da63c0
x28 0000000000000000 x29 0000007b06da1710 x30 0000007b7d68fe28
sp 0000007b06da16e0 pc 0000007b7d68fe2c pstate 0000000020001000
backtrace:
#00 pc 0000000000000674 [vdso] ()
#01 pc 0000000000111e28 /vendor/lib64/egl/libGLESv2_adreno.so ()
#02 pc 0000000000d29650 /data/app/XXX-5b8tJLIPdiT4sYuqVy9Deg==/lib/arm64/libunity.so (_ZN11ContextGLES15BlitToCurrentFBERNS_18ExternalAndroidFBOEjj+68)
had a similar issue yesterday check this most post for more info: https://forum.xda-developers.com/t/google-camera-by-urnyx05.3937515/page...
Thank you so much, this xda thread helped me fix my issue.
Ok, good result.
thanks
Bob Du
Really needed this. Thank you!
Is this problem still persist.
In ADB I connected a device and then tried, no issues.
Followed the XDA but they didn't updated from long and now its not working.
There is a compatibility issue between your Unity game app and Snapdragon Profiler when accessing GPU stats. Specifically, invoking the "drawinstanced" function leads to a crash. Further investigation and debugging might be needed to resolve this issue and ensure smooth performance with the profiler.