Android Crashes on Samsung Galaxy Tab running Android 8 with Adreno 308 gpu

We are running Unity 2018.4.2f1 and find a lot of crashes in crashalytics for Samsung SM-T380 devices running android 8. Is this a known issue?

pid: 32364, tid: 32449, name: UnityGfxDeviceW
r0 0000007c r1 0000007c r2 7a080000 r3 00000000
r4 00000000 r5 7a080000 r6 00000002 r7 00000002
r8 7f271000 r9 0008ce80 sl 7f26ddac fp 7e602718
ip 9372b31d sp 7e6025e0 lr 9372afb3 pc 9376fc64 cpsr a3d0cd10

at libRBGLESv2_adreno.rb_vbo_getptr + 39(rb_vbo_getptr:39)
at libRBGLESv2_adreno.stream_buffer_object + 46(stream_buffer_object:46)
at libRBGLESv2_adreno.core_glFlushMappedBufferRange + 538(core_glFlushMappedBufferRange:538)
at libunity.006ff284()
at libunity.006f617c()
at libunity.006ec3dc()
at libunity.006ec35c()
at libunity.001a2f5c()
at libunity.001a5088()
at libunity.001a50d8()
at libunity.0079b830()
at libunity.0079c1f8()
at libunity.007943f0()
at libunity.0036ea9c()
at libc.__pthread_start(void*) + 22(__pthread_start:22)
at libc.__start_thread + 32(__start_thread:32)

We’re also seeing this issue on SM-T380,SM-T385 and SM-J610G devices all running Android 8.1.0 on a build from Unity 2018.4.0f1.

java.lang.Error signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000007c
Build fingerprint: ‘samsung/gta2sltedx/gta2slte:8.1.0/M1AJQ/T385DXU2BRK3:user/release-keys’
Revision: ‘5’
pid: 26212, tid: 26418, name: UnityGfxDeviceW
r0 0000007c r1 0000007c r2 02280000 r3 00000000
r4 00000000 r5 02280000 r6 00000002 r7 00000002
r8 823c4000 r9 00001cb0 sl 823c0bec fp 8177f718
ip 986ae31d sp 8177f5e0 lr 986adfb3 pc 986f2c64 cpsr a9efbd10

rb_vbo_getptr:39libRBGLESv2_adreno.rb_vbo_getptr
stream_buffer_object:46libRBGLESv2_adreno.stream_buffer_object
core_glFlushMappedBufferRange:538libRBGLESv2_adreno.core_glFlushMappedBufferRange
libunity.007ab184
libunity.007a1f1c
libunity.0079817c
libunity.007980fc
libunity.001c243c
libunity.001c4568
libunity.001c45b8
libunity.008466b8
libunity.00847080
libunity.0083f278
libunity.003b5dd4

Same here. The crash happens on Samsung Tab A and Galaxy J devices running Android 8.1, in Unity2017.4 and Unity2018.4 in IL2CPP:

       at libRBGLESv2_adreno.rb_vbo_getptr + 39(rb_vbo_getptr:39)
       at libRBGLESv2_adreno.stream_buffer_object + 46(stream_buffer_object:46)
       at libRBGLESv2_adreno.core_glFlushMappedBufferRange + 538(core_glFlushMappedBufferRange:538)
       at libunity.007451c4() ApiGLES::FlushBuffer(unsigned int, gl::BufferTarget, long, long)
       at libunity.0073bf5c() DataBufferGLES::FlushMappedRange(unsigned int, unsigned int)
       at libunity.007321bc() BufferGLES::EndWrite(unsigned int)
       at libunity.0073213c() GfxDeviceGLES::EndBufferWrite(GfxBuffer*, unsigned int)
       at libunity.001b005c() GeometryJobTasks::PutGeometryJobFence(GfxDevice&, unsigned int)
       at libunity.001b2188() GfxDevice::PutGeometryJobFence(int&)
       at libunity.001b21d8() GfxDevice::smile:rawSharedGeometryJobs(DynamicVBOBuffer const&, unsigned int, DynamicVBOBuffer const&, unsigned int, int, DrawBuffersRange const*, unsigned int, VertexDeclaration*)
       at libunity.007e11f8() GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
       at libunity.007e1bc0() GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
       at libunity.007d9db8() GfxDeviceWorker::RunGfxDeviceWorker(void*)
       at libunity.00384cb4() Thread::RunThreadWrapper(void*)
       at libc.__pthread_start(void*) + 22(__pthread_start:22)
       at libc.__start_thread + 32(__start_thread:32)

