GetViewportScreenShot will crash with Vulkan

I use GetViewportScreenShot to capture the screen, it works when i use OpenGLES, but it will crash when i use Vulkan.
I wannna figure it out it’s just a bug or it only supports the OpenGLES and there is an another function to support the Vulkan.
There is the back trace:
10-14 15:44:45.490 25099 25254 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60 in tid 25254 (RenderThread 1), pid 25099 (main)
10-14 15:44:45.502 1356 1415 D SwtpMonitorThread: read swtp_status_buf: 0
10-14 15:44:45.535 10907 11044 W download_patch: executeNext 23157469#com.taobao.taobao#isDeltaDownload:true#url:https://api-cn.store.heytapmobi.com/download/v1/23157469?md5=ec79eae2b02370961f8248d88b5dbc9c&obit=5&type=3#preCheckCode:198283fd24dd6e44ffebfd1b91cd8080checkCode:d7860a36e304db8362cf0c84d6c1afb3#8#DEFAULT background true screenOn true MAX_RUNNING_TASK_COUNT 1
10-14 15:44:45.535 10907 11044 W download_patch: 23157469#com.taobao.taobao#isDeltaDownload:true#url:https://api-cn.store.heytapmobi.com/download/v1/23157469?md5=ec79eae2b02370961f8248d88b5dbc9c&obit=5&type=3#preCheckCode:198283fd24dd6e44ffebfd1b91cd8080checkCode:d7860a36e304db8362cf0c84d6c1afb3#8#DEFAULT has in finished cache=
10-14 15:44:45.696 25259 25259 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
10-14 15:44:45.697 666 666 I tombstoned: received crash request for pid 25254
10-14 15:44:45.699 25259 25259 I crash_dump64: performing dump of process 25099 (target tid = 25254)
10-14 15:44:45.720 25259 25259 E DEBUG : failed to read /proc/uptime: Permission denied
10-14 15:44:45.753 10907 23094 W AbstractTaskJob: updateStatAddress cost time: 0, result address : DownloadAdress{oringinUrl=‘https://api-cn.store.heytapmobi.com/download/v1/23157469?md5=ec79eae2b02370961f8248d88b5dbc9c&obit=5&type=3&mtag=a2c2be614dd639077f4fe54916ff0a8d&mc=1’, realUrl=‘https://storedl5.heytapdownload.com/patch/202210/12/670a98dc-842f-4a09-872b-9cb728894b73.patch?sign=ce88066bc2d47a8b933ff6270d5efa30&t=63491323’, ip=‘119.39.203.39’, backupIps=[36.250.244.39], speedInKb=511.0, failCount={}, resolvedIps=[119.39.203.39, 36.250.244.39], networkType=NETWORK_DEFAULT, isFail=false, cname=‘storedl5.heytapdownload.com.ctzcdn.cn#’, redirectCount=‘1’, cdnName=‘4cb2b356b598ca96d5297afa558bd372’, dlLength=75560810, dlCostTime=147668, error=‘null’, startCount=23, channel=null}, current address : DownloadAdress{oringinUrl=‘https://api-cn.store.heytapmobi.com/download/v1/23157469?md5=ec79eae2b02370961f8248d88b5dbc9c&obit=5&type=3&mtag=a2c2be614dd639077f4fe54916ff0a8d&mc=1’, realUrl=‘https://storedl5.heytapdownload.com/patch/202210/12/670a98dc-842f-4a09-872b-9cb728894b73.patch?sign=ce88066bc2d47a8b933ff6270d5efa30&t=63491323’, ip=‘119.39.203.39’, backupIps=[36.250.244.39], speedInKb=511.0, failCount={}, resolvedIps=[119.39.203.39, 36.250.244.39], networkType=NETWORK_DEFAULT, isFail=false, cname=‘storedl5.heytapdownload.com.ctzcdn.cn#’, redirectCount=‘1’, cdnName=‘4cb2b356b598ca96d5297afa558bd372’, dlLength=75560810, dlCostTime=147668, error=‘null’, startCount=23, channel=null}
10-14 15:44:46.068 2109 2109 I WifiHAL : Get link layer stats
10-14 15:44:46.068 2109 2109 D android.hardware.wifi@1.0-service-lazy: WifiRequest::create vendor command to iface 38, vendor_id=0x1a11, subcmd=0x1200, res=0
10-14 15:44:46.074 2109 2109 I WifiHAL : wifi_get_link_stats: result=0
10-14 15:44:46.222 18286 18286 E adbd : failed to connect to socket ‘tcp:6666’: Connection refused
10-14 15:44:46.293 25259 25259 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-14 15:44:46.293 25259 25259 F DEBUG : Build fingerprint: ‘OnePlus/PGKM10/OP5565:12/SP1A.210812.016/S.202205030010:user/release-keys’
10-14 15:44:46.293 25259 25259 F DEBUG : Revision: ‘0’
10-14 15:44:46.293 25259 25259 F DEBUG : ABI: ‘arm64’
10-14 15:44:46.293 25259 25259 F DEBUG : Timestamp: 2022-10-14 15:44:45.720061578+0800
10-14 15:44:46.293 25259 25259 F DEBUG : Process uptime: 0s
10-14 15:44:46.293 25259 25259 F DEBUG : Cmdline: com.temp.demo
10-14 15:44:46.293 25259 25259 F DEBUG : pid: 25099, tid: 25254, name: RenderThread 1 >>> com.temp.demo <<<
10-14 15:44:46.293 25259 25259 F DEBUG : uid: 10309
10-14 15:44:46.293 25259 25259 F DEBUG : tagged_addr_ctrl: 0000000000000001
10-14 15:44:46.293 25259 25259 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60
10-14 15:44:46.293 25259 25259 F DEBUG : Cause: null pointer dereference
10-14 15:44:46.293 25259 25259 F DEBUG : x0 0000000000000001 x1 000000792d3eb4e0 x2 000000792d3eb320 x3 0000000000000000
10-14 15:44:46.293 25259 25259 F DEBUG : x4 000000792d3eb4c8 x5 0000000000000001 x6 000000792d3eb4e0 x7 0000000000000000
10-14 15:44:46.293 25259 25259 F DEBUG : x8 000000792d3eb4e0 x9 0000000000000000 x10 000000792d3eb4e0 x11 000000792d3eb4e0
10-14 15:44:46.293 25259 25259 F DEBUG : x12 0000000000000001 x13 0000000000000001 x14 0000000000000048 x15 0000000000000001
10-14 15:44:46.293 25259 25259 F DEBUG : x16 0000000000000064 x17 0000007a9b3dcc88 x18 000000792c69e000 x19 0000000000000000
10-14 15:44:46.293 25259 25259 F DEBUG : x20 000000792d3eb320 x21 000000792d3eb4e0 x22 0000000000000000 x23 000000792d3eb4c8
10-14 15:44:46.293 25259 25259 F DEBUG : x24 000000792d3eb278 x25 0000000000000000 x26 0000007928e81730 x27 000000791f2ef100
10-14 15:44:46.293 25259 25259 F DEBUG : x28 0000000000000268 x29 0000000000000010
10-14 15:44:46.293 25259 25259 F DEBUG : lr 00000079d0986878 sp 000000792d3eb260 pc 00000079d098cdc4 pst 0000000060001000
10-14 15:44:46.293 25259 25259 F DEBUG : backtrace:
10-14 15:44:46.293 25259 25259 F DEBUG : #00 pc 0000000000690dc4 /vendor/lib64/egl/mt6895/libGLES_mali.so (BuildId: 9412c2ae9c14d56f)
10-14 15:44:46.293 25259 25259 F DEBUG : #01 pc 000000000068a874 /vendor/lib64/egl/mt6895/libGLES_mali.so (BuildId: 9412c2ae9c14d56f)
10-14 15:44:46.293 25259 25259 F DEBUG : #02 pc 0000000008858c14 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (VulkanSetImageLayout(VkCommandBuffer_T*, VkImage_T*, VkImageLayout, VkImageLayout, VkImageSubresourceRange const&)+188) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #03 pc 00000000088c4c08 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (FVulkanDynamicRHI::RHIReadSurfaceData(FRHITexture*, FIntRect, TArray<FColor, TSizedDefaultAllocator<32> >&, FReadSurfaceDataFlags)+852) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #04 pc 000000000cb03ab0 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so!libUE4.so (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #05 pc 000000000cb04148 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so!libUE4.so (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #06 pc 000000000898c9a4 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (FNamedTaskThread::ProcessTasksNamedThread(int, bool)+1828) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #07 pc 000000000898b240 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (FNamedTaskThread::ProcessTasksUntilQuit(int)+140) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #08 pc 0000000009e7eff8 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so!libUE4.so (RenderingThreadMain(FEvent*)+212) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #09 pc 0000000009e9d210 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so!libUE4.so (FRenderingThread::Run()+24) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #10 pc 0000000008a89de4 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (FRunnableThreadPThread::Run()+152) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #11 pc 00000000089872f4 /data/app/~~L0PzZwoGQcKWVUITYrADVg==/com.temp.demo-oodwp0W0f4BJmamnOCSMpw==/lib/arm64/libUE4.so (FRunnableThreadPThread::_ThreadProc(void*)+80) (BuildId: 783bd07e985e2443c98f144c046b82237dcb81aa)
10-14 15:44:46.293 25259 25259 F DEBUG : #12 pc 00000000000dc188 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: f24f65acf653c409ca4332aced817a71)
10-14 15:44:46.293 25259 25259 F DEBUG : #13 pc 000000000007a438 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f24f65acf653c409ca4332aced817a71)