Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist - crash with Assertion `is_valid(m_buff)' failed. #3277

Closed
rygl opened this issue Jan 21, 2016 · 2 comments · Fixed by #3278
Closed

dnsdist - crash with Assertion `is_valid(m_buff)' failed. #3277

rygl opened this issue Jan 21, 2016 · 2 comments · Fixed by #3278

Comments

@rygl
Copy link

rygl commented Jan 21, 2016

Hello,

I have three crashes today:

Jan 21 09:11:30 rzt-lvs1 dnsdist[25367]: dnsdist: /usr/include/boost/circular_buffer/details.hpp:303: boost::cb_details::iterator<Buff, Traits>& boost::cb_details::iterator<Buff, Traits>::operator++() [with Buff = boost::circular_bufferRings::Response; Traits = boost::cb_details::nonconst_traitsstd::allocator<Rings::Response >]: Assertion `is_valid(m_buff)' failed.
Jan 21 09:11:30 rzt-lvs1 systemd[1]: dnsdist.service: main process exited, code=killed, status=6/ABRT
Jan 21 09:11:30 rzt-lvs1 systemd[1]: Unit dnsdist.service entered failed state.

Debian 8.2, dnsdist 0.0.651g10f702c, up to 200qps, 500 qps in peaks, 4 servers in the pool, basic config with just these dynnamic blocks:

function maintenance()
addDynBlocks(exceedNXDOMAINs(50, 10), "Exceeded query rate with NXDOMAIN response (50q/10s)", 30)
addDynBlocks(exceedServfails(20, 10), "Exceeded query rate with SERVFAIL response (20q/10s)", 30)
end

With regards
Ales

@ahupowerdns
Copy link
Contributor

rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 21, 2016
@rygl
Copy link
Author

rygl commented Jan 21, 2016

I can see it with 0.0.658g9c737f8 as well:

Jan 21 12:34:22 rzt-lvs1 dnsdist[22515]: dnsdist: /usr/include/boost/circular_buffer/details.hpp:303: boost::cb_details::iterator<Buff, Traits>& boost::cb_details::iterator<Buff, Traits>::operator++() [with Buff = boost::circular_bufferRings::Response; Traits = boost::cb_details::nonconst_traitsstd::allocator<Rings::Response >]: Assertion `is_valid(m_buff)' failed.
Jan 21 12:34:22 rzt-lvs1 systemd[1]: dnsdist.service: main process exited, code=killed, status=6/ABRT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants