Segfault on Corrupt Database
A system crash forced the use of a SysRq key reboot while using Darktable. After rebooting, Darktable began to segfault on launch:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1614783aba in __waitpid (pid=5615, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
backtrace written to /tmp/darktable_bt_NQ5LOY.txt
Attempting to view .tables in library.db in sqlite3 results in the following:
Error: database disk image is malformed
If the database is unrecoverably corrupted, the user is warned and allowed to continue with a fresh database.
#2 Updated by Tobias Ellinghaus almost 4 years ago
- % Done changed from 50 to 100
- Status changed from In Progress to Fixed
Applied in changeset darktable|5f2d005cc1a7ea7203c03583a40156a76cdada46.