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 crashes immediately on start, on Sony devices #1188

Closed
darwusch opened this issue Dec 3, 2017 · 11 comments
Closed

Kivy crashes immediately on start, on Sony devices #1188

darwusch opened this issue Dec 3, 2017 · 11 comments

Comments

@darwusch
Copy link

darwusch commented Dec 3, 2017

Pyonic python 3 interpreter crashes immediately on start.
Probably related to kivy.
My phone is a Sony Xperia Z5 compact, Android 7.0, rooted stock rom
Is there a solution for this?

@darwusch darwusch changed the title Python 3 not working on Sony Xperia Z5 compact, Android 7.0 Pyonic python 3 interpreter crashes immediately on start Dec 3, 2017
@darwusch
Copy link
Author

darwusch commented Dec 3, 2017

Here is the logcat (filter: pyonic)

12-03 22:29:31.250 3140-4435/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity bnds=[16,342][188,540]} from uid 10104 on display 0
12-03 22:29:31.289 3140-4462/? I/ActivityManager: Start proc 21187:net.inclem.pyonicinterpreter3/u0a333 for activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-03 22:29:31.436 21187-21187/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.inclem.pyonicinterpreter3-1/base.apk"],nativeLibraryDirectories=[/data/app/net.inclem.pyonicinterpreter3-1/lib/arm, /system/fake-libs, /data/app/net.inclem.pyonicinterpreter3-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython2.7.so"
12-03 22:29:31.437 21187-21187/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.inclem.pyonicinterpreter3-1/base.apk"],nativeLibraryDirectories=[/data/app/net.inclem.pyonicinterpreter3-1/lib/arm, /system/fake-libs, /data/app/net.inclem.pyonicinterpreter3-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython3.5m.so"
12-03 22:29:31.477 21187-21203/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app
12-03 22:29:31.477 21187-21203/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/stdlib.zip:/data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/modules
12-03 22:29:31.560 21206-21206/? A/DEBUG: pid: 21187, tid: 21203, name: SDLThread  >>> net.inclem.pyonicinterpreter3 <<<
12-03 22:29:32.175 3140-21208/? D/ActivityManager: New dropbox entry: net.inclem.pyonicinterpreter3, data_app_native_crash, 0f318db5-7e61-4c85-b742-3c451a1f2ea6
12-03 22:29:32.176 3140-21208/? W/ActivityManager:   Force finishing activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-03 22:29:32.230 3140-3698/? I/WindowManager: WIN DEATH: Window{80ac8f3 u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-03 22:29:32.230 3140-3698/? W/WindowManager: Force-removing child win Window{f7abed1 u0 SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity} from container Window{80ac8f3 u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-03 22:29:32.231 3140-3698/? I/WindowManager: Destroying surface Surface(name=SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2022 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:889 com.android.server.wm.WindowState.removeLocked:1470 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2576 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2555 com.android.server.wm.WindowManagerService.removeWindowLocked:2534 com.android.server.wm.WindowState$DeathRecipient.binderDied:1801 android.os.BinderProxy.sendDeathNotice:688 
12-03 22:29:32.234 3140-3698/? I/WindowManager: Destroying surface Surface(name=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2022 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:889 com.android.server.wm.WindowState.removeLocked:1470 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2576 com.android.server.wm.WindowManagerService.removeWindowLocked:2534 com.android.server.wm.WindowState$DeathRecipient.binderDied:1801 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack> 
12-03 22:29:32.241 3140-3209/? I/WindowManager: Destroying surface Surface(name=Starting net.inclem.pyonicinterpreter3) called by com.android.server.wm.WindowStateAnimator.destroySurface:2022 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:889 com.android.server.wm.WindowState.removeLocked:1470 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2576 com.android.server.wm.WindowManagerService.removeWindowLocked:2534 com.android.server.wm.WindowManagerService.removeWindowLocked:2403 com.android.server.wm.WindowManagerService.removeWindow:2398 com.android.server.wm.Session.remove:193 
12-03 22:29:32.247 3140-4453/? I/ActivityManager: Process net.inclem.pyonicinterpreter3 (pid 21187) has died

@darwusch
Copy link
Author

darwusch commented Dec 3, 2017

And with filter: python

12-03 22:29:31.250 3140-4435/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity bnds=[16,342][188,540]} from uid 10104 on display 0
12-03 22:29:31.289 3140-4462/? I/ActivityManager: Start proc 21187:net.inclem.pyonicinterpreter3/u0a333 for activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-03 22:29:31.361 21187-21187/? V/PythonActivity: My oncreate running
12-03 22:29:31.362 21187-21187/? V/PythonActivity: About to do super onCreate
12-03 22:29:31.362 21187-21187/? V/PythonActivity: Did super onCreate
12-03 22:29:31.401 21187-21201/? V/PythonActivity: Ready to unpack
12-03 22:29:31.402 21187-21201/? V/PythonActivity: UNPACKING!!! private app
12-03 22:29:31.402 21187-21187/? V/PythonActivity: onResume()
12-03 22:29:31.402 21187-21201/? V/PythonActivity: Data version is 1507984993.806324
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_mixer.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_ttf.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libmain.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libcrystax.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Pattern libcrystax\.so matched file libcrystax.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_image.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libcrystax\.so against libpython3.6m.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_mixer.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_ttf.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libmain.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2.so
12-03 22:29:31.411 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libcrystax.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_image.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libsqlite3\.so against libpython3.6m.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_mixer.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_ttf.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libmain.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libcrystax.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_image.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libssl.*\.so against libpython3.6m.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_mixer.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_ttf.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libmain.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libcrystax.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_image.so
12-03 22:29:31.412 21187-21187/? V/pythonutil: Checking pattern libcrypto.*\.so against libpython3.6m.so
12-03 22:29:31.413 21187-21187/? V/pythonutil: Loading library: crystax
12-03 22:29:31.423 21187-21187/? V/pythonutil: Loading library: SDL2
12-03 22:29:31.426 21187-21187/? V/pythonutil: Loading library: SDL2_image
12-03 22:29:31.431 21187-21187/? V/pythonutil: Loading library: SDL2_mixer
12-03 22:29:31.434 21187-21187/? V/pythonutil: Loading library: SDL2_ttf
12-03 22:29:31.435 21187-21187/? V/pythonutil: Loading library: python2.7
12-03 22:29:31.436 21187-21187/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.inclem.pyonicinterpreter3-1/base.apk"],nativeLibraryDirectories=[/data/app/net.inclem.pyonicinterpreter3-1/lib/arm, /system/fake-libs, /data/app/net.inclem.pyonicinterpreter3-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython2.7.so"
12-03 22:29:31.436 21187-21187/? V/pythonutil: Loading library: python3.5m
12-03 22:29:31.437 21187-21187/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/net.inclem.pyonicinterpreter3-1/base.apk"],nativeLibraryDirectories=[/data/app/net.inclem.pyonicinterpreter3-1/lib/arm, /system/fake-libs, /data/app/net.inclem.pyonicinterpreter3-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython3.5m.so"
12-03 22:29:31.437 21187-21187/? V/pythonutil: Loading library: main
12-03 22:29:31.440 21187-21187/? V/pythonutil: Failed to load _io.so or unicodedata.so...but that's okay.
12-03 22:29:31.440 21187-21187/? V/pythonutil: Unsatisfied linker when loading ctypes
12-03 22:29:31.440 21187-21187/? V/pythonutil: Loaded everything!
12-03 22:29:31.447 21187-21187/? V/PythonActivity: Setting env vars for start.c and Python to use
12-03 22:29:31.447 21187-21187/? V/PythonActivity: Access to our meta-data...
12-03 22:29:31.447 21187-21187/? I/PythonActivity: Surface will NOT be transparent
12-03 22:29:31.477 21187-21203/? I/python: Initialize Python for Android
12-03 22:29:31.477 21187-21203/? I/python: Changing directory to the one provided by ANDROID_ARGUMENT
12-03 22:29:31.477 21187-21203/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app
12-03 22:29:31.477 21187-21203/? I/python: Preparing to initialize python
12-03 22:29:31.477 21187-21203/? I/python: crystax_python exists
12-03 22:29:31.477 21187-21203/? I/python: calculated paths to be...
12-03 22:29:31.477 21187-21203/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/stdlib.zip:/data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/modules
12-03 22:29:31.477 21187-21203/? I/python: set wchar paths...
                                           
                                           --------- beginning of crash
12-03 22:29:32.176 3140-21208/? W/ActivityManager:   Force finishing activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-03 22:29:32.230 3140-3698/? I/WindowManager: WIN DEATH: Window{80ac8f3 u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-03 22:29:32.230 3140-3698/? W/WindowManager: Force-removing child win Window{f7abed1 u0 SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity} from container Window{80ac8f3 u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-03 22:29:32.231 3140-3698/? I/WindowManager: Destroying surface Surface(name=SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2022 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:889 com.android.server.wm.WindowState.removeLocked:1470 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2576 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2555 com.android.server.wm.WindowManagerService.removeWindowLocked:2534 com.android.server.wm.WindowState$DeathRecipient.binderDied:1801 android.os.BinderProxy.sendDeathNotice:688 
12-03 22:29:32.234 3140-3698/? I/WindowManager: Destroying surface Surface(name=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2022 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:889 com.android.server.wm.WindowState.removeLocked:1470 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2576 com.android.server.wm.WindowManagerService.removeWindowLocked:2534 com.android.server.wm.WindowState$DeathRecipient.binderDied:1801 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack> 

@darwusch darwusch changed the title Pyonic python 3 interpreter crashes immediately on start Kivy crashes immediately on start, on Sony devices Dec 23, 2017
@inclement
Copy link
Member

Thanks for the detailed report.

Re: #1206 , I'd obviously like to fix it, but I don't know what's wrong and it doesn't happen on any of my devices. I'm not sure how to look into it.

It might be useful to post the full logcat (without the python filter), even though there's a lot of it.

@darwusch
Copy link
Author

darwusch commented Dec 23, 2017

Here you go:

12-23 16:35:16.562 4953-4953/? I/Timeline: Timeline: Activity_launch_request id:net.inclem.pyonicinterpreter3 time:140053979
12-23 16:35:16.564 3635-5283/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity bnds=[360,540][532,738]} from uid 10103 on display 0
12-23 16:35:16.612 3635-5283/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
12-23 16:35:16.658 3635-29071/? I/ActivityManager: Start proc 5031:net.inclem.pyonicinterpreter3/u0a276 for activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-23 16:35:16.712 5031-5031/? I/art: Starting a blocking GC AddRemoveAppImageSpace
12-23 16:35:16.739 5031-5031/? V/PythonActivity: My oncreate running
12-23 16:35:16.739 5031-5031/? V/PythonActivity: About to do super onCreate
12-23 16:35:16.739 5031-5031/? V/SDL: Device: E5823
12-23 16:35:16.739 5031-5031/? V/SDL: Model: E5823
12-23 16:35:16.739 5031-5031/? V/SDL: onCreate():null
12-23 16:35:16.739 5031-5031/? V/PythonActivity: Did super onCreate
12-23 16:35:16.739 5031-5031/? V/SDL: getting identifier
12-23 16:35:16.739 5031-5031/? V/SDL: kind is drawable and name presplash
12-23 16:35:16.739 5031-5031/? V/SDL: result is 2130837506
12-23 16:35:16.776 5031-5031/? V/SDL: asked to get string presplash_color
12-23 16:35:16.776 5031-5031/? V/SDL: getting identifier
12-23 16:35:16.776 5031-5031/? V/SDL: kind is string and name presplash_color
12-23 16:35:16.776 5031-5031/? V/SDL: result is 2130968578
12-23 16:35:16.788 5031-5045/? V/PythonActivity: Ready to unpack
12-23 16:35:16.788 5031-5045/? V/PythonActivity: UNPACKING!!! private app
12-23 16:35:16.788 5031-5045/? V/SDL: asked to get string private_version
12-23 16:35:16.788 5031-5045/? V/SDL: getting identifier
12-23 16:35:16.788 5031-5045/? V/SDL: kind is string and name private_version
12-23 16:35:16.788 5031-5031/? V/PythonActivity: onResume()
12-23 16:35:16.788 5031-5045/? V/SDL: result is 2130968577
12-23 16:35:16.788 5031-5031/? V/SDL: onResume()
12-23 16:35:16.788 5031-5045/? V/PythonActivity: Data version is 1507984993.806324
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_mixer.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_ttf.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libmain.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libcrystax.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Pattern libcrystax\.so matched file libcrystax.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libSDL2_image.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libcrystax\.so against libpython3.6m.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_mixer.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_ttf.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libmain.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libcrystax.so
12-23 16:35:16.819 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libSDL2_image.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libsqlite3\.so against libpython3.6m.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_mixer.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_ttf.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libmain.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libcrystax.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libSDL2_image.so
12-23 16:35:16.820 5031-5031/? V/pythonutil: Checking pattern libssl.*\.so against libpython3.6m.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_mixer.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_ttf.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libmain.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libcrystax.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libSDL2_image.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Checking pattern libcrypto.*\.so against libpython3.6m.so
12-23 16:35:16.821 5031-5031/? V/pythonutil: Loading library: crystax
12-23 16:35:16.857 5031-5031/? V/pythonutil: Loading library: SDL2
12-23 16:35:16.944 5031-5031/? V/pythonutil: Loading library: SDL2_image
12-23 16:35:16.952 5031-5031/? V/pythonutil: Loading library: SDL2_mixer
12-23 16:35:17.005 5031-5031/? V/pythonutil: Loading library: SDL2_ttf
12-23 16:35:17.030 5031-5031/? V/pythonutil: Loading library: python2.7
12-23 16:35:17.032 5031-5031/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/net.inclem.pyonicinterpreter3-2/base.apk"],nativeLibraryDirectories=[/mnt/asec/net.inclem.pyonicinterpreter3-2/lib/arm, /system/fake-libs, /mnt/asec/net.inclem.pyonicinterpreter3-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython2.7.so"
12-23 16:35:17.032 5031-5031/? V/pythonutil: Loading library: python3.5m
12-23 16:35:17.033 5031-5031/? V/pythonutil: Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/net.inclem.pyonicinterpreter3-2/base.apk"],nativeLibraryDirectories=[/mnt/asec/net.inclem.pyonicinterpreter3-2/lib/arm, /system/fake-libs, /mnt/asec/net.inclem.pyonicinterpreter3-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libpython3.5m.so"
12-23 16:35:17.033 5031-5031/? V/pythonutil: Loading library: main
12-23 16:35:17.050 5031-5031/? V/pythonutil: Failed to load _io.so or unicodedata.so...but that's okay.
12-23 16:35:17.051 5031-5031/? V/pythonutil: Unsatisfied linker when loading ctypes
12-23 16:35:17.051 5031-5031/? V/pythonutil: Loaded everything!
12-23 16:35:17.061 5031-5031/? V/PythonActivity: Setting env vars for start.c and Python to use
12-23 16:35:17.061 5031-5031/? V/PythonActivity: Access to our meta-data...
12-23 16:35:17.061 5031-5031/? I/PythonActivity: Surface will NOT be transparent
12-23 16:35:17.071 3635-4653/? I/InputDispatcher: Focus entered window: Window{1d72d4f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-23 16:35:17.080 5031-5031/? V/SDL: surfaceCreated()
12-23 16:35:17.081 5031-5031/? V/SDL: surfaceChanged()
12-23 16:35:17.081 5031-5031/? V/SDL: pixel format RGB_565
12-23 16:35:17.083 5031-5031/? V/SDL: Window size:720x1136
12-23 16:35:17.086 5031-5046/? I/Adreno: QUALCOMM build                   : ce5aeb9, I750f7f2fa6
                                         Build Date                       : 03/24/17
                                         OpenGL ES Shader Compiler Version: XE031.09.00.03
                                         Local Branch                     : 
                                         Remote Branch                    : quic/LA.BF64.1.2.3_rb1.11
                                         Remote Branch                    : NONE
                                         Reconstruct Branch               : NOTHING
12-23 16:35:17.088 5031-5049/? I/SDL: SDL_Android_Init()
12-23 16:35:17.088 5031-5049/? I/SDL: SDL_Android_Init() finished!
12-23 16:35:17.094 5031-5049/? I/python: Initialize Python for Android
12-23 16:35:17.095 5031-5049/? I/python: Changing directory to the one provided by ANDROID_ARGUMENT
12-23 16:35:17.095 5031-5049/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app
12-23 16:35:17.101 5031-5049/? I/python: Preparing to initialize python
12-23 16:35:17.101 5031-5049/? I/python: crystax_python exists
12-23 16:35:17.101 5031-5049/? I/python: calculated paths to be...
12-23 16:35:17.101 5031-5049/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/stdlib.zip:/data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/modules
12-23 16:35:17.107 5031-5049/? I/python: set wchar paths...
12-23 16:35:17.121 5031-5046/? I/OpenGLRenderer: Initialized EGL, version 1.4
12-23 16:35:17.121 5031-5046/? D/OpenGLRenderer: Swap behavior 1
12-23 16:35:17.149 5031-5049/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x590004 in tid 5049 (SDLThread)
                                       
                                       [ 12-23 16:35:17.151  1885: 1885 W/         ]
                                       debuggerd: handling request: pid=5031 uid=10276 gid=10276 tid=5049
12-23 16:35:17.176 3635-4653/? I/ActivityManager: Process com.sonymobile.mirrorlink.system (pid 4473) has died
12-23 16:35:17.176 3635-4653/? D/ActivityManager: cleanUpApplicationRecord -- 4473
12-23 16:35:17.202 3635-29069/? I/ActivityManager: Process com.sonymobile.photoanalyzer (pid 752) has died
12-23 16:35:17.202 3635-29069/? D/ActivityManager: cleanUpApplicationRecord -- 752
12-23 16:35:17.203 3635-29069/? W/ActivityManager: Scheduling restart of crashed service com.sonymobile.photoanalyzer/.service.PhotoAnalyzerService in 22894ms
12-23 16:35:17.290 5052-5052/? D/clmlib: Got activities:0x0000000E
12-23 16:35:17.291 5052-5052/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-23 16:35:17.291 5052-5052/? A/DEBUG: UUID: 16a56b8a-62be-466a-9a48-xxxxxxxxxxxxx
12-23 16:35:17.291 5052-5052/? A/DEBUG: Build fingerprint: 'Sony/E5823/E5823:7.1.1/32.4.A.1.54/3761073091:user/release-keys'
12-23 16:35:17.291 5052-5052/? A/DEBUG: Revision: '0'
12-23 16:35:17.292 5052-5052/? A/DEBUG: ABI: 'arm'
12-23 16:35:17.292 5052-5052/? A/DEBUG: pid: 5031, tid: 5049, name: SDLThread  >>> net.inclem.pyonicinterpreter3 <<<
12-23 16:35:17.292 5052-5052/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x590004
12-23 16:35:17.292 5052-5052/? A/DEBUG:     r0 00590000  r1 00000000  r2 0000000a  r3 00000000
12-23 16:35:17.293 5052-5052/? A/DEBUG:     r4 f2a0f8c0  r5 0000002d  r6 f2a12008  r7 e8d3b0f0
12-23 16:35:17.293 5052-5052/? A/DEBUG:     r8 e8d236f0  r9 d5b0e3cb  sl d5c8313c  fp e8f490d8
12-23 16:35:17.293 5052-5052/? A/DEBUG:     ip f2a0d85c  sp e8f48ff8  lr f29d7ccf  pc f29d7cd4  cpsr 200b0030
12-23 16:35:17.300 5052-5052/? A/DEBUG: backtrace:
12-23 16:35:17.301 5052-5052/? A/DEBUG:     #00 pc 0004ecd4  /system/lib/libc.so (__sfp+35)
12-23 16:35:17.301 5052-5052/? A/DEBUG:     #01 pc 0004eee7  /system/lib/libc.so (_ZL7__fopenii+22)
12-23 16:35:17.301 5052-5052/? A/DEBUG:     #02 pc 0004ee7b  /system/lib/libc.so (fopen+54)
12-23 16:35:17.301 5052-5052/? A/DEBUG:     #03 pc 00000d24  /vendor/lib/libdrmfix.so (fopen+332)
12-23 16:35:18.088 5052-5052/? D/clmlib: Going to use a fd
                                         
                                         [ 12-23 16:35:18.089  5052: 5052 D/         ]
                                         private_mode
                                         
                                         [ 12-23 16:35:18.089  5052: 5052 D/         ]
                                         pid =  5031
                                         
                                         [ 12-23 16:35:18.089  5052: 5052 D/         ]
                                         signal =  11
                                         
                                         [ 12-23 16:35:18.089  5052: 5052 D/         ]
                                         NativeDumper will be started by Init
12-23 16:35:18.093 3635-5053/? D/ActivityManager: New dropbox entry: net.inclem.pyonicinterpreter3, data_app_native_crash, a26fad95-11fc-47e1-b855-6cbcda310a85
12-23 16:35:18.093 3635-5053/? W/ActivityManager:   Force finishing activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-23 16:35:18.096 3635-5053/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
                                                  
                                                  [ 12-23 16:35:18.103  1885: 1885 W/         ]
                                                  debuggerd: resuming target 5031
12-23 16:35:18.106 3635-3687/? I/BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
12-23 16:35:18.116 3635-3649/? D/GraphicsStats: Buffer count: 10
12-23 16:35:18.116 3635-3635/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
12-23 16:35:18.116 3635-4653/? I/WindowManager: WIN DEATH: Window{1d72d4f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-23 16:35:18.116 3635-4653/? W/WindowManager: Force-removing child win Window{ea4a112 u0 SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity} from container Window{1d72d4f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-23 16:35:18.116 3635-29072/? I/ActivityManager: Process net.inclem.pyonicinterpreter3 (pid 5031) has died
12-23 16:35:18.116 3635-29072/? D/ActivityManager: cleanUpApplicationRecord -- 5031
12-23 16:35:18.119 3635-4252/? W/WindowManager: Failed looking up window
                                                java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@2868cdc does not exist
                                                    at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9669)
                                                    at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9660)
                                                    at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1828)
                                                    at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
12-23 16:35:18.119 2164-2164/? I/Zygote: Process 5031 exited due to signal (11)
12-23 16:35:18.119 3635-4252/? I/WindowManager: WIN DEATH: null
12-23 16:35:18.135 3635-29071/? I/InputDispatcher: Focus entered window: Window{e8237f5 u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity}
12-23 16:35:18.137 3635-3635/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
12-23 16:35:18.143 3635-4658/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=org.codeaurora.action.stk.idle_screen flg=0x10 cmp=com.android.stk/.StkCmdReceiver (has extras) },1]
12-23 16:35:18.149 3635-3649/? W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46e030d attribute=null, token = android.os.BinderProxy@542a12c
12-23 16:35:18.150 4953-4953/? I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@e2f2445 time:140055567
12-23 16:35:18.155 3635-29070/? I/BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }]
12-23 16:35:18.158 3635-3665/? I/InputDispatcher: Focus entered window: Window{8d0981a u0 Application Error: net.inclem.pyonicinterpreter3}
12-23 16:35:18.171 3635-4693/? I/BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }]
12-23 16:35:18.175 3635-29069/? I/BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=org.codeaurora.action.stk.idle_screen flg=0x10 (has extras) }]
12-23 16:35:18.180 3635-9110/? I/OpenGLRenderer: Initialized EGL, version 1.4
12-23 16:35:18.180 3635-9110/? D/OpenGLRenderer: Swap behavior 1
12-23 16:35:18.190 5055-5055/? D/nativedumper:main: Native dumper invoked.
12-23 16:35:18.190 5055-5055/? I/nativedumper:main: private_mode is true
12-23 16:35:18.190 5055-5055/? I/nativedumper:main: process_id is 5031
12-23 16:35:18.190 5055-5055/? I/nativedumper:main: thread_name is unknown
12-23 16:35:18.190 5055-5055/? I/nativedumper:main: signal_number is 11
12-23 16:35:18.190 5055-5055/? D/nativedumper:main: Reading the activities for this pid from clm.
12-23 16:35:18.191 5055-5055/? W/clmlib: Couldn't open: /proc/5031/status, (2), No such file or directory
12-23 16:35:18.191 5055-5055/? W/clmlib: No parent (-1)? ppid=0
12-23 16:35:18.191 5055-5055/? I/nativedumper:main: Process pid 5031(Unknown Unknown) died by signal - 11.
12-23 16:35:18.191 5055-5055/? E/nativedumper:main: Unable to open proc entry for 5031. No such file or directory(2)
12-23 16:35:18.191 5055-5055/? E/nativedumper:main: Could not read process name for 5031.
12-23 16:35:18.191 5055-5055/? I/nativedumper:main: Process pid 5031(unknown ) died by signal - 11.
12-23 16:35:18.206 5055-5055/? W/nativedumper:main: Could not read dump destination path - -95
12-23 16:35:18.206 5055-5055/? I/nativedumper:main: Adding ramdump targets from xml to queue.
12-23 16:35:18.207 5055-5055/? E/nativedumper:FW:  parser.c(74): Failed to find expected node from: //mem_desc[@path]
12-23 16:35:18.207 5055-5055/? D/nativedumper:main: get_info:path:/proc/rdtags/rdinfo_ts3, output: 5031 16a56b8a-62be-466a-9a48-93e1fa479966 /data/tombstones/tombstone_03 bytes:72 in-buf-size:4146
12-23 16:35:18.207 5055-5055/? D/nativedumper:main: Found tag for pid 5031
12-23 16:35:18.222 5055-5055/? D/nativedumper:main: Tombstone path:/data/tombstones/tombstone_03 UUID:16a56b8a-62be-466a-9a48-93e1fa479966 PID:5031
12-23 16:35:18.222 5055-5055/? E/nativedumper:main: Process name not set. Cannot dump package information
12-23 16:35:18.222 5055-5055/? W/nativedumper:main: Adding package info failed.
12-23 16:35:18.223 5055-5055/? E/nativedumper:FW:  utils.c(256): mkdir (/data/crashdata) failed. File exists
12-23 16:35:18.216 5055-5055/? W/nativedumper: type=1400 audit(0.0:1734): avc: denied { write } for name="/" dev="rootfs" ino=1 scontext=u:r:debuggerd:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 ppid=1 pcomm="init" pgid=1 pgcomm="init"
12-23 16:35:18.226 5055-5055/? E/nativedumper:FW:  ramdump_framework.c(317): fp is NULL
12-23 16:35:18.226 5055-5055/? E/nativedumper:FW:  ramdump_framework.c(498): Permission denied
12-23 16:35:18.281 3635-3690/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{6468f48 u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity t962} time:140055697 diff:160 start:warm|pausing batt:96|2 mw:off|0 mem:576172|0|47|7|12 cpu:[1555200, 1555200, 1555200, 1555200, 0, 0, 1958400, 0]
12-23 16:35:18.316 3635-3885/? I/BroadcastQueue: am_broadcast_enqueue: [background,0,Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) },2]
12-23 16:35:18.316 3635-3663/? I/BroadcastQueue: am_broadcast_finished: [background,0,Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) }]
12-23 16:35:18.365 5055-5055/? I/nativedumper:main: Native crash dump collection done.
12-23 16:35:18.365 3635-3687/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=com.sonymobile.crashmonitorsystemservice.DIR_UPDATED flg=0x10 (has extras) },2]
12-23 16:35:18.386 3635-4692/? I/ActivityManager: Start proc 5062:com.sonymobile.rcahandler/1000 for broadcast com.sonymobile.rcahandler/.RcaHandlerReceiver
12-23 16:35:18.427 5062-5062/? W/System: ClassLoader referenced unknown path: /system/app/RcaHandler/lib/arm64
12-23 16:35:18.449 5062-5062/? I/LoadedApk: No resource references to update in package alias:android.res.overlay_305
12-23 16:35:18.449 5062-5062/? I/LoadedApk: No resource references to update in package alias:com.sonymobile.dummy
12-23 16:35:18.452 5062-5062/? I/RcaHandler: Forwarding intent: com.sonymobile.crashmonitorsystemservice.DIR_UPDATED
12-23 16:35:18.455 3635-29070/? I/BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.sonymobile.crashmonitorsystemservice.DIR_UPDATED flg=0x10 (has extras) }]
12-23 16:35:18.472 5062-5078/? I/RcaHandler: fileName = tlcore_native_03
12-23 16:35:18.480 5062-5078/? I/RcaHandler: Handle APP-dumpfile with UUID:D98D9A11-7CCC-52C3-687B-25C7FBF85C0C-0CA866BD from:NativeDumper named:/data/crashdata/tlcore_native_03
12-23 16:35:18.848 5062-5078/? I/RcaHandler: Added event. Result: 0, crashId: D98D9A11-7CCC-52C3-687B-25C7FBF85C0C-0CA866BD, Probe: RcaInfoProbeExtended
12-23 16:35:18.851 5062-5078/? I/RcaHandler: Added event. Result: 0, crashId: D98D9A11-7CCC-52C3-687B-25C7FBF85C0C-0CA866BD, Probe: RcaInfoProbeCompact
12-23 16:35:18.851 5062-5078/? I/RcaHandler: Saved NATIVE_APP (ID:730d2466-b12d-4ca0-95e7-f74c971a4a7e) to IDD
12-23 16:35:18.853 3635-4653/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=com.sonymobile.crashmonitor.CRASH_STATUS flg=0x10 (has extras) },1]
12-23 16:35:18.853 5062-5078/? I/RcaHandler: Added entry APP to rca-list
12-23 16:35:18.870 3635-4640/? I/BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.sonymobile.crashmonitor.CRASH_STATUS flg=0x10 (has extras) }]
12-23 16:35:19.668 3999-4417/? D/NetworkController.MobileSignalController(1): updateIconBaseOnLocation: unsupported data net type: 19
12-23 16:35:20.112 2426-2426/? I/MSM-irqbalance: Decided to move IRQ159 from CPU6 [P:0] to CPU2 [P:1] (banned)
12-23 16:35:20.134 3635-3663/? I/ActivityManager: Start proc 5092:com.google.android.googlequicksearchbox:search/u0a94 for service com.google.android.googlequicksearchbox/com.google.android.apps.gsa.search.core.service.SearchService
12-23 16:35:20.176 3635-5289/? I/ActivityManager: Process android.process.media (pid 3785) has died
12-23 16:35:20.176 3635-5289/? D/ActivityManager: cleanUpApplicationRecord -- 3785
12-23 16:35:20.176 3635-5289/? W/ActivityManager: Scheduling restart of crashed service com.android.providers.media/.MtpService in 67970ms
12-23 16:35:20.257 5092-5092/? I/art: Starting a blocking GC AddRemoveAppImageSpace
12-23 16:35:20.366 4737-4737/? I/WearableService: Wearable Services stopping
12-23 16:35:20.445 5092-5092/? I/LoadedApk: No resource references to update in package alias:android.res.overlay_305
12-23 16:35:20.446 5092-5092/? I/LoadedApk: No resource references to update in package alias:com.sonymobile.dummy
12-23 16:35:20.883 3635-4656/? I/BroadcastQueue: am_broadcast_enqueue: [background,0,Intent { act=com.google.android.googlequicksearchbox.FROM_ANY_SCREEN_INTERACTOR_FLAG_CHANGED flg=0x10 (has extras) },1]
12-23 16:35:20.884 3635-3663/? I/BroadcastQueue: am_broadcast_finished: [background,0,Intent { act=com.google.android.googlequicksearchbox.FROM_ANY_SCREEN_INTERACTOR_FLAG_CHANGED flg=0x10 (has extras) }]
12-23 16:35:20.910 5092-5108/? I/OpaEligibilityChecker: send OpaEligibilityChange broadcast to CommonBroadcastReceiver
12-23 16:35:20.912 3635-3857/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=com.google.android.apps.gsa.broadcastreceiver.ACTION_OPA_ELIGIBILITY_CHANGE flg=0x10 cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.broadcastreceiver.CommonBroadcastReceiver },1]
12-23 16:35:20.945 3635-3648/? I/BroadcastQueue: am_broadcast_enqueue: [background,0,Intent { act=com.google.android.apps.gmm.NAVIGATION_STATE flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) },1]
12-23 16:35:20.945 3635-3648/? I/BroadcastQueue: am_broadcast_enqueue: [background,0,Intent { act=com.google.android.apps.gmm.NAVIGATION_STATE flg=0x10 pkg=com.google.android.gms (has extras) },1]
12-23 16:35:20.945 3635-3663/? I/BroadcastQueue: am_broadcast_finished: [background,0,Intent { act=com.google.android.apps.gmm.NAVIGATION_STATE flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) }]
12-23 16:35:20.945 3635-3663/? I/BroadcastQueue: am_broadcast_finished: [background,0,Intent { act=com.google.android.apps.gmm.NAVIGATION_STATE flg=0x10 pkg=com.google.android.gms (has extras) }]
12-23 16:35:20.955 5092-5092/? W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
12-23 16:35:20.955 5092-5092/? W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
12-23 16:35:20.955 5092-5092/? W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
12-23 16:35:20.986 3635-29070/? I/ActivityManager: Start proc 5116:com.google.android.partnersetup/u0a51 for content provider com.google.android.partnersetup/.RlzAppProvider
12-23 16:35:21.011 5092-5092/? I/SearchService: We were killed and are starting back!
12-23 16:35:21.016 3635-5289/? I/ActivityManager: Process com.sonymobile.podcast (pid 4346) has died
12-23 16:35:21.017 3635-5289/? D/ActivityManager: cleanUpApplicationRecord -- 4346
12-23 16:35:21.033 5116-5116/? W/System: ClassLoader referenced unknown path: /system/priv-app/GooglePartnerSetup/lib/arm64
12-23 16:35:21.034 5109-5109/? I/GsaVoiceInteractionSrv: sendInitializeMessageToHandler locale en-US hotwordPhrase X Google
12-23 16:35:21.035 5109-5109/? I/GsaVoiceInteractionSrv: Not calling getSupportedRecognitionModes. Availability: -2
12-23 16:35:21.036 5109-5109/? I/HwDetectorWithState: #performNextHotwordAction action: 3
12-23 16:35:21.048 5116-5116/? I/LoadedApk: No resource references to update in package alias:android.res.overlay_305
12-23 16:35:21.049 5116-5116/? I/LoadedApk: No resource references to update in package alias:com.sonymobile.dummy
12-23 16:35:21.074 5092-5092/? I/MicroDetectionWorker: Initializing MicroDataManager InitializeType-1, isForced-false, isXGooglePhoneEnrollment-true isActiveXGoogleEnrollment-false

