Package: bind9
Version: 1:9.5.1.dfsg.P1-1
Severity: important
Tags: patch

bind9 keeps dying pretty quickly on ia64.  It lasts from anything
between a couple of minutes up to two hours.

It's being used as a normal resolver and as an authoritative server for
a small subdomain.


wea...@merkel:~$ grep 'running' -A2 /var/log/named/default
03-Mar-2009 06:29:59.001 general: running
03-Mar-2009 06:33:35.659 general: rbtdb.c:1503: REQUIRE(prev > 0) failed
03-Mar-2009 06:33:35.659 general: exiting (due to assertion failure)
--
05-Mar-2009 13:33:29.232 general: running
05-Mar-2009 15:34:48.468 general: rbtdb.c:1503: REQUIRE(prev > 0) failed
05-Mar-2009 15:34:48.468 general: exiting (due to assertion failure)
--
17-Mar-2009 17:02:32.743 general: running
17-Mar-2009 17:41:10.824 general: rbtdb.c:1503: REQUIRE(prev > 0) failed
17-Mar-2009 17:41:10.824 general: exiting (due to assertion failure)


dannf proposed to try

--- bind9-9.5.1.dfsg.P1/lib/isc/ia64/include/isc/atomic.h~      2007-06-19 
17:47:17.000000000 -0600
+++ bind9-9.5.1.dfsg.P1/lib/isc/ia64/include/isc/atomic.h       2009-03-17 
11:24:02.590449881 -0600
@@ -38,6 +38,7 @@
                swapped = prev + val;
                __asm__ volatile(
                        "mov ar.ccv=%2;"
+                       ";;"
                        "cmpxchg4.acq %0=%4,%3,ar.ccv"
                        : "=r" (swapped), "=m" (*p)
                        : "r" (prev), "r" (swapped), "m" (*p)


and we did.  For the last three and half hours bind9 has run without crashing.

-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to