BlockingIOError: [Errno 11] Resource temporarily unavailable: '/run/user/1000/doc/8843cbea/Bitcoin'
Open
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
File "/app/lib/python3.7/site-packages/electrum/gui/qt/main_window.py", line 3256, in closeEvent
self.clean_up()
File "/app/lib/python3.7/site-packages/electrum/gui/qt/main_window.py", line 3277, in clean_up
self.gui_object.close_window(self)
File "/app/lib/python3.7/site-packages/electrum/gui/qt/__init__.py", line 307, in close_window
self.daemon.stop_wallet(window.wallet.storage.path)
File "/app/lib/python3.7/site-packages/electrum/daemon.py", line 286, in stop_wallet
wallet.stop_threads()
File "/app/lib/python3.7/site-packages/electrum/wallet.py", line 240, in stop_threads
self.storage.write()
File "/app/lib/python3.7/site-packages/electrum/util.py", line 356, in <lambda>
return lambda *args, **kw_args: do_profile(args, kw_args)
File "/app/lib/python3.7/site-packages/electrum/util.py", line 352, in do_profile
o = func(*args, **kw_args)
File "/app/lib/python3.7/site-packages/electrum/storage.py", line 89, in write
self._write()
File "/app/lib/python3.7/site-packages/electrum/storage.py", line 109, in _write
os.chmod(self.path, mode)
BlockingIOError: [Errno 11] Resource temporarily unavailable: '/run/user/1000/doc/8843cbea/Bitcoin'
Reporter
This issue was reported by 3 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 3.3.8 | 3.7.4 (default, Nov 10 2011, 15:00:00) [GCC 9.2.0] | Linux-5.3.0-28-generic-x86_64-with-glibc2.2.5 | standard | en_US | ℹ |
| 3.3.8 | 3.7.4 (default, Nov 10 2011, 15:00:00) [GCC 9.2.0] | Linux-5.3.0-28-generic-x86_64-with-glibc2.2.5 | standard | en_US | ℹ |
| 3.3.8 | 3.7.4 (default, Nov 10 2011, 15:00:00) [GCC 9.2.0] | Linux-5.3.0-28-generic-x86_64-with-glibc2.2.5 | standard | 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 electrum/storage.py, especially _write and the os.chmod call shown in the traceback, then trace how wallet.stop_threads reaches storage.write during main_window.py cleanup. Reproduce closing a wallet in the affected Linux environment; done means the close path no longer raises this crash and the behavior is covered by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100