SQLite Forum

Error: database disk image is malformed for every large database after a few SELECT instruction
System: Ubuntu 20.04
file system ext4:
SQLite version 3.31.1 2020-01-27 19:55:54

database sizes: 280M, 700M, 1.2T
Contents (1 table with 7 columns (text primary and 6 numbers))
indexes (all columns with numbers and 2 indexes with 2 columns)

The database has been created using a python script.

After few searches using SELECT I am consistently getting :
Error: database disk image is malformed. 

This problem appears on 4 different desktops with the same system but different databases