Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV in blitter_load making first move in Galaxies #2

Closed
chrisboyle opened this issue Dec 5, 2009 · 1 comment
Closed

SIGSEGV in blitter_load making first move in Galaxies #2

chrisboyle opened this issue Dec 5, 2009 · 1 comment
Assignees
Labels
crash The app dies, hangs, or loses data
Milestone

Comments

@chrisboyle
Copy link
Owner

There has been only one report of this. Here is an annotated log extract:

11-22 11:17:05.782  2171  2171 D GameView: onKeyDown 21, KeyEvent{action=0 code=21 repeat=0 meta=0 scancode=0 mFlags=0}
KeyEvent: public static final int KEYCODE_DPAD_LEFT = 21;
11-22 11:17:05.782  2171  2171 D dalvikvm: +++ not scanning '/system/lib/libwebcore.so' for 'keyEvent' (wrong CL)
11-22 11:17:05.782  2171  2171 D dalvikvm: +++ not scanning '/system/lib/libmedia_jni.so' for 'keyEvent' (wrong CL)
11-22 11:17:05.782  2171  2171 D dalvikvm: +++ not scanning '/system/lib/libexif.so' for 'keyEvent' (wrong CL)
11-22 11:17:05.782  2171  2171 W System.err: saved game was:
11-22 11:17:05.782  2171  2171 W System.err: SAVEFILE:41:Simon Tatham's Portable Puzzle Collection
11-22 11:17:05.782  2171  2171 W System.err: VERSION :1:1
11-22 11:17:05.782  2171  2171 W System.err: GAME    :8:Galaxies
11-22 11:17:05.782  2171  2171 W System.err: PARAMS  :7:15x20du
11-22 11:17:05.782  2171  2171 W System.err: CPARAMS :7:15x20du
11-22 11:17:05.782  2171  2171 W System.err: SEED    :15:605188161465353
11-22 11:17:05.782  2171  2171 W System.err: DESC    :80:cmforsezqffifezrtncgznzhzjhdlhzzdzuyqbvbvpzgdsmeizanzzsccdzpuzsezzjjznjwdflsdumg
11-22 11:17:05.782  2171  2171 W System.err: NSTATES :1:1
11-22 11:17:05.782  2171  2171 W System.err: STATEPOS:1:1
11-22 11:17:05.782  2171  2171 W System.err: java.lang.RuntimeException: crashed here (native trace should follow after the Java trace)
11-22 11:17:05.791  2171  2171 W System.err: at name.boyle.chris.sgtpuzzles.SGTPuzzles.nativeCrashed(SGTPuzzles.java:969)
11-22 11:17:05.791  2171  2171 W System.err: at name.boyle.chris.sgtpuzzles.SGTPuzzles.keyEvent(Native Method)
11-22 11:17:05.791  2171  2171 W System.err: at name.boyle.chris.sgtpuzzles.SGTPuzzles.sendKey(SGTPuzzles.java:716)
11-22 11:17:05.791  2171  2171 W System.err: at name.boyle.chris.sgtpuzzles.GameView.onKeyDown(GameView.java:134)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.KeyEvent.dispatch(KeyEvent.java:1037)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.View.dispatchKeyEvent(View.java:3683)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:748)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:748)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:748)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:748)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:748)
11-22 11:17:05.791  2171  2171 W System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1655)
11-22 11:17:05.791  2171  2171 W System.err: at com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1102)
11-22 11:17:05.791  2171  2171 W System.err: at android.app.Activity.dispatchKeyEvent(Activity.java:2038)
11-22 11:17:05.791  2171  2171 W System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1631)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2368)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2338)
11-22 11:17:05.791  2171  2171 W System.err: at android.view.ViewRoot.handleMessage(ViewRoot.java:1641)
11-22 11:17:05.791  2171  2171 W System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:17:05.791  2171  2171 W System.err: at android.os.Looper.loop(Looper.java:123)
11-22 11:17:05.791  2171  2171 W System.err: at android.app.ActivityThread.main(ActivityThread.java:4325)
11-22 11:17:05.791  2171  2171 W System.err: at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:17:05.791  2171  2171 W System.err: at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:17:05.791  2171  2171 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-22 11:17:05.791  2171  2171 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-22 11:17:05.791  2171  2171 W System.err: at dalvik.system.NativeStart.main(Native Method)
...
11-22 11:17:05.901    48    48 I DEBUG   : signal 11 (SIGSEGV), fault addr 7b1fcf88
...
11-22 11:17:05.931    48    48 I DEBUG   :          # 00  pc 0000605c  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
android.c:212       (*env)->CallVoidMethod(env, gameView, blitterLoad, bl->handle, x + fe->ox, y + fe->oy);
11-22 11:17:05.931    48    48 I DEBUG   :          # 01  pc 00017dc0  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
drawing.c:166       dr->api->blitter_load(dr->handle, bl, x, y);
11-22 11:17:05.931    48    48 I DEBUG   :          # 02  pc 00021b44  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
galaxies.c:3185         blitter_load(dr, ds->bl, ds->dragx, ds->dragy);
11-22 11:17:05.931    48    48 I DEBUG   :          # 03  pc 00042334  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
midend.c:802                me->ourgame->redraw(me->drawing, me->drawstate, NULL,  me->states[me->statepos-1].state, +1 /*shrug*/,  me->ui, 0.0, me->flash_pos);
11-22 11:17:05.931    48    48 I DEBUG   :          # 04  pc 00042d7c  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
midend.c:601                midend_redraw(me);
11-22 11:17:05.931    48    48 I DEBUG   :          # 05  pc 00043274  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
midend.c:776        ret = ret && midend_really_process_key(me, x, y, button);
11-22 11:17:05.931    48    48 I DEBUG   :          # 06  pc 00007b54  /data/data/name.boyle.chris.sgtpuzzles/lib/libpuzzles.so
android.c:252       if (keyval >= 0 &&  !midend_process_key(fe->me, x - fe->ox, y - fe->oy, keyval))
11-22 11:17:05.931    48    48 I DEBUG   :          # 07  pc 0000ecb4  /system/lib/libdvm.so
@chrisboyle
Copy link
Owner Author

No reports of this in 8853.1 or newer. Likely to have helped: commit 9750c68, comit 131bfbb, commit 92f474d

Closing, to be reopened on further crash reports.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash The app dies, hangs, or loses data
Projects
None yet
Development

No branches or pull requests

1 participant