Git Product home page Git Product logo

Comments (6)

MakotoE avatar MakotoE commented on August 17, 2024

After Darktable crashed, I searched darktable.exe in task manager but could not find it. If you want me to find out what process is locking the database, please suggest how I can investigate this.

from darktable.

kofa73 avatar kofa73 commented on August 17, 2024

To unlock the database, please delete the lock files data.db.lock and library.db.lock. They are in:
%LOCALAPPDATA%\darktable, which is, on English Windows, C:\Users\<user login>\AppData\Local.

Similar crashes ("Access violation"...Magick: caught exception) were often reported when resources was set too high (especially to unrestricted). Please try a lower setting.
If that does not help, disable OpenCL.

from darktable.

MakotoE avatar MakotoE commented on August 17, 2024

Do I need to delete those lock files every time I exit out of Darktable? I know they are supposed to be deleted automatically, but if I have to do it manually it can be laborious.

from darktable.

MakotoE avatar MakotoE commented on August 17, 2024

Additional question, is the Magick exception what is causing the crash, or the database lock that is causing the crash every time?

PS, The darktable resources is set to default as you can see in the screenshot.

from darktable.

kofa73 avatar kofa73 commented on August 17, 2024

Normally, the lock files are only there while darktable is running, to avoid corrupting the database when a second instance is accidentally launched. They are removed when the application closes normally, but may be left behind when it crashes. The DB lock does not cause a crash.

I now see that OpenCL (GPU acceleration) is disabled on your system; in fact, it is not available at all.

(Note that github is not a support forum, though. Initial troubleshooting is usually done at https://discuss.pixls.us/c/software/darktable/19.)

from darktable.

MakotoE avatar MakotoE commented on August 17, 2024

Thank you. It does seem like a troubleshooting concern now that we established that it's something related to resource capacity. I will go there in case it happens again.

from darktable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.