[Pkg-dns-devel] Bug#778720: Bug#778720: Re: bind9: hangs / crashes on mips after some time

James Cowgill jcowgill at debian.org
Thu Nov 30 14:28:20 UTC 2017


Hi,

On 30/11/17 14:16, Ondřej Surý wrote:
> James,
> 
> thanks for the poke - I moved the mentioned issue to public queue.

Thanks!

> Could you check whether
> https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=404c9b1c53fd13f3a7f404522b13f48e2a71a8a0
> 
> fixes the issue.  I think it might be better to backport this
> stdatomic.h patch (from 9.12) to 9.11 instead of using custom patch just
> for mips if possible.

I'll have a look, but I expect that patch will work. The original bug
was caused by incorrect register constraints that caused gcc to reuse
some registers (ending with bad results). This can't happen if GCC
intrinsics are used.

If you do apply that, I would prefer if you completely removed the buggy
mips atomics code so there is no chance this bug will return in the future.

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20171130/ab0058b6/attachment-0001.sig>


More information about the pkg-dns-devel mailing list