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

Kivy with SDL2 bootstrap crushes on resuming in some cases #967

Closed
germn opened this issue Dec 21, 2016 · 1 comment
Closed

Kivy with SDL2 bootstrap crushes on resuming in some cases #967

germn opened this issue Dec 21, 2016 · 1 comment

Comments

@germn
Copy link
Contributor

germn commented Dec 21, 2016

How to reproduce № 1:

  1. Install app
  2. When you see "installation complete" screen, choose "run"
    (it's important to run app from installation screen)
  3. Pause app
  4. Run app with your launcher
  5. App will crush instead of resuming

How to reproduce № 2:

  1. Run app
  2. Pause app
  3. Try to open some file with your app
  4. App will crush instead of resuming

Sources:

Source code: https://yadi.sk/d/X_EMFBTB34Gkp7 (example simple app; buildozer pathes and dirs should be edited)
Built apk: https://yadi.sk/d/jBrqtIf234GmEi
Adb log for № 1: https://yadi.sk/i/DKRxFYqz34GmXV
Adb log for № 2: https://yadi.sk/i/o_dZL_fY34Gmbs

If I understand correctly here crush lines from log:

I/SDL     ( 5353): SDL_Android_Init()
I/SDL     ( 5353): SDL_Android_Init() finished!
I/python  ( 5353): Initialize Python for Android
I/python  ( 5353): Changing directory to the one provided by ANDROID_ARGUMENT
I/python  ( 5353): /data/data/com.example.test/files/app
I/python  ( 5353): Preparing to initialize python
I/python  ( 5353): crystax_python does not exist
F/libc    ( 5353): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 5468 (SDLThread)

Other info:

None of this situations happens with old toolchain.
Recent kivy and p4a masters used.
Pyjnius was patched to prevent this error. It shouldn't affect way it works.
Tested on Android 5.0.1.

@inclement
Copy link
Member

I believe this is fully working at the moment, especially after the transition to SLD2.0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants