spesmilo / electrum

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

StorageOnDiskUnexpectedlyChanged: expected size 11824817, found 11890273 #8930

Open TARS-bot opened 4 months ago

TARS-bot commented 4 months ago

Crash Report

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

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\main_window.py", line 2508, in closeEvent
  File "electrum\gui\qt\main_window.py", line 2539, in clean_up
  File "electrum\gui\qt\__init__.py", line 485, in close_window
  File "electrum\daemon.py", line 552, in stop_wallet
  File "concurrent\futures\_base.py", line 458, in result
  File "concurrent\futures\_base.py", line 403, in __get_result
  File "electrum\daemon.py", line 561, in _stop_wallet
  File "electrum\wallet.py", line 543, in stop
  File "electrum\wallet.py", line 478, in save_db
  File "electrum\json_db.py", line 48, in wrapper
  File "electrum\json_db.py", line 398, in write
  File "electrum\json_db.py", line 48, in wrapper
  File "electrum\json_db.py", line 409, in _append_pending_changes
  File "electrum\storage.py", line 115, in append
electrum.storage.StorageOnDiskUnexpectedlyChanged: expected size 11824817, found 11890273

StorageOnDiskUnexpectedlyChanged: expected size 11824817, found 11890273

Reporter

This issue was reported by 23 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 imported en_US ℹ
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_US ℹ
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 standard en_US ℹ
4.5.2 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_CA ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard es_MX ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard es_MX ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard de_DE ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard ru_RU ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard en_US ℹ
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard,imported ru_RU ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_GB ℹ
4.5.4 3.11.8 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0] Linux-5.15.0-102-generic-x86_64-with-glibc2.38 standard en_US ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 2fa en_US ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit imported ? ℹ
4.5.3 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard tr_TR ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.5-x86_64-i386-64bit standard ? ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.4 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 imported,standard es_MX ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 imported,standard es_MX ℹ

Additional Information

The bug is, where did all of my bitcoin go?


I simply went to close/exit Eelectrum, the same way I always do by clicking the "X" icon/symbol in the top right of the screen.


aceback Traceback (most recent call last): File "electrum\gui\qt\main_window.py", line 2508, in closeEvent File "electrum\gui\qt\main_window.py", line 2539, in clean_up File "electrum\gui\qt__init.py", line 485, in close_window File "electrum\daemon.py", line 552, in stop_wallet File "concurrent\futures_base.py", line 451, in result File "concurrent\futures_base.py", line 403, in get_result File "electrum\daemon.py", line 561, in _stop_wallet File "electrum\wallet.py", line 544, in stop File "electrum\wallet.py", line 479, in save_db File "electrum\json_db.py", line 48, in wrapper File "electrum\json_db.py", line 398, in write File "electrum\json_db.py", line 48, in wrapper File "electrum\json_db.py", line 409, in _append_pending_changes File "electrum\storage.py", line 115, in append electrum.storage.StorageOnDiskUnexpectedlyChanged: expected size 172925439, found 172925440

Additional information Electrum version: 4.5.4 Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Operating system: Windows-10-10.0.19045-SP0 Wallet type: imported,standard Locale: es_MX