A crash in libnvidia-eglcore.so.535.171.04

We have set up an Android emulator based on a Linux ARM server with NVIDIA T4 GPU for acceleration, using driver version 535.171.04. When we started multiple emulators, the first 12 ran smoothly, but the 13th one crashed with libnvidia-eglcore.so. The stack trace is as follows.

b[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/aarch64-linux-gnu/libthread_db.so.1”.
–Type for more, q to quit, c to continue without paging–
Core was generated by /data01/fengyou/fengyouuser/userimage/bin/crosvm --extended-status run --socket'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000040039da2f3b4 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04 [Current thread is 1 (Thread 0x40043bd55e70 (LWP 98288))] warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts of file /data01/fengyou/fengyouuser/userimage/bin/crosvm. Use info auto-load python-scripts [REGEXP]’ to list them.
(gdb) bt
#0 0x000040039da2f3b4 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04
#1 0x000040039dca0560 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04
#2 0x000040039dba6130 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04
#3 0x000040039dba64a8 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04
#4 0x000040039dbb40d0 in ?? () from /lib/aarch64-linux-gnu/libnvidia-eglcore.so.535.171.04
#5 0x0000400012d756f8 in GLEScontext::blitFromReadBufferToTextureFlipped (this=this@entry=0x400474044e10, globalTexObj=267, width=, height=2400, internalFormat=,
format=, type=) at /data01/gfxstream/vulkan-cereal/stream-servers/gl/glestranslator/GLcommon/GLEScontext.cpp:2992
#6 0x0000400012d32034 in blitFromCurrentReadBufferANDROID (image=0xbd) at /data01/gfxstream/vulkan-cereal/stream-servers/gl/glestranslator/GLES_V2/GLESv2Imp.cpp:430
#7 0x0000400012cb2c68 in gfxstream::gl::ColorBufferGl::blitFromCurrentReadBuffer (this=0x400450c76e70) at /data01/gfxstream/vulkan-cereal/stream-servers/gl/ColorBufferGl.cpp:639
#8 0x0000400012c78848 in gfxstream::ColorBuffer::glOpBlitFromCurrentReadBuffer (this=0x400450c77970) at /usr/include/c++/9/bits/unique_ptr.h:360
#9 0x0000400012cb975c in gfxstream::gl::EmulatedEglWindowSurface::flushColorBuffer (this=0x4004741dfe60) at /usr/include/c++/9/bits/shared_ptr_base.h:1020
#10 0x0000400012c58588 in gfxstream::FrameBuffer::flushEmulatedEglWindowSurfaceColorBuffer (this=this@entry=0x40039000ba40, p_surface=86) at /data01/gfxstream/vulkan-cereal/stream-servers/FrameBuffer.cpp:1757
#11 0x0000400012c99f6c in gfxstream::rcFlushWindowColorBuffer (windowSurface=) at /data01/gfxstream/vulkan-cereal/stream-servers/RenderControl.cpp:885
#12 gfxstream::rcFlushWindowColorBufferAsync (windowSurface=) at /data01/gfxstream/vulkan-cereal/stream-servers/RenderControl.cpp:923
#13 gfxstream::rcFlushWindowColorBufferAsyncWithFrameNumber (windowSurface=, frameNumber=) at /data01/gfxstream/vulkan-cereal/stream-servers/RenderControl.cpp:1451
#14 0x0000400012cae6ac in gfxstream::renderControl_decoder_context_t::decode (this=0x4004513c5aa0, this@entry=0x40043bd537b8, buf=0x400474044b60, len=, stream=stream@entry=0x400450cd0570,
checksumCalc=checksumCalc@entry=0x400474000b80) at /data01/gfxstream/vulkan-cereal/stream-servers/renderControl_dec/renderControl_dec.cpp:1189
#15 0x0000400012c399f8 in gfxstream::RenderThread::main (this=0x4004513c5aa0) at /data01/gfxstream/vulkan-cereal/stream-servers/ReadBuffer.h:30
#16 0x0000400012fb4c14 in android::base::Thread::thread_main (arg=0x4004513c5aa0) at /data01/gfxstream/aemu/base/Thread_pthread.cpp:144
#17 0x0000400013322624 in start_thread (arg=0x400012fb4be0 android::base::Thread::thread_main(void*)) at pthread_create.c:477
#18 0x000040001323d62c in thread_start () at …/sysdeps/unix/sysv/linux/aarch64/clone.S:78

1 Like