how to identify what causes a game to freeze

0 favourites
  • 4 posts
From the Asset Store
Easily generate many levels from a set of pre-built scenes (Construct 3 template)
  • Hello,

    I've had a search around the forum and tutorials but not found anything to cover this. I have an app called Bowls: Short Mat Bowls out on the google play store. I have had an email from someone mentioning is always crashes at a certain point in in the match.

    They have given me details, their android version and let me know they've tried uninstalling and re-installing but it still happens. I am unable to replicate this on my two android devices, one on the same android version (4.2). It does not give them an error report (It just freezes on them)

    Is there a way I can try and identify this error? Seems device specific to me as I've not had other reports of this.

    Cheers

  • If you still have the capx, you could use the debugger.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Does the game freeze at the same spot for everyone or are there random freezes?

    What wrapper are you using to distribute?

    Is they anycommon theme on the reports. ie hardware, OS....

  • Does the game freeze at the same spot for everyone or are there random freezes?

    What wrapper are you using to distribute?

    Is they anycommon theme on the reports. ie hardware, OS....

    • The game appears to freeze the same spot each time for one person. On my two devices / PC testing I do not encounter any issues. Nor has anyone else reported it / my friends have not had the issue on their devices.

    I have tested on S3, HCT One, ASUS tablet no problems. The issues come from a tesco HUDL device on android 4.2.2 (Although I have tested this versino of android fine on other devices)

    • I am using CocoonJS still to wrap the game.
    • The game freezes on them and does not bring up the report error screen so I have not managed to get any details.

    Checking my app on the GP developer I have two crashes reported by other users but I do not understand what all that means =P

    One error report is:

    java.lang.NullPointerException

    at com.mopub.mobileads.AdView.loadUrl(AdView.java:365)

    at com.mopub.mobileads.AdView.reload(AdView.java:476)

    at android.webkit.AccessibilityInjector.updateJavaScriptEnabled(AccessibilityInjector.java:426)

    at android.webkit.WebViewClassic.updateJavaScriptEnabled(WebViewClassic.java:3380)

    at android.webkit.WebSettingsClassic.setJavaScriptEnabled(WebSettingsClassic.java:1549)

    at com.mopub.mobileads.AdView.<init>(AdView.java:131)

    at com.mopub.mobileads.MoPubView.initVersionDependentAdView(MoPubView.java:132)

    at com.mopub.mobileads.MoPubView.<init>(MoPubView.java:118)

    at com.mopub.mobileads.MoPubView.<init>(MoPubView.java:92)

    at android.com.ideateca.service.ad.AndroidMoPubAdBanner$1.run(AndroidMoPubAdBanner.java:34)

    at android.os.Handler.handleCallback(Handler.java:725)

    at android.os.Handler.dispatchMessage(Handler.java:92)

    at android.os.Looper.loop(Looper.java:137)

    at android.app.ActivityThread.main(ActivityThread.java:5328)

    at java.lang.reflect.Method.invokeNative(Native Method)

    at java.lang.reflect.Method.invoke(Method.java:511)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)

    at dalvik.system.NativeStart.main(Native Method)

    The other says:

    java.lang.ExceptionInInitializerError

    at java.lang.Class.newInstanceImpl(Native Method)

    at java.lang.Class.newInstance(Class.java:1409)

    at android.app.Instrumentation.newApplication(Instrumentation.java:957)

    at android.app.Instrumentation.newApplication(Instrumentation.java:942)

    at android.app.LoadedApk.makeApplication(LoadedApk.java:485)

    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3399)

    at android.app.ActivityThread.access$2200(ActivityThread.java:124)

    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)

    at android.os.Handler.dispatchMessage(Handler.java:99)

    at android.os.Looper.loop(Looper.java:130)

    at android.app.ActivityThread.main(ActivityThread.java:3822)

    at java.lang.reflect.Method.invokeNative(Native Method)

    at java.lang.reflect.Method.invoke(Method.java:507)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

    at dalvik.system.NativeStart.main(Native Method)

    Caused by: java.lang.UnsatisfiedLinkError: Couldn't load CocoonJSLib: findLibrary returned null

    at java.lang.Runtime.loadLibrary(Runtime.java:429)

    at java.lang.System.loadLibrary(System.java:554)

    at com.touchmonkeygames.smb.Short_Mat_Bowls_TouchApplication.<clinit>(Short_Mat_Bowls_TouchApplication.java:8)

    ... 16 more

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)