MemoryError:
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
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 398, in write
File "electrum\json_db.py", line 48, in wrapper
File "electrum\json_db.py", line 408, in _append_pending_changes
File "electrum\json_db.py", line 408, in <listcomp>
MemoryError
MemoryError:
Reporter
This issue was reported by 6 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.22631-SP0 | imported | en_GB | ℹ |
| 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 | de_DE | ℹ |
| 4.5.8 | 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 | en_GB | ℹ |
| 4.5.8 | 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 | en_GB | ℹ |
| 4.5.8 | 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 | en_US | ℹ |
| 4.5.8 | 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.26100-SP0 | imported | en_US | ℹ |
Additional Information
The reporting user(s) did not provide additional information.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the shutdown path in electrum/gui/qt/main_window.py, electrum/daemon.py, electrum/wallet.py, and electrum/json_db.py, focusing on json_db.py:408 where the MemoryError occurs. Reproduce wallet shutdown with the reported imported-wallet configurations if possible and trace pending-change handling. Done means the reported shutdown path no longer raises MemoryError under the affected conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100