Your message dated Fri, 12 Jan 2018 21:50:36 +0000
with message-id <e1ea7dg-0003jr...@fasolo.debian.org>
and subject line Bug#887034: fixed in pdns-recursor 4.1.0-3
has caused the Debian Bug report #887034,
regarding pdns-recursor: FTBFS on mips64el - mtasker related failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
887034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887034
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pdns-recursor
Version: 4.1.0-1
Severity: serious
Tags: sid buster patch

Hi,

pdns-recursor FTBFS on mips64el due segfaulting (or another crash) while
executing the mtasker tests.

Build log (exit status 139 = SIGSEGV):
> Checking bad value for record type SOA test #1
> FAIL testrunner (exit status: 139)

Similar errors occur on other architectures which might be related to
the failure on mips64el, but I did not investigate those.

On mips64el the crash comes as a result of throwing an exception in the
willThrow function in test-mtasker.cc. Throwing an exception makes a
call into the stack unwinder in libgcc which uses enough stack space to
overflow the stack allocated for the currently running task. In this
case, it just so happens that the return ucontext gets overwritten by
the stack overflow and after returning from threadWrapper, we jump to
some garbage memory location.

The attached patch fixes this by increasing the stack size for all 128k
for all tasks.

The 32-bit build failures are related to #887030.

Thanks,
James
--- a/mtasker.hh
+++ b/mtasker.hh
@@ -110,7 +110,7 @@ public:
       This limit applies solely to the stack, the heap is not limited in any way. If threads need to allocate a lot of data,
       the use of new/delete is suggested. 
    */
-  MTasker(size_t stacksize=8192) : d_tid(0), d_maxtid(0), d_stacksize(stacksize), d_waitstatus(Error)
+  MTasker(size_t stacksize=16*8192) : d_tid(0), d_maxtid(0), d_stacksize(stacksize), d_waitstatus(Error)
   {
     initMainStackBounds();
   }

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: pdns-recursor
Source-Version: 4.1.0-3

We believe that the bug you reported is fixed in the latest version of
pdns-recursor, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 887...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <z...@debian.org> (supplier of updated pdns-recursor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 12 Jan 2018 21:11:55 +0000
Source: pdns-recursor
Binary: pdns-recursor
Architecture: source
Version: 4.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Packaging <pkg-dns-de...@lists.alioth.debian.org>
Changed-By: Chris Hofstaedtler <z...@debian.org>
Description:
 pdns-recursor - PowerDNS Recursor
Closes: 887034
Changes:
 pdns-recursor (4.1.0-3) unstable; urgency=medium
 .
   * Add patch from James Cowgill <jcowg...@debian.org> to fix
     crashes on mips64el. Thanks for analysis and the patch! (Closes: #887034)
Checksums-Sha1:
 6526663ceea64df45af0c524c8854b1d86f9fe69 2216 pdns-recursor_4.1.0-3.dsc
 6143d333ce36064d0b5aa314d342d76d407adacb 22536 
pdns-recursor_4.1.0-3.debian.tar.xz
 fd41886af004830de115478ac32af12db3d71d69 5996 
pdns-recursor_4.1.0-3_source.buildinfo
Checksums-Sha256:
 ca68068b62fa13ed165750de287d8f99e6a13d452782ea0827d09ca753a7548f 2216 
pdns-recursor_4.1.0-3.dsc
 47e08ccd4ea7fd4927f179d489ebecc3f0a414d91a55747c2cc3d5a4c814e031 22536 
pdns-recursor_4.1.0-3.debian.tar.xz
 ebeb8ef7e33ec9ed02fc4ab44623607f7f00c35bfe8e2224157cd11601858fdf 5996 
pdns-recursor_4.1.0-3_source.buildinfo
Files:
 a4a973ab6168f085f534178b1f1b110a 2216 net extra pdns-recursor_4.1.0-3.dsc
 1a7677daa984efd984d23b1cebce7113 22536 net extra 
pdns-recursor_4.1.0-3.debian.tar.xz
 17717a12926a675ca932cb7b45907672 5996 net extra 
pdns-recursor_4.1.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAlpZJxQACgkQXBPW25MF
LgMyWQ/7B3WwspIttxGRizpp/UsFtOiw1ZZWXAh02fU2DlENMcky86eiQVq9JZHg
ENGuD8asO/FXUykXV+k/DDoRPbY63DB/4XFH1gr+6L4HKpzLVMtTnXFwEORwMi/p
meFujCrmBd7aMoc6GrsAfe8erWZxHZ/SaUG/Ja++hItkEInj/i5hzuw0mACmqPRL
0zR2Dh8BRQEKtFkCaBQEn72NcRpTu6jXXLlmmbnWVu9Zw+EWbMUvQXAUhfxjwnj0
bKlR+oC/hcZ0TEqnMIRRiDCR5NOAKA2Y6yVOABEyzlbPqEEpuxxO5LH7M3lAdoDn
pucqSj0fD6V/WJPQzXUVtxzRpHAolAngLmjWNP7qHuLqNSdvDT9f6xCOwOUrmML/
PQ7iYpSTVe4rk5aHig6rDroRvCJPUkdN068uAjaXYNa8ZkCaKOvAd+cFUAkgOrrH
N68ha6lcbW9mwPmfyLBFRClK4gkq8u0hVlDzbXX3ypn4xeMee2LrccMQS/Ql11bC
fHK+wejqe8ySIpN0es342gds3xnzCj8VuelysmGcmW++AtJ4vVpWPsen18cspQiZ
cSWU1htKnUm5qeviZQ0PWWN/FAHd5EOvkt2shXk/HJq6J2M/1x47QlEbvKFkw92V
L+Mm7FhaRTUR0JEy0WEVSyAitEN6u4COxugrrrOBbAeOTL08c7s=
=GIzd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to