anbox / anbox

Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system
https://anbox.io
GNU General Public License v3.0
8.89k stars 1.16k forks source link

Crash on android app launch #246

Open 2edff206 opened 7 years ago

2edff206 commented 7 years ago

Please paste the result of anbox system-info below:

version: 0.1.0
os:
  name: Ubuntu Core
  version: 16
  snap-based: true
kernel:
  version: Linux version 4.10.0-20-generic (buildd@lcy01-05) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017
  binder: true
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.4 (DRI2)
    extensions:
      - EGL_CHROMIUM_sync_control
      - EGL_EXT_buffer_age
      - EGL_EXT_create_context_robustness
      - EGL_EXT_image_dma_buf_import
      - EGL_KHR_create_context
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image
      - EGL_KHR_image_base
      - EGL_KHR_image_pixmap
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_NOK_texture_from_pixmap
      - EGL_WL_bind_wayland_display
  gles2:
    vendor: Intel Open Source Technology Center
    vendor: OpenGL ES-CM 1.1 Mesa 12.0.6
    extensions:
      - GL_EXT_blend_minmax
      - GL_EXT_multi_draw_arrays
      - GL_EXT_texture_filter_anisotropic
      - GL_EXT_texture_lod_bias
      - GL_OES_byte_coordinates
      - GL_OES_fixed_point
      - GL_OES_stencil_wrap
      - GL_OES_compressed_paletted_texture
      - GL_OES_query_matrix
      - GL_OES_read_format
      - GL_OES_single_precision
      - GL_EXT_texture_compression_dxt1
      - GL_OES_draw_texture
      - GL_OES_point_size_array
      - GL_OES_point_sprite
      - GL_EXT_texture_format_BGRA8888
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_OES_depth24
      - GL_OES_element_index_uint
      - GL_OES_fbo_render_mipmap
      - GL_OES_framebuffer_object
      - GL_OES_mapbuffer
      - GL_OES_rgb8_rgba8
      - GL_OES_stencil8
      - GL_OES_texture_env_crossbar
      - GL_OES_texture_mirrored_repeat
      - GL_OES_texture_npot
      - GL_OES_EGL_image
      - GL_OES_packed_depth_stencil
      - GL_OES_texture_cube_map
      - GL_APPLE_texture_max_level
      - GL_EXT_discard_framebuffer
      - GL_EXT_read_format_bgra
      - GL_OES_blend_equation_separate
      - GL_OES_blend_func_separate
      - GL_OES_blend_subtract
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_vertex_array_object
      - GL_ANGLE_texture_compression_dxt3
      - GL_ANGLE_texture_compression_dxt5
      - GL_EXT_map_buffer_range
      - GL_KHR_debug
      - GL_OES_surfaceless_context
      - GL_EXT_polygon_offset_clamp

Please describe your problem: I installed this app : https://play.google.com/store/apps/details?id=com.AnatomyLearning.Anatomy3DViewer3 It shows up on Anbox, but whenever I try to open it, Anbox crashes with a segmentaiton fault

What were you expecting?: To open my application without crashing

Additional info: If I try opening the app while running logcat these are the last lines I get before the crash :

05-09 09:09:31.781   617   636 E EGL_emulation: [getAttribValue] Bad attribute idx
05-09 09:09:31.781   617   636 E EGL_emulation: tid 636: eglGetConfigAttrib(613): error 0x3004 (EGL_BAD_ATTRIBUTE)
05-09 09:09:31.781   617   636 E EGL_emulation: [getAttribValue] Bad attribute idx
05-09 09:09:31.781   617   636 E EGL_emulation: tid 636: eglGetConfigAttrib(613): error 0x3004 (EGL_BAD_ATTRIBUTE)
05-09 09:09:31.781   617   636 E EGL_emulation: [getAttribValue] Bad attribute idx
05-09 09:09:31.781   617   636 E EGL_emulation: tid 636: eglGetConfigAttrib(613): error 0x3004 (EGL_BAD_ATTRIBUTE)
05-09 09:09:31.792   617   636 D Unity   : GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 
05-09 09:09:31.822   617   636 W libc    : pthread_create sched_setscheduler call failed: Operation not permitted
05-09 09:09:31.824   617   637 D AudioTrack: Client defaulted notificationFrames to 682 for frameCount 2048

Thanks

b10102016 commented 6 years ago

There are some openGL ES 1.0 & open GL ES 2.0 function unsupported by emugl. Those unsupported function may cause problem.