Package: shotwell
Version: 0.12.3-2
Severity: important
Tags: patch

Dear Maintainer,

Shotwell in Wheezy crashes on library updates, which renders this
version of package unusable for me. The attached upstream patch fixes
the problem for me. Would it be possible to include a patched version
in wheezy-updates?

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages shotwell depends on:
ii  dbus-x11                         1.6.8-1+deb7u1
ii  libatk1.0-0                      2.4.0-2
ii  libc6                            2.13-38
ii  libcairo-gobject2                1.12.2-3
ii  libcairo2                        1.12.2-3
ii  libexif12                        0.6.20-3
ii  libexiv2-12                      0.23-1
ii  libgdk-pixbuf2.0-0               2.26.1-1
ii  libgee2                          0.6.4-2
ii  libgexiv2-1                      0.4.1-3
ii  libglib2.0-0                     2.33.12+really2.32.4-5
ii  libgomp1                         4.7.2-5
ii  libgphoto2-2                     2.4.14-2
ii  libgphoto2-port0                 2.4.14-2
ii  libgstreamer-plugins-base0.10-0  0.10.36-1.1
ii  libgstreamer0.10-0               0.10.36-1.2
ii  libgtk-3-0                       3.4.2-6
ii  libgudev-1.0-0                   175-7.2
ii  libjavascriptcoregtk-3.0-0       1.8.1-3.4
ii  liblcms2-2                       2.2+git20110628-2.2
ii  libpango1.0-0                    1.30.0-1
ii  libraw5                          0.14.6-2
ii  librest-0.7-0                    0.7.12-3
ii  librsvg2-common                  2.36.1-1
ii  libsoup2.4-1                     2.38.1-2
ii  libsqlite3-0                     3.7.13-1+deb7u1
ii  libstdc++6                       4.7.2-5
ii  libunique-3.0-0                  3.0.2-1
ii  libwebkitgtk-3.0-0               1.8.1-3.4
ii  libx11-6                         2:1.5.0-1+deb7u1
ii  libxml2                          2.8.0+dfsg1-7+nmu1
ii  shotwell-common                  0.12.3-2

shotwell recommends no packages.

shotwell suggests no packages.

-- no debconf information
From: Lucas Beeler <lu...@yorba.org>
Subject: Replaces an assertion with a short-circuit return and a
 debug message.
Origin: upstream, http://redmine.yorba.org/projects/shotwell/repository/revisions/18585950ca73cb21ee246cc608d3a193c4bbb085
Bug: http://redmine.yorba.org/issues/5155
Applied-Upstream: 0.14.0
---
 src/DirectoryMonitor.vala |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/DirectoryMonitor.vala b/src/DirectoryMonitor.vala
index 8071afd..73c6a3d 100644
--- a/src/DirectoryMonitor.vala
+++ b/src/DirectoryMonitor.vala
@@ -507,8 +507,12 @@ public class DirectoryMonitor : Object {
     }
     
     protected virtual void internal_notify_file_discovered(File file, FileInfo info) {
-        bool updated = files.update(file, info);
-        assert(updated);
+        if (!files.update(file, info)) {
+            debug("DirectoryMonitor.internal_notify_file_discovered: %s discovered but not added to file map",
+                file.get_path());
+            
+            return;
+        }
         
         notify_file_discovered(file, info);
     }
-- 
1.7.10.4

Reply via email to