-
Lots o crashes
Getting a lot of crashes lately, they seem to mostly be occuring during fastloops but it could be coincidence.. stack trace example as follows
09-17 19:12:58.773: E/AndroidRuntime(29591): FATAL EXCEPTION: main
09-17 19:12:58.773: E/AndroidRuntime(29591): java.lang.ArrayIndexOutOfBoundsException: length=52; index=67
09-17 19:12:58.773: E/AndroidRuntime(29591): at Services.ObjectSelection.GetOILFromOI(ObjectSelect ion.java:266)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Services.ObjectSelection.filterNonQualifierObjects (ObjectSelection.java:154)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Services.ObjectSelection.filterObjects(ObjectSelec tion.java:123)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Extensions.CRunForEach.action(CRunForEach.java:197 )
09-17 19:12:58.773: E/AndroidRuntime(29591): at Objects.CExtension.action(CExtension.java:179)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Actions.CActExtension.execute(CActExtension.java:3 3)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Events.CEventProgram.call_Actions(CEventProgram.ja va:1680)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Events.CEventProgram.computeEventList(CEventProgra m.java:1472)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Events.CEventProgram.handle_Event(CEventProgram.ja va:1279)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Animations.CRAni.animIn(CRAni.java:499)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Animations.CRAni.animations(CRAni.java:192)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Animations.CRAni.animate(CRAni.java:159)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Movements.CMoveBall.move(CMoveBall.java:93)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Movements.CRMvt.move(CRMvt.java:166)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Sprites.CRSpr.handle(CRSpr.java:173)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Objects.CActive.handle(CActive.java:24)
09-17 19:12:58.773: E/AndroidRuntime(29591): at RunLoop.CRun.f_GameLoop(CRun.java:4816)
09-17 19:12:58.773: E/AndroidRuntime(29591): at RunLoop.CRun.doRunLoop(CRun.java:463)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Application.CRunApp.loopFrame(CRunApp.java:877)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Application.CRunApp.playApplication(CRunApp.java:6 61)
09-17 19:12:58.773: E/AndroidRuntime(29591): at Application.CRunTimerTask.run(CRunTimerTask.java:2 9)
09-17 19:12:58.773: E/AndroidRuntime(29591): at android.os.Handler.handleCallback(Handler.java:605 )
09-17 19:12:58.773: E/AndroidRuntime(29591): at android.os.Handler.dispatchMessage(Handler.java:92 )
09-17 19:12:58.773: E/AndroidRuntime(29591): at android.os.Looper.loop(Looper.java:137)
09-17 19:12:58.773: E/AndroidRuntime(29591): at android.app.ActivityThread.main(ActivityThread.jav a:4511)
09-17 19:12:58.773: E/AndroidRuntime(29591): at java.lang.reflect.Method.invokeNative(Native Method)
09-17 19:12:58.773: E/AndroidRuntime(29591): at java.lang.reflect.Method.invoke(Method.java:511)
09-17 19:12:58.773: E/AndroidRuntime(29591): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:980)
09-17 19:12:58.773: E/AndroidRuntime(29591): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:747)
09-17 19:12:58.773: E/AndroidRuntime(29591): at dalvik.system.NativeStart.main(Native Method)
09-17 19:12:58.793: E/android.os.Debug(1979): !@Dumpstate > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
-
This is on a samsung galaxy II, beta 33
-
Another one, slightly different in some places..
09-17 19:21:55.263: E/AndroidRuntime(31331): FATAL EXCEPTION: main
09-17 19:21:55.263: E/AndroidRuntime(31331): java.lang.ArrayIndexOutOfBoundsException: length=52; index=67
09-17 19:21:55.263: E/AndroidRuntime(31331): at Services.ObjectSelection.GetOILFromOI(ObjectSelect ion.java:266)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Services.ObjectSelection.filterNonQualifierObjects (ObjectSelection.java:154)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Services.ObjectSelection.filterObjects(ObjectSelec tion.java:123)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Extensions.CRunForEach.action(CRunForEach.java:197 )
09-17 19:21:55.263: E/AndroidRuntime(31331): at Objects.CExtension.action(CExtension.java:179)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Actions.CActExtension.execute(CActExtension.java:3 3)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Events.CEventProgram.call_Actions(CEventProgram.ja va:1680)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Events.CEventProgram.computeEventList(CEventProgra m.java:1472)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Events.CEventProgram.handle_Event(CEventProgram.ja va:1279)
09-17 19:21:55.263: E/AndroidRuntime(31331): at RunLoop.CRun.newHandle_Collisions(CRun.java:5022)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Movements.CMove.newMake_Move(CMove.java:174)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Movements.CMoveBall.move(CMoveBall.java:116)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Movements.CRMvt.move(CRMvt.java:166)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Sprites.CRSpr.handle(CRSpr.java:173)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Objects.CActive.handle(CActive.java:24)
09-17 19:21:55.263: E/AndroidRuntime(31331): at RunLoop.CRun.f_GameLoop(CRun.java:4816)
09-17 19:21:55.263: E/AndroidRuntime(31331): at RunLoop.CRun.doRunLoop(CRun.java:463)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Application.CRunApp.loopFrame(CRunApp.java:877)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Application.CRunApp.playApplication(CRunApp.java:6 61)
09-17 19:21:55.263: E/AndroidRuntime(31331): at Application.CRunTimerTask.run(CRunTimerTask.java:2 9)
09-17 19:21:55.263: E/AndroidRuntime(31331): at android.os.Handler.handleCallback(Handler.java:605 )
09-17 19:21:55.263: E/AndroidRuntime(31331): at android.os.Handler.dispatchMessage(Handler.java:92 )
09-17 19:21:55.263: E/AndroidRuntime(31331): at android.os.Looper.loop(Looper.java:137)
09-17 19:21:55.263: E/AndroidRuntime(31331): at android.app.ActivityThread.main(ActivityThread.jav a:4511)
09-17 19:21:55.263: E/AndroidRuntime(31331): at java.lang.reflect.Method.invokeNative(Native Method)
09-17 19:21:55.263: E/AndroidRuntime(31331): at java.lang.reflect.Method.invoke(Method.java:511)
09-17 19:21:55.263: E/AndroidRuntime(31331): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:980)
09-17 19:21:55.263: E/AndroidRuntime(31331): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:747)
09-17 19:21:55.263: E/AndroidRuntime(31331): at dalvik.system.NativeStart.main(Native Method)
09-17 19:21:55.283: E/android.os.Debug(1979): !@Dumpstate > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
-
Can you narrow it down or put up an MFA?
-
Thanks for you reply. After much testing I narrowed it down to just one event.. It took me some time because I just could not believe that it was that specific event that was the problem since its such a simple event..
A certain "[active object] is leaving the play area -> bounce" seems to be causing the crash. Activating this event and waiting for it to trigger causes a crash every time on my device.
Strange thing is, I've not had any problem with the bounce action in other applications. Must be some specific combination in this particular game that causes this.
If its any help, I'll upload the mfa and send you the link in a private message.
-
All of those crashes are in the For Each object. I'll look into it.
-
Ah ok.. yes, I used the foreach object when I did those stack traces.. In my effort to narrow down the problem I removed the actions for the foreach object but still got a crash on the bounce action.. so theres still something causing a crash aside from the foreach object.. I sent an example mfa to Jeff about this.
-
James, let me know if you would like the mfa
-
-
-
ok nice! still the bounce action crash is left which I sent a PM to jeff about. but thanks for this fix!
-
Can you send the crash log to me?