[SOLVED] SDKBoxAds Keeps Crashing (running Admob,UnityAds,AdColony..)

Hi,
I’m running the following networks on my app : AdMob,UnityAds,AdColony and Chartboost, and i’m using SDKBOXAds to mediate using placements with weight strategy.

I experienced random crashes when calling Interstitial placement from SdkBoxAds from all networks i’m using. it doesnt happen always. but surely very often!

here are some logs. and this is caused by what it seems to be called : google-breakpad?
Note : this concerns Android and i’m using S8+ real device for testing.

LOGS for Admob Interstitial calling:

08-17 21:19:13.323 26924-27029/com.games.mygame D/SdkboxAds: PluginSdkboxAds onAdAction: unit:'AdMob' zone:'interstitial' action:'AD_STARTED' extras:'false'
08-17 21:19:13.324 26924-27432/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 21:19:13.324 26924-27432/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 21:19:13.349 26924-27400/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 21:19:13.349 26924-27400/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 21:19:13.412 26924-26924/com.games.mygame I/SemDesktopModeManager: registerListener: android.view.ViewRootImpl$3@ab983df
08-17 21:19:13.413 26924-26924/com.games.mygame D/ViewRootImpl@4a5482c[AdActivity]: ThreadedRenderer.create() translucent=true
08-17 21:19:13.415 26924-26924/com.games.mygame D/InputTransport: Input channel constructed: fd=168
08-17 21:19:13.415 26924-26924/com.games.mygame D/ViewRootImpl@4a5482c[AdActivity]: setView = DecorView@46552f5[AdActivity] touchMode=true
08-17 21:19:13.419 26924-27029/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
08-17 21:19:13.419 26924-27029/com.games.mygame W/google-breakpad: Chrome build fingerprint:
08-17 21:19:13.419 26924-27029/com.games.mygame W/google-breakpad: 68.0.3440.91
08-17 21:19:13.419 26924-27029/com.games.mygame W/google-breakpad: 344009152
08-17 21:19:13.419 26924-27029/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
08-17 21:19:13.420 26924-27029/com.games.mygame A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 27029 (GLThread 7933)
08-17 21:19:13.427 26924-26924/com.games.mygame D/ViewRootImpl@4a5482c[AdActivity]: dispatchAttachedToWindow
08-17 23:31:03.536 6247-6271/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 23:31:03.537 6247-6271/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 23:31:03.946 6247-6247/com.games.mygame D/ViewRootImpl@72f43da[AppActivity]: ViewPostImeInputStage processPointer 0
08-17 23:31:03.995 6247-6247/com.games.mygame D/ViewRootImpl@72f43da[AppActivity]: ViewPostImeInputStage processPointer 1
08-17 23:31:04.550 6247-6247/com.games.mygame D/ViewRootImpl@72f43da[AppActivity]: MSG_WINDOW_FOCUS_CHANGED 0
08-17 23:31:04.550 6247-6247/com.games.mygame D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=false
08-17 23:31:04.552 6247-6247/com.games.mygame D/Cocos2dxActivity: onPause()
08-17 23:31:04.553 6247-6247/com.games.mygame D/AudioFocusManager: abandonAudioFocus succeed!
08-17 23:31:04.574 6247-6247/com.games.mygame D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdOverlayCreatorImpl
08-17 23:31:04.574 6247-6276/com.games.mygame D/cocos2d-x debug info: cocos_audioengine_focus_change: 0
08-17 23:31:04.574 6247-6276/com.games.mygame D/cocos2d-x debug info: cocos_audioengine_focus_change : cocos_audioengine_focus_change: AudioEngineImpl isn't ready!
08-17 23:31:04.576 6247-6711/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 23:31:04.576 6247-6711/com.games.mygame I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
08-17 23:31:04.582 6247-6276/com.games.mygame D/SdkboxAds: PluginSdkboxAds onAdAction: unit:'AdMob' zone:'interstitial' action:'AD_STARTED' extras:'false'
08-17 23:31:04.624 6247-6275/com.games.mygame D/TcpOptimizer: [com.games.mygame] Full closed: sid=67, tcpi_state=8
08-17 23:31:04.629 6247-6247/com.games.mygame I/SemDesktopModeManager: registerListener: android.view.ViewRootImpl$3@f43cd2a
08-17 23:31:04.680 6247-6247/com.games.mygame D/ViewRootImpl@dd571b[AdActivity]: ThreadedRenderer.create() translucent=true
08-17 23:31:04.684 6247-6247/com.games.mygame D/InputTransport: Input channel constructed: fd=107
08-17 23:31:04.684 6247-6247/com.games.mygame D/ViewRootImpl@dd571b[AdActivity]: setView = DecorView@8aa80b8[AdActivity] touchMode=true
08-17 23:31:04.691 6247-6276/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
08-17 23:31:04.691 6247-6276/com.games.mygame W/google-breakpad: Chrome build fingerprint:
08-17 23:31:04.691 6247-6276/com.games.mygame W/google-breakpad: 68.0.3440.91
08-17 23:31:04.691 6247-6276/com.games.mygame W/google-breakpad: 344009152
08-17 23:31:04.691 6247-6276/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
08-17 23:31:04.691 6247-6276/com.games.mygame A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 6276 (GLThread 10503)
                                                                 
                                                                 [ 08-17 23:31:04.692  3135: 3135 W/         ]
                                                                 debuggerd: handling request: pid=6247 uid=10391 gid=10391 tid=6276
08-17 23:31:04.695 6247-6247/com.games.mygame D/ViewRootImpl@dd571b[AdActivity]: dispatchAttachedToWindow

AdColony logs :

> 08-17 22:40:14.375 12387-12387/com.games.mygame D/AudioFocusManager: abandonAudioFocus succeed!
> 08-17 22:40:14.396 12387-12515/com.games.mygame D/cocos2d-x debug info: cocos_audioengine_focus_change: 0
> 08-17 22:40:14.396 12387-12515/com.games.mygame D/cocos2d-x debug info: cocos_audioengine_focus_change : cocos_audioengine_focus_change: AudioEngineImpl isn't ready!
> 08-17 22:40:14.508 12387-12515/com.games.mygame D/SdkboxAds: PluginSdkboxAds onAdAction: unit:'AdColony' zone:'interstitial' action:'AD_STARTED' extras:'false'
> 08-17 22:40:14.652 12387-12387/com.games.mygame I/SemDesktopModeManager: registerListener: android.view.ViewRootImpl$3@43e5b0c
> 08-17 22:40:14.658 12387-12387/com.games.mygame D/ViewRootImpl@9cca66a[AdColonyInterstitialActivity]: ThreadedRenderer.create() translucent=false
> 08-17 22:40:14.666 12387-12515/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
> 08-17 22:40:14.666 12387-12515/com.games.mygame W/google-breakpad: Chrome build fingerprint:
> 08-17 22:40:14.666 12387-12515/com.games.mygame W/google-breakpad: 68.0.3440.91
> 08-17 22:40:14.666 12387-12515/com.games.mygame W/google-breakpad: 344009152
> 08-17 22:40:14.666 12387-12515/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
> 08-17 22:40:14.667 12387-12387/com.games.mygame D/InputTransport: Input channel constructed: fd=197
> 08-17 22:40:14.667 12387-12387/com.games.mygame D/ViewRootImpl@9cca66a[AdColonyInterstitialActivity]: setView = DecorView@6d3575b[AdColonyInterstitialActivity] touchMode=true
> 08-17 22:40:14.668 12387-12515/com.games.mygame A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 12515 (GLThread 9485)

Chartboost Logs :

> 08-17 23:11:36.961 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.addEventListener ready,function(){mraid.isViewable()?initialize_template():mraid.addEventListener("viewableChange",function(t){t&&initialize_template()})} -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:36.996 21118-21147/com.games.mygame D/skia: Encode PNG Singlethread :      21307 us, width=126, height=126
> 08-17 23:11:37.000 21118-21292/com.games.mygame D/SensorManager: registerListener :: 22, Samsung Game Rotation Vector, 16666, 0,  
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.fireStateChangeEvent default -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.triggerEventListeners [object Arguments] -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:No listeners found -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.fireReadyEvent -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.triggerEventListeners [object Arguments] -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:Calling event listeners for ready -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.isViewable: false -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.004 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.addEventListener viewableChange,function(t){t&&initialize_template()} -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.005 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.fireViewableChangeEvent true -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.005 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.triggerEventListeners [object Arguments] -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.005 21118-21118/com.games.mygame D/bc: Chartboost Webview:Calling event listeners for viewableChange -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.013 21118-21292/com.games.mygame D/SensorManager: unregisterListener :: 22, Samsung Game Rotation Vector,  
> 08-17 23:11:37.018 21118-21118/com.games.mygame D/bc: Chartboost Webview:Chartboost.Utils.show -- From line 1 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.021 21118-21118/com.games.mygame D/CBWebChromeClient: JavaScript to native show callback triggered.
> 08-17 23:11:37.023 21118-21140/com.games.mygame D/SdkboxAds: PluginSdkboxAds onAdAction: unit:'Chartboost' zone:'interstitial' action:'AD_STARTED' extras:'false'
> 08-17 23:11:37.064 21118-21118/com.games.mygame D/bc: Chartboost Webview:mraid.useCustomClose true -- From line 3 of file:///data/user/0/com.games.mygame/cache/.chartboost/
> 08-17 23:11:37.065 21118-21118/com.games.mygame E/CBWebChromeClient: JavaScript to native useCustomClose callback not recognized.
> 08-17 23:11:37.171 21118-21140/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
> 08-17 23:11:37.171 21118-21140/com.games.mygame W/google-breakpad: Chrome build fingerprint:
> 08-17 23:11:37.171 21118-21140/com.games.mygame W/google-breakpad: 68.0.3440.91
> 08-17 23:11:37.171 21118-21140/com.games.mygame W/google-breakpad: 344009152
> 08-17 23:11:37.171 21118-21140/com.games.mygame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
> 08-17 23:11:37.171 21118-21140/com.games.mygame A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 21140 (GLThread 10295)
>                                                                    
>                                                                    [ 08-17 23:11:37.173  3135: 3135 W/         ]
>                                                                    debuggerd: handling request: pid=21118 uid=10391 gid=10391 tid=21140

I solved this. this issue was caused by bad setup of SdkBoxAds’s listener. i had multiple scenes using setListener() and running in stack. and i wasn’t setting the listener back whenever i popped up everything and went to original scene.

1 Like

It’s great.