Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock
Please unblock package mate-notification-daemon + * debian/patches: + + Add 0001_segfaults-in-notify-stack-set-location.patch. Prevent from + sometimes segfaulting in notify_stack_set_location. (Closes: #778835). -> Prevent mate-notification-daemon from dying away sometimes. As instructed by Niels Thykier, I have already upload this package to unstable. unblock mate-notification-daemon/1.8.1-3 -- System Information: Debian Release: 8.0 APT prefers stable APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
diff -Nru mate-notification-daemon-1.8.1/debian/changelog mate-notification-daemon-1.8.1/debian/changelog --- mate-notification-daemon-1.8.1/debian/changelog 2015-03-06 06:19:24.000000000 +0100 +++ mate-notification-daemon-1.8.1/debian/changelog 2015-03-06 06:12:02.000000000 +0100 @@ -1,3 +1,11 @@ +mate-notification-daemon (1.8.1-3) unstable; urgency=medium + + * debian/patches: + + Add 0001_segfaults-in-notify-stack-set-location.patch. Prevent from + sometimes segfaulting in notify_stack_set_location. (Closes: #778835). + + -- Mike Gabriel <[email protected]> Fri, 06 Mar 2015 06:11:35 +0100 + mate-notification-daemon (1.8.1-2) unstable; urgency=medium * debian/rules: diff -Nru mate-notification-daemon-1.8.1/debian/patches/0001_segfaults-in-notify-stack-set-location.patch mate-notification-daemon-1.8.1/debian/patches/0001_segfaults-in-notify-stack-set-location.patch --- mate-notification-daemon-1.8.1/debian/patches/0001_segfaults-in-notify-stack-set-location.patch 1970-01-01 01:00:00.000000000 +0100 +++ mate-notification-daemon-1.8.1/debian/patches/0001_segfaults-in-notify-stack-set-location.patch 2015-03-06 06:09:00.000000000 +0100 @@ -0,0 +1,32 @@ +From 688b62fb3fa84d6446a74c13c93ddd33d87f5fe3 Mon Sep 17 00:00:00 2001 +From: monsta <[email protected]> +Date: Thu, 19 Feb 2015 14:11:39 +0300 +Subject: [PATCH] daemon: fixed logic in a couple of places + +--- + src/daemon/daemon.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c +index 49368f2..239bd02 100644 +--- a/src/daemon/daemon.c ++++ b/src/daemon/daemon.c +@@ -342,7 +342,7 @@ static void on_popup_location_changed(GSettings *settings, gchar *key, NotifyDae + { + int j; + +- for (j = 0; j < daemon->priv->n_screens; j++) ++ for (j = 0; j < daemon->priv->screens[i]->n_stacks; j++) + { + NotifyStack* stack; + stack = daemon->priv->screens[i]->stacks[j]; +@@ -399,7 +399,7 @@ static void destroy_screens(NotifyDaemon* daemon) + gdkwindow = gdk_screen_get_root_window(screen); + gdk_window_remove_filter(gdkwindow, (GdkFilterFunc) screen_xevent_filter, daemon->priv->screens[i]); + +- for (j = 0; i < daemon->priv->screens[i]->n_stacks; j++) ++ for (j = 0; j < daemon->priv->screens[i]->n_stacks; j++) + { + notify_stack_destroy(daemon->priv->screens[i]->stacks[j]); + daemon->priv->screens[i]->stacks[j] = NULL; + diff -Nru mate-notification-daemon-1.8.1/debian/patches/series mate-notification-daemon-1.8.1/debian/patches/series --- mate-notification-daemon-1.8.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ mate-notification-daemon-1.8.1/debian/patches/series 2015-03-06 06:09:28.000000000 +0100 @@ -0,0 +1 @@ +0001_segfaults-in-notify-stack-set-location.patch

