I've looked into your problem and found one possible clue:

http://www.mail-archive.com/[email protected]/msg58721.html

The key here is that you're able to read from the database (SELECT, etc.)
but when Shotwell goes to write it the problem occurs.

It's difficult to tell without closer examination of the database.  Could
you send it to me?  I could then take a closer look at the problem.

-- Jim

On Thu, Feb 17, 2011 at 6:40 AM, Nickolay S. Savchenko <[email protected]>wrote:

> Hi dear shotwell users and developers!
>
> I encountered the following problem with shotwell today. I was using
> default shotwell version from ubuntu 10.10, it worked quite good. But
> today shotwell crashed during photo import. I looked error
> in .xsession-errors, it was following:
>
> ** ERROR **: DatabaseTables.vala:55: add_photo: [11] database disk image
> is malformed
>
> I then run from gdb, here is the backtrace:
>
> Program received signal SIGABRT, Aborted.
> 0x00007ffff0b6fba5 in raise () from /lib/libc.so.6
> (gdb) backtrace full
> #0  0x00007ffff0b6fba5 in raise () from /lib/libc.so.6
> No symbol table info available.
> #1  0x00007ffff0b736b0 in abort () from /lib/libc.so.6
> No symbol table info available.
> #2  0x00007ffff1425f0a in g_logv () from /lib/libglib-2.0.so.0
> No symbol table info available.
> #3  0x00007ffff1425fa3 in g_log () from /lib/libglib-2.0.so.0
> No symbol table info available.
> #4  0x000000000046b4df in database_table_fatal ()
> No symbol table info available.
> #5  0x000000000046f782 in photo_table_add ()
> No symbol table info available.
> #6  0x00000000004d7510 in library_photo_import_create ()
> No symbol table info available.
> #7  0x00000000004e9606 in ?? ()
> No symbol table info available.
> #8  0x000000000055aa82 in ?? ()
> No symbol table info available.
> #9  0x00007ffff141b342 in g_main_context_dispatch ()
> from /lib/libglib-2.0.so.0
> No symbol table info available.
> #10 0x00007ffff141f2a8 in ?? () from /lib/libglib-2.0.so.0
> No symbol table info available.
> #11 0x00007ffff141f7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
> No symbol table info available.
> #12 0x00007ffff3ce33e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> No symbol table info available.
> #13 0x0000000000455ead in library_exec ()
> No symbol table info available.
> #14 0x0000000000456572 in _vala_main ()
> No symbol table info available.
> #15 0x00000000004565f9 in main ()
> No symbol table info available.
> (gdb)
>
> Then I tried to install shotwell 0.8.1 from ppa, and now it doesn't even
> start.
>
> nss@dynatos:~/Music/lessons$ SHOTWELL_LOG=1 shotwell
>
> ** ERROR **: DatabaseTables.vala:57: VideoTable constructor: [11]
> database disk image is malformed
> aborting...
> Aborted
>
> I tried to navigate through database using console sqlite3 tool,
> database looks not damaged. I tried random select queries and they
> worked. So it's quite strange that shotwell thinks that the database is
> corrupt. I looked into faq and user guide and didn't find any
> information about database repairing.
>
> Any ideas?
>
>
> --
> best regards,
> Nickolay Savchenko
>
> _______________________________________________
> Shotwell mailing list
> [email protected]
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
>
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell

Reply via email to