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

Exception: public key could not be parsed or is invalid #9052

Open
TARS-bot opened this issue May 14, 2024 · 1 comment
Open

Exception: public key could not be parsed or is invalid #9052

TARS-bot opened this issue May 14, 2024 · 1 comment

Comments

@TARS-bot
Copy link

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 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 396, in write
  File "electrum\json_db.py", line 48, in wrapper
  File "electrum\util.py", line 482, in do_profile
  File "electrum\json_db.py", line 420, in write_and_force_consolidation
  File "electrum\storage.py", line 90, in write
  File "electrum\storage.py", line 208, in encrypt_before_writing
  File "electrum\ecc.py", line 351, in encrypt_message
  File "electrum\ecc.py", line 267, in __mul__
  File "electrum\ecc.py", line 244, in _to_libsecp256k1_pubkey_ptr
Exception: public key could not be parsed or is invalid

Exception: public key could not be parsed or is invalid

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
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 en_CA

Additional Information

The reporting user(s) did not provide additional information.

SomberNight added a commit that referenced this issue May 16, 2024
also consolidate naming of variables somewhat

related: #9052
@SomberNight
Copy link
Member

I don't know how this could happen without some in-memory corruption of data.
Added some debug helper in 4b5cd0f.

SomberNight added a commit to SomberNight/electrum that referenced this issue May 27, 2024
also consolidate naming of variables somewhat

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

No branches or pull requests

2 participants