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

OpenGL rendering in background state crash on v5.3 #15740

Closed

Description

@Svantulden

In our Crashlytics tool we see a crash of our app that is related to OpenGL rendering while the app is in the background state (according to the insight Fabric offers).

Screenshot of stacktrace

crash_mapbox_backgroundstate

Steps to reproduce

?? This crash happens for our users and I haven't been able to accurately reproduce it yet.

Configuration

Mapbox SDK versions: v5.3 of Mapbox SDK, v0.37 of Mapbox Navigation SDK
iOS/macOS versions: Seems to happen on iOS 12 versions only so far (had 50 crashes for 10 unique users so not a big enough sample size to know this for sure)
Device/simulator models: Seems to be iPhone 6 and 6 plus so far
Xcode version: XCode 11.1

Activity

  1. changed the title [-]OpenGL rendering in background state iOS 13 crash on v5.3[/-] [+]OpenGL rendering in background state crash on v5.3[/+] on Oct 2, 2019
  2. added
    iOS
    on Oct 3, 2019
  3. julianrex commented on Oct 3, 2019

    @julianrex
    Contributor

    Thanks @Svantulden we have a couple of previous issues related to this one:

    Do you host your map view in a child view controller, presentation view controller or similar?

  4. Svantulden commented on Oct 4, 2019

    @Svantulden
    Author

    Good to know, thanks!

    We don't use a child viewcontroller or a presentation viewcontroller. To be precise, we use a NavigationMapView from the MapboxNavigation framework and add that as a subview for our ViewController. It is just a conventional UIViewController that we add the mapview to its view.

    Also good to know that we have CarPlay support in our app, so it could also be that it's presented as an inserted subview of the rootViewController of the CPWindow. We don't have enough context in the crash report if it's the CarPlay mapview or the iPhone one.

  5. julianrex commented on Oct 4, 2019

    @julianrex
    Contributor

    @Svantulden this is fantastic feedback/info! Thank you. Can you tell if any of the crashes happened when CarPlay was active? We definitely have an specialism for CarPlay, so my gut is telling me that it's probably related.

  6. Svantulden commented on Oct 8, 2019

    @Svantulden
    Author

    Unfortunately we don't have extra information in the crash report that could indicate a CarPlay connection or not. When someone with that crash contacts our support, we'll ask for a logfile so we can determine that 👍

  7. added
    archived
    on Apr 5, 2020
  8. stale commented on Apr 5, 2020

    @stale

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    archivedbugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions