cancel
Showing results for 
Search instead for 
Did you mean: 

VRLoader error when starting app.

Visyon360Developers
Honored Guest
Hi everyone!

I've been trying to port an existing GearVR app to Oculus Go, which in theory is fairly straightforward, and only required to remove certain google services from it.

At its current state, the app runs fine on GearVR, but crashes on OculusGo with the following logcat:

08-17 18:39:08.182 5825-5848/? I/DirectRender: 0xd78c2f88 DirectRender::Shutdown
08-17 18:39:08.183 5825-5848/? I/DirectRender: Restoring EGL_RENDER_BUFFER to 12420
08-17 18:39:08.184 5825-5848/? I/DirectRender: VrSurfaceManager::Shutdown
08-17 18:39:08.186 5825-5848/? I/TimeWarp: WarpThreadShutdown() - End
Exiting WarpThreadLoop()
08-17 18:39:08.187 5825-5840/? I/TimeWarp: pthread_join() returned
eglDestroySurface()
OVR::Clocks thread stopped
08-17 18:39:08.187 5825-5840/? I/Vsync: ---------------- Vsync::Shutdown ----------------
Measured display refresh rate = 59.87 Hz
Closed /sys/class/graphics/fb0/vsync_event
08-17 18:39:08.187 5825-5840/? I/TimeWarp: ------------- ~TimeWarpLocal() End -------------
08-17 18:39:08.187 5825-5840/? I/VrApi: ---------- vrapi_LeaveVrMode [end] ----------
08-17 18:39:08.187 5825-5840/? I/VrIntegration: ------------ vrintegration_Shutdown -----------
08-17 18:39:08.187 5825-5840/? V/VrCubeWorld: eglGetCurrentSurface( EGL_DRAW ) = 0xe5672ee0
08-17 18:39:08.188 5825-5825/? V/VrCubeWorld: GLES3JNILib::onStop()
08-17 18:39:08.189 5825-5825/? D/GearVRRenderer: Act onPause com.visyon.telepport.GearVRSplashActivity@bafc881
08-17 18:39:08.192 984-1250/? D/ActivityManager: allowing audio play for pkg:com.visyon.telepport
08-17 18:39:08.203 5825-5825/? E/Test: Activity Create com.visyon.telepport.GearVRDashboardActivity@eb31c67
08-17 18:39:08.203 5825-5825/? D/GearVRRenderer: Act onCreatecom.visyon.telepport.GearVRDashboardActivity@eb31c67
08-17 18:39:08.207 5825-5825/? D/Scene: Scene created: com.visyon.vrsdk.scene.Scene{81c5380 V.E...... ......I. 0,0-0,0 #7f0800dc app:id/scene}
Thread: main
08-17 18:39:08.216 5825-5825/? D/Scene: Gl task com.visyon.vrsdk.scene.Scene$2@ac26d6 added, size is 1
08-17 18:39:08.216 5825-5825/? V/Scene: XMLObject added: com.visyon.vrsdk.xml.VRKeyboard{ca5ed57 G.ED..... ......I. 0,0-0,0}
08-17 18:39:08.216 5825-5825/? V/VrCubeWorld: GLES3JNILib::onCreate()
08-17 18:39:08.217 5825-5859/? I/VrAppLoader: VrApi Loader Version: 1.1.15.0-0-0 Jun 11 2018 11:33:09
08-17 18:39:08.221 5825-5859/? V/VrDriver: Loading 32-bit VrDriver.
08-17 18:39:08.221 5825-5859/? A/DriverLoader: Cannot reset VrDriver class loader
08-17 18:39:08.222 5825-5859/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 5859 (OVR::Main)
08-17 18:39:08.223 1270-1301/? E/SettingsProxyService: Failed to get crash reports setting
android.provider.Settings$SettingNotFoundException: crash_reports_enabled
at android.provider.Settings$Secure.getIntForUser(Settings.java:4425)
at android.provider.Settings$Secure.getInt(Settings.java:4410)
at com.oculus.os.SettingsProxyService$ServiceInterface.getCrashReportsEnabled(SettingsProxyService.java:50)
at oculus.internal.ISettingsProxy$Stub.onTransact(ISettingsProxy.java:48)
at android.os.Binder.execTransact(Binder.java:565)
08-17 18:39:08.223 579-579/? D/crash-reporter: user has disabled crash reports, not collecting crashes
08-17 18:39:08.224 5825-5859/? I/crash-reporter: failed to capture minidump crash
08-17 18:39:08.287 5860-5860/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/88830.2550.0:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 5825, tid: 5859, name: OVR::Main >>> com.visyon.telepport <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-17 18:39:08.289 5860-5860/? A/DEBUG: Abort message: 'Cannot reset VrDriver class loader'
r0 00000000 r1 000016e3 r2 00000006 r3 00000008
08-17 18:39:08.290 5860-5860/? A/DEBUG: r4 d4dff978 r5 00000006 r6 d4dff920 r7 0000010c
r8 00000001 r9 ea713c00 sl f0a65a50 fp d4df78dc
ip 00000002 sp d4df73d0 lr f402bcd3 pc f402e5ec cpsr 600f0010
08-17 18:39:08.292 5860-5860/? A/DEBUG: backtrace:
#00 pc 0004a5ec /system/lib/libc.so (tgkill+12)
#01 pc 00047ccf /system/lib/libc.so (pthread_kill+34)
08-17 18:39:08.293 5860-5860/? A/DEBUG: #02 pc 0001da5d /system/lib/libc.so (raise+10)
#03 pc 00019455 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 000174b0 /system/lib/libc.so (abort+4)
#05 pc 00005ae3 /system/lib/liblog.so (__android_log_assert+114)
#06 pc 000d3474 /system/priv-app/VrDriver/VrDriver.apk (offset 0x8c3000)
#07 pc 00021658 /system/priv-app/VrDriver/VrDriver.apk (offset 0x8c3000)
#08 pc 0009adc9 /system/priv-app/VrDriver/oat/arm/VrDriver.odex (offset 0x82000)
08-17 18:39:08.732 984-5861/? W/ActivityManager: Force finishing activity com.visyon.telepport/.GearVRDashboardActivity
08-17 18:39:08.734 984-5861/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
08-17 18:39:08.734 984-5861/? W/ActivityManager: Force finishing activity com.visyon.telepport/.GearVRSplashActivity
08-17 18:39:08.741 984-1001/? I/BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
08-17 18:39:08.741 1270-1309/? E/SettingsProxyService: Failed to get crash reports setting
android.provider.Settings$SettingNotFoundException: crash_reports_enabled
at android.provider.Settings$Secure.getIntForUser(Settings.java:4425)
at android.provider.Settings$Secure.getInt(Settings.java:4410)
at com.oculus.os.SettingsProxyService$ServiceInterface.getCrashReportsEnabled(SettingsProxyService.java:50)
at oculus.internal.ISettingsProxy$Stub.onTransact(ISettingsProxy.java:48)
at android.os.Binder.execTransact(Binder.java:565)
08-17 18:39:08.742 1410-1430/? D/crash-reporter: user has disabled crash reports, not uploading crashes
08-17 18:39:08.759 1270-1301/? E/SettingsProxyService: Failed to get crash reports setting
android.provider.Settings$SettingNotFoundException: crash_reports_enabled
at android.provider.Settings$Secure.getIntForUser(Settings.java:4425)
at android.provider.Settings$Secure.getInt(Settings.java:4410)
at com.oculus.os.SettingsProxyService$ServiceInterface.getCrashReportsEnabled(SettingsProxyService.java:50)
at oculus.internal.ISettingsProxy$Stub.onTransact(ISettingsProxy.java:48)
at android.os.Binder.execTransact(Binder.java:565)
08-17 18:39:08.759 1410-1430/? D/crash-reporter: user has disabled crash reports, not uploading crashes

I was wondering whether any of you have bumped into this and have any clue as to how to solve it.

It might be related to trying to enter vrapi in a second activity after leaving it in the first activity, but I guess Oculus staff should confirm or deny that.

Thanks in advance.


1 REPLY 1

korDen
Honored Guest
I'm having the same issue. Too bad this forum is so dead 😞