Use removeMarker(marker) will be crash

2 posts / 0 new
Last post
zzd
Use removeMarker(marker) will be crash

My SDK version is 1.3.18

when I use the way to remove markers  and my app will be crash

List<Marker> markers = mapboxMap.getMarkers();//markers.size()>100

for (Marker marker : markers) {
mapboxMap.removeMarker(marker);
}

 

Crash Log:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'Xiaomi/scorpio/scorpio:7.0/NRD90M/V9.2.2.0.NADCNEK:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 10414, tid: 10414, name: m.gesila.indigo  >>> com.gesila.indigo <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
    r0 00000000  r1 00000008  r2 f0600500  r3 00000080
    r4 c6043a08  r5 c6043a0c  r6 ffd23920  r7 c6043a54
    r8 ffd23984  r9 ba17a020  sl f05e3780  fp cf77a648
    ip f1564948  sp ffd238a0  lr f15438cb  pc d0a6757c  cpsr 200f0010

backtrace:
    #00 pc 001b457c  /data/app/com.gesila.indigo-1/lib/arm/libmapbox-gl.so
    #01 pc 001b40d0  /data/app/com.gesila.indigo-1/lib/arm/libmapbox-gl.so
    #02 pc 0019dc28  /data/app/com.gesila.indigo-1/lib/arm/libmapbox-gl.so
    #03 pc 0019e204  /data/app/com.gesila.indigo-1/lib/arm/libmapbox-gl.so
    #04 pc 000ce1e4  /data/app/com.gesila.indigo-1/lib/arm/libmapbox-gl.so
    #05 pc 00175698  /data/app/com.gesila.indigo-1/lib/arm/libmapbox


MQBrianCoakley
Does the same thing happen in
Does the same thing happen in v1.3.2?