I created a bug report: https://fogbugz.unity3d.com/default.asp?1182900_prrh7uqrjsr4pnuu

If you have any more info, please share! :slight_smile:

@jeremy_gram did the issue get closed because it was fixed or ignored?

get the same issue
Fatal Exception: java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2019.2.21f1
Device model : samsung SM-J327V
Device fingerprint: Verizon/j3popltevzw/j3popltevzw:8.1.0/M1AJQ/J327VVRS3BTB1:user/release-keys


libRBGLESv2_adreno.rb_vbo_getptr (rb_vbo_getptr:39)

libRBGLESv2_adreno.stream_buffer_object (stream_buffer_object:46)

libRBGLESv2_adreno.core_glFlushMappedBufferRange (core_glFlushMappedBufferRange:538)

libunity.0052e0a3

libunity.00537695

libunity.00537645

libunity.00641895

libunity.006595cb

libunity.0030937f

libunity.003099cb

libunity.00303a5f

libunity.0044f6df

libc.__pthread_start(void*) (__pthread_start:22)

libc.__start_thread (__start_thread:32)

Hey BrearJ,

Could you make a bug report and share the case number?

Thank you

Is this bug fixed?
We still meet this bug, most users use Samsung mobile, and all users in Android 8.

Unity 2019.2.21f1

Caused by java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000007c
Build fingerprint: ‘samsung/j4primeltedx/j4primelte:8.1.0/M1AJQ/J415FXXU1ARIM:user/release-keys’
Revision: ‘6’
pid: 18027, tid: 18191, name: UnityGfxDeviceW >>> com.funtriolimited.slots.casino.free <<<
r0 0000007c r1 0000007c r2 01f00000 r3 00000000
r4 00000000 r5 01f00000 r6 00000002 r7 00000002
r8 7e20c000 r9 78e20cdc sl 78e20ce0 fp 0001d898
ip 95f2b31d sp 7d7026d0 lr 95f2afb3 pc 95f6fc64 cpsr 52e64700
at libRBGLESv2_adreno.rb_vbo_getptr(rb_vbo_getptr:39)
at libRBGLESv2_adreno.stream_buffer_object(stream_buffer_object:46)
at libRBGLESv2_adreno.core_glFlushMappedBufferRange(core_glFlushMappedBufferRange:538)
at libunity.0052e0a3()
at libunity.00537695()

seeing the same issue a lot in my apps. version 2019.4.19f1. @mantassk can you explain why this issue was closed ? was it fixed ? which unity version was it fixed on ?
https://fogbugz.unity3d.com/default.asp?1182900_prrh7uqrjsr4pnuu

Is this bug fixed?

Want to know this as well, is this fixed? in what version?

facing the same issue here

same issue here, with Unity2018.4.30, and many crashes in RedMI 8A.

Crashed: Thread: SIGSEGV 0x0000000000000000
#00 pc 0x5bb98 libc.so (BuildId: 09ae463194ba0ab5d794f935b4b6cba0)
#01 pc 0xa6c65e libunity.so (DataBufferGLES::smile:ataBufferGLES(BufferManagerGLES&, unsigned int, DataBufferGLES::BufferUsage, bool)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#02 pc 0xa6d162 libunity.so (BufferManagerGLES::AcquireBuffer(unsigned int, DataBufferGLES::BufferUsage, bool)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#03 pc 0xa6bef2 libunity.so (BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned int, DataBufferGLES::BufferUsage)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#04 pc 0xa6bb96 libunity.so (BufferGLES::Initialize(void const*)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#05 pc 0x60cd76 libunity.so (ThreadedStreamBuffer::HandleOutOfBufferToReadFrom(ThreadedStreamBuffer::smile:ataOffsets)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#06 pc 0xa77dba libunity.so (GfxDeviceGLES::InitializeBufferInternal(GfxBuffer*, void const*, GfxUpdateBufferFlags)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#07 pc 0xa77d9a libunity.so (GfxDeviceGLES::AllocateBufferInternal(GfxBufferDesc const&)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#08 pc 0x470a2e libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)
#09 pc 0x4d5eff libunity.so (StackAllocator::TryDeallocate(void*)) (BuildId: 6bff5b389b355c656593353e721ebb7e816c8d79)