[GNC] GnuCash crashes on start

Paul Coleman paul.brian.coleman at gmail.com
Wed May 3 18:43:55 EDT 2023


 Hi, I’ve been using GnuCash for several years on Linux (Fedora 38) without
any issue. However, now when I try to start GnuCash, I get an error in the
console: “GnuCash could not obtain the lock for the
/home/cybr/GnuCashData/CyBrGnucash202001.gnucash. The database may be in
use by another user in which case you should not open the database. What
would you like to do?


Selecting Open Anyway or Open Read Only gives the same error in the
console:


Found Finance::Quote version 1.54.

*** buffer overflow detected ***: terminated

Aborted (core dumped)


The output of gnucash –paths is:


GnuCash Paths

GNC_USERDATA_DIR: /home/cybr/.local/share/gnucash (user modifiable)

GNC_USERCONFIG_DIR: /home/cybr/.config/gnucash (user modifiable)

GNC_BIN: /usr/bin

GNC_LIB: /usr/lib64/gnucash

GNC_CONF: /etc/gnucash


I’ve searched through the FAQs, bugs and StackExchange site and could not
find any similar error.


The storage layer is sqlite.


Could this be a corrupted file? If so, which file is likely? I backup this
machine weekly and can restore individual files and directories.


Any advice would be greatly appreciated.


More information about the gnucash-user mailing list