APP crashes on moto G4 play (android 6.0.1)
Box0-studio-android crashes after sometime after opening. I tested with 12bit, 100KSample/sec mode. WIth only ch0 enabled and no waveform connected. It was just plotting noise. Haven't touched user interface much. The app crashes in about 15 minutes.
I doubt a memory leak for the issue. Got lot of out of memory warnings before it crashed. following is the error message after break.
01-30 17:00:14.261 10603-10623/com.madresistor.box0_studio W/Adreno-EGLSUB: <updater_create_surface_state:333>: pthread create failed
01-30 17:00:14.261 10603-10623/com.madresistor.box0_studio W/Adreno-EGLSUB: <CreateWindowSurface:1107>: No updater state.
01-30 17:00:14.261 10603-10623/com.madresistor.box0_studio W/Adreno-EGL: <qeglDrvAPI_eglCreateWindowSurface:1117>: EGL_BAD_ALLOC
01-30 17:00:14.261 10603-10623/com.madresistor.box0_studio A/OpenGLRenderer: Failed to create EGLSurface for window 0xb84dff90, eglErr = EGL_BAD_ALLOC
--------- beginning of crash
01-30 17:00:14.262 10603-10623/com.madresistor.box0_studio A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 10623 (RenderThread)
01-30 17:00:14.318 10603-11781/com.madresistor.box0_studio W/libc: pthread_create failed: couldn't allocate 1044480-bytes mapped space: Out of memory
01-30 17:00:14.331 1915-4660/? D/NetlinkSocketObserver: NeighborEvent{elapsedMs=1820635, 192.168.1.1, [204E7F15DD9E], RTM_NEWNEIGH, NUD_STALE}
01-30 17:00:14.337 314-314/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-30 17:00:14.337 314-314/? A/DEBUG: Build fingerprint: 'motorola/harpia/harpia:6.0.1/MPI24.241-2.33/42:user/release-keys'
01-30 17:00:14.337 314-314/? A/DEBUG: Revision: 'p1b0'
01-30 17:00:14.337 314-314/? A/DEBUG: ABI: 'arm'
01-30 17:00:14.338 314-314/? A/DEBUG: pid: 10603, tid: 10623, name: RenderThread >>> com.madresistor.box0_studio <<<
01-30 17:00:14.339 314-314/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-30 17:00:14.514 314-314/? A/DEBUG: Abort message: 'Failed to create EGLSurface for window 0xb84dff90, eglErr = EGL_BAD_ALLOC'
01-30 17:00:14.514 314-314/? A/DEBUG: r0 00000000 r1 0000297f r2 00000006 r3 a2dd4978
01-30 17:00:14.514 314-314/? A/DEBUG: r4 a2dd4980 r5 a2dd4930 r6 00000002 r7 0000010c
01-30 17:00:14.514 314-314/? A/DEBUG: r8 ffffffff r9 00000000 sl 7fffffff fp b817bb1c
01-30 17:00:14.514 314-314/? A/DEBUG: ip 00000006 sp a2dd43c8 lr b6d4c1cd pc b6d4e5c8 cpsr 400f0010
01-30 17:00:14.543 314-314/? A/DEBUG: backtrace:
01-30 17:00:14.544 314-314/? A/DEBUG: #00 pc 000445c8 /system/lib/libc.so (tgkill+12)
01-30 17:00:14.544 314-314/? A/DEBUG: #01 pc 000421c9 /system/lib/libc.so (pthread_kill+32)
01-30 17:00:14.544 314-314/? A/DEBUG: #02 pc 0001bb1f /system/lib/libc.so (raise+10)
01-30 17:00:14.544 314-314/? A/DEBUG: #03 pc 00018cc1 /system/lib/libc.so (__libc_android_abort+34)
01-30 17:00:14.544 314-314/? A/DEBUG: #04 pc 00016880 /system/lib/libc.so (abort+4)
01-30 17:00:14.544 314-314/? A/DEBUG: #05 pc 000089bb /system/lib/libcutils.so (__android_log_assert+86)
01-30 17:00:14.544 314-314/? A/DEBUG: #06 pc 0001c837 /system/lib/libhwui.so
01-30 17:00:14.544 314-314/? A/DEBUG: #07 pc 00019f79 /system/lib/libhwui.so
01-30 17:00:14.545 314-314/? A/DEBUG: #08 pc 0001d005 /system/lib/libhwui.so
01-30 17:00:14.545 314-314/? A/DEBUG: #09 pc 0001cf75 /system/lib/libhwui.so
01-30 17:00:14.545 314-314/? A/DEBUG: #10 pc 0001df53 /system/lib/libhwui.so
01-30 17:00:14.545 314-314/? A/DEBUG: #11 pc 0001e963 /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+62)
01-30 17:00:14.545 314-314/? A/DEBUG: #12 pc 0001012d /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
01-30 17:00:14.545 314-314/? A/DEBUG: #13 pc 0005dcd7 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
01-30 17:00:14.545 314-314/? A/DEBUG: #14 pc 00041acb /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-30 17:00:14.545 314-314/? A/DEBUG: #15 pc 00019355 /system/lib/libc.so (__start_thread+6)
01-30 17:00:16.343 1915-16657/? W/ActivityManager: Force finishing activity com.madresistor.box0_studio/.MainActivity
01-30 17:00:16.343 1915-16657/? I/ActivityManager: moveHomeStack, setupComplete:true
01-30 17:00:16.345 314-314/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_00
01-30 17:00:16.345 314-314/? E/DEBUG: AM write failed: Broken pipe
01-30 17:00:16.348 1915-2128/? I/BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
01-30 17:00:16.387 4377-8003/? D/ProcSpeedReader: Failed to read freq stats from null
01-30 17:00:16.395 293-293/? E/lowmemorykiller: Error writing /proc/10603/oom_score_adj; errno=22
01-30 17:00:16.418 1915-16662/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
01-30 17:00:16.420 1915-4460/? I/WindowState: WIN DEATH: Window{290d18b u0 com.madresistor.box0_studio/com.madresistor.box0_studio.MainActivity}
01-30 17:00:16.421 1915-7489/? D/GraphicsStats: Buffer count: 5
01-30 17:00:16.422 1915-3486/? I/InputDispatcher: Dropping event because there is no touchable window at (876, 225).
01-30 17:00:16.423 1915-7239/? I/WindowState: WIN DEATH: Window{96dfa75 u0 SurfaceView}
01-30 17:00:16.424 1915-1952/? I/WindowState: WIN DEATH: Window{35d9568 u0 com.madresistor.box0_studio/com.madresistor.box0_studio.MainActivity}
01-30 17:00:16.429 347-347/? I/Zygote: Process 10603 exited due to signal (6)
01-30 17:00:16.432 1915-1953/? I/ActivityManager: Process com.madresistor.box0_studio (pid 10603) has died