spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.43k stars 3.09k forks source link

crash on send (2.8.1 android) #2285

Closed repsorp closed 7 years ago

repsorp commented 7 years ago

Crash on send with Electrum 2.8.1 Android

SYSTEM INFORMATION Android version: 4.4.2 (cm_hammerhead-userdebug 4.4.2 KOT49H InstallerXNPQ08Q release-keys) Device: LGE Nexus 5 (hammerhead)

CrashLog: 03-12 09:05:08.039 I/ActivityManager(1204): Timeline: Activity_launch_request id:org.electrum.electrum time:16067936 03-12 09:05:08.039 I/ActivityManager(726): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.electrum.electrum/org.kivy.android.PythonActivity bnds=[405,666][614,900]} from pid 1204 03-12 09:05:08.099 I/ActivityManager(726): Start proc org.electrum.electrum for activity org.electrum.electrum/org.kivy.android.PythonActivity: pid=1362 uid=10766 gids={50766, 1028, 1015, 3003} 03-12 09:05:08.209 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libSDL2.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libSDL2.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libSDL2_image.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libSDL2_image.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libSDL2_image.so 0x4186c910, skipping init 03-12 09:05:08.219 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libSDL2_mixer.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libSDL2_mixer.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libSDL2_mixer.so 0x4186c910, skipping init 03-12 09:05:08.219 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libSDL2_ttf.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libSDL2_ttf.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libSDL2_ttf.so 0x4186c910, skipping init 03-12 09:05:08.219 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libcrypto1.0.2h.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libcrypto1.0.2h.so 0x4186c910 03-12 09:05:08.219 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libcrypto1.0.2h.so 0x4186c910, skipping init 03-12 09:05:08.219 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libssl1.0.2h.so 0x4186c910 03-12 09:05:08.229 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libssl1.0.2h.so 0x4186c910 03-12 09:05:08.229 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libssl1.0.2h.so 0x4186c910, skipping init 03-12 09:05:08.229 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libpython2.7.so 0x4186c910 03-12 09:05:08.229 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libpython2.7.so 0x4186c910 03-12 09:05:08.229 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libpython2.7.so 0x4186c910, skipping init 03-12 09:05:08.239 D/dalvikvm(1362): Trying to load lib /data/app-lib/org.electrum.electrum-2/libmain.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): Added shared lib /data/app-lib/org.electrum.electrum-2/libmain.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): No JNI_OnLoad found in /data/app-lib/org.electrum.electrum-2/libmain.so 0x4186c910, skipping init 03-12 09:05:08.239 D/dalvikvm(1362): Trying to load lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_io.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): Added shared lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_io.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): No JNI_OnLoad found in /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_io.so 0x4186c910, skipping init 03-12 09:05:08.239 D/dalvikvm(1362): Trying to load lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/unicodedata.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): Added shared lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/unicodedata.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): No JNI_OnLoad found in /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/unicodedata.so 0x4186c910, skipping init 03-12 09:05:08.239 D/dalvikvm(1362): Trying to load lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_ctypes.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): Added shared lib /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_ctypes.so 0x4186c910 03-12 09:05:08.239 D/dalvikvm(1362): No JNI_OnLoad found in /data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/_ctypes.so 0x4186c910, skipping init 03-12 09:05:08.299 I/python (1362): /data/data/org.electrum.electrum/files/app 03-12 09:05:08.319 I/python (1362): ('Android path', ['/data/data/org.electrum.electrum/files/app/lib/python27.zip', '/data/data/org.electrum.electrum/files/app/lib/python2.7/', '/data/data/org.electrum.electrum/files/app/lib/python2.7/lib-dynload/', '/data/data/org.electrum.electrum/files/app/lib/python2.7/site-packages/', '/data/data/org.electrum.electrum/files/app']) 03-12 09:05:08.379 I/ActivityManager(726): Displayed org.electrum.electrum/org.kivy.android.PythonActivity: +285ms 03-12 09:05:08.379 I/python (1362): ('os.environ is', {'ANDROID_APP_PATH': '/data/data/org.electrum.electrum/files/app', 'EXTERNAL_STORAGE': '/storage/emulated/legacy', 'LOOP_MOUNTPOINT': '/mnt/obb', 'ANDROID_SOCKET_zygote': '10', 'BOOTCLASSPATH': '/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar', 'ANDROID_PROPERTY_WORKSPACE': '9,0', 'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin', 'ANDROID_STORAGE': '/storage', 'ANDROID_BOOTLOGO': '1', 'EMULATED_STORAGE_TARGET': '/storage/emulated', 'ANDROID_ASSETS': '/system/app', 'LD_LIBRARY_PATH': '/vendor/lib:/system/lib', 'TERMINFO': '/system/etc/terminfo', 'PYTHONOPTIMIZE': '2', 'ANDROID_PRIVATE': '/data/data/org.electrum.electrum/files', 'ANDROID_ENTRYPOINT': 'main.pyo', 'PYTHONPATH': '/data/data/org.electrum.electrum/files/app:/data/data/org.electrum.electrum/files/app/lib', 'ANDROID_DATA': '/data', 'EMULATED_STORAGE_SOURCE': '/mnt/shell/emulated', 'PYTHON_NAME': 'python', 'ANDROID_ROOT': '/system', 'PYTHONHOME': '/data/data/org.electrum.electrum/files/app', 'ASEC_MOUNTPOINT': '/mnt/asec', 'ANDROID_CACHE': '/cache', 'ANDROID_ARGUMENT': '/data/data/org.electrum.electrum/files/app'}) 03-12 09:05:08.449 I/ActivityManager(726): Timeline: Activity_windows_visible id: ActivityRecord{42cae3d8 u0 org.electrum.electrum/org.kivy.android.PythonActivity t196} time:16068340 03-12 09:05:08.449 I/python (1362): ['/data/data/org.electrum.electrum/files/app/lib/python2.7/site-packages', '/data/data/org.electrum.electrum/files/app/lib/site-python'] 03-12 09:05:09.569 I/python (1362): [INFO ] [Logger ] Record log in /data/data/org.electrum.electrum/files/app/.kivy/logs/kivy_17-03-1212.txt 03-12 09:05:11.679 I/python (1362): /data/data/org.electrum.electrum/files/app/packages/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. 03-12 09:05:11.679 I/python (1362): /data/data/org.electrum.electrum/files/app/packages/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. 03-12 09:05:11.799 I/python (1362): /data/data/org.electrum.electrum/files/app/packages/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. 03-12 09:05:28.849 I/python (1362): File "/opt/electrum/.buildozer/android/app/main.py", line 378, in 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/app/lib/daemon.py", line 283, in init_gui 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/app/gui/kivy/init.py", line 62, in main 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/app.py", line 828, in run 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/base.py", line 504, in runTouchApp 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/core/window/window_sdl2.py", line 658, in mainloop 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/core/window/window_sdl2.py", line 405, in _mainloop 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/base.py", line 342, in idle 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/base.py", line 327, in dispatch_input 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/base.py", line 293, in post_dispatch_input 03-12 09:05:28.859 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/uix/behaviors/button.py", line 179, in on_touch_up 03-12 09:05:28.869 I/python (1362): File "/opt/electrum/.buildozer/android/platform/build/dists/Electrum/private/lib/python2.7/site-packages/kivy/lang/builder.py", line 64, in custom_callback 03-12 09:05:28.869 I/python (1362): File "/data/data/org.electrum.electrum/files/app/gui/kivy/uix/ui_screens/send.kv", line 100, in 03-12 09:05:28.869 I/python (1362): File "/opt/electrum/.buildozer/android/app/gui/kivy/uix/screens.py", line 271, in do_send 03-12 09:05:28.869 I/python (1362): File "/opt/electrum/.buildozer/android/app/gui/kivy/uix/screens.py", line 290, in _do_send 03-12 09:05:29.309 F/libc (1362): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 1362 (ectrum.electrum) 03-12 09:05:29.329 I/ActivityManager(726): Process org.electrum.electrum (pid 1362) has died. 03-12 09:05:29.329 I/WindowState(726): WIN DEATH: Window{42f586d0 u0 org.electrum.electrum/org.kivy.android.PythonActivity}

ecdsa commented 7 years ago

Thank you for the report. Could you set your language preference to English and try again?

repsorp commented 7 years ago

No more crash on send after setting my language preference to english

Thanks for your help

Le 12/03/2017 à 10:15, ThomasV a écrit :

Thank you for the report. Could you set your language preference to Elglish and try again?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrum/issues/2285#issuecomment-285932102, or mute the thread https://github.com/notifications/unsubscribe-auth/AGAVyCdVBFCgf-AvYNavHpEAAkiqxC5sks5rk7efgaJpZM4MaeXL.

-- GnuPG Key ID: 0x59491815

ecdsa commented 7 years ago

thank you for the report, I have fixed the issue. fixed in ac88ae9c7fa7e2612dfa62b492825248d4b16294 I will upload a fixed version to Google Play in a few minutes

edit: the APK is available on Google Play, with version 2.8.1.1