Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Crash on Android 5.1.1 #2978

Closed
peterneubauer opened this issue Nov 9, 2015 · 9 comments
Closed

Crash on Android 5.1.1 #2978

peterneubauer opened this issue Nov 9, 2015 · 9 comments
Labels
Android Mapbox Maps SDK for Android crash

Comments

@peterneubauer
Copy link

Hi there,
when opening the MapView, I get random crashes on a Sony Xperia Z5 Compact, trying to do something like this. Crashes occur seemingly randomly upon initializing the map with

view = inflater.inflate(R.layout.map, container, false);
        this.mapView = (MapView) view.findViewById(R.id.mapview);
        mapView.setAccessToken("xxx);
        try {
            mapView.onCreate(savedInstanceState);
        } catch (InvalidAccessTokenException iae) {
            //just catch it
        }
        mapView.setStyle("asset://mapillary_mapbox_style.json");
        // Show user location (purposely not in follow mode)
        mapView.setMyLocationEnabled(true);
        mapView.setZoomLevel(16, false);
        mapView.setAllGesturesEnabled(false);
        spriteFactory = new SpriteFactory(mapView);


  public void setLocation(Location location) {
    if(location!=null) {
        mapView.setCenterCoordinate(new LatLng(location.getLatitude(), location.getLongitude()));
        mapView.setZoomLevel(17 - location.getSpeed() / 10, true);
    }
}

screenshot_2015-11-09-11-28-21

Partly, I get things like the stack trace below, partly I sometimes get

W/OpenGLRenderer(22767): Path too large to be rendered into a texture

and the the app crashes. Any hints what might be wrong?

I/mbgl    (14842): {Map}[Android]: Not activating as we are not ready
I/mbgl    (14842): {Map}[Android]: Not deactivating as we are not ready
V/GmsNetworkLocationProvi( 1318): onSetRequest: ProviderRequestUnbundled, reportLocation is true and interval is 86400000
V/GmsNetworkLocationProvi( 1318): SET-REQUEST
V/GmsNetworkLocationProvi( 1318): in Handler: ProviderRequestUnbundled, reportLocation is true and interval is 86400000
E/        ( 1452): E/open failed: /dev/mdm: No such file or directory
I/mbgl    (14842): {Main}[OpenGL]: EGL Vendor: Android
I/mbgl    (14842): {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
I/mbgl    (14842): {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
I/mbgl    (14842): {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable 
I/mbgl    (14842): {Main}[OpenGL]: Found 10 configs
I/mbgl    (14842): {Main}[OpenGL]: Config 0:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 16
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 6
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 0
I/mbgl    (14842): {Main}[OpenGL]: Config 1:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 16
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 6
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 2
I/mbgl    (14842): {Main}[OpenGL]: Config 2:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 16
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 6
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 5
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 4
I/mbgl    (14842): {Main}[OpenGL]: Config 3:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 0
I/mbgl    (14842): {Main}[OpenGL]: Config 4:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 0
I/mbgl    (14842): {Main}[OpenGL]: Config 5:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 2
I/mbgl    (14842): {Main}[OpenGL]: Config 6:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 4
I/mbgl    (14842): {Main}[OpenGL]: Config 7:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 32
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 0
I/mbgl    (14842): {Main}[OpenGL]: Config 8:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 32
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 2
I/mbgl    (14842): {Main}[OpenGL]: Config 9:
I/mbgl    (14842): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl    (14842): {Main}[OpenGL]: ...Conformant: 69
I/mbgl    (14842): {Main}[OpenGL]: ...Color: 32
I/mbgl    (14842): {Main}[OpenGL]: ...Red: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Green: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Blue: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Alpha mask: 0
I/mbgl    (14842): {Main}[OpenGL]: ...Depth: 24
I/mbgl    (14842): {Main}[OpenGL]: ...Stencil: 8
I/mbgl    (14842): {Main}[OpenGL]: ...Sample buffers: 1
I/mbgl    (14842): {Main}[OpenGL]: ...Samples: 4
I/mbgl    (14842): {Main}[OpenGL]: Chosen config is 3
I/mbgl    (14842): {Main}[OpenGL]: Chosen window format is 2
E/        ( 1452): E/open failed: /dev/mdm: No such file or directory
V/GmsNetworkLocationProvi( 1318): onSetRequest: ProviderRequestUnbundled, reportLocation is true and interval is 1000
V/GmsNetworkLocationProvi( 1318): SET-REQUEST
V/GmsNetworkLocationProvi( 1318): in Handler: ProviderRequestUnbundled, reportLocation is true and interval is 20000
I/mbgl    (14842): {Main}[OpenGL]: GL Vendor: Qualcomm
I/mbgl    (14842): {Main}[OpenGL]: GL Renderer: Adreno (TM) 430
I/mbgl    (14842): {Main}[OpenGL]: GL Version: OpenGL ES 3.1 V@103.0 (GIT@I21d2ab1dda)
I/mbgl    (14842): {Main}[OpenGL]: GL SL Version: OpenGL ES GLSL ES 3.10
I/mbgl    (14842): {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_textur
I/mbgl    (14842): {Main}[OpenGL]: GL Extensions: e_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_
I/mbgl    (14842): {Main}[OpenGL]: GL Extensions: map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_
I/mbgl    (14842): {Main}[OpenGL]: GL Extensions: EXT_discard_framebuffer 
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
D/WifiService( 1452): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@b478521}
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
D/WifiService( 1452): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@b478521}
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/16/32768/32768.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/16/32767/32768.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/16/32768/32767.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/16/32767/32767.mapbox]: 
D/com.mapbox.mapboxsdk.http.HTTPContext$HTTPRequest(14842): onFailure: Canceled
D/com.mapbox.mapboxsdk.http.HTTPContext$HTTPRequest(14842): onFailure: Canceled
D/com.mapbox.mapboxsdk.http.HTTPContext$HTTPRequest(14842): onFailure: Canceled
D/com.mapbox.mapboxsdk.http.HTTPContext$HTTPRequest(14842): onFailure: Canceled
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
I/MSM-irqbalance(  701): Decided to move IRQ132 from CPU1 to CPU0
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70276/41069.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70275/41069.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70276/41068.mapbox]: 
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70275/41068.mapbox]: 
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/mbgl    (14842): {Worker}[Sprite]: Can't find sprite named 'camera-11'
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
W/OpenGLRenderer(14842): Path too large to be rendered into a texture
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70276/41069.mapbox]: HTTP status code 403
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70275/41069.mapbox]: HTTP status code 403
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/mbgl    (14842): {Worker}[Sprite]: Can't find sprite named 'camera-11'
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70276/41068.mapbox]: HTTP status code 403
E/mbgl    (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/17/70275/41068.mapbox]: HTTP status code 403
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.levelup.touiteur (pid 13645) has died
E/lowmemorykiller(  571): Error writing /proc/14102/oom_score_adj; errno=22
I/ActivityManager( 1452): Process com.google.android.googlequicksearchbox:search (pid 14102) has died
I/ActivityManager( 1452): Process com.sony.smallapp.managerservice (pid 14301) has died
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process org.me.mobiexpensifyg (pid 14566) has died
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.linkedin.android (pid 14599) has died
I/ActivityManager( 1452): Process com.sonyericsson.tvout.mhl (pid 14541) has died
I/ActivityManager( 1452): Process com.sonyericsson.crashmonitor (pid 14011) has died
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
D/audio_hw_primary(  617): out_standby: enter: stream (0xab321890) usecase(0: deep-buffer-playback)
I/ActivityManager( 1452): Process com.sonymobile.rcahandler (pid 14042) has died
I/ActivityManager( 1452): Process com.instagram.android (pid 13593) has died
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
D/soundtrigger(  617): audio_extn_sound_trigger_update_stream_status: uc_id 0 of type 0 for Event 2, with Raise=0
D/hardware_info(  617): hw_info_append_hw_type : device_name = speaker
D/audio_hw_extn(  617): audio_extn_get_anc_enabled: anc_enabled:0
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.whatsapp (pid 8860) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.whatsapp/.messaging.MessageService in 1000ms
I/ActivityManager( 1452): Process com.instagram.android:mqtt (pid 10932) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.instagram.android/com.facebook.rti.push.service.FbnsService in 10982ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.dropbox.android (pid 10040) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.dropbox.android/com.dropbox.sync.android.DbxSyncService in 20968ms
W/ActivityManager( 1452): Scheduling restart of crashed service com.dropbox.android/.service.WatcherService in 20968ms
D/WifiService( 1452): Client connection lost with reason: 4
I/ActivityManager( 1452): Process com.sonyericsson.extras.liveware (pid 5533) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonyericsson.extras.liveware/.service.BtService in 30946ms
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonyericsson.extras.liveware/com.sonymobile.smartconnect.accessorybatterymonitor.service.ABMService in 40946ms
I/ActivityManager( 1452): Process com.google.android.music:main (pid 9389) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.google.android.music/.wear.WearDataTransferConnectionService in 40911ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.sonyericsson.devicemonitor:dynamic (pid 8593) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonyericsson.devicemonitor/.DeviceMonitorDynamicService in 0ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
D/WifiService( 1452): Client connection lost with reason: 4
I/ActivityManager( 1452): Process com.facebook.katana (pid 10341) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.facebook.katana/com.facebook.mqttlite.MqttService in 50825ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.google.android.talk (pid 8818) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.google.android.talk/com.google.android.libraries.hangouts.video.CallService in 60765ms
I/ActivityManager( 1452): Process com.sonymobile.deviceconfigtool (pid 10705) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonymobile.deviceconfigtool/.ConfigHelloService in 70759ms
I/ActivityManager( 1452): Process com.sonymobile.tvout.wifidisplay (pid 11230) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonymobile.tvout.wifidisplay/.bluetooth.BtListenService in 80723ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process org.simalliance.openmobileapi.service (pid 12435) has died
W/ActivityManager( 1452): Scheduling restart of crashed service org.simalliance.openmobileapi.service/.SmartcardService in 90692ms
W/AudioFlinger(  617): removeEffect_l() 0xf467b008 cannot promote chain for effect 0xacbbb830
W/AudioPolicyManager(  617): unregisterEffect() unknown effect ID 833
I/ActivityManager( 1452): Process com.sonyericsson.soundenhancement (pid 13785) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonyericsson.soundenhancement/.SoundEnhancementService in 100666ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process android.process.media (pid 9038) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.android.providers.media/.MtpService in 100618ms
I/ActivityManager( 1452): Process com.sonymobile.seamlesstether (pid 11770) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonymobile.seamlesstether/.SeamlessTetheringService in 110590ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/ActivityManager( 1452): Process com.android.settings (pid 11606) has died
I/WindowState( 1452): WIN DEATH: Window{ffc1a57 u0 com.android.settings/com.android.settings.SubSettings}
W/InputDispatcher( 1452): channel '3e901d05 com.android.settings/com.android.settings.Settings (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel '3e901d05 com.android.settings/com.android.settings.Settings (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1452): channel 'ffc1a57 com.android.settings/com.android.settings.SubSettings (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel 'ffc1a57 com.android.settings/com.android.settings.SubSettings (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1452): channel 'f6ee4e7 com.sonyericsson.home/com.sonymobile.home.HomeActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel 'f6ee4e7 com.sonyericsson.home/com.sonymobile.home.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel 'ffc1a57 com.android.settings/com.android.settings.SubSettings (server)'
I/cald    (  617): 17150430570379 excal_hal_ctrl.cpp                (1383) 2423 I [EXC] [COMP] [HalCtrl         012] StreamingA FPS[15.0355]
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/cald    (  617): 17150441645483 excal_stream_ctrl.cpp              (465) 2429 I [EXC] [COMP] [StreamCtrl      018] secondary base stream FPS[14.9990]
I/WindowState( 1452): WIN DEATH: Window{3e901d05 u0 com.android.settings/com.android.settings.Settings}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel '3e901d05 com.android.settings/com.android.settings.Settings (server)'
E/lowmemorykiller(  571): Error opening /proc/14517/oom_score_adj; errno=2
I/WindowState( 1452): WIN DEATH: Window{f6ee4e7 u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel 'f6ee4e7 com.sonyericsson.home/com.sonymobile.home.HomeActivity (server)'
I/ActivityManager( 1452): Process com.sonyericsson.home (pid 10442) has died
I/ActivityManager( 1452): Process com.sonymobile.phoneusage (pid 11003) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonymobile.phoneusage/.service.DeviceUsageService in 120406ms
E/lowmemorykiller(  571): Error opening /proc/14517/oom_score_adj; errno=2
I/ActivityManager( 1452): Process com.sonymobile.ree (pid 14517) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonymobile.ree/.service.RecommendationEngineExtensionService in 130401ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/WindowState( 1452): WIN DEATH: Window{de70b0e u0 com.facebook.orca}
W/InputDispatcher( 1452): channel '176dcb36  (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel '176dcb36  (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1452): channel '611e10  (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel '611e10  (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1452): channel '30ac2441  (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel '30ac2441  (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1452): channel '1f220b3c  (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher( 1452): channel '1f220b3c  (server)' ~ Channel is unrecoverably broken and will be disposed!
I/ActivityManager( 1452): Process com.facebook.orca (pid 10522) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.facebook.orca/.chatheads.service.ChatHeadService in 130329ms
W/ActivityManager( 1452): Scheduling restart of crashed service com.facebook.orca/com.facebook.mqttlite.MqttService in 130329ms
I/WindowState( 1452): WIN DEATH: Window{611e10 u0 com.facebook.orca}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel '611e10  (server)'
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/WindowState( 1452): WIN DEATH: Window{176dcb36 u0 com.facebook.orca}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel '176dcb36  (server)'
I/WindowState( 1452): WIN DEATH: Window{30ac2441 u0 com.facebook.orca}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel '30ac2441  (server)'
I/WindowState( 1452): WIN DEATH: Window{1f220b3c u0 com.facebook.orca}
W/InputDispatcher( 1452): Attempted to unregister already unregistered input channel '1f220b3c  (server)'
I/ActivityManager( 1452): Process com.touchtype.swiftkey (pid 2867) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.touchtype.swiftkey/com.touchtype.KeyboardService in 140287ms
I/ActivityManager( 1452): Process com.sonyericsson.usbux (pid 7095) has died
W/ActivityManager( 1452): Scheduling restart of crashed service com.sonyericsson.usbux/.service.UsbService in 150259ms
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
I/cald    (  617): 17150645183139 excal_stream_ctrl.cpp              (465) 2433 I [EXC] [COMP] [StreamCtrl      020] preview stream FPS[14.9998]
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
E/mm-camera(  658): pproc_module_handle_reprocess_offline:2289 failed: extract gamma from metadata
W/InputMethodManagerService( 1452): Session failed to close due to remote exception
W/InputMethodManagerService( 1452): android.os.DeadObjectException
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transactNative(Native Method)
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transact(Binder.java:496)
W/InputMethodManagerService( 1452):     at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1502)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1493)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1519)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1538)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1219)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1233)
W/InputMethodManagerService( 1452):     at android.os.Handler.handleCallback(Handler.java:739)
W/InputMethodManagerService( 1452):     at android.os.Handler.dispatchMessage(Handler.java:95)
W/InputMethodManagerService( 1452):     at android.os.Looper.loop(Looper.java:211)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.run(SystemServer.java:298)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.main(SystemServer.java:186)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Native Method)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Method.java:372)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
W/InputMethodManagerService( 1452): Session failed to close due to remote exception
W/InputMethodManagerService( 1452): android.os.DeadObjectException
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transactNative(Native Method)
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transact(Binder.java:496)
W/InputMethodManagerService( 1452):     at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1502)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1493)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1519)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1538)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1219)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1233)
W/InputMethodManagerService( 1452):     at android.os.Handler.handleCallback(Handler.java:739)
W/InputMethodManagerService( 1452):     at android.os.Handler.dispatchMessage(Handler.java:95)
W/InputMethodManagerService( 1452):     at android.os.Looper.loop(Looper.java:211)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.run(SystemServer.java:298)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.main(SystemServer.java:186)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Native Method)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Method.java:372)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
W/InputMethodManagerService( 1452): Session failed to close due to remote exception
W/InputMethodManagerService( 1452): android.os.DeadObjectException
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transactNative(Native Method)
W/InputMethodManagerService( 1452):     at android.os.BinderProxy.transact(Binder.java:496)
W/InputMethodManagerService( 1452):     at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1502)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1493)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1519)
W/InputMethodManagerService( 1452):     at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1538)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1219)
W/InputMethodManagerService( 1452):     at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1233)
W/InputMethodManagerService( 1452):     at android.os.Handler.handleCallback(Handler.java:739)
W/InputMethodManagerService( 1452):     at android.os.Handler.dispatchMessage(Handler.java:95)
W/InputMethodManagerService( 1452):     at android.os.Looper.loop(Looper.java:211)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.run(SystemServer.java:298)
W/InputMethodManagerService( 1452):     at com.android.server.SystemServer.main(SystemServer.java:186)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Native Method)
W/InputMethodManagerService( 1452):     at java.lang.reflect.Method.invoke(Method.java:372)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
W/InputMethodManagerService( 1452):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
@tobrun tobrun added Android Mapbox Maps SDK for Android crash labels Nov 9, 2015
@tobrun tobrun added this to the android-v2.3.0 milestone Nov 9, 2015
@ljbade
Copy link
Contributor

ljbade commented Nov 13, 2015

I can see this in the log:
E/mbgl (14842): {Map}[Style]: Failed to load [https://d2munx5tg0hw47.cloudfront.net/tiles/16/32768/32768.mapbox]: with a 403.

Do you set a valid Mapbox access token?

Also can you capture the stack trace of the crash?

@tobrun
Copy link
Member

tobrun commented Nov 13, 2015

@peterneubauer
I'm not really sure why you are wrapping onCreate with a try-catch block:

try {
      mapView.onCreate(savedInstanceState);
} catch (InvalidAccessTokenException iae) {
     //just catch it
}

Could you elaborate on that?

I believe @ljbade is correct in his analysis that there is a problem with setting the access token.

@tobrun
Copy link
Member

tobrun commented Nov 13, 2015

@peterneubauer

W/OpenGLRenderer(22767): Path too large to be rendered into a texture

I have seen this error also multiple times, @ljbade is this a log we can "swallow" as well?

@mb12
Copy link

mb12 commented Nov 13, 2015

@peterneubauer
Copy link
Author

So,
You can now install the mapillary app from Google play and check for
yourself of it's crashing. Just enable the experimental features in the
settings!
On Nov 13, 2015 4:26 PM, "mb12" notifications@github.com wrote:

@tobrun https://github.com/tobrun This warning is a general Android
issue.

http://stackoverflow.com/questions/27444387/issue-on-openglrenderer-path-too-large-to-be-rendered-to-a-texture


Reply to this email directly or view it on GitHub
#2978 (comment)
.

@ljbade
Copy link
Contributor

ljbade commented Nov 15, 2015

@tobrun We should check the significance first. Is it coming from our GL or is it from the hardware accelerated views... (OpenGLRenderer is an Android framework internal class). I will have to dig into AOSP to see where it comes from.

Looks like @mb12 found the issue ^ we must have a View that is too complicated (or possibly a bug in the support design library). We will need to keep an eye out for UI elements that are not drawn when the warning appears.

@ljbade
Copy link
Contributor

ljbade commented Nov 15, 2015

@peterneubauer Thanks, I will test the app out and see if I can figure this out.

@peterneubauer
Copy link
Author

That is awesome! If needed, I can let you in on the source code or hop on a pair-coding call with you (it's not much integration code - great API of yours!)

@bleege
Copy link
Contributor

bleege commented Mar 4, 2016

This issue is stale as well as will be out of date when 4.0.0 ships. Let's close for now and we can reopen later if need be.

@bleege bleege closed this as completed Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android crash
Projects
None yet
Development

No branches or pull requests

5 participants