summaryrefslogtreecommitdiff
path: root/extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
commit603bdf488872afbc69493bc640aedb7548f3ed51 (patch)
tree60945d453f0d8b5f8fb9ed8cb8d4e35c5d8d5dcf /extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch
parent614d2fec699c594b1a3a25c973e0b5150302ff0e (diff)
Wed Jun 19 01:36:52 PDT 2013
Diffstat (limited to 'extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch')
-rw-r--r--extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch b/extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch
new file mode 100644
index 000000000..ee36936f8
--- /dev/null
+++ b/extra/cups/cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch
@@ -0,0 +1,19 @@
+Description: Fixed crash which sometimes happens on shutdown of the CUPS
+ daemon, caused by a wrong shutdown sequence for shutting down the Avahi
+ threaded poll.
+Author: Till Kamppeter <till.kamppeter@gmail.com>
+Bug-Upstream: http://cups.org/str.php?L4180
+Bug-Upstream: http://cups.org/str.php?L4213
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1034045
+Last-Updated: 2012-10-16
+
+--- a/scheduler/dirsvc.c
++++ b/scheduler/dirsvc.c
+@@ -1333,6 +1333,7 @@
+ DNSSDMaster = NULL;
+
+ # else /* HAVE_AVAHI */
++ avahi_threaded_poll_stop(DNSSDMaster);
+ avahi_client_free(DNSSDClient);
+ DNSSDClient = NULL;
+