mapbox / mapbox/mapbox-navigation-android
Android app crashes.(E/libEGL: call to OpenGL ES API with no current context (logged once per thread))
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
- First we show map fragment to choose another point of interest after which we draw route line between the two points.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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