question

Stamen avatar image
Stamen asked

Random crashes of Unity3d game in Kindle Fire 1st gen

Hello, I have made Unity game for google play. Yesterday I started porting it for the amazon app store( integrating game circle, ect. ). I built my game and run it on Kindle Fire 1st. It worked fine at the first run after build. When I tried to run it for a second time the game crashed at loading. This happened again and again before I make new install of the game or restart the device. I tried it on non amazon devices and the game worked fine. Here are the log messages I receive: 02-27 22:45:47.054: I/ActivityManager(1389): Start proc com.amazon.dcp for service com.amazon.dcp/.metrics.MetricsService: pid=3651 uid=32000 gids={2001, 3003, 1015, 1007, 1026} 02-27 22:45:48.710: I/ActivityManager(1389): Process com.android.inputmethod.latin (pid 1461) has died. 02-27 22:45:48.710: W/ActivityManager(1389): Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 32697ms 02-27 22:45:48.765: E/InputDispatcher(1389): channel '407922f8 InputMethod (server)' ~ Consumer closed input channel or an error occurred. events=0x8 02-27 22:45:48.765: E/InputDispatcher(1389): channel '407922f8 InputMethod (server)' ~ Channel is unrecoverably broken and will be disposed! 02-27 22:45:48.789: I/WindowManager(1389): WIN DEATH: Window{407922f8 InputMethod paused=false} 02-27 22:45:48.804: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.015: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.015: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.015: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.015: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.023: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.023: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.023: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.023: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:911) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.648: I/ActivityManager(1389): Process com.amazon.ags.app (pid 3575) has died. 02-27 22:45:49.648: W/ActivityManager(1389): Scheduling restart of crashed service com.amazon.ags.app/.service.AmazonGamesService in 41763ms 02-27 22:45:49.695: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.695: I/ActivityManager(1389): Process com.amazon.dcp (pid 3651) has died. 02-27 22:45:49.695: W/ActivityManager(1389): Scheduling restart of crashed service com.amazon.dcp/.metrics.MetricsService in 51714ms 02-27 22:45:49.695: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.703: V/KindleFireIPCProxy(3489): synchronousBinder:android.os.BinderProxy@4065a998 serviceMessengerClient:null 02-27 22:45:49.703: V/KindleFireIPCProxy(3489): synchronousBinder:null serviceMessengerClient:null 02-27 22:45:50.507: D/Request(3489): Warning: Sessionless Request needs token but missing either application ID or client token. 02-27 22:45:53.773: E/InputDispatcher(1389): channel '4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8 02-27 22:45:53.773: E/InputDispatcher(1389): channel '4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 02-27 22:45:53.812: I/WindowManager(1389): WINDOW DIED Window{4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity paused=false} 02-27 22:45:53.859: I/ActivityManager(1389): Process com.company.game (pid 3489) has died. 02-27 22:45:53.984: W/WindowManager(1389): Failed looking up window 02-27 22:45:53.984: W/WindowManager(1389): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4094e400 does not exist 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8177) 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8168) 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService$WindowState$DeathRecipient.binderDied(WindowManagerService.java:7027) 02-27 22:45:53.984: W/WindowManager(1389): at android.os.BinderProxy.sendDeathNotice(Binder.java:381) 02-27 22:45:53.984: W/WindowManager(1389): at dalvik.system.NativeStart.run(Native Method) ------------------------------------------------------------------------------------------------------------------------------------------------------- 02-27 22:45:47.054: I/ActivityManager(1389): Start proc com.amazon.dcp for service com.amazon.dcp/.metrics.MetricsService: pid=3651 uid=32000 gids={2001, 3003, 1015, 1007, 1026} 02-27 22:45:48.710: I/ActivityManager(1389): Process com.android.inputmethod.latin (pid 1461) has died. 02-27 22:45:48.710: W/ActivityManager(1389): Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 32697ms 02-27 22:45:48.765: E/InputDispatcher(1389): channel '407922f8 InputMethod (server)' ~ Consumer closed input channel or an error occurred. events=0x8 02-27 22:45:48.765: E/InputDispatcher(1389): channel '407922f8 InputMethod (server)' ~ Channel is unrecoverably broken and will be disposed! 02-27 22:45:48.789: I/WindowManager(1389): WIN DEATH: Window{407922f8 InputMethod paused=false} 02-27 22:45:48.804: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.015: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.015: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.015: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.015: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.015: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.015: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.023: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.023: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.023: W/InputManagerService(1389): Session failed to close due to remote exception 02-27 22:45:49.023: W/InputManagerService(1389): android.os.DeadObjectException 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.BinderProxy.transact(Native Method) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:911) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069) 02-27 22:45:49.023: W/InputManagerService(1389): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.handleCallback(Handler.java:587) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Handler.dispatchMessage(Handler.java:92) 02-27 22:45:49.023: W/InputManagerService(1389): at android.os.Looper.loop(Looper.java:130) 02-27 22:45:49.023: W/InputManagerService(1389): at com.android.server.ServerThread.run(SystemServer.java:636) 02-27 22:45:49.648: I/ActivityManager(1389): Process com.amazon.ags.app (pid 3575) has died. 02-27 22:45:49.648: W/ActivityManager(1389): Scheduling restart of crashed service com.amazon.ags.app/.service.AmazonGamesService in 41763ms 02-27 22:45:49.695: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.695: I/ActivityManager(1389): Process com.amazon.dcp (pid 3651) has died. 02-27 22:45:49.695: W/ActivityManager(1389): Scheduling restart of crashed service com.amazon.dcp/.metrics.MetricsService in 51714ms 02-27 22:45:49.695: I/ActivityManager(1389): Low Memory: No more background processes. 02-27 22:45:49.703: V/KindleFireIPCProxy(3489): synchronousBinder:android.os.BinderProxy@4065a998 serviceMessengerClient:null 02-27 22:45:49.703: V/KindleFireIPCProxy(3489): synchronousBinder:null serviceMessengerClient:null 02-27 22:45:50.507: D/Request(3489): Warning: Sessionless Request needs token but missing either application ID or client token. 02-27 22:45:53.773: E/InputDispatcher(1389): channel '4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8 02-27 22:45:53.773: E/InputDispatcher(1389): channel '4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 02-27 22:45:53.812: I/WindowManager(1389): WINDOW DIED Window{4094e5f0 com.company.game/com.prime31.UnityPlayerNativeActivity paused=false} 02-27 22:45:53.859: I/ActivityManager(1389): Process com.company.game (pid 3489) has died. 02-27 22:45:53.984: W/WindowManager(1389): Failed looking up window 02-27 22:45:53.984: W/WindowManager(1389): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4094e400 does not exist 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8177) 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8168) 02-27 22:45:53.984: W/WindowManager(1389): at com.android.server.WindowManagerService$WindowState$DeathRecipient.binderDied(WindowManagerService.java:7027) 02-27 22:45:53.984: W/WindowManager(1389): at android.os.BinderProxy.sendDeathNotice(Binder.java:381) 02-27 22:45:53.984: W/WindowManager(1389): at dalvik.system.NativeStart.run(Native Method) ------------------------------------------------------------------------------------------------------------------------------------------------------------- 02-27 23:00:38.648: I/Unity(7495): AndroidJavaException: java.lang.ExceptionInInitializerError 02-27 23:00:38.648: I/Unity(7495): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at UnityEngine.AndroidJNISafe.CallBooleanMethod (IntPtr obj, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at UnityEngine.AndroidJavaObject._Call[Boolean] (System.String methodName, System.Object[] args) [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at UnityEngine.AndroidJavaObject.Call[Boolean] (System.String methodName, System.Object[] args) [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at ChartboostAndroid.hasCachedInterstitial (CBLocation location) [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at ChartBoostOperations.showInterstitial () [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at AdProviderObject.showAd () [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at AdsManager.showAdFromNetwork (System.String name) [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at AdsManager.chooseAdNetworkAndShowAd () [0x00000] in :0 02-27 23:00:38.648: I/Unity(7495): at AdsManager.showAd (Boolean forceAd, Boolean i
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

DougM@Amazon avatar image
DougM@Amazon answered
Hello Stamen, We will need a bit more information in regard to the crash on the Original Kindle Fire, since your crash appears to be with your Chartboost implementation, we would ask first, what version of Unity are you currently using and any plugins that you are currently using in your project. Since it looks like the top-level portion of the stack trace points to pulling from your cached interstitials, you may want to see if there is just an issue on the chartboost plugin if it is not of the latest version. Please let us know if this helps.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.