SDKBox Ads issue

Hi @yinjimmy we are getting bunch of these crashes from com.sdkbox.adbooster.AdBooster.nativeShowInterstital you have any ideas?

cocos2d-x 3.17.2
sdkbox 2.6.0.1

Thanks!

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.game.fun <<<

backtrace:
  #00  pc 00000000006eacd0  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so
  #01  pc 000000000098edc8  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so
  #02  pc 000000000098acd0  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so
  #03  pc 0000000000986a94  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::EventDispatcher::dispatchEventToListeners(cocos2d::EventDispatcher::EventListenerVector*, std::__ndk1::function<bool (cocos2d::EventListener*)> const&)+364)
  #04  pc 0000000000987074  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::EventDispatcher::dispatchEvent(cocos2d::Event*)+284)
  #05  pc 0000000000987c74  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::EventDispatcher::dispatchCustomEvent(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, void*)+60)
  #06  pc 000000000063c22c  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (yaya::RewardItem::runDyingSequence()+140)
  #07  pc 00000000006e4f34  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (yaya::RuntimeLayer::AfterWorldStep(float)+1076)
  #08  pc 0000000000698810  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (yaya::_BaseRubLayer::update(float)+16)
  #09  pc 00000000006e7b04  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (yaya::RuntimeLayer::update(float)+40)
  #10  pc 0000000000996eec  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::Scheduler::update(float)+208)
  #11  pc 000000000097e95c  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::Director::drawScene()+80)
  #12  pc 0000000000981690  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/lib/arm64/libMyGame.so (cocos2d::Director::mainLoop()+132)
  #13  pc 00000000000b5410  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/oat/arm64/base.odex (offset 0xb5000) (com.sdkbox.adbooster.AdBooster.nativeShowInterstital [DEDUPED]+144)
  #14  pc 0000000000231370  /data/app/com.game.fun-TPRoTW0ZlA51j86mDiHhNw==/oat/arm64/base.odex (offset 0xb5000) (org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame+80)
  #15  pc 0000000000a87a68  /system/framework/arm64/boot-framework.oat (offset 0x3ad000) (android.opengl.GLSurfaceView$GLThread.guardedRun+3976)
  #16  pc 0000000000a88b30  /system/framework/arm64/boot-framework.oat (offset 0x3ad000) (android.opengl.GLSurfaceView$GLThread.run+224)
  #17  pc 000000000055b788  /system/lib64/libart.so (art_quick_invoke_stub+584)
  #18  pc 00000000000d02c8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
  #19  pc 000000000045ee70  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
  #20  pc 000000000045ff2c  /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
  #21  pc 000000000048d104  /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
  #22  pc 0000000000091e28  /system/lib64/libc.so (__pthread_start(void*)+36)
  #23  pc 0000000000023c78  /system/lib64/libc.so (__start_thread+68)

thanks, i’m testing on this.

what ads plugin do you use in your game?

@yinjimmy using Admob and Unity. Thank you!

sdkbox-android.zip (1.5 MB)

plz help help to test this package.

Thanks,

@yinjimmy no way we can help you test it since it don’t have repo steps and only see it in production randomly.

How confident it will fix the issue and not break something?

Thanks!

@yinjimmy can you please get back to us?

You able to reproduce it and the zip package is the fix?
Can you please tell us what was done and how confident it will fix the issue and not break something?

Thank you!

  1. I can not reproduce this issue.
  2. The SDKBox core has has remove all functions of adbooster.

The java, objective-c of AdBooster has been removed.

test / test / test.


Hi @yinjimmy the issue reference to com.sdkbox.adbooster.AdBooster.nativeShowInterstital in C++ can we assume it’s also removed along with the others you mention above?

By the way we appreciate your help!

Thank you!

The adbooster cpp has been keep empty function, because it used in AdMob.

The next version, the AdBooster cpp will be remove too.

Thanks,

Thank you! We will test it out and get back.

@yinjimmy when do you plan to have the next version available so we can plan for it.

Thank you!

Thanks!

We got crashes for this too, when will the update be delivered?

backtrace:
  #00  pc 000000000001dde8  /system/lib64/libc.so (memcpy+248)
  #01  pc 00000000009e2228  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::TextureAtlas::drawNumberOfQuads(long, long)+144)
  #02  pc 00000000009d866c  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Renderer::processRenderCommand(cocos2d::RenderCommand*)+280)
  #03  pc 00000000009d8e84  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Renderer::visitRenderQueue(cocos2d::RenderQueue&)+716)
  #04  pc 00000000009d8fe4  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Renderer::render()+108)
  #05  pc 000000000094b698  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Scene::render(cocos2d::Renderer*, cocos2d::Mat4 const*, cocos2d::Mat4 const*, unsigned int)+468)
  #06  pc 0000000000993894  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Director::drawScene()+348)
  #07  pc 00000000009962dc  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/split_config.arm64_v8a.apk (offset 0x2fd000) (cocos2d::Director::mainLoop()+132)
  #08  pc 0000000000047640  /data/app/com.{company}.google.{game}-BMoFFHBVPgoEezJM6V6gRw==/oat/arm64/base.odex (offset 0x47000) (com.sdkbox.adbooster.AdBooster.nativeShowInterstital [DEDUPED]+144)
  #09  pc 000000000001f628  /dev/ashmem/dalvik-jit-code-cache_11858_11858 (deleted)

We are thinking SDKBox might be dead and should move on. @slackmoehrle might know more.

Why do you think that?

Well…

  1. Asked when next version with fix with no answer.

  2. No new features

We understand it’s free and we greatly appreciate it.

Understand it’s free and you are grateful is the opposite of telling folks you believe it’s dead. It might be nice to ask before you start telling people your opinion because now that’s all they will see.

@yinjimmy can you answer the post above please on version timing.

Ok, you are right I should have asked before telling my opinion.

I can say that sdkbox is alive and well and we have a growth plan that is being talked about as well as making sure it works with Creator again, etc. we will talk more about this.

1 Like

Great excited to hear soon!

now, adboost is removed ad staging, will release to official version when we are ready