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

DatabaseError: database disk image is malformed #8086

Open
TARS-bot opened this issue Nov 28, 2022 · 2 comments
Open

DatabaseError: database disk image is malformed #8086

TARS-bot opened this issue Nov 28, 2022 · 2 comments

Comments

@TARS-bot
Copy link

TARS-bot commented Nov 28, 2022

Crash Report

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

Traceback

Traceback (most recent call last):
  File "electrum/util.py", line 1159, in run_with_except_hook
  File "threading.py", line 910, in run
  File "electrum/sql_db.py", line 67, in run_sql
sqlite3.DatabaseError: database disk image is malformed

DatabaseError: database disk image is malformed

Reporter

This issue was reported by 14 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
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 standard ?
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 standard ?
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 standard ?
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 standard ?
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 standard ?
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 standard ?
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 standard ?
4.4.5 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ?
4.4.6 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ?
4.4.6 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit ?
4.4.6 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ?
4.4.6 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ?
4.4.6 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:23:25) [Clang 6.0 (clang-600.0.57)] macOS-10.16-x86_64-i386-64bit standard ?
4.5.2 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-12.7.1-x86_64-i386-64bit standard ?

Additional Information

016


Trying to pay with lightning


@SomberNight
Copy link
Member

Interesting that all reports are from macOS.
This looks to me to be a bug of sqlite (or cpython) on macOS.
Electrum 4.5.0 now uses python 3.10 for the mac binaries -- I will close this and reopen if there are new reports from new versions.

@SomberNight SomberNight closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
@TARS-bot
Copy link
Author

Good evening @SomberNight,

I just received another crash report related to this issue. The crash occured on Electrum 4.5.2.
I'm not sure which versions of Electrum include the fix but this is the first report from anything
newer than 4.4.6 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/util.py", line 1068, in run_with_except_hook
  File "threading.py", line 953, in run
  File "electrum/sql_db.py", line 67, in run_sql
sqlite3.DatabaseError: database disk image is malformed

DatabaseError: database disk image is malformed

~ With robotic wishes

@accumulator accumulator reopened this Feb 15, 2024
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

3 participants