[Android] 4.10.2 Crash when launching on Galaxy Tab 3 7.0 (SM-T211)

This happens 100% of the time on UE 4.10.2 and 4.11 preview 4, Launcher binary distribution.

Device:

  • name: Samsung Galaxy Tab 3 7.0
  • model: SM-T211
  • android: 4.1.2
  • cpu: Marvell PXA986
  • gpu: Vivante GC1000

Repro steps:

  1. Create a new project (mobile/tablet; scalable 3D or 2D; no starter content);
  2. Go to Project Settings - Platforms - Android and configure the project for Android (default settings);
  3. Package the project for Android ETC1 (Development);
  4. Install and launch on device

Here are the interesting parts of the crash log (full log attached: [link text][1]):

(...)
02-08 14:40:56.093: D/v_gal(26452): [tid=26467] gl2mERROR: result=0x0502 @ glTexSubImage2D(3107)
02-08 14:40:56.093: D/v_gal(26452): [tid=26467] gl2mERROR: result=0x0500 @ glTexImage2D(2335)
02-08 14:40:56.093: D/v_gal(26452): [tid=26467] gl2mERROR: result=0x0502 @ glTexSubImage2D(3107)
02-08 14:40:56.093: D/v_gal(26452): [tid=26467] gl2mERROR: result=0x0500 @ glTexImage2D(2335)
02-08 14:40:56.093: D/v_gal(26452): [tid=26467] gl2mERROR: result=0x0502 @ glTexSubImage2D(3107)
02-08 14:40:56.101: V/MediaPlayer-JNI(26452): native_setup
02-08 14:40:56.109: V/MediaPlayer(26452): constructor
02-08 14:40:56.109: V/MediaPlayer(26452): setListener
02-08 14:40:56.132: D/UE4(26452): Signal 11 caught!
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:158][  0]LogEngine:Display: Android Version Make Model Language: 4.1.2 samsung SM-T211 pl_PL
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:158][  0]LogAndroid: Case APP_CMD_START
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:158][  0]LogAndroid: Case APP_CMD_RESUME
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:159][  0]LogAndroid: Case APP_CMD_SAVE_STATE
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:159][  0]LogAndroid: Case APP_CMD_PAUSE
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:159][  0]LogAndroid: Case APP_CMD_RESUME
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:159][  0]LogAndroid: Case APP_CMD_INPUT_CHANGED
02-08 14:40:56.148: D/UE4(26452): [2016.02.08-13.40.56:160][  0]LogInit:Display: Running engine for game: Tab3Test

(...)

02-08 14:40:56.187: D/UE4(26452): [2016.02.08-13.40.56:194][  0]LogRHI: OpenGL MajorVersion = 2, MinorVersion = 0, ShaderPlatform = GLSL_ES2, FeatureLevel = ES2
02-08 14:40:56.187: D/UE4(26452): [2016.02.08-13.40.56:195][  0]LogRHI: PLATFORM_ANDROID
02-08 14:40:56.187: D/UE4(26452): [2016.02.08-13.40.56:195][  0]LogRHI:Display: Testing for shader compiler compatibility
02-08 14:40:56.187: D/UE4(26452): [2016.02.08-13.40.56:195][  0]LogRHI:Display: Shaders compile fine no need to enable hacks
02-08 14:40:56.187: D/UE4(26452): [2016.02.08-13.40.56:195][  0]LogEngine:Error: 
02-08 14:40:56.187: D/UE4(26452): libEGL_MRVL.so!_eglDisplayLock() 
02-08 14:40:56.187: D/UE4(26452): libEGL_MRVL.so!eglCreateSyncKHR() 
02-08 14:40:56.187: A/libc(26452): Fatal signal 11 (SIGSEGV) at 0x00000175 (code=1), thread 26467 (main)
02-08 14:40:56.257: I/DEBUG(104): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-08 14:40:56.257: I/DEBUG(104): Build fingerprint: 'samsung/lt023gxx/lt023g:4.1.2/JZO54K/T211XXAML5:/release-keys'
02-08 14:40:56.257: I/DEBUG(104): pid: 26452, tid: 26467, name: main  >>> com.YourCompany.Tab3Test <<<
02-08 14:40:56.257: I/DEBUG(104): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000175
02-08 14:40:57.351: I/DEBUG(104):     r0 00000001  r1 000030f9  r2 00000013  r3 67eb15f8
02-08 14:40:57.351: I/DEBUG(104):     r4 00000001  r5 63591a60  r6 67eb17f8  r7 00000000
02-08 14:40:57.351: I/DEBUG(104):     r8 00000000  r9 ffffaa38  sl 000030f9  fp 639c63d0
02-08 14:40:57.351: I/DEBUG(104):     ip 6827ee5c  sp 639c62e8  lr 68279214  pc 6826dc98  cpsr 20000010
02-08 14:40:57.351: I/DEBUG(104):     d0  bbb60b6100000000  d1  000000003f800000
02-08 14:40:57.351: I/DEBUG(104):     d2  3f800000bf800000  d3  0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d4  000000003b5578e9  d5  0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d6  00000000bba3d70a  d7  000000003f000000
02-08 14:40:57.351: I/DEBUG(104):     d8  0000000044198000  d9  0000000043b40000
02-08 14:40:57.351: I/DEBUG(104):     d10 0000000000000000  d11 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d12 0000000000000000  d13 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d14 0000000000000000  d15 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d16 4076800000000000  d17 3fe0000000000000
02-08 14:40:57.351: I/DEBUG(104):     d18 3f4e67efe86ccc15  d19 3fd0000000000000
02-08 14:40:57.351: I/DEBUG(104):     d20 3fef838b8d010b28  d21 bf2a00f9e2cae773
02-08 14:40:57.351: I/DEBUG(104):     d22 3fcc7288e957b53b  d23 3fd24998d6307188
02-08 14:40:57.351: I/DEBUG(104):     d24 3fd99a27ad32ddf5  d25 3fe555b0aaeac752
02-08 14:40:57.351: I/DEBUG(104):     d26 0000000000000000  d27 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d28 0000000000000005  d29 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     d30 0000000000000000  d31 0000000000000000
02-08 14:40:57.351: I/DEBUG(104):     scr 60000010
02-08 14:40:57.351: I/DEBUG(104): backtrace:
02-08 14:40:57.351: I/DEBUG(104):     #00  pc 00005c98  /system/lib/egl/libEGL_MRVL.so (_eglDisplayLock+8)
02-08 14:40:57.351: I/DEBUG(104):     #01  pc 00011210  /system/lib/egl/libEGL_MRVL.so (eglCreateSyncKHR+52)
02-08 14:40:57.351: I/DEBUG(104): stack:
02-08 14:40:57.351: I/DEBUG(104):          639c62a8  00000000  
02-08 14:40:57.351: I/DEBUG(104):          639c62ac  6827ee5c  /system/lib/egl/libEGL_MRVL.so
02-08 14:40:57.351: I/DEBUG(104):          639c62b0  00000000  
02-08 14:40:57.351: I/DEBUG(104):          639c62b4  00000000  
02-08 14:40:57.351: I/DEBUG(104):          639c62b8  000030f9  
02-08 14:40:57.351: I/DEBUG(104):          639c62bc  6827a8e0  /system/lib/egl/libEGL_MRVL.so (veglGetThreadData+44)
02-08 14:40:57.351: I/DEBUG(104):          639c62c0  00000008  
02-08 14:40:57.351: I/DEBUG(104):          639c62c4  00000000  
02-08 14:40:57.351: I/DEBUG(104):          639c62c8  00000030  
02-08 14:40:57.351: I/DEBUG(104):          639c62cc  67eb15f8  
02-08 14:40:57.351: I/DEBUG(104):          639c62d0  5efbbe90  /data/data/com.YourCompany.Tab3Test/lib/libUE4.so (FMallocBinned::Malloc(unsigned int, unsigned int))
02-08 14:40:57.351: I/DEBUG(104):          639c62d4  00000001  
02-08 14:40:57.351: I/DEBUG(104):          639c62d8  63591a60  
02-08 14:40:57.351: I/DEBUG(104):          639c62dc  62fd48d8  /data/data/com.YourCompany.Tab3Test/lib/libUE4.so
02-08 14:40:57.351: I/DEBUG(104):          639c62e0  df0027ad  
02-08 14:40:57.351: I/DEBUG(104):          639c62e4  00000000  
02-08 14:40:57.351: I/DEBUG(104):     #00  639c62e8  ffffffff  
02-08 14:40:57.351: I/DEBUG(104):          ........  ........
02-08 14:40:57.351: I/DEBUG(104):     #01  639c62e8  ffffffff  
02-08 14:40:57.359: I/DEBUG(104):          639c62ec  00000008  
02-08 14:40:57.359: I/DEBUG(104):          639c62f0  00008000  
02-08 14:40:57.359: I/DEBUG(104):          639c62f4  000000b0  
02-08 14:40:57.359: I/DEBUG(104):          639c62f8  00000008  
02-08 14:40:57.359: I/DEBUG(104):          639c62fc  00000008  
02-08 14:40:57.359: I/DEBUG(104):          639c6300  000000c0  
02-08 14:40:57.359: I/DEBUG(104):          639c6304  5efbc3e4  /data/data/com.YourCompany.Tab3Test/lib/libUE4.so (FMallocBinned::Malloc(unsigned int, unsigned int)+1364)
02-08 14:40:57.359: I/DEBUG(104):          639c6308  639c6324  [stack:26467]
02-08 14:40:57.359: I/DEBUG(104):          639c630c  0000000c  
02-08 14:40:57.359: I/DEBUG(104):          639c6310  400c5a4c  
02-08 14:40:57.359: I/DEBUG(104):          639c6314  5efbcb24  /data/data/com.YourCompany.Tab3Test/lib/libUE4.so (FMallocBinned::Realloc(void*, unsigned int, unsigned int))
02-08 14:40:57.359: I/DEBUG(104):          639c6318  00000030  
02-08 14:40:57.359: I/DEBUG(104):          639c631c  00000000  
02-08 14:40:57.359: I/DEBUG(104):          639c6320  00000000  
02-08 14:40:57.359: I/DEBUG(104):          639c6324  00000001  
(...)

77824-tab3_crash.txt (48.5 KB)

PeterB,

I have tested this on both a Galaxy Tab 3 (Android Version 4.4.2) and a Galaxy Tab 2 (Android Version 4.1.2). Neither of the devices had any trouble when loading the application on the device. I see that within your device logs, this error was caught: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000175

Signal 11 is an error that occurs but could mean a numerous amount of things. Typically we see it due to GPU drivers or the memory available on the phone. Have you thought about upgrading your version of Android on this device to see if that resolves the issue you’re running in to? Have you tested this on any other device without such troubles? Have you tried creating a brand new project and testing out to see if the same device runs into the same errors?

Looking forward to hearing back from you, thanks!

Hey PeterB,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

this is happening a lot on my game

BPANDREW,

This is post is from UE 4.10, could you please post a new question to AnswerHub with additional information for us to investigate?

Thanks!