Public bug reported: After manualy erasing some files in shotwell image directory, there are random crashes with the message:
shotwell crash with ERROR:src/folders/Branch.c:982:folders_branch_remove_entry: assertion failed: (folder_entry.count > 0) If I strace shtowell, the sequence before crash is [pid 12866] lstat("/home/.../Images/V/DSC06111.JPG", <unfinished ...> [pid 12866] <... lstat resumed> 0x7f69b9e179c0) = -1 ENOENT (No such file or directory) [pid 12744] access("/home/.../.local/share/shotwell/data/photo.db-journal", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] access("/home/.../.local/share/shotwell/data/photo.db-wal", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] stat("/home/.../.local/share/shotwell/data/photo.db", {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] open("/home/.../.local/share/shotwell/data/photo.db-journal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 15 [pid 12744] fstat(15, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 12744] fstat(15, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 12744] stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 [pid 12744] access("/var/tmp", R_OK|W_OK|X_OK) = 0 [pid 12744] access("/var/tmp/etilqs_6Zfy0Wy6Q6KlmXR", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] open("/var/tmp/etilqs_6Zfy0Wy6Q6KlmXR", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0600) = 16 [pid 12744] fstat(16, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 [pid 12744] fstat(16, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 /home/.../Images/V/DSC06111.JPG was manually removed In the preference I've tried to select option to detect new files, but no changes. lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 apt-cache policy shotwell shotwell: Installé : 0.18.0-0ubuntu4.1 Candidat : 0.18.0-0ubuntu4.1 Table de version : *** 0.18.0-0ubuntu4.1 0 500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.18.0-0ubuntu4 0 500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages ** Affects: shotwell (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to shotwell in Ubuntu. https://bugs.launchpad.net/bugs/1363251 Title: shotwell crash with ERROR:src/folders/Branch.c:982:folders_branch_remove_entry: assertion failed: (folder_entry.count > 0) Status in “shotwell” package in Ubuntu: New Bug description: After manualy erasing some files in shotwell image directory, there are random crashes with the message: shotwell crash with ERROR:src/folders/Branch.c:982:folders_branch_remove_entry: assertion failed: (folder_entry.count > 0) If I strace shtowell, the sequence before crash is [pid 12866] lstat("/home/.../Images/V/DSC06111.JPG", <unfinished ...> [pid 12866] <... lstat resumed> 0x7f69b9e179c0) = -1 ENOENT (No such file or directory) [pid 12744] access("/home/.../.local/share/shotwell/data/photo.db-journal", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] access("/home/.../.local/share/shotwell/data/photo.db-wal", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] fstat(8, {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] stat("/home/.../.local/share/shotwell/data/photo.db", {st_mode=S_IFREG|0644, st_size=18259968, ...}) = 0 [pid 12744] open("/home/.../.local/share/shotwell/data/photo.db-journal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 15 [pid 12744] fstat(15, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 12744] fstat(15, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 12744] stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 [pid 12744] access("/var/tmp", R_OK|W_OK|X_OK) = 0 [pid 12744] access("/var/tmp/etilqs_6Zfy0Wy6Q6KlmXR", F_OK) = -1 ENOENT (No such file or directory) [pid 12744] open("/var/tmp/etilqs_6Zfy0Wy6Q6KlmXR", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0600) = 16 [pid 12744] fstat(16, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 [pid 12744] fstat(16, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 /home/.../Images/V/DSC06111.JPG was manually removed In the preference I've tried to select option to detect new files, but no changes. lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 apt-cache policy shotwell shotwell: Installé : 0.18.0-0ubuntu4.1 Candidat : 0.18.0-0ubuntu4.1 Table de version : *** 0.18.0-0ubuntu4.1 0 500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.18.0-0ubuntu4 0 500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1363251/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp