Maintained by: NLnet Labs

[Unbound-users] unbound segfaults

W.C.A. Wijngaards
Tue Apr 9 10:40:54 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chris,

The bug has been fixed in svn trunk.  Thanks for the report!

No official releases suffer from this issue, the segfault was caused
by an error in a bugfix that has not been released yet.

Best regards,
   Wouter

On 04/03/2013 11:37 PM, Chris Smith wrote:
> On Wed, Apr 3, 2013 at 5:26 PM, W.C.A. Wijngaards
> <wouter at nlnetlabs.nl> wrote:
>> I suspect two changes of causing it (I am supposedly on holiday,
>> so I'll make it short).  The first is a binary API version change
>> in libunbound; this should likely not affect you, but if your
>> install is not 'clean', it could be that you now have two
>> libunbound.so.x versions, and if you compile with
>> --export-all-symbols then this could cause segfaults in the
>> unbound daemon if it picks the wrong library out of your libdir.
> 
> Only one version - libunbound.so.2.2.1
> 
>> The other is a codechange, to do with private-address
>> functionality; are you using private-address?  This is the only
>> real codechange in this timeframe, and touches on a lot of
>> pointers...  I thought it was fine, but then you always do until
>> you find the bug :-)
> 
> Yes, using private-addresses!
> 
>> That would be this patch that then causes the issue: svn diff
>> http://unbound.net/svn/trunk/iterator -r2867:2868 > file this
>> code does fire even if you do not have private-addresses 
>> configured, but it does not seem to fail in unit tests. patch -r
>> reverses the patch if you want to try that.
> 
> I'll give this a try.
> 
> Thanks,
> 
> Chris
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRY9QWAAoJEJ9vHC1+BF+NY8gQAJi6RzDHN5MIYLL2zW8OBjmL
G+vpIj/OnkcdRB73RIyc2fBGToqCpNa5hStJpqINRwJ8wSpfgwC6cTE7BcIUkDFv
HEBfGCHcM9dsULjpiz5FU7PxuFUCKwVuKwfFhV/Bu7gWRf9pwm2SkrRg0lPaft/J
N8OfTeMEjmABWgy+bKqLH0JGAuBcM7aoyHWrzL+6Aoh1Z+Q7ZrcuTngOMeTraj6m
zh+ndI7kx8R0PqsdJZS8DCUHysd6Byyeen+xfPFY4EOVOmG+g+EasD7YIF/ahNj1
7jyAq2yLIMugRJPkZUwbEKXksb0UXThyRpvcX9wKFELQPrno1sDhTpl5EVqKZoHz
q1X1ssXGF9ZQtL7ZLKQO5b4QUofvcjY7N7fHYCNLWuw9Fo77TYqyVAlkKtQuU1+q
88lJc1fzzPYnGut2NWsUpOR8kkL1lyQ3InO8fgg1CFlJqI4K1TXXNvTUOdFTzaS1
lnugeT4fCDQTJCaZkKEPhlobP1Tg6C1bar90l9TZCxkxJhWWcYE+eT9madiguQaY
AlMYEr3n7CJqdJk4gRXsgKvAHqeJnL2+/QTLr4ba7eF46boWEp4fEJqRvOlCJ0XR
5VBWYSJas+gkk0ZEIB4j+2Ay2WxkGvIHpGhdfd9ym0qvxK8hZ20igHFbuo/4LUAm
SkfEcY7cadmk3d4ryhYZ
=z0Mh
-----END PGP SIGNATURE-----