GearVRf
GearVRf copied to clipboard
vulkan, s8: crash after pause/resume
10-13 14:42:45.829 16668 16668 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-13 14:42:45.832 16668 16668 F DEBUG : Build fingerprint: 'samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQFJ:eng/test-keys'
10-13 14:42:45.833 16668 16668 F DEBUG : Revision: '12'
10-13 14:42:45.833 16668 16668 F DEBUG : ABI: 'arm'
10-13 14:42:45.835 16668 16668 F DEBUG : pid: 16495, tid: 16539, name: GLThread 6466 >>> org.gearvrf.gvr360Photo <<<
10-13 14:42:45.836 16668 16668 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
10-13 14:42:45.836 16668 16668 F DEBUG : r0 db165d10 r1 00000000 r2 00000000 r3 e588f3d5
10-13 14:42:45.837 16668 16668 F DEBUG : r4 00000000 r5 db165d10 r6 c7ef6b58 r7 dadf86e8
10-13 14:42:45.837 16668 16668 F DEBUG : r8 12c68440 r9 db144000 sl 12c42698 fp 12d061a0
10-13 14:42:45.837 16668 16668 F DEBUG : ip e5455968 sp dadf86b0 lr e588f43f pc 00000000 cpsr 40000010
10-13 14:42:45.888 16668 16668 F DEBUG :
10-13 14:42:45.888 16668 16668 F DEBUG : backtrace:
10-13 14:42:45.888 16668 16668 F DEBUG : #00 pc 00000000 <unknown>
10-13 14:42:45.888 16668 16668 F DEBUG : #01 pc 0000f43d /system/lib/libvulkan.so
10-13 14:42:45.888 16668 16668 F DEBUG : #02 pc 00570f9b /data/app/org.gearvrf.gvr360Photo-1/lib/arm/libgvrf.so (_ZN3gvr10VulkanCore27BuildCmdBufferForRenderDataERSt6vectorIPNS_10RenderDataESaIS3_EEPNS_6CameraEPNS_13ShaderManagerEPNS_12RenderTargetE+66)
10-13 14:42:45.888 16668 16668 F DEBUG : #03 pc 00505755 /data/app/org.gearvrf.gvr360Photo-1/lib/arm/libgvrf.so (_ZN3gvr14VulkanRenderer18renderRenderTargetEPNS_5SceneEPNS_12RenderTargetEPNS_13ShaderManagerEPNS_13RenderTextureES8_+872)
10-13 14:42:45.888 16668 16668 F DEBUG : #04 pc 0054ba59 /data/app/org.gearvrf.gvr360Photo-1/lib/arm/libgvrf.so (Java_org_gearvrf_NativeRenderTarget_render+116)
10-13 14:42:45.889 16668 16668 F DEBUG : #05 pc 00427b1b /data/app/org.gearvrf.gvr360Photo-1/oat/arm/base.odex (offset 0x408000)
Pause and resume is a very basic Android feature that must work decently well.
any gvrf app is affected
Temporarily fixed by https://github.com/Samsung/GearVRf/pull/1549
This is still a problem. The workaround I put in needs to be replaced with something better.
static void resetInstance(){
//@todo fix for vulkan
if (!isVulkan_) {
delete instance;
instance = NULL;
}
}
@sushantojal Since you are dealing with these things, you might be a good person to take a look at this issue. As you can see the vulkan renderer instance is never actually deleted.