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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
AppName(3849,0x16e087000) malloc: *** mach_vm_map(size=805306368) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
(lldb)
We have the same issue on our Android app since 10am (French time), do you plan to add a fix in the Android SDK too ? Is there any solution without having to update the app with a new MapBox SDK version ?
@HappyDr0id sorry to hear you're affected by this, we're working on a fix to address this problem as soon as possible. In the meanwhile, there're a couple of things you could do to mitigate this issue:
You could recommend your users to clear their app cache.
You could change the style in the app to a new style. This will invalidate the cache and load a fresh style from the server (this requires an app store submission).
@zugaldia Okay, thanks a lot for your answer, I will push an update on the PlayStore with a new map style. I hope that it will fix the issue. Keep up the good work !
To add a little more clarity on who would be affected by this bug:
Any version of both the Mapbox iOS and Android SDKs
Some users who made a request for a Mapbox style between ~12:00am GMT and ~6:00am GMT today
Because mapbox-gl-native caches styles once fetched from the server, this most likely only affected new users fetching a style for the first time.
The above bullet is also why the bug occurred; a bad style was fetched from the server and cached on the users device. The map would then try to render the bad style and the app would fail.
You could recommend your users to clear their app cache (not possible on iOS)
You could change the style in the app to a new style. This will invalidate the cache and load a fresh style from the server (this requires an app store submission).
This PR will be rolled into a release today that will fix the issue.
Activity
wanggang316 commentedon Jul 19, 2016
Me to, couse our app 200+ crashs online, what's happened?
Paladinfeng commentedon Jul 19, 2016
it affected me too. the memmory increase to hundreds of MB. the thread would be killed
type-it commentedon Jul 19, 2016
I Found that using
pod "Mapbox-iOS-SDK", "~> 3.2.0"
Works correctly ;-)
Paladinfeng commentedon Jul 19, 2016
the service was resumed at 7:00pm (time zone: Beijing)
friedbunny commentedon Jul 19, 2016
We’re investigating, thanks for your patience.
1ec5 commentedon Jul 19, 2016
We’re tracking the fix in #5723 and will release the fix today in v3.3.1.
HappyDr0id commentedon Jul 19, 2016
We have the same issue on our Android app since 10am (French time), do you plan to add a fix in the Android SDK too ? Is there any solution without having to update the app with a new MapBox SDK version ?
zugaldia commentedon Jul 19, 2016
@HappyDr0id sorry to hear you're affected by this, we're working on a fix to address this problem as soon as possible. In the meanwhile, there're a couple of things you could do to mitigate this issue:
HappyDr0id commentedon Jul 19, 2016
@zugaldia Okay, thanks a lot for your answer, I will push an update on the PlayStore with a new map style. I hope that it will fix the issue. Keep up the good work !
bsudekum commentedon Jul 19, 2016
To add a little more clarity on who would be affected by this bug:
Like @zugaldia pointed out in #5722 (comment), the best path forward is:
bleege commentedon Jul 19, 2016
We're releasing the PR on Android as
4.1.1today. The release can be tracked here: #5725bleege commentedon Jul 19, 2016
Android 4.1.1 is now released and publicly available on Maven Central. #5725 (comment)
1ec5 commentedon Jul 19, 2016
The fix is now in iOS SDK v3.3.1 and macOS SDK v0.2.1 as well.