mapbox / mapbox/mapbox-navigation-android

Android app crashes.(E/libEGL: call to OpenGL ES API with no current context (logged once per thread))

Open
#3,847 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Android API: 30
Mapbox Navigation SDK version: 0.43.0-alpha.1

Steps to trigger behaviour
  1. First we show map fragment to choose another point of interest after which we draw route line between the two points.
  2. Now taking the current route to navigation ui which is also showing in fragment and it works well.
    3.Now when we pressed back button we received the above(title in red line) in log cate and map view shows but when we click on it again the app crashes.
Expected behaviour

We need to close the navigation fragment on back button pressed and then show the map view again to select the route.

Actual behaviour

Pressing back button show miss behaving by freezing map fragment and then crashes the app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the flow on Android API 30 with Mapbox Navigation SDK 0.43.0-alpha.1: open the map fragment, draw a route, enter the navigation UI, and press Back. Start by tracing the map and navigation fragment transition and the reported E/libEGL log; done means Back closes navigation, restores a responsive map for route selection, and does not crash when the map is clicked.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.