Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Android: Doesn't Launch (ExecutionEngineException)

Discussion in '5.4 Beta' started by radove, Mar 15, 2016.

  1. radove

    radove

    Joined:
    Aug 23, 2015
    Posts:
    2
    It looks like when OpenGL 2.0 tries to start up, is when the crash occurs. It builds and runs fine in 5.3.3f1 but in 5.4, it builds fine and deploys to android device... but then when I run it, it wigs out and no errors are displayed. This is from the adb log file when the crash occurs. Looks like it tries to start up ES2.0... but crashes. Might be a bug or might be a setting I need to tweak back? I am running a Android Tab 4... was using the beta to test performance in 5.4.

    D/Unity (10480): Multi-casting "[IP] 192.168.1.10 [Port] 55096 [Flags] 2 [Guid] 4184632583 [EditorId] 369226301 [Version] 1048832 [Id] AndroidPlayer(samsung_SM-T230NU@192.168.1.10) [Debug] 0" to [225.0.0.222:54997]...
    D/Unity (10480): InitializeScriptEngine OK (7990dee0)
    D/Unity (10480): PlayerConnection already initialized - listening to [192.168.1.10:55096]
    D/Unity (10480): PlayerInitEngineNoGraphics OK
    V/WindowManager( 557): rotationForOrientationLw(orient=0, last=1); user=0 sensorRotation=-1 mLidState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false gripRotationLock=false
    D/Unity (10480): [EGL] Request: ES 3.0 RGB0 000 0/0
    D/Unity (10480): [EGL] Request: ES 2.0 RGB0 000 0/0
    D/Unity (10480): [EGL] Found: ID[1] ES 2.0 RGB16 565 0NLZ/0 AFBT
    D/Unity (10480): [EGL] Request: ES 3.0 RGB0 000 0/0
    D/Unity (10480): [EGL] Request: ES 2.0 RGB0 000 0/0
    D/Unity (10480): [EGL] Found: ID[1] ES 2.0 RGB16 565 0NLZ/0 AFBT
    D/Unity (10480): [EGL] Request: ES 2.0 RGBA32 8888 0/0
    D/Unity (10480): [EGL] Found: ID[14] ES 2.0 RGBA32 8888 0NLZ/0 AFBT
    D/GC (10480): <tid=10495> Vichard print openGL ES version: 2
    D/GC (10480):
    D/GC (10480): <tid=10495> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.30
    D/GC (10480):
    D/Unity (10480): ANativeWindow: (1280/800) RequestedResolution: (0/0) EGLSurface: (1280/800)
    D/GC (10480): <tid=10495> Vichard print openGL ES version: 2
    D/GC (10480):
    D/GC (10480): <tid=10495> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.30
    D/GC (10480):
    D/Unity (10480): Renderer: Vivante GC1000
    D/Unity (10480): Vendor: Vivante Corporation
    D/Unity (10480): Version: OpenGL ES 2.0
    D/Unity (10480): GLES: 2
    D/Unity (10480): GL_EXT_debug_marker GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_EGL_image GL_OES_depth24 GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_get_program_binary GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_ARM_rgba8 GL_EXT_frag_depth GL_VIV_shader_binary GL_VIV_direct_texture GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_EXT_multisampled_render_to_texture GL_VIV_clamp_to_border GL_MRVL_texture_video GL_EXT_unpack_subimage GL_OES_element_index_uint GL_OES_mapbuffer GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc
    D/Unity (10480): OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle 2048066992
    D/Unity (10480): InitializeGfxDevice OK
    D/Unity (10480): Initialize engine version: 5.4.0b10 (1329e1e590be)
    E/mono (10480):
    E/mono (10480): Unhandled Exception: System.ExecutionEngineException: SIGILL
    D/STATUSBAR-NetworkController( 741): refreshSignalCluster - setNWBoosterIndicators(false)
    D/STATUSBAR-NetworkController( 741): refreshSignalCluster: data=-1 bt=false
    D/STATUSBAR-IconMerger( 741): checkOverflow(992), More:false, Req:false Child:5
    I/ActivityManager( 557): Process com.Techtunk.AlienSurge (pid 10480) (adj 0) has died.
     
  2. radove

    radove

    Joined:
    Aug 23, 2015
    Posts:
    2
    I submitted a bug report in since it also is happening when I just create an empty project in 5.4... Let me know if anyone has suggestions. To re-produce just create an empty project and compile for Android. My device is an Android tab 4 SM-T230NU is the model #. I included a more in-depth log in the bug report... I think its either done loading libEGL or it crashed on libEGL. I am not an expert so not sure if it the OpenGL 2.0 thats crashing or not.

    D/libEGL (15797): glGetProgramiv(3, GL_LINK_STATUS, (GLint*) 0x78eef0a0);
    D/libEGL (15797): glUseProgram(3);
    D/libEGL (15797): glGetProgramiv(3, GL_ACTIVE_UNIFORMS, (GLint*) 0x78eeee14);
    D/libEGL (15797): glGetActiveUniform(3, 0, 1024, (GLsizei*) 0x78eeee64, (GLint*) 0x78eeee6c, (GLenum*) 0x78eeee70, (GLchar*) 0x78eeee90);
    D/libEGL (15797): glGetUniformLocation(3, (const GLchar*) 0x78eeee90);
    E/mono (15797):
    E/mono (15797): Unhandled Exception: System.ExecutionEngineException: SIGILL
    W/InputDispatcher( 557): channel ~ Consumer closed input channel or an error occurred. events=0x9
    E/InputDispatcher( 557): channel ~ Channel is unrecoverably broken and will be disposed!
    I/ActivityManager( 557): Process com.Whatever.Broken (pid 15797) (adj 0) has died.
    W/InputDispatcher( 557): Attempted to unregister already unregistered input channel
    W/MediaFocusControl( 557): AudioFocus audio focus client died
     
    MrEsquire likes this.
  3. FuguFirecracker

    FuguFirecracker

    Joined:
    Sep 20, 2011
    Posts:
    419
    Yup
    Crashy Crashy on my Moto G, Samsung Ace II, and Nexus 5
     
  4. Charro

    Charro

    Joined:
    Oct 5, 2015
    Posts:
    16
    Hey there !

    Same crash here, when building the project for Linux everything goes OK, but when building an Android APK and try it on my Moto G this is the crash I get:

    D/Unity (25617): SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 885mb
    D/Unity (25617): SystemInfo ARM big.LITTLE configuration: 4 big (mask: 15), 0 little (mask: 0)
    I/WindowManager(18850): Screen frozen for +325ms due to Window{2e0cf66b u0 Starting com.riverdevs}
    I/ThermalEngine( 251): Sensor:xo_therm_pu2:29000 mC
    D/Unity (25617): [SHA1] fa2d6bb54163da1191b4b1057f10379be346c422 25737840 bytes ~ lib/armeabi-v7a/libunity.so
    D/Unity (25617): [SHA1] bae5c07b9a99b655700ae56d4d75035e1f5b9224 25316 bytes ~ lib/armeabi-v7a/libmain.so
    D/Unity (25617): [SHA1] 5ccdb2097c0d062bbda7da57b2b67198b0b7a6d8 3758452 bytes ~ lib/armeabi-v7a/libmono.so
    I/art (18850): Explicit concurrent mark sweep GC freed 10571(558KB) AllocSpace objects, 2(32KB) LOS objects, 33% free, 29MB/44MB, paused 1.795ms total 141.528ms
    D/audio_hw_primary(18609): out_standby: enter: stream (0xb73e1bb8) usecase(0: deep-buffer-playback)
    D/hardware_info(18609): hw_info_append_hw_type : device_name = speaker-lite
    D/Unity (25617): [SHA1] e8a403b6b13d6055ef76969b3c07049c954e524e 29331192 bytes ~ lib/x86/libunity.so
    D/Unity (25617): [SHA1] 2f0041b02eb680b583fc57c720357f5702a71389 8120 bytes ~ lib/x86/libmain.so
    D/Unity (25617): [SHA1] 27ff5941b6fb3dbccb1d3df349bfd5b5a06dcc5e 3628252 bytes ~ lib/x86/libmono.so
    D/Unity (25617): Mono path[0] = '/data/app/com.riverdevs-1/base.apk/assets/bin/Data/Managed'
    D/Unity (25617): Mono config path = 'assets/bin/Data/Managed'
    D/Unity (25617): PlayerConnection initialized from /data/app/com.riverdevs-1/base.apk/assets/bin/Data (debug = 0)
    D/Unity (25617): PlayerConnection initialized network socket : 0.0.0.0 55322
    D/Unity (25617): PlayerConnection initialized unix socket : Unity-com.riverdevs
    D/Unity (25617): Multi-casting "[IP] 192.168.1.12 [Port] 55322 [Flags] 2 [Guid] 4229005257 [EditorId] 1165525934 [Version] 1048832 [Id] AndroidPlayer(motorola_Moto_G@192.168.1.12) [Debug] 0" to [225.0.0.222:54997]...
    D/TaskPersister(18850): removeObsoleteFile: deleting file=312_task.xml
    D/Unity (25617): InitializeScriptEngine OK (a3905ee0)
    D/Unity (25617): PlayerConnection already initialized - listening to [192.168.1.12:55322]
    D/Unity (25617): PlayerInitEngineNoGraphics OK
    I/Adreno-EGL(25617): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1.C2.05.00.00.046.002_msm8974_LA.BF.1.1.1.C2__release_AU ()
    I/Adreno-EGL(25617): OpenGL ES Shader Compiler Version: E031.25.03.00
    I/Adreno-EGL(25617): Build Date: 01/06/15 Tue
    I/Adreno-EGL(25617): Local Branch: mybranch6793908
    I/Adreno-EGL(25617): Remote Branch: quic/LA.BF.1.1.1.c2
    I/Adreno-EGL(25617): Local Patches: NONE
    I/Adreno-EGL(25617): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1.C2.05.00.00.046.002 + NOTHING
    D/Unity (25617): [EGL] Request: ES 3.1+AEP RGB0 000 0/0
    D/Unity (25617): [EGL] Checking ES 3.1 support...
    W/Adreno-EGL(25617): <qeglDrvAPI_eglCreateContext:2438>: EGL_BAD_MATCH
    D/Unity (25617): [EGL] ES3.1 not supported
    D/Unity (25617): [EGL] Request: ES 3.1 RGB0 000 0/0
    D/Unity (25617): [EGL] Request: ES 3.0 RGB0 000 0/0
    W/Adreno-EGL(25617): <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
    W/Adreno-EGL(25617): <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
    D/Unity (25617): [EGL] Found: ID[1] ES 3.0 RGB16 565 0/0
    D/Unity (25617): [EGL] Request: ES 3.1+AEP RGB0 000 0/0
    D/Unity (25617): [EGL] Request: ES 3.1 RGB0 000 0/0
    D/Unity (25617): [EGL] Request: ES 3.0 RGB0 000 0/0
    D/Unity (25617): [EGL] Found: ID[1] ES 3.0 RGB16 565 0/0
    D/Unity (25617): [EGL] Request: ES 3.0 RGBA32 8888 0/0
    D/Unity (25617): [EGL] Found: ID[5] ES 3.0 RGBA32 8888 0/0 AFBT
    D/Unity (25617): ANativeWindow: (1280/720) RequestedResolution: (0/0) EGLSurface: (1280/720)
    D/Unity (25617): Renderer: Adreno (TM) 305
    D/Unity (25617): Vendor: Qualcomm
    D/Unity (25617): Version: OpenGL ES 3.0 V@84.0 AU@05.00.00.046.002 (CL@)
    D/Unity (25617): GLES: 3
    D/Unity (25617): GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT
    D/Unity (25617): _texture_sRGB_decode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
    D/Unity (25617): OPENGL LOG: Creating OpenGL ES 3.0 graphics device ; Context level <OpenGL ES 3.0> ; Context handle -1193189960
    D/Unity (25617): InitializeGfxDevice OK
    D/Unity (25617): Initialize engine version: 5.4.0b10 (70105713a42d)
    E/mono (25617):
    E/mono (25617): Unhandled Exception: System.ExecutionEngineException: SIGILL
    I/WindowState(18850): WIN DEATH: Window{17acff3f u0 com.riverdevs/com.unity3d.player.UnityPlayerActivity}
    W/MediaFocusControl(18850): AudioFocus audio focus client died
    I/MediaFocusControl(18850): AudioFocus removeFocusStackEntry(): removing entry for android.os.BinderProxy@357f75c2
    W/WindowManager(18850): Force-removing child win Window{354c20f8 u0 SurfaceView} from container Window{17acff3f u0 com.riverdevs/com.unity3d.player.UnityPlayerActivity}
     
  5. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    Same crash here on my Moto-G building with Unity 5.4.0b15.

    SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 888mb
    SystemInfo ARM big.LITTLE configuration: 4 big (mask: 15), 0 little (mask: 0)
    [SHA1] 8074d30452bebe2093e0fc7b041b9f372820e3ab 25778924 bytes ~ lib/armeabi-v7a/libunity.so
    [SHA1] 010f93fd3b07617ce6009ba9a08b53a30ef06153 25316 bytes ~ lib/armeabi-v7a/libmain.so
    [SHA1] d5157dafc648808689380b77d9e223889dd066d9 96767004 bytes ~ lib/armeabi-v7a/libil2cpp.so
    InitializeScriptEngine OK (a30eefd8)
    PlayerConnection initialized from /data/app/com.wantedseekanddestroy-2/base.apk/assets/bin/Data (debug = 0)
    PlayerConnection initialized network socket : 0.0.0.0 55186
    PlayerConnection initialized unix socket : Unity-com.wantedseekanddestroy
    Multi-casting "[IP] 192.168.15.3 [Port] 55186 [Flags] 2 [Guid] 1121782096 [EditorId] 2307424751 [Version] 1048832 [Id] AndroidPlayer(motorola_XT1033@192.168.15.3) [Debug] 0" to [225.0.0.222:54997]...
    PlayerInitEngineNoGraphics OK
    <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016_msm8226_LA.BF.1.1.1_RB1__release_AU ()
    OpenGL ES Shader Compiler Version: E031.25.03.00
    Build Date: 02/11/15 Wed
    Local Branch:
    Remote Branch: quic/LA.BF.1.1.1_rb1.10
    Local Patches: NONE
    Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016 + 62ca4eb + acd831d + 9f8b442 + e027a02 + cba30ba + 53c303a + a649d79 + 23e16f8 + 5e97da7 + cbd2a44 + 33d072a + 7aacf06 + 72b33e7 + 28f6f60 + b4c13d8 + NOTHING
    [EGL] Request: ES 2.0 RGB0 000 0/0
    <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
    <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
    [EGL] Found: ID[1] ES 2.0 RGB16 565 0/0
    [EGL] Request: ES 2.0 RGB0 000 0/0
    [EGL] Found: ID[1] ES 2.0 RGB16 565 0/0
    [EGL] Request: ES 2.0 RGB16 565 0/0
    [EGL] Found: ID[1] ES 2.0 RGB16 565 0/0
    ANativeWindow: (1280/720) RequestedResolution: (0/0) EGLSurface: (1280/720)
    Renderer: Adreno (TM) 305
    Vendor: Qualcomm
    Version: OpenGL ES 3.0 V@84.0 AU@05.00.02.042.016 (CL@)
    GLES: 3
    GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_
    texture_sRGB_decode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
    ETC2 1
    OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle -1209554800
    InitializeGfxDevice OK
    Initialize engine version: 5.4.0b15 (f24f29c81497)
    Fatal signal 4 (SIGILL), code 1, fault addr 0xa5616214 in tid 31376 (UnityMain)
     
  6. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,756
    any luck with B16 ?
     
  7. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    No luck, same error with beta 16.
    Tried both Mono and ILCPP, multithreaded rendering on/off.
     
  8. gamesmart_devop

    gamesmart_devop

    Joined:
    Oct 20, 2015
    Posts:
    7
  9. Jasane

    Jasane

    Joined:
    Mar 5, 2015
    Posts:
    2
    Any of you have solved this issue?
     
  10. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,756
    nope, in theory it should be fixed on b18... counting the minutes for its release
     
  11. Charro

    Charro

    Joined:
    Oct 5, 2015
    Posts:
    16
    Yep, same problem in B17 so this is good news !
    Will wait for B18 to check out and hopefully be able to see my build in Android again ;)

    By the way, I tried both Windows and Linux B17 editors and got the same error in both.
     
    Last edited: May 17, 2016