Akchy / Agora-Live-Broadcasting

As an Agora Student Ambassador, this project is to create a Live Video Broadcast using Agora SDK in Flutter
57 stars 58 forks source link

App crashed when trying to comment in live video #14

Open jagadish-pattanaik opened 3 years ago

jagadish-pattanaik commented 3 years ago

When I tried to comment in the live stream and when the keyboard opens the app crashes with a fatal error showing openGL out of memory. How to solve the problem?

It shows: `E/RtcEngine(22683): onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.put(java.lang.Object, java.lang.Object)' on a null object reference E/AGORA_SDK(22683): cannot open log file for writing: agorartm.log, err=30 E/AGORA_SDK(22683): cannot open log file for writing: agorartm.log, err=30 E/AGORA_SDK(22683): cannot open log file for writing: agorartm.log, err=30 W/Adreno-EGLSUB(22683): : dequeue native buffer fail: No such device, buffer=0x0, handle=0x0 W/Adreno-ES20(22683): : GL_OUT_OF_MEMORY E/OpenGLRenderer(22683): GL error: Out of memory! F/OpenGLRenderer(22683): glFinish error! GL_OUT_OF_MEMORY (0x505) F/libc (22683): Fatal signal 6 (SIGABRT), code -6 in tid 22745 (RenderThread), pid 22683 (guweb.jagu_meet)


signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'glFinish error! GL_OUT_OF_MEMORY (0x505)' x0 0000000000000000 x1 00000000000058d9 x2 0000000000000006 x3 0000000000000008 x4 3300000000000000 x5 3300000000000000 x6 3300000000000000 x7 0000000000008033 x8 0000000000000083 x9 c3c3de1c4baac23e x10 0000000000000000 x11 0000000000000001 x12 ffffffffffffffff x13 0000000000000001 x14 ffffffffffffffff x15 3300000000000000 x16 000000582a309fa8 x17 000000795b53c518 x18 00000078b497a008 x19 000000000000589b x20 00000000000058d9 x21 000000795b245df8 x22 000000795b245de0 x23 000000795b245eae x24 000000795b245e7f x25 000000795b245e5f x26 000000795b245e94 x27 0000000000000505 x28 000000795b245eae x29 00000078b51fecc0 x30 000000795b4f1d78 sp 00000078b51fec80 pc 000000795b4f1d94 pstate 0000000060000000 backtrace:

00 pc 000000000001dd94 /system/lib64/libc.so (abort+104)

#01 pc 0000000000007f20  /system/lib64/liblog.so (__android_log_assert+304)
#02 pc 00000000000464a4  /system/lib64/libhwui.so (android::uirenderer::debug::GlesErrorCheckWrapper::assertNoErrors(char const*)+384)
#03 pc 0000000000081718  /system/lib64/libhwui.so (android::uirenderer::Caches::flush(android::uirenderer::Caches::FlushMode)+188)
#04 pc 00000000000702cc  /system/lib64/libhwui.so (android::uirenderer::renderthread::Bridge_destroyHardwareResources(android::uirenderer::renderthread::destroyHardwareResourcesArgs*)+12)
#05 pc 00000000000718c0  /system/lib64/libhwui.so (android::uirenderer::renderthread::MethodInvokeRenderTask::run()+24)
#06 pc 0000000000071c34  /system/lib64/libhwui.so (android::uirenderer::renderthread::SignalingRenderTask::run()+28)
#07 pc 0000000000072a2c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+340)
#08 pc 0000000000011460  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
#09 pc 00000000000aa8fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#10 pc 0000000000067d90  /system/lib64/libc.so (__pthread_start(void*)+36)
#11 pc 000000000001f1c0  /system/lib64/libc.so (__start_thread+68)

Lost connection to device. `