[GNC] Crashes on .LCK file

Michael or Penny Novack stepbystepfarm at comcast.net
Sun May 14 17:36:54 EDT 2023


> As far as I can tell, there's only one .LCK file, named with the data 
> file that I was trying to open. 

> ........
>>     I have multiple GnuCash data files. When one is open, and I wish to
>>     switch to another data file, sometimes it crashes GnuCash.
>>     Deleting the
>>     .LCK file resolves the problem and allows the data file to open as
>>     normal. 

There is one lock file per resource being protected against simultaneous 
access << I am intentionally using generalized terminology because this 
is a not a :gnucash thing but a general method and the resource isn't 
even necessarily a file (though 99% of the time, it is)

If you have multiple gnucash data files (you are keeping multiple sets 
of books) then EACH would have a lock file when in use. It is the 
existence of the lock file that signals "in use".


Michael D Novack



More information about the gnucash-user mailing list