@darwusch
Copy link
Author

So it looks like two libraries can not be found:

"libpython2.7.so"
and
"libpython3.5m.so"

@darwusch
Copy link
Author

When I look in the folder "net.inclem.pyonicinterpreter3-1\lib\arm"
I can not see these files. There is a file named libpython3.6m.so however.

@inclement
Copy link
Member

The failing to find libpython2.7 and 3.5 is okay, but it does look like 3.6 may be missing from the loaded list at https://github.com/kivy/python-for-android/blob/master/pythonforandroid/bootstraps/sdl2/build/src/main/java/org/kivy/android/PythonUtil.java#L47 . You could try adding python3.6m here, or building with python 3.5, and seeing if the resulting APK works.

@darwusch
Copy link
Author

darwusch commented Dec 24, 2017

I added the python3.6m in file PythonUtil and recompiled.
The error from the missing lib is gone, but the crash is the same.
Tried both adding python3.6m as well as replacing python3.5m

It seems to crash here:
12-24 11:57:33.920 18457-18473/? I/python: set wchar paths...
12-24 11:57:33.940 18457-18473/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x590004 in tid 18473 (SDLThread)

Whole syslog:

12-24 11:57:33.622 3635-18313/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 pkg=net.inclem.pyonicinterpreter3 cmp=net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity} from uid 10050 on display 0
12-24 11:57:33.625 3635-18313/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
12-24 11:57:33.665 3635-3857/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
12-24 11:57:33.682 3635-3857/? I/ActivityManager: Start proc 18457:net.inclem.pyonicinterpreter3/u0a287 for activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-24 11:57:33.789 18457-18457/? V/PythonActivity: My oncreate running
12-24 11:57:33.789 18457-18457/? V/PythonActivity: About to do super onCreate
12-24 11:57:33.790 18457-18457/? V/SDL: Device: E5823
12-24 11:57:33.790 18457-18457/? V/SDL: Model: E5823
12-24 11:57:33.790 18457-18457/? V/SDL: onCreate():null
12-24 11:57:33.790 18457-18457/? V/PythonActivity: Did super onCreate
12-24 11:57:33.790 18457-18457/? V/SDL: getting identifier
12-24 11:57:33.790 18457-18457/? V/SDL: kind is drawable and name presplash
12-24 11:57:33.790 18457-18457/? V/SDL: result is 2130837506
12-24 11:57:33.828 18457-18457/? V/SDL: asked to get string presplash_color
12-24 11:57:33.828 18457-18457/? V/SDL: getting identifier
12-24 11:57:33.828 18457-18457/? V/SDL: kind is string and name presplash_color
12-24 11:57:33.828 18457-18457/? V/SDL: result is 2130968578
12-24 11:57:33.837 18457-18471/? V/PythonActivity: Ready to unpack
12-24 11:57:33.837 18457-18471/? V/PythonActivity: UNPACKING!!! private app
12-24 11:57:33.837 18457-18471/? V/SDL: asked to get string private_version
12-24 11:57:33.837 18457-18471/? V/SDL: getting identifier
12-24 11:57:33.837 18457-18471/? V/SDL: kind is string and name private_version
12-24 11:57:33.837 18457-18471/? V/SDL: result is 2130968577
12-24 11:57:33.837 18457-18457/? V/PythonActivity: onResume()
12-24 11:57:33.837 18457-18457/? V/SDL: onResume()
12-24 11:57:33.837 18457-18471/? V/PythonActivity: Data version is 1507984993.806324
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libSDL2_mixer.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libSDL2_ttf.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libmain.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libSDL2.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libcrystax.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Pattern libcrystax.so matched file libcrystax.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libSDL2_image.so
12-24 11:57:33.850 18457-18457/? V/pythonutil: Checking pattern libcrystax.so against libpython3.6m.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libSDL2_mixer.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libSDL2_ttf.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libmain.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libSDL2.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libcrystax.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libSDL2_image.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libsqlite3.so against libpython3.6m.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl..so against libSDL2_mixer.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl.
.so against libSDL2_ttf.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl..so against libmain.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl.
.so against libSDL2.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl..so against libcrystax.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl.
.so against libSDL2_image.so
12-24 11:57:33.851 18457-18457/? V/pythonutil: Checking pattern libssl..so against libpython3.6m.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto.
.so against libSDL2_mixer.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto..so against libSDL2_ttf.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto.
.so against libmain.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto..so against libSDL2.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto.
.so against libcrystax.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto..so against libSDL2_image.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Checking pattern libcrypto.
.so against libpython3.6m.so
12-24 11:57:33.852 18457-18457/? V/pythonutil: Loading library: crystax
12-24 11:57:33.853 3635-3690/? W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
12-24 11:57:33.857 18457-18457/? V/pythonutil: Loading library: SDL2
12-24 11:57:33.860 18457-18457/? V/pythonutil: Loading library: SDL2_image
12-24 11:57:33.862 3635-3644/? I/art: Background partial concurrent mark sweep GC freed 62933(4MB) AllocSpace objects, 15(1308KB) LOS objects, 33% free, 29MB/44MB, paused 1.555ms total 138.625ms
12-24 11:57:33.870 18457-18457/? V/pythonutil: Loading library: SDL2_mixer
12-24 11:57:33.872 18457-18457/? V/pythonutil: Loading library: SDL2_ttf
12-24 11:57:33.873 18457-18457/? V/pythonutil: Loading library: python3.6m
12-24 11:57:33.876 18457-18457/? V/pythonutil: Loading library: main
12-24 11:57:33.880 18457-18457/? V/pythonutil: Failed to load _io.so or unicodedata.so...but that's okay.
12-24 11:57:33.880 18457-18457/? V/pythonutil: Unsatisfied linker when loading ctypes
12-24 11:57:33.880 18457-18457/? V/pythonutil: Loaded everything!
12-24 11:57:33.891 18457-18457/? V/PythonActivity: Setting env vars for start.c and Python to use
12-24 11:57:33.891 18457-18457/? V/PythonActivity: Access to our meta-data...
12-24 11:57:33.892 18457-18457/? I/PythonActivity: Surface will NOT be transparent
12-24 11:57:33.897 3635-19185/? I/InputDispatcher: Focus entered window: Window{332ca6f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-24 11:57:33.899 18457-18472/? I/Adreno: QUALCOMM build : ce5aeb9, I750f7f2fa6
Build Date : 03/24/17
OpenGL ES Shader Compiler Version: XE031.09.00.03
Local Branch :
Remote Branch : quic/LA.BF64.1.2.3_rb1.11
Remote Branch : NONE
Reconstruct Branch : NOTHING
12-24 11:57:33.907 18457-18472/? I/OpenGLRenderer: Initialized EGL, version 1.4
12-24 11:57:33.907 18457-18472/? D/OpenGLRenderer: Swap behavior 1
12-24 11:57:33.909 18457-18457/? V/SDL: surfaceCreated()
12-24 11:57:33.909 18457-18457/? V/SDL: surfaceChanged()
12-24 11:57:33.909 18457-18457/? V/SDL: pixel format RGB_565
12-24 11:57:33.910 18457-18457/? V/SDL: Window size:720x1136
12-24 11:57:33.919 18457-18473/? I/SDL: SDL_Android_Init()
12-24 11:57:33.919 18457-18473/? I/SDL: SDL_Android_Init() finished!
12-24 11:57:33.919 18457-18473/? I/python: Initialize Python for Android
12-24 11:57:33.919 18457-18473/? I/python: Changing directory to the one provided by ANDROID_ARGUMENT
12-24 11:57:33.919 18457-18473/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app
12-24 11:57:33.919 18457-18473/? I/python: Preparing to initialize python
12-24 11:57:33.920 18457-18473/? I/python: crystax_python exists
12-24 11:57:33.920 18457-18473/? I/python: calculated paths to be...
12-24 11:57:33.920 18457-18473/? I/python: /data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/stdlib.zip:/data/user/0/net.inclem.pyonicinterpreter3/files/app/crystax_python/modules
12-24 11:57:33.920 18457-18473/? I/python: set wchar paths...
12-24 11:57:33.940 18457-18473/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x590004 in tid 18473 (SDLThread)

                                     [ 12-24 11:57:33.940  1885: 1885 W/         ]
                                     debuggerd: handling request: pid=18457 uid=10287 gid=10287 tid=18473

12-24 11:57:34.014 18476-18476/? D/clmlib: Got activities:0x0000000E
12-24 11:57:34.015 18476-18476/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-24 11:57:34.015 18476-18476/? A/DEBUG: UUID: 3ad13031-5ef9-4f44-a0c3-eed8bc35e30e
12-24 11:57:34.015 18476-18476/? A/DEBUG: Build fingerprint: 'Sony/E5823/E5823:7.1.1/32.4.A.1.54/3761073091:user/release-keys'
12-24 11:57:34.015 18476-18476/? A/DEBUG: Revision: '0'
12-24 11:57:34.015 18476-18476/? A/DEBUG: ABI: 'arm'
12-24 11:57:34.016 18476-18476/? A/DEBUG: pid: 18457, tid: 18473, name: SDLThread >>> net.inclem.pyonicinterpreter3 <<<
12-24 11:57:34.016 18476-18476/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x590004
12-24 11:57:34.016 18476-18476/? A/DEBUG: r0 00590000 r1 00000000 r2 0000000a r3 00000000
12-24 11:57:34.016 18476-18476/? A/DEBUG: r4 f2a0f8c0 r5 0000002b r6 f2a12008 r7 e8f4d0f0
12-24 11:57:34.016 18476-18476/? A/DEBUG: r8 e8f356f0 r9 d5b0e3cb sl d5c8313c fp d59de0d8
12-24 11:57:34.016 18476-18476/? A/DEBUG: ip f2a0d85c sp d59ddff8 lr f29d7ccf pc f29d7cd4 cpsr 200b0030
12-24 11:57:34.022 18476-18476/? A/DEBUG: backtrace:
12-24 11:57:34.022 18476-18476/? A/DEBUG: #00 pc 0004ecd4 /system/lib/libc.so (__sfp+35)
12-24 11:57:34.022 18476-18476/? A/DEBUG: #1 pc 0004eee7 /system/lib/libc.so (_ZL7__fopenii+22)
12-24 11:57:34.022 18476-18476/? A/DEBUG: #2 pc 0004ee7b /system/lib/libc.so (fopen+54)
12-24 11:57:34.022 18476-18476/? A/DEBUG: #3 pc 00000d24 /vendor/lib/libdrmfix.so (fopen+332)
12-24 11:57:34.131 18323-18366/? D/SDK: [SourceFile:324] - SimpleHttpHelper RESPONSE success:
code=200
result=success
url=http://ad.api.kaffnet.com/adserver/v1/sdk/installreport/get?natural=0&token=e8365b64-864e-7ff0-fb0c-c787d46cccb1&event=0&timestamp=1514113052383&app_pkg=com.popularapp.periodcalendar&add_time=1514113052383&app_version=1.631.171&country=US&network_type=1&imei=&pkg_name=net.inclem.pyonicinterpreter3&sdk_version=5.0.0.3.4230&version=10301&os_version=7.1.1&language=en&aid=4e157ce9ae2a02ce&gaid=5f50bc43-15a8-470c-a8d5-1bcf1d3c7079
12-24 11:57:34.132 18323-18323/? D/SDK: [SourceFile:31] - -----------http success---------http://ad.api.kaffnet.com/adserver/v1/sdk/installreport/get
12-24 11:57:34.289 4737-4737/? I/WearableService: Wearable Services stopping
12-24 11:57:34.688 18476-18476/? D/clmlib: Going to use a fd

                                       [ 12-24 11:57:34.689 18476:18476 D/         ]
                                       private_mode
                                       
                                       [ 12-24 11:57:34.689 18476:18476 D/         ]
                                       pid =  18457
                                       
                                       [ 12-24 11:57:34.689 18476:18476 D/         ]
                                       signal =  11
                                       
                                       [ 12-24 11:57:34.689 18476:18476 D/         ]
                                       NativeDumper will be started by Init
                                       
                                       
                                       [ 12-24 11:57:34.693 18476:18476 E/         ]
                                       debuggerd: failed to kill process 18457: No such process

12-24 11:57:34.696 3635-18477/? D/ActivityManager: New dropbox entry: net.inclem.pyonicinterpreter3, data_app_native_crash, 1a1082c3-0658-4a98-a048-5762e84e5f00
12-24 11:57:34.697 3635-18477/? W/ActivityManager: Force finishing activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity

                                               [ 12-24 11:57:34.698  1885: 1885 W/         ]
                                               debuggerd: resuming target 18457

12-24 11:57:34.700 3635-3687/? I/BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
12-24 11:57:34.714 3635-18477/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
12-24 11:57:34.714 3635-18477/? W/ActivityManager: Force finishing activity net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity
12-24 11:57:34.714 3635-18477/? W/ActivityManager: Duplicate finish request for ActivityRecord{acc037f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity t1163 f}
12-24 11:57:34.716 3635-3635/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
12-24 11:57:34.736 3635-3635/? I/BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
12-24 11:57:34.745 3635-3863/? W/InputDispatcher: channel '332ca6f net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
12-24 11:57:34.746 3635-3863/? E/InputDispatcher: channel '332ca6f net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
12-24 11:57:34.746 3635-4656/? D/GraphicsStats: Buffer count: 10
12-24 11:57:34.747 3635-4656/? I/WindowManager: WIN DEATH: Window{53d59b9 u0 SurfaceView - net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-24 11:57:34.749 3635-3649/? I/ActivityManager: Process net.inclem.pyonicinterpreter3 (pid 18457) has died
12-24 11:57:34.749 3635-3649/? D/ActivityManager: cleanUpApplicationRecord -- 18457
12-24 11:57:34.756 18479-18479/? D/nativedumper:main: Native dumper invoked.
12-24 11:57:34.756 18479-18479/? I/nativedumper:main: private_mode is true
12-24 11:57:34.756 18479-18479/? I/nativedumper:main: process_id is 18457
12-24 11:57:34.756 18479-18479/? I/nativedumper:main: thread_name is unknown
12-24 11:57:34.756 18479-18479/? I/nativedumper:main: signal_number is 11
12-24 11:57:34.756 18479-18479/? D/nativedumper:main: Reading the activities for this pid from clm.
12-24 11:57:34.756 3635-4677/? I/WindowManager: WIN DEATH: Window{332ca6f u0 net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity}
12-24 11:57:34.756 3635-4677/? W/InputDispatcher: Attempted to unregister already unregistered input channel '332ca6f net.inclem.pyonicinterpreter3/org.kivy.android.PythonActivity (server)'
12-24 11:57:34.757 18479-18479/? D/clmlib: Got activities:0x0000000E
12-24 11:57:34.757 18479-18479/? I/nativedumper:main: Process pid 18457(nicinterpreter3 nicinterpreter3) died by signal - 11.
12-24 11:57:34.757 18479-18479/? I/nativedumper:main: start collecting core dump.
12-24 11:57:34.757 2164-2164/? I/Zygote: Process 18457 exited due to signal (11)

@darwusch
Copy link
Author

Could it have something to do with the used ABI?
I see in the log "ABI: 'arm'"
But it uses armeabi-v7a

@rdymac
Copy link

rdymac commented Jul 19, 2018

A friend was not able to run current Electrum 3.2.1 on Android 4.2.1 (and another phone pretty similar to it), with the same error of “could not load library libpython3.6m.so”.

I have it correctly running in Android 4.3.0, 4.4.4, and 5.1 phones though.

@inclement
Copy link
Member

Closing as stale, probobaly fixed by the many changes since then.

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

3 participants