Comment 17 for bug 990947

Revision history for this message
Marc Brevoort (kleinebre) wrote :

I'm having a crash issue as well. Running it through gdb I see shotwell crashes on an assertion.
Downloaded the 2014-10-31 source and built it, same issue persists.

In src/folders/Branch.vala there's an assert around line 114,

       assert(folder_entry.count > 0);

Comment it out like so

    // assert(folder_entry.count > 0);

and add a statement before it

        if (folder_entry.count==0) return;

this will prevent function "remove_entry" from trying to do anything if it can't and solved the crash for me (so hey, at least I can import photos again).