Bug 1578732

Summary: SIGABRT on Assertion '__builtin_expect(__n < this->size(), true)' failed.
Product: [Fedora] Fedora Reporter: Yves Kondoszek <yk+bug+rh>
Component: pdns-recursorAssignee: Ruben Kerkhof <ruben>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 28CC: comzeradd, ruben, sander
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pdns-recursor-4.1.3-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-13 15:16:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yves Kondoszek 2018-05-16 10:14:51 UTC
Description of problem:
pdns_recursor 4.1.1 from the official repo is killed by SIGABRT on a failed C++ assertion when trying to run it:
/usr/include/c++/8/bits/stl_vector.h:932: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = char; _Alloc = lazy_allocator<char>; std::vector<_Tp, _Alloc>::reference = char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
zsh: abort      /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog 


Version-Release number of selected component (if applicable):
Name        : pdns-recursor
Version     : 4.1.1
Release     : 4.fc28
Architecture: x86_64
Install Date: Wed 16 May 2018 11:37:42 AM CEST
Group       : System Environment/Daemons
Size        : 5897955
License     : GPLv2
Signature   : RSA/SHA256, Mon 19 Feb 2018 05:18:07 PM CET, Key ID e08e7e629db62fb1
Source RPM  : pdns-recursor-4.1.1-4.fc28.src.rpm
Build Date  : Mon 19 Feb 2018 05:09:49 PM CET
Build Host  : buildvm-17.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project


How reproducible:
Always

Steps to Reproduce:
1. dnf install pdns-recursor
2. /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no

Actual results:
SIGABRT

Expected results:
DNS recursor running and treating local requests

Comment 1 Fedora Update System 2018-05-26 13:20:08 UTC
pdns-recursor-4.1.3-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fb6441d825

Comment 2 Fedora Update System 2018-05-26 23:31:10 UTC
pdns-recursor-4.1.3-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fb6441d825

Comment 3 Yves Kondoszek 2018-05-28 07:53:16 UTC
I tested pdns-recursor-4.1.3-2.fc28 on my side and confirm that it solves the issue. Thank you.

Comment 4 Fedora Update System 2018-06-13 15:16:45 UTC
pdns-recursor-4.1.3-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.