I am getting this error in the Vuforia Camera Screen. The camera screen runs for a while and object scanning works perfectly for some time. If we stay on the camera screen for a while the app crashes throwing multiple GL_OUT_OF_MEMORY
errors.
This is the complete DEBUG log
12-09 04:13:14.843 21184 21209 E Unity : OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command
12-09 04:13:14.843 21184 21209 E Unity :
12-09 04:13:14.843 21184 21209 E Unity : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 336)
12-09 04:13:14.843 21184 21209 E Unity :
12-09 04:13:14.884 21184 21209 E Unity : OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command
12-09 04:13:14.884 21184 21209 E Unity :
12-09 04:13:14.884 21184 21209 E Unity : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 336)
12-09 04:13:15.024 21632 21632 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-09 04:13:15.024 21632 21632 F DEBUG : Build fingerprint: 'OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1811051725:user/release-keys'
12-09 04:13:15.024 21632 21632 F DEBUG : Revision: '0'
12-09 04:13:15.024 21632 21632 F DEBUG : ABI: 'arm'
12-09 04:13:15.024 21632 21632 F DEBUG : pid: 21184, tid: 21209, name: Thread-16 >>> com.IIITD.DOTSAPP <<<
12-09 04:13:15.024 21632 21632 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc1cd974
12-09 04:13:15.024 21632 21632 F DEBUG : r0 48e1b285 r1 00000000 r2 48e09801 r3 bc1cd970
12-09 04:13:15.024 21632 21632 F DEBUG : r4 00000002 r5 5b3f0000 r6 bf836d00 r7 0001fe00
12-09 04:13:15.024 21632 21632 F DEBUG : r8 00000000 r9 00000078 sl 00000000 fp 00000000
12-09 04:13:15.024 21632 21632 F DEBUG : ip 00000000 sp c69ff260 lr d704b10b pc d72dae70 cpsr 60060030
12-09 04:13:15.054 21632 21632 F DEBUG :
12-09 04:13:15.054 21632 21632 F DEBUG : backtrace:
12-09 04:13:15.054 21632 21632 F DEBUG : #00 pc 0035ce70 /vendor/lib/egl/libGLESv2_adreno.so (A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)+4155)
12-09 04:13:15.054 21632 21632 F DEBUG : #01 pc 000cd109 /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ProcessAndSubmitRendering(EsxFlushReason)+6140)
12-09 04:13:15.054 21632 21632 F DEBUG : #02 pc 001c2361 /vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+312)
12-09 04:13:15.054 21632 21632 F DEBUG : #03 pc 001691e5 /vendor/lib/egl/libGLESv2_adreno.so (EsxSyncObject::Create(EsxSyncObjectCreateData*)+112)
12-09 04:13:15.054 21632 21632 F DEBUG : #04 pc 000b5d41 /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlFenceSync(unsigned int, unsigned int)+88)
12-09 04:13:15.054 21632 21632 F DEBUG : #05 pc 004e0614 /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #06 pc 004e5208 /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #07 pc 004d7d3c /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #08 pc 004da294 /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #09 pc 004d26fc /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #10 pc 003b5aac /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
12-09 04:13:15.054 21632 21632 F DEBUG : #11 pc 000482e3 /system/lib/libc.so (__pthread_start(void*)+22)
12-09 04:13:15.054 21632 21632 F DEBUG : #12 pc 0001b5e7 /system/lib/libc.so (__start_thread+32)
12-09 04:13:15.696 1285 21633 W ActivityManager: Force finishing activity com.IIITD.DOTSAPP/com.unity3d.player.UnityPlayerActivity
12-09 04:13:15.720 1285 21633 W ActivityManager: Exception thrown during pause
12-09 04:13:15.720 1285 21633 W ActivityManager: android.os.DeadObjectException
12-09 04:13:15.720 1285 21633 W ActivityManager: at android.os.BinderProxy.transactNative(Native Method)
12-09 04:13:15.720 1285 21633 W ActivityManager: at android.os.BinderProxy.transact(Binder.java:802)
12-09 04:13:15.720 1285 21633 W ActivityManager: at android.app.IApplicationThread$Stub$Proxy.schedulePauseActivity(IApplicationThread.java:1117)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1474)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:4140)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:4082)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3917)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2177)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:684)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:516)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:392)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.AppErrors.crashApplication(AppErrors.java:337)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:16198)
12-09 04:13:15.720 1285 21633 W ActivityManager: at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:85)
12-09 04:13:15.753 1285 21633 I ActivityManager: Config changes=480 {1.0 0 404mcc10mnc [en_US] ldltr sw411dp w411dp h707dp 420dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.53mThemeChanged = 0}
12-09 04:13:15.795 1285 21633 I ActivityManager: Override config changes=480 {1.0 0 404mcc10mnc [en_US] ldltr sw411dp w411dp h707dp 420dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.53mThemeChanged = 0} for displayId=0
12-09 04:13:15.839 1285 1346 I ActivityManager: Showing crash dialog for package com.IIITD.DOTSAPP u0
12-09 04:13:16.132 1285 2479 I ActivityManager: Process com.IIITD.DOTSAPP (pid 21184) has died: vis +99TOP
12-09 04:13:16.137 1285 2479 D ActivityManager: Process com.IIITD.DOTSAPP has 0 services
I have tested the app on Oneplus 5, Oneplus 6 and Google Pixel. The error only occurs in Oneplus 5.
Can anyone please help me solve this issue?