Summary: | crash at startup if albums moved between collections externally | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michael Ploujnikov <ploujj> |
Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 8.0.0 | |
Sentry Crash Report: | |||
Attachments: | full console output with a gdb backtrace |
Description
Michael Ploujnikov
2009-02-12 01:52:34 UTC
Created attachment 31238 [details]
full console output with a gdb backtrace
I'm actually attaching the full console output including the gdb backtrace in case that information is useful.
Look at this in your console output: Failure executing query: database disk image is malformed There is something wrong with your database file. The crash comes from deep within sqlite3, digikam code cannot influence this as far as I see. Additionally you have the file "digikam4.db-journal" in your file listing up there, that should be a temporary file, I have never seen it live. The database file is digikam4.db. I restored all of my collection directories to the state in a recent backup and deleted the digikam4.db-journal file. As a result, digikam doesn't crash anymore. I still wonder why the .db-journal file was created and if a similar situation could totally confuse a user who doesn't know about that file's existence and purpose. (In reply to comment #3) > I still wonder why the .db-journal file was created and if a similar situation > could totally confuse a user who doesn't know about that file's existence and > purpose. > These files are always created when a database transaction is done. This is why sqlite3 is slower than for example MySQL, because of the disk access. I guess digiKam crashed while doing some db stuff so the journal file was not cleaned up. |