Skip to content

[com.citymapper.app.release] mapbox: pixelRatio may not be <= 0 #3238

Description

@pellaeon

Affected app
Name: Citymapper 11.46.1
Package id: com.citymapper.app.release

Describe the bug
App crashes when showing planned route.

To Reproduce
Steps to reproduce the behavior:

  1. Launch app
  2. Start planning a route by selecting a destination
  3. Click the green right arrow
  4. The app displays a list of suggested routes
  5. Click on any of the suggested routes
  6. The app force closes. Sometimes the app would show the route details fine, but selecting another suggested route would crash the app.

adb log:

01-19 11:49:13.948  5632  5632 I Module  : DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():103 repeatCheckTimes = 1, locked = false
01-19 11:49:13.950   680   680 D CompositionEngine: Layer: com.citymapper.app.release/com.citymapper.app.MainActivity#53366 had an out of bounds transparent region
01-19 11:49:13.950   680   680 D Region  :   Region transparentRegionHint (this=0xb400007d0558d610, count=1)
01-19 11:49:13.950   680   680 D Region  :     [  0, -957, 1080,  -5]
01-19 11:49:13.957  6007  6093 D ChimeraServiceProvider: serviceIntentCall: com.google.android.gms.common.telemetry.service.START -> Intent { act=com.google.android.gms.common.telemetry.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.common.ClientTelemetryService }
01-19 11:49:13.960  1747  2584 D BackgroundInstallControlService: Package event received: 0
01-19 11:49:13.964  6007  6007 D ClientTelemetryService: onBind: Intent { act=com.google.android.gms.common.telemetry.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.common.ClientTelemetryService }
01-19 11:49:13.965 20539 20539 D AndroidRuntime: Shutting down VM
01-19 11:49:13.965 20539 20539 E AndroidRuntime: FATAL EXCEPTION: main
01-19 11:49:13.965 20539 20539 E AndroidRuntime: Process: com.citymapper.app.release, PID: 20539
01-19 11:49:13.965 20539 20539 E AndroidRuntime: java.lang.Error: pixelRatio may not be <= 0
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.mapbox.mapboxsdk.maps.NativeMapView.nativeAddImages(Native Method)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.mapbox.mapboxsdk.maps.NativeMapView.addImages(NativeMapView.java:951)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.mapbox.mapboxsdk.maps.Style.addImage(Style.java:378)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.mapbox.mapboxsdk.maps.Style.addImage(Style.java:318)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl$registerBitmap$2$1.invoke(BitmapDescriptorFactory.kt:124)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl$registerBitmap$2$1.invoke(BitmapDescriptorFactory.kt:123)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at org.microg.gms.maps.mapbox.GoogleMapKt.runOnMainLooper$lambda$1(GoogleMap.kt:75)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at org.microg.gms.maps.mapbox.GoogleMapKt.$r8$lambda$dW2FHIi0lKJIyIsMsDPgDPffCCc(Unknown Source:0)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at org.microg.gms.maps.mapbox.GoogleMapKt$$ExternalSyntheticLambda0.run(Unknown Source:2)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:991)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:232)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:317)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8934)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
01-19 11:49:13.965 20539 20539 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

Expected behavior
Shows the route details

System
Android Version: 15
Custom ROM: LineageOS 22.2

microG
microG Core version: 0.3.11.250932
microG Self-Check results: All except: search for accounts, show notifications, interact with work profile

Additional context
Citymapper versions from the past 2 months have the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions