spesmilo / electrum

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

OverflowError: can't convert negative int to unsigned #6674

Closed TARS-bot closed 9 months ago

TARS-bot commented 3 years ago

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 747, in mainloop
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 479, in _mainloop
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 342, in idle
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 327, in dispatch_input
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 293, in post_dispatch_input
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/uix/behaviors/button.py", line 179, in on_touch_up
  File "kivy/_event.pyx", line 703, in kivy._event.EventDispatcher.dispatch
  File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
  File "kivy/_event.pyx", line 1098, in kivy._event.EventObservers._dispatch
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/lang/builder.py", line 64, in custom_callback
  File "<string>", line 52, in <module>
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/dscancel_dialog.py", line 108, in on_ok
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/tx_dialog.py", line 278, in _do_dscancel
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/tx_dialog.py", line 181, in update
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 886, in estimated_size
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 936, in estimated_weight
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 916, in estimated_total_size
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 826, in serialize_to_network
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 826, in <genexpr>
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/transaction.py", line 108, in serialize_to_network

OverflowError: can't convert negative int to unsigned

Reporter

This issue was reported by 124 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on Realme RMX1901 (RMX1901_11_C.06) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung y2s (QP1A.190711.020.G986BXXU4BTIB) standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.20246-SP0 2fa en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.20246-SP0 2fa en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 2fa en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard pt_PT ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 7.0 on HUAWEI HWVNS-H (VNS-L21C432B506) imported en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on Redmi galahad (build-20200915234128) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung beyond0 (QP1A.190711.020.G970FXXU8DTH7) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on Redmi galahad (build-20200915234128) standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_AU ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung y2s (QP1A.190711.020.G985FXXU1ATBM) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung y2s (QP1A.190711.020.G985FXXU1ATBM) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung y2s (QP1A.190711.020.G985FXXU1ATBM) standard en_US ℹ
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung y2s (QP1A.190711.020.G985FXXU1ATBM) standard en_US ℹ
4.0.5 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on xiaomi lavender (QKQ1.190910.002 V12.0.1.0.QFGRUXM) standard en_US ℹ
4.0.5 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on motorola pokerp (PTB29.401-58) standard en_US ℹ
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard es_VE ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard es_PE ℹ
4.0.5 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard es_PE ℹ
4.0.5 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung a30s (QP1A.190711.020.A307FNXXU2BTJ2) standard en_US ℹ
4.0.2 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Linux-5.8.0-2-amd64-x86_64-with-debian-10.6 standard en_US ℹ
4.0.5 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on motorola def (QPFS30.103-43-12) standard en_US ℹ
4.0.6 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.7 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on HUAWEI HWMAR (MAR-L21B 10.0.0.290(C431E4R4P1)) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung crownqlteue (QP1A.190711.020.N960U1UES5FTK1) standard en_US ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 2fa ru_UA ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 2fa de_DE ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.1.0 on xiaomi tulip (OPM1.171019.011) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.1.0 on xiaomi tulip (OPM1.171019.011) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 2fa ru_RU ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on xiaomi willow (QKQ1.200114.002 test-keys) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on HONOR HWJSN-H (JSN-L42 10.0.0.223(C675E14R2P1)) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on HONOR HWJSN-H (JSN-L42 10.0.0.223(C675E14R2P1)) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung a71 (QP1A.190711.020.A715FXXU3ATK1) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on samsung a71 (QP1A.190711.020.A715FXXU3ATK1) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.6 3.9.1 (default, Dec 13 2020, 11:55:53) [GCC 10.2.0] Linux-5.10.11-hardened1-1-hardened-x86_64-with-glibc2.32 standard en_US ℹ
4.0.6 3.9.1 (default, Dec 13 2020, 11:55:53) [GCC 10.2.0] Linux-5.10.11-hardened1-1-hardened-x86_64-with-glibc2.32 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 imported pt_PT ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.1.0 on SEMP GO3C_Plus (GO3C_Plus_V9.0_20210127) imported en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on Infinix Infinix-X626 (X626-H624JK-P-200307V400) standard en_US ℹ
4.0.9 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-19.3.0-x86_64-i386-64bit standard ? ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 2fa pl_PL ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 2fa pl_PL ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_GB ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on samsung a20e (PPR1.180610.011.A202FXXU2ASG1) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard de_DE ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard es_ES ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on OnePlus OnePlus7Pro (GM1913_21_210128) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard de_DE ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_GB ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 2fa,standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 2fa en_GB ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 2fa en_GB ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 7.0 on MetroPCS lv3 (NRD90U) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 7.0 on MetroPCS lv3 (NRD90U) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 2fa en_GB ℹ
4.0.9 3.8.6 (default, Nov 10 2011, 15:00:00) [GCC 10.2.0] Linux-5.8.0-7642-generic-x86_64-with-glibc2.2.5 standard ru_RU ℹ
4.0.9 3.8.6 (default, Nov 10 2011, 15:00:00) [GCC 10.2.0] Linux-5.8.0-7642-generic-x86_64-with-glibc2.2.5 standard ru_RU ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on asus ASUS_Z01R_1 (QKQ1.191008.001.WW_user_100.10.107.110_20201118 release-keys) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard fr_FR ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard sv_SE ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.275(C431E8R2P7)) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard pt_BR ℹ
4.0.4 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_GB ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.0.0 on samsung starlte (R16NW.G960FXXU2BRGA) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.1.0 on SEMP GO3C_Plus (GO3C_Plus_V9.0_20210127) imported en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.8.7 (default, Nov 10 2011, 15:00:00) [GCC 10.2.0] Linux-5.8.0-7642-generic-x86_64-with-glibc2.2.5 standard ru_RU ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.0.0 on lge lucye (OPR1.170623.032) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.0.0 on lge lucye (OPR1.170623.032) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported nl_NL ℹ
4.0.9 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-18.7.0-x86_64-i386-64bit standard ? ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on xiaomi lavender (QKQ1.190910.002 V12.0.1.0.QFGMIXM) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on xiaomi lavender (QKQ1.190910.002 V12.0.1.0.QFGMIXM) standard en_US ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:17:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.1.0 on TCL Curie (5003D_ALGB_V1.9_20200612) standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported nl_NL ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 imported nl_NL ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 8.0.0 on samsung heroqltetfnvzw (R16NW.G930VLUDS8DSA1) 2fa en_US ℹ
4.1.2 3.7.10 (default, Jun 28 2018, 19:01:02) [GCC 5.4.0 20160609] Linux-5.10.0-0.bpo.3-amd64-x86_64-with-debian-10.8 standard sv_SE ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 7.0 on samsung hero2lte (NRD90M.G935FXXU2DRAG) standard en_US ℹ
4.1.2 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard nl_NL ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard fr_CA ℹ
4.0.9 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-20.3.0-x86_64-i386-64bit standard ? ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_GB ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard sv_SE ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard en_GB ℹ
4.0.9 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 11 on samsung a51 (RP1A.200720.012.A515FXXU4DUB2) standard en_US ℹ
4.1.2 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US ℹ
4.1.2 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.21390-SP0 standard en_US ℹ
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 2fa es_ES ℹ
4.0.9 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] Linux-5.10.0-8-amd64-x86_64-with-debian-10.10 2fa en_US ℹ
4.2.1 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 standard es_ES ℹ
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-5.10.0-16-amd64-x86_64-with-glibc2.31 2fa en_US ℹ
4.3.2 3.9.11 (v3.9.11:2de452f8bf, Mar 16 2022, 10:34:36) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit 4of6 ? ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-5.10.0-19-amd64-x86_64-with-glibc2.31 standard ru_RU ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.1.0-7-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.1.0-7-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.1.0-16-amd64-x86_64-with-glibc2.31 standard en_US ℹ
4.0.9 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Linux-6.1.0-17-amd64-x86_64-with-glibc2.31 standard ru_RU ℹ
4.0.9 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-20.2.0-x86_64-i386-64bit standard ? ℹ
4.0.9 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)] Darwin-20.2.0-x86_64-i386-64bit standard ? ℹ

Additional Information

whats the problem


scam


tgvjj


g4h


Buenas tardes tengo saldo para para enviar pero cuando lo quiero hacer me aparece el mensaje que mi saldo es insuficiente qu debo hacer


ggg


tried taking back payment


no idea what went wrong i just want to cancel this unconfirmed payment x


Double spending RBF transaction


tried to cancel a spend.... look its only a friciken pound. I cant increase the fee cause its all wrapped up in the send and I cant cancel it back to me either probably cause i already sent too much and had limited for the fee :( Bitcoin will never work if everyday people have to do this.


trying to cancel an unconfirmed payment


i was phished need to get everything out ot wallet


wrong wallet


Traceback (most recent call last): File "electrum\gui\qt\main_window.py", line 1613, in do_pay File "electrum\gui\qt\main_window.py", line 1627, in do_pay_invoice File "electrum\gui\qt\main_window.py", line 1664, in pay_onchain_dialog File "electrum\gui\qt\confirm_tx_dialog.py", line 175, in init File "electrum\gui\qt\util.py", line 336, in init File "electrum\gui\qt\confirm_tx_dialog.py", line 86, in update_tx File "electrum\gui\qt\main_window.py", line 1657, in File "C:\Program Files (x86)\Electrum\electrum\plugins\trustedcoin\trustedcoin.py", line 328, in make_unsigned_transaction tx = mk_tx(outputs + [fee_output]) File "C:\Program Files (x86)\Electrum\electrum\plugins\trustedcoin\trustedcoin.py", line 322, in self, coins=coins, outputs=o, fee=fee, change_addr=change_addr) File "electrum\wallet.py", line 1253, in make_unsigned_transaction File "electrum\coinchooser.py", line 297, in make_tx File "electrum\transaction.py", line 908, in estimated_weight File "electrum\transaction.py", line 888, in estimated_total_size File "electrum\transaction.py", line 798, in serialize_to_network File "electrum\transaction.py", line 798, in File "electrum\transaction.py", line 108, in serialize_to_network OverflowError: int too big to convert


SomberNight commented 3 years ago

If the user selects a too high fee, the output could become smaller than dust or even negative. Both dscancel and cpfp are missing some checks: https://github.com/spesmilo/electrum/blob/ee24c74f192960f3e2d31ffb6b910e6bfb6bd90f/electrum/wallet.py#L1544 https://github.com/spesmilo/electrum/blob/ee24c74f192960f3e2d31ffb6b910e6bfb6bd90f/electrum/wallet.py#L1496

TARS-bot commented 3 years ago

Good afternoon @ecdsa,

I just received another crash report related to this issue. The crash occured on Electrum 4.1.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.0.9 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/channels_list.py", line 370, in new_channel_with_warning
    self.new_channel_dialog()
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/channels_list.py", line 488, in new_channel_dialog
    self.parent.open_channel(connect_str, funding_sat, 0)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/main_window.py", line 1825, in open_channel
    d = ConfirmTxDialog(window=self, make_tx=make_tx, output_value=funding_sat, is_sweep=False)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/confirm_tx_dialog.py", line 177, in __init__
    BlockingWaitingDialog(window, _("Preparing transaction..."), self.update_tx)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/util.py", line 343, in __init__
    task()
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/confirm_tx_dialog.py", line 86, in update_tx
    self.tx = self.make_tx(fee_estimator)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/gui/qt/main_window.py", line 1809, in <lambda>
    fee_est=fee_est)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/lnworker.py", line 1051, in mktx_for_open_channel
    fee=fee_est)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/wallet.py", line 1384, in make_unsigned_transaction
    dust_threshold=self.dust_threshold())
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/coinchooser.py", line 297, in make_tx
    base_weight = base_tx.estimated_weight()
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/transaction.py", line 940, in estimated_weight
    total_tx_size = self.estimated_total_size()
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/transaction.py", line 920, in estimated_total_size
    return len(self.serialize_to_network(estimate_size=True)) // 2
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/transaction.py", line 817, in serialize_to_network
    txouts = var_int(len(outputs)) + ''.join(o.serialize_to_network().hex() for o in outputs)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/transaction.py", line 817, in <genexpr>
    txouts = var_int(len(outputs)) + ''.join(o.serialize_to_network().hex() for o in outputs)
  File "/tmp/.mount_electrwqzyGN/usr/lib/python3.7/site-packages/electrum/transaction.py", line 108, in serialize_to_network
    buf = int.to_bytes(self.value, 8, byteorder="little", signed=False)

OverflowError: int too big to convert

~ With robotic wishes

TARS-bot commented 2 years ago

Good afternoon @ecdsa,

I just received another crash report related to this issue. The crash occured on Electrum 4.2.1. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.1.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "electrum\gui\qt\swap_dialog.py", line 125, in uncheck_max
  File "electrum\gui\qt\swap_dialog.py", line 198, in update
  File "electrum\gui\qt\swap_dialog.py", line 248, in update_tx
  File "electrum\gui\qt\swap_dialog.py", line 260, in _update_tx
  File "electrum\wallet.py", line 1390, in make_unsigned_transaction
  File "electrum\coinchooser.py", line 297, in make_tx
  File "electrum\transaction.py", line 990, in estimated_weight
  File "electrum\transaction.py", line 970, in estimated_total_size
  File "electrum\transaction.py", line 867, in serialize_to_network
  File "electrum\transaction.py", line 867, in <genexpr>
  File "electrum\transaction.py", line 122, in serialize_to_network
OverflowError: int too big to convert

OverflowError: int too big to convert

~ With robotic wishes

TARS-bot commented 1 year ago

Good afternoon @ecdsa,

I just received another crash report related to this issue. The crash occured on Electrum 4.3.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 4.2.1 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

Traceback (most recent call last):
  File "electrum/gui/qt/paytoedit.py", line 186, in _on_text_changed
  File "electrum/gui/qt/paytoedit.py", line 243, in _check_text
  File "electrum/gui/qt/paytoedit.py", line 272, in _parse_as_multiline
  File "electrum/gui/qt/send_tab.py", line 191, in spend_max
  File "electrum/gui/qt/send_tab.py", line 183, in <lambda>
  File "electrum/wallet.py", line 1655, in make_unsigned_transaction
  File "electrum/transaction.py", line 945, in estimated_size
  File "electrum/transaction.py", line 1007, in estimated_weight
  File "electrum/transaction.py", line 987, in estimated_total_size
  File "electrum/transaction.py", line 884, in serialize_to_network
  File "electrum/transaction.py", line 884, in <genexpr>
  File "electrum/transaction.py", line 122, in serialize_to_network
OverflowError: int too big to convert

OverflowError: int too big to convert

~ With robotic wishes

SomberNight commented 9 months ago

I believe this was fixed at some point with more aggressive checks that amounts cannot be larger than TOTAL_COIN_SUPPLY_LIMIT_IN_BTC.