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

Comments

Projects
None yet
3 participants
@rygl

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

@rgacogne rgacogne added this to the dnsdist-1-alpha2 milestone Jan 21, 2016

@ahupowerdns

This comment has been minimized.

Member

ahupowerdns commented Jan 21, 2016

rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 21, 2016

@rygl

This comment has been minimized.

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