mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa in tid 5255 (FinalizerDaemon)

Open rahulabrol opened this issue 8 years ago • 1 comments

@tobrun i am experiencing the issue on setting markers on the map here is the code I am using

@Override public void run() { try { Location location = getCurrentLocation(); runOnUiThread(() -> { Log.e(TAG, "Start Trip's run method");

           if (location != null && map != null) {
                map.addMarker(new MarkerOptions()
                        .position(new LatLng(location.getLatitude(), location.getLongitude()))
                        .setIcon(IconFactory.getInstance(StartTrip.this).fromResource(R.drawable.mapbox_marker_icon_default))
                );
            }
        });

        handler.postDelayed(this, 5000);
    } catch (Exception e) {
        Log.e(TAG, "Exception inside run method.");
    }
}

here is the stack trace Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa in tid 5255 (FinalizerDaemon) 08-27 15:50:07.932 298-298/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'motorola/osprey_retasia_ds_2gb/osprey_ud2:6.0.1/MPIS24.107-55-2-17/19:user/release-keys' Revision: 'p2b0' ABI: 'arm' pid: 5244, tid: 5255, name: FinalizerDaemon >>> com.tracking.trackingsample <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa 08-27 15:50:07.951 298-298/? A/DEBUG: r0 b8cb7430 r1 00000000 r2 010103b3 r3 00000000 r4 b8cb7430 r5 0000000b r6 12c5a160 r7 b8cb7430 r8 ffffffff r9 b8bad4e8 sl 12c06940 fp 12c5a160 ip b6f2ce28 sp b4246528 lr b6f1e4a5 pc 0000000a cpsr 60070030 08-27 15:50:07.953 298-298/? A/DEBUG: backtrace: #00 pc 0000000a #01 pc 000224a3 /system/lib/libbinder.so (_ZN7android6Parcel14freeDataNoInitEv+22) #02 pc 00022505 /system/lib/libbinder.so (_ZN7android6ParcelD1Ev+4) #03 pc 0008445f /system/lib/libandroid_runtime.so 08-27 15:50:07.954 298-298/? A/DEBUG: #04 pc 022c48c5 /system/framework/arm/boot.oat (offset 0x2017000) 08-27 15:50:08.547 298-298/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_04 08-27 15:50:08.547 298-298/? E/DEBUG: AM write failed: Broken pipe 08-27 15:50:08.579 2158-5378/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104) 08-27 15:50:08.582 258-258/? E/lowmemorykiller: Error writing /proc/5244/oom_score_adj; errno=22 08-27 15:50:08.610 4914-4914/? E/PBSessionCacheImpl: sessionId[21613535901795867] not persisted. 08-27 15:50:08.647 2158-3674/? E/InputDispatcher: channel '8192067 com.tracking.trackingsample/com.tracking.trackingsample.StartTrip (server)' ~ Channel is unrecoverably broken and will be disposed!

Steps to reproduce

1.set markers on map shows me this error 2. 3.

Expected behavior

The app shouldn't be crashed

Actual behavior

The app is getting crashed with the following error

Configuration

Android versions: 27 Device models: MI Note 4 Mapbox SDK versions:6.3.0

rahulabrol avatar Aug 27 '18 10:08 rahulabrol

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

stale[bot] avatar Feb 23 '19 18:02 stale[bot]