mapbox / mapbox/mapbox-navigation-android

RouteLineView.renderRouteDrawData crashes while calling com.mapbox.maps.NativeMapImpl.moveStyleLayer

Offen
#6,929 29 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Kotlin
Sterne
651
Forks
321
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Android API:

    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 21
        compileSdkVersion = 33
        targetSdkVersion = 33

        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"

        kotlinVersion = "1.6.0"

        googlePlayServicesVersion = "20.0.0"

        RNMapboxMapsImpl = "mapbox"
    }

Mapbox Navigation SDK version: 2.10.1

Steps to trigger behavior
  1. Start any navigation activity from point A to B. Whether you're using the drop-in UI or standalone components.
Expected behavior

App does not crash and routline is drawn on the map.

Actual behavior

App crashes on routeLineView.renderRouteDrawData(this, value):

            // generate route geometries asynchronously and render them
            val routeLines = routeUpdateResult.routes.map { RouteLine(it, null) }

            routeLineApi.setRoutes(
                    routeLines
            ) { value ->
                mapboxMap.getStyle()?.apply {
                    routeLineView.renderRouteDrawData(this, value)
                }
            }

            // update the camera position to account for the new route
            viewportDataSource.onRouteChanged(routeUpdateResult.routes.first())
            viewportDataSource.evaluate()

In fact when I remove routeLineView.renderRouteDrawData(this, value), navigation runs fine and like you'd expect, the blue line showing the navigation path is not displayed. So to summarize, the library is crashing the app while attempting to draw the navigation path.

And logs:

02-03 11:49:42.515 14215 14428 I Mapbox  : [nav-native]: Async version config for mapbox/driving-traffic resolved with version 2023_01_22-03_00_07 [{"map":{"tileset_version":"2023_01_22-03_00_07"}}]
02-03 11:49:42.724 14215 14215 I Mapbox  : [nav-sdk]: [RouterWrapper] processing successful response from router.getRoute for https://api.mapbox.com/directions/v5/mapbox/driving/-84.3883155,33.7928875;-84.3990724,33.7917353?geometries=polyline6&overview=full&steps=true&continue_straight=true&annotations=congestion_numeric%2Cmaxspeed%2Cclosure%2Cspeed%2Cduration%2Cdistance&language=en&roundabout_exits=true&voice_instructions=true&banner_instructions=true&voice_units=imperial&enable_refresh=true&access_token=redacted
02-03 11:49:42.731 14215 14347 I Mapbox  : [nav-sdk]: [NavigationRoute] NavigationRoute.createAsync is called
02-03 11:49:42.788  1069  1154 D VSC     : @ 435759.933: [WO] Proposed rotation: 4, flat angle threshold: 65
02-03 11:49:42.788  1069  1154 D VSC     : @ 435759.933: [WO] orientation angle 354, orientation 4
02-03 11:49:42.788  1069  1154 D VSC     : @ 435759.933: [WO] Gyro angle integrated: 0.493998
02-03 11:49:42.788  1069  1154 D VSC     : @ 435759.933: [WO] Gyro angle integrated: 0.493998
02-03 11:49:42.796 14215 14215 I Mapbox  : [nav-sdk]: [RouterWrapper] Response metadata: null
02-03 11:49:42.806 14215 14415 I Mapbox  : [nav-native]: Successful route response. Metadata: 
02-03 11:49:42.807 14215 14415 I Mapbox  : [nav-native]: RouteAlternativesControllerImpl::setRoutes isAlternativesChanged. alternatives=[ ], removed=[ ]
02-03 11:49:42.817 14215 14215 W Mapbox  : [TelemetryUtils]: java.lang.SecurityException: getDataNetworkTypeForSubscriber: uid 10330 does not have android.permission.READ_PHONE_STATE.
02-03 11:49:42.843 14135 14467 I tflite  : Initialized TensorFlow Lite runtime.
02-03 11:49:42.844 14135 14467 E tflite  : third_party/tensorflow/lite/core/subgraph.cc:781 tensor.data.raw != nullptr was not true.
02-03 11:49:42.870 14215 14414 W Mapbox  : [nav-native]: Got location with timestamp 435857387028475ns which is <= of timestamp of previous location 435857387028475ns. Filtering...
02-03 11:49:42.870 14215 14414 W Mapbox  : [nav-native]: Location at timestamp 435857387028475ns was filtered out.
02-03 11:49:42.870 14215 14414 W Mapbox  : [nav-native]: Got location timestamp from the past: 435858387028475ns <= 435858387028475ns. No status will be produced.
02-03 11:49:42.880  1055  1810 W LocSvc_ApiV02: reportSv:3444] At least one RF_LOSS is 0 in gps.conf, please configure it
02-03 11:49:42.919 14215 14215 W Mapbox  : [TelemetryUtils]: java.lang.SecurityException: getDataNetworkTypeForSubscriber: uid 10330 does not have android.permission.READ_PHONE_STATE.
02-03 11:49:42.925 21444 14004 W GCoreUlr: Received locations too frequently.
02-03 11:49:42.925 21444 14004 I GCoreUlr: No valid location reports to store
02-03 11:49:43.035  1414 27299 D LOWI-8.6.0.75: [LOWI-Scan] wait_event:Wait done with Cmd 33
02-03 11:49:43.035  1414 27299 D LOWI-8.6.0.75: [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
02-03 11:49:43.138 14215 14477 D TrafficStats: tagSocket(192) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.210 14215 14441 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.216  1019  1056 E netd    : control message was truncated when receiving file descriptors
02-03 11:49:43.219 14215 14441 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.223 14215 14435 D TrafficStats: tagSocket(127) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.223 14215 14434 D TrafficStats: tagSocket(165) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.228 14215 14423 D TrafficStats: tagSocket(195) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.235 14215 14428 D TrafficStats: tagSocket(199) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.265  1722  2313 D ConnectivityService: NetReassign [no changes] [c 1] [a 0] [i 1]
02-03 11:49:43.308 14215 14215 F libc    : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7fcf9eabf8 in tid 14215 (com.*******), pid 14215 (com.*******)
02-03 11:49:43.336 14215 14441 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.339 14215 14435 D TrafficStats: tagSocket(154) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.344 14215 14423 D TrafficStats: tagSocket(195) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.346 14215 14434 D TrafficStats: tagSocket(199) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.349 14215 14436 D TrafficStats: tagSocket(231) with statsTag=0xffffffff, statsUid=-1
02-03 11:49:43.417 14480 14480 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
02-03 11:49:43.421   765   765 I tombstoned: received crash request for pid 14215
02-03 11:49:43.421 14480 14480 I crash_dump64: performing dump of process 14215 (target tid = 14215)
02-03 11:49:43.586 14135 14467 I ControllerWrapperImpl: Done initializing en-us-x-hol-seanet-embedded
02-03 11:49:43.673  1069  1154 D CHRE    : @ 435760.821: [ActivityPlatform] type 6, confidence 41
02-03 11:49:43.818 14480 14480 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-03 11:49:43.818 14480 14480 F DEBUG   : Build fingerprint: 'google/sunfish/sunfish:13/TQ1A.221205.011/9244662:user/release-keys'
02-03 11:49:43.818 14480 14480 F DEBUG   : Revision: 'MP1.0'
02-03 11:49:43.818 14480 14480 F DEBUG   : ABI: 'arm64'
02-03 11:49:43.818 14480 14480 F DEBUG   : Timestamp: 2023-02-03 11:49:43.431106370+0000
02-03 11:49:43.818 14480 14480 F DEBUG   : Process uptime: 50s
02-03 11:49:43.818 14480 14480 F DEBUG   : Cmdline: com.*******
02-03 11:49:43.818 14480 14480 F DEBUG   : pid: 14215, tid: 14215, name: com.*******  >>> com.******* <<<
02-03 11:49:43.818 14480 14480 F DEBUG   : uid: 10330
02-03 11:49:43.818 14480 14480 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x0000007fcf9eabf8
02-03 11:49:43.818 14480 14480 F DEBUG   :     x0  0000007fcf9ea6e0  x1  0000007fcf9e99f8  x2  0000000000000001  x3  b400007016cfae60
02-03 11:49:43.818 14480 14480 F DEBUG   :     x4  0000007fcf9ea6e0  x5  0000006f1a2f7cc4  x6  fefeff388ff49b0a  x7  7f7f7f7fffffff7f
02-03 11:49:43.818 14480 14480 F DEBUG   :     x8  0000007fcf9eabf8  x9  0000000000000003  x10 0000000000003787  x11 0000000000000000
02-03 11:49:43.818 14480 14480 F DEBUG   :     x12 0000000000000000  x13 0000000000000001  x14 ffffffffffffffff  x15 00000000ebad6a89
02-03 11:49:43.818 14480 14480 F DEBUG   :     x16 0000006f1615bd88  x17 000000722e6102c0  x18 000000723fd4c000  x19 0000007fcf9e99f8
02-03 11:49:43.818 14480 14480 F DEBUG   :     x20 0000007fcf9ea6e0  x21 000000723fa1e000  x22 0000000000000001  x23 0000007fcf9ea6e0
02-03 11:49:43.818 14480 14480 F DEBUG   :     x24 0000000000000000  x25 b4000070971f1660  x26 b4000070971f1720  x27 0000000000000008
02-03 11:49:43.818 14480 14480 F DEBUG   :     x28 0000007fcf9eace0  x29 0000007fcf9e99d0
02-03 11:49:43.818 14480 14480 F DEBUG   :     lr  0000006f1a2fc23c  sp  0000007fcf9e99d0  pc  0000007fcf9eabf8  pst 0000000000000000
02-03 11:49:43.818 14480 14480 F DEBUG   : backtrace:
02-03 11:49:43.818 14480 14480 F DEBUG   :       #00 pc 00000000007fabf8  [stack]
02-03 11:49:43.818 14480 14480 F DEBUG   :       #01 pc 00000000000e8238  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #02 pc 00000000000e7e6c  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #03 pc 00000000000e3f50  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #04 pc 00000000000e3da4  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libc++_shared.so (__gxx_personality_v0+224) (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #05 pc 000000000022b044  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libmapbox-maps.so (BuildId: 7b321ac438441100)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #06 pc 000000000022b54c  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libmapbox-maps.so (BuildId: 7b321ac438441100)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #07 pc 00000000004459f4  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libmapbox-maps.so (BuildId: 7b321ac438441100)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #08 pc 00000000002aafec  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libmapbox-maps.so (BuildId: 7b321ac438441100)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #09 pc 000000000028283c  /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/lib/arm64/libmapbox-maps.so (BuildId: 7b321ac438441100)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #10 pc 0000000000440554  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #11 pc 000000000020b74c  /apex/com.android.art/lib64/libart.so (nterp_helper+9292) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #12 pc 0000000000308cae  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.maps.NativeMapImpl.moveStyleLayer+14)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #13 pc 000000000020b74c  /apex/com.android.art/lib64/libart.so (nterp_helper+9292) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #14 pc 0000000000311774  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.maps.Style.moveStyleLayer+24)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #15 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #16 pc 00000000004d8290  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.navigation.ui.maps.route.line.api.MapboxRouteLineView.moveLayersUp-DHT6VO8+88)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #17 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #18 pc 00000000004d7fe4  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.navigation.ui.maps.route.line.api.MapboxRouteLineView.access$moveLayersUp-DHT6VO8+0)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #19 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #20 pc 00000000004d5aa4  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.navigation.ui.maps.route.line.api.MapboxRouteLineView$renderRouteDrawData$1$1$2$2$1$layerMoveCommand$1.invoke+44)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #21 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #22 pc 00000000004d5a34  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.navigation.ui.maps.route.line.api.MapboxRouteLineView$renderRouteDrawData$1$1$2$2$1$layerMoveCommand$1.invoke+0)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #23 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #24 pc 00000000004d5cae  [anon:dalvik-classes10.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes10.dex] (com.mapbox.navigation.ui.maps.route.line.api.MapboxRouteLineView$renderRouteDrawData$1.invokeSuspend+310)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #25 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #26 pc 00000000003a8e9e  [anon:dalvik-classes11.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes11.dex] (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+42)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #27 pc 000000000020b120  /apex/com.android.art/lib64/libart.so (nterp_helper+7712) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #28 pc 00000000004bd560  [anon:dalvik-classes11.dex extracted in memory from /data/app/~~aLiWv3wmWYpVKEaaIWl8nQ==/com.*******-x5D21cxA0MMiq9OkSZygug==/base.apk!classes11.dex] (kotlinx.coroutines.DispatchedTask.run+444)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #29 pc 00000000020795f8  /memfd:jit-cache (deleted) (android.os.Handler.handleCallback+152)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #30 pc 000000000208cad4  /memfd:jit-cache (deleted) (android.os.Handler.dispatchMessage+116)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #31 pc 0000000002026d84  /memfd:jit-cache (deleted) (android.os.Looper.loopOnce+1444)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #32 pc 0000000000209a9c  /apex/com.android.art/lib64/libart.so (nterp_helper+1948) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #33 pc 00000000004982c6  /system/framework/framework.jar (android.os.Looper.loop+162)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #34 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #35 pc 00000000001bbd4a  /system/framework/framework.jar (android.app.ActivityThread.main+202)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #36 pc 0000000000436e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #37 pc 0000000000469534  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1960) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #38 pc 0000000000468d64  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+48) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #39 pc 0000000000099148  /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: c1e4535ad118667c012bcf950ce15dd7736d7b04)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #40 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #41 pc 00000000003fccca  /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #42 pc 00000000007f4f9c  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3228) (BuildId: b482aa8bdaf2c8d5c1a112cf2f5f30dd7912b8b9)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #43 pc 0000000000436e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #44 pc 0000000000582718  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+900) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #45 pc 00000000005f611c  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+160) (BuildId: d307dc6adc4105b5e392ad710770385d)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #46 pc 00000000000bcad0  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: 6f8d5309ab8e0d58d34e0f22448bcf3f)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #47 pc 00000000000c85c4  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+840) (BuildId: 6f8d5309ab8e0d58d34e0f22448bcf3f)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #48 pc 0000000000002554  /system/bin/app_process64 (main+1280) (BuildId: a1ab812b262121cb66f7cbe228dc9674)
02-03 11:49:43.818 14480 14480 F DEBUG   :       #49 pc 000000000004a1f4  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
02-03 11:49:43.847  1722 14485 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
02-03 11:49:43.848  1722 14484 W ActivityTaskManager:   Force finishing activity com.*******/.MainActivity
02-03 11:49:43.848   765   765 E tombstoned: Tombstone written to: tombstone_08
02-03 11:49:43.861  1722  2250 I BootReceiver: Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
02-03 11:49:43.861  1722  2250 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x6
02-03 11:49:43.876  1722  2250 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE_PROTO isTagEnabled=true flags=0x4
02-03 11:49:43.877  1722  1952 I ActivityManager: Showing crash dialog for package com.******* u0
02-03 11:49:43.879  1722  1975 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
02-03 11:49:43.880  1722  1975 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
02-03 11:49:43.881  1722  1975 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
02-03 11:49:43.883  1055  1810 W LocSvc_ApiV02: reportSv:3444] At least one RF_LOSS is 0 in gps.conf, please configure it
02-03 11:49:43.884  1722  1975 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
02-03 11:49:43.917  1722  1952 D CompatibilityChangeReporter: Compat change id reported: 161145287; UID 1000; state: DISABLED
02-03 11:49:43.935  1722  1952 D CoreBackPreview: Window{374726b u0 Application Error: com.*******}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper@a335012, mPriority=0}
02-03 11:49:43.943  3494  4014 I AssistantForeground: (REDACTED) Get launcher package: %s
02-03 11:49:43.946 21444 14004 W GCoreUlr: Received locations too frequently.
02-03 11:49:43.951 21444 14004 I GCoreUlr: No valid location reports to store
02-03 11:49:43.953  1722  9567 E OpenGLRenderer: Unable to match the desired swap behavior.
02-03 11:49:43.983  1722  9567 W Parcel  : Expecting binder but got null!
02-03 11:49:44.025  1722  4095 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10330/14215, [NetworkRequest [ REQUEST id=2845, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10330 RequestorUid: 10330 RequestorPkg: com.******* UnderlyingNetworks: Null] ]], android.os.BinderProxy@1d943b)
02-03 11:49:44.026  1722 10462 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10330/14215, [NetworkRequest [ LISTEN id=2846, [ Capabilities: NOT_METERED&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_VCN_MANAGED Uid: 10330 RequestorUid: 10330 RequestorPkg: com.******* UnderlyingNetworks: Null] ]], android.os.BinderProxy@644758)
02-03 11:49:44.026  1722  2313 D ConnectivityService: releasing NetworkRequest [ REQUEST id=2845, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10330 RequestorUid: 10330 RequestorPkg: com.******* UnderlyingNetworks: Null] ] (release request)
02-03 11:49:44.027  1069  1069 I sensors-hal: [hal]batch_physical_sensor:319, android.sensor.accelerometer/11, period=10000000, max_latency=0
02-03 11:49:44.027  1069  1069 I sensors-hal: [sensor]set_config:64, sample_period_ns is adjusted to 10000000 based on min/max delay_ns
02-03 11:49:44.027  1069  1069 I sensors-hal: [hal]batch_physical_sensor:328, android.sensor.accelerometer/11, period=10000000, max_latency=0 request completed
02-03 11:49:44.027  1020  1020 I Zygote  : Process 14215 exited due to signal 11 (Segmentation fault)
02-03 11:49:44.027  1722 10465 I ActivityManager: Process com.******* (pid 14215) has died: fg  TOP 
02-03 11:49:44.027  1722 10470 D TextToSpeechManagerPerUserService: Unbinding TTS engine: com.google.android.tts. Reason: client process death is reported
02-03 11:49:44.027  1722  2546 I WindowManager: WIN DEATH: Window{ee3c99c u0 com.*******/com.*******.MainActivity}
02-03 11:49:44.027  1722  2546 W InputManager-JNI: Input channel object 'ee3c99c com.*******/com.*******.MainActivity (client)' was disposed without first being removed with the input manager!
02-03 11:49:44.028  1069  1069 I sensors-hal: [hal]batch_physical_sensor:319, android.sensor.accelerometer/11, period=10000000, max_latency=0
02-03 11:49:44.028  1069  1069 I sensors-hal: [sensor]set_config:64, sample_period_ns is adjusted to 10000000 based on min/max delay_ns
02-03 11:49:44.028  1069  1069 I sensors-hal: [hal]batch_physical_sensor:328, android.sensor.accelerometer/11, period=10000000, max_latency=0 request completed
02-03 11:49:44.028  1069  1069 I sensors-hal: [hal]batch_physical_sensor:319, android.sensor.magnetic_field/21, period=20000000, max_latency=0
02-03 11:49:44.028  1069  1069 I sensors-hal: [sensor]set_config:64, sample_period_ns is adjusted to 20000000 based on min/max delay_ns
02-03 11:49:44.028  1069  1069 I sensors-hal: [hal]batch_physical_sensor:328, android.sensor.magnetic_field/21, period=20000000, max_latency=0 request completed
02-03 11:49:44.028  1722  2033 I libprocessgroup: Successfully killed process cgroup uid 10330 pid 14215 in 0ms
02-03 11:49:44.028  1069  1069 I sensors-hal: [hal]activate_physical_sensor:256, android.sensor.gyroscope/41 en=0
02-03 11:49:44.030  1722  1952 D CoreBackPreview: Window{374726b u0 Application Error: com.*******}: Setting back callback null
02-03 11:49:44.031  1722 14484 W WindowManager:   Force finishing activity com.*******/.MainActivity
02-03 11:49:44.031  1722 10465 W ActivityManager: Scheduling restart of crashed service com.*******/com.mapbox.navigation.core.trip.service.NavigationNotificationService in 1800000ms for start-requested
02-03 11:49:44.033  1722  1952 W InputManager-JNI: Input channel object '374726b Application Error: com.******* (client)' was disposed without first being removed with the input manager!
02-03 11:49:44.036  2804  3842 D OneSearchSuggestProvider: Created the binder channel successfully for end point service =com.google.android.apps.search.googleapp.search.suggest.plugins.onesearch.server.OneSearchSuggestService , mChannel=E2{delegate=w2{logId=977, target=directaddress:///AndroidComponentAddress%5BIntent%20%7B%20act=grpc.io.action.BIND%20cmp=com.google.android.googlequicksearchbox/com.google.android.apps.search.googleapp.search.suggest.plugins.onesearch.server.OneSearchSuggestService%20%7D%5D}} , mOneSearchConnection=Q1.d0@7cc04c9
02-03 11:49:44.037  1069  1069 D Diag_Lib: diag: Diag_LSM_DeInit: invoked for pid: 1069
02-03 11:49:44.037  1069  1069 D Diag_Lib: diag: Diag_LSM_DeInit: done for pid: 1069
02-03 11:49:44.039  1069  1069 D Diag_Lib: diag: Diag_LSM_DeInit: invoked for pid: 1069
02-03 11:49:44.039  1069  1069 D Diag_Lib: diag: Diag_LSM_DeInit: done for pid: 1069
02-03 11:49:44.039  1069  1069 I sensors-hal: [hal]activate_physical_sensor:267, android.sensor.gyroscope/41 en=0 completed
02-03 11:49:44.040  1722  1952 W WindowManager: Failed to deliver inset state change to w=Window{ee3c99c u0 com.*******/com.*******.MainActivity EXITING}
02-03 11:49:44.040  1722  1952 W WindowManager: android.os.DeadObjectException
02-03 11:49:44.040  1722  1952 W WindowManager: 	at android.os.BinderProxy.transactNative(Native Method)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at android.os.BinderProxy.transact(BinderProxy.java:584)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:473)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:4013)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$4(InsetsStateController.java:351)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.InsetsStateController.$r8$lambda$An2IoiA3BeA5IWc6QwBOjKArM80(Unknown Source:0)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda3.run(Unknown Source:2)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:345)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace(RootWindowContainer.java:832)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.RootWindowContainer.performSurfacePlacement(RootWindowContainer.java:777)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop(WindowSurfacePlacer.java:177)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:126)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:115)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowState.setupWindowForRemoveOnExit(WindowState.java:2662)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowState.removeIfPossible(WindowState.java:2622)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowState.removeIfPossible(WindowState.java:2484)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2053)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at com.android.server.wm.Session.remove(Session.java:230)
02-03 11:49:44.040  1722  1952 W WindowManager: 	at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:5290)
02-03 11:4

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduzieren Sie den Absturz, indem Sie eine Navigationsaktivität von Punkt A nach B starten, und verfolgen Sie den Aufruf routeLineView.renderRouteDrawData(this, value). Untersuchen Sie die Interaktion mit com.mapbox.maps.NativeMapImpl.moveStyleLayer und dem gemeldeten libmapbox-maps.so-Backtrace. Als erledigt gilt die Aufgabe, wenn die Navigation nicht mehr abstürzt und die blaue Routenlinie gerendert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, kotlin
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.