Public bug reported:

Shotwell 14 does not start (crashes on start) on Ubuntu 12.04.2

Fresh installation of Ubuntu 12.04.2 64-bit (Intel Ivy-Bridge with HD4000), the 
added Yorba Shotwell ppa, upgraded the Shotwell to version 14. First, Shotwell 
started fine first time, during the import of all photos from the Picture 
folder (large folder ~ 100 Gb) it crashed and now it does not start anymore, I 
think it crashes right on start. The Shotwell worked fine before a OS 
reinstallation (I had 12.04.1). I tried this suggestion from one of the 
websites that reported similar problems 
“sudo ln -s /usr/lib/libgexiv2.so.2 /usr/lib/libgexiv2.so.1”, it didn't help. I 
removed shotwell using the software center and installed it again, no luck. 
When I start from the terminal I get this message:

--------------------------------
~$ shotwell
L 2710 2013-08-12 08:59:52 [CRT] DatabaseTable.vala:356: Unable to retrieve row 
count on PhotoTable: (11) database disk image is malformed

** (shotwell:2710): ERROR **: DatabaseTable.vala:92: get_event_source_ids: [11] 
database disk image is malformed
Trace/breakpoint trap (core dumped)


This is what the debugger outputs:

------------------------

~$ gdb shotwell
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/shotwell...done.
(gdb) run
Starting program: /usr/bin/shotwell 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffea0f9700 (LWP 3092)]
[New Thread 0x7fffe98f8700 (LWP 3093)]
L 3089 2013-08-12 09:14:48 [CRT] DatabaseTable.vala:356: Unable to retrieve row 
count on PhotoTable: (11) database disk image is malformed
[New Thread 0x7fffd6361700 (LWP 3094)]
[New Thread 0x7fffd5b60700 (LWP 3095)]
[New Thread 0x7fffd535f700 (LWP 3096)]
[New Thread 0x7fffd4b5e700 (LWP 3097)]

** (shotwell:3089): ERROR **: DatabaseTable.vala:92:
get_event_source_ids: [11] database disk image is malformed

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4263fdb in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff4263fdb in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff42641b2 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000000000484124 in database_table_fatal (op=<optimized out>, 
res=<optimized out>) at 
/build/buildd/shotwell-0.14.1/src/db/DatabaseTable.vala:92
#3  0x000000000048980e in photo_table_get_event_source_ids (self=<optimized 
out>, event_id=<optimized out>)
    at /build/buildd/shotwell-0.14.1/src/db/PhotoTable.vala:662
#4  0x00000000005f957c in 
library_photo_source_collection_real_get_event_source_ids (base=<optimized 
out>, event_id=0x7fffffffdf60)
    at /build/buildd/shotwell-0.14.1/src/Photo.vala:4670
#5  0x00000000006b3c39 in media_collection_registry_get_source_ids_for_event_id 
(self=<optimized out>, event_id=0x7fffffffdfd0)
    at /build/buildd/shotwell-0.14.1/src/MediaDataRepresentation.vala:877
#6  0x0000000000640369 in event_construct (object_id=<optimized out>, 
event_row=0x3125340, object_type=<optimized out>)
    at /build/buildd/shotwell-0.14.1/src/Event.vala:190
#7  event_new (event_row=0x3125340, object_id=<optimized out>) at 
/build/buildd/shotwell-0.14.1/src/Event.vala:180
#8  0x0000000000642dba in event_init (monitor=0, monitor_target=0x0) at 
/build/buildd/shotwell-0.14.1/src/Event.vala:281
#9  0x000000000058d20c in library_exec (mounts=0xa255c0, mounts_length1=0) at 
/build/buildd/shotwell-0.14.1/src/main.vala:134
#10 0x000000000058e4d3 in _vala_main (args=0x7fffffffe2d8, args_length1=1) at 
/build/buildd/shotwell-0.14.1/src/main.vala:405
#11 0x00000000004761d1 in main (argc=1, argv=0x7fffffffe2d8) at 
/build/buildd/shotwell-0.14.1/src/main.vala:311
(gdb) quit
A debugging session is active.

        Inferior 1 [process 3089] will be killed.

Quit anyway? (y or n) y
------------------------

** Affects: shotwell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 12.04 crash shotwell ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to shotwell in Ubuntu.
https://bugs.launchpad.net/bugs/1211399

Title:
  Shotwell 14 does not start on Ubuntu 12.04.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1211399/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to