You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App is crashing on ios when using the map a lot.
It is very easy to reproduce in example app.
Just enter one page with map, go back, enter again, go back.
Repeat several times and app will crash.
In my case on iphone 6s:
open and close Full screen map 47 times, then crash
open and close User interface 28 times, then crash
In my project it takes 16-18 times to open and close map page before it crashes.
The only log from xcode that I had after app crashing was: Message from debugger: Terminated due to memory issue
Activity
lj64 commentedon Jul 1, 2020
I have the same problem.
App is crashing on ios when using the map a lot.
It is very easy to reproduce in example app.
Just enter one page with map, go back, enter again, go back.
Repeat several times and app will crash.
In my case on iphone 6s:
In my project it takes 16-18 times to open and close map page before it crashes.
The only log from xcode that I had after app crashing was:
Message from debugger: Terminated due to memory issuekleeb commentedon Jul 2, 2020
+1
m0nac0 commentedon Jul 2, 2020
@thuydao @kleeb Is this only on iOS?
kleeb commentedon Jul 2, 2020
Yes. I reproduced that even on the example app
kuhnroyal commentedon Jul 29, 2020
This seems to happen only on iOS. Does anyone know if this happens in the flutter-mapbox-gl plugin or in the native code?
kuhnroyal commentedon Jul 30, 2020
Inspecting this with XCode instruments you can see the
MapboxMapControllerdoes not get cleaned up. The reference count keeps going up.thirteenthstep commentedon Jul 31, 2020
Pull Request #370 should fix this
tobrun commentedon Nov 7, 2020
#370 merged, please reach out if still an issue