Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: com.mapbox.common.Log in error #2567

Open
marcherdiego opened this issue Jan 27, 2025 · 0 comments
Open

Error: com.mapbox.common.Log in error #2567

marcherdiego opened this issue Jan 27, 2025 · 0 comments
Labels
bug 🪲 Something isn't working

Comments

@marcherdiego
Copy link

Environment

  • Android OS version: 12
  • Devices affected: 1
  • Maps SDK Version: 11.8.1

Observed behavior and steps to reproduce

java.lang.Error: std::bad_alloc
at com.mapbox.common.Log.error(SourceFile)
at com.mapbox.common.MapboxMapsAndroidLogger.internalLogE$sdk_base_release
at com.mapbox.maps.MapboxLogger.logE
at s.d
at fr1.i
at C01.c
at Mn0.invoke
at com.mapbox.maps.threading.AnimationThreadController.postOnMainThread
at gd.onAnimationUpdate
at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1566)
at android.animation.ValueAnimator.animateBasedOnTime(ValueAnimator.java:1357)
at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1489)
at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
at android.view.Choreographer.doCallbacks(Choreographer.java:845)
at android.view.Choreographer.doFrame(Choreographer.java:775)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
at android.os.Handler.handleCallback(Handler.java:978)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8103)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

Expected behavior

No creashes

Notes / preliminary analysis

We use MapBox to display a custom Map in the "Map" tab and also to create a static map image using mapboxMap.getGesturesManager()?.removeStandardGestureListener()

Additional links and references

N/A

@marcherdiego marcherdiego added the bug 🪲 Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant