time:2023-09-18 18:38:30:309 crashType:0 errorType:JVM_CRASH errorMessage:CameraDevice was already closed errorStack:java.lang.IllegalStateException: CameraDevice was already closed at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2228) at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1154) at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1227) at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:312) at bvs$1.onConfigured(OpenVoiceOpenGlView.java:68) at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53) at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$soW0qC12Osypoky6AfL3P2-TeDw.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.os.HandlerThread.run(HandlerThread.java:67)
time:2023-09-18 18:41:19:473 crashType:0 errorType:JVM_CRASH errorMessage:CameraDevice was already closed errorStack:java.lang.IllegalStateException: CameraDevice was already closed at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2228) at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1154) at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1227) at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:312) at bvs$1.onConfigured(OpenVoiceOpenGlView.java:68) at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53) at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$soW0qC12Osypoky6AfL3P2-TeDw.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.os.HandlerThread.run(HandlerThread.java:67)
给下xlog看下
adb pull /storage/emulated/0/Android/data/com.tencent.wmpf/files/xlog
#client.version=28001c30
#client.revision=99337c0520dcca37298fb983ef80833ad010c9a6
#client.process=com.tencent.wmpf:container
#client.buildTime=2023-08-11 15:39:16
#xwalk.coreVersion=4438
#accinfo.memory=
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> MemoryInfo(tid=779) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
| Activity: WMPFContainerActivity AppForeground:true ProcessForeground:false
| Source: 4
| VmSize: 1671616kB
| SystemMemoryInfo: totalMem=2052747264, availMem=877842432, lowMemory=false, threshold=226492416
| Dalvik: memClass=192, memLargeClass=512 B, UsedMemory=34150269 B, RecycledMemory=13015685 B, MaxMemory=201326592 B
| NATIVE: HeapSize=68739072 B, AllocatedSize=53887664 B, RecycledSize=5503280 B
| Stats: pss-sum:0 KB, code=55504, stack=2872, graphics=0, java-heap=19804, native-heap=47684, system=44967, total-pss=226815, private-other=55984, total-swap=12172
| AMSStats: code=55548, stack=2872, graphics=0, java-heap=19808, native-heap=47688, system=44967, total-pss=226867, private-other=55984, total-swap=12156
| FgService: []
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END(cost:244ms) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
time:2023-09-18 18:38:30:309
crashType:0
errorType:JVM_CRASH
errorMessage:CameraDevice was already closed
errorStack:java.lang.IllegalStateException: CameraDevice was already closed
at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2228)
at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1154)
at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1227)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:312)
at bvs$1.onConfigured(OpenVoiceOpenGlView.java:68)
at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53)
at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$soW0qC12Osypoky6AfL3P2-TeDw.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
==================================================
==================================================
#client.version=28001c30
#client.revision=99337c0520dcca37298fb983ef80833ad010c9a6
#client.process=com.tencent.wmpf:container
#client.buildTime=2023-08-11 15:39:16
#xwalk.coreVersion=4438
#accinfo.memory=
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> MemoryInfo(tid=803) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
| Activity: WMPFContainerActivity AppForeground:true ProcessForeground:false
| Source: 4
| VmSize: 1673624kB
| SystemMemoryInfo: totalMem=2052747264, availMem=952152064, lowMemory=false, threshold=226492416
| Dalvik: memClass=192, memLargeClass=512 B, UsedMemory=52049960 B, RecycledMemory=20680040 B, MaxMemory=201326592 B
| NATIVE: HeapSize=66342912 B, AllocatedSize=50805696 B, RecycledSize=5483392 B
| Stats: pss-sum:0 KB, code=70256, stack=2660, graphics=0, java-heap=25440, native-heap=44836, system=32192, total-pss=231284, private-other=55900, total-swap=12176
| AMSStats: code=70308, stack=2660, graphics=0, java-heap=25448, native-heap=44840, system=32191, total-pss=231347, private-other=55900, total-swap=12160
| FgService: []
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END(cost:236ms) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
time:2023-09-18 18:41:19:473
crashType:0
errorType:JVM_CRASH
errorMessage:CameraDevice was already closed
errorStack:java.lang.IllegalStateException: CameraDevice was already closed
at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2228)
at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1154)
at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1227)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:312)
at bvs$1.onConfigured(OpenVoiceOpenGlView.java:68)
at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53)
at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$soW0qC12Osypoky6AfL3P2-TeDw.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
==================================================