Segfault with `lkt adm update`
Description
When doing a lkt adm update
then any command, a segfault occurs.
Moreover, lektor fails at deleting old karas that have been removed from kurisu.
Log lines
! [DB] database_update_del: Failed to step: unable to open database file
! [DB] database_update_del: Failed to step: unable to open database file
. [REPO] __repo_get_all_id_async: Finished to deal with deleted kara
! [DB] database_updated: Failed to exec statement: unable to open database file
. [THREAD] mthread_start_thread: Thread 0xd64afb7b470 ended (0)
. [THREAD] mthread_start_thread: Thread 0xd64afb7b470 (vp: 0) was detached, join it
. [THREAD END] mthread_join: Join thread 0xd64afb7b470
. [THREAD END] mthread_join: Thread 0xd64afb7b470 joined
accept: Too many open files
Hints / Remarks
It may be due to unclosed files with the the lkt adm update
command.