-
Notifications
You must be signed in to change notification settings - Fork 904
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
pdns-server: double free crash with --version #14027
Comments
Given clang isn't the default compiler, this seems incomplete at best: |
|
I'm sorry if it looks like a dumb question but I have been bitten by this several times: are you sure that |
@rgacogne some discussion on IRC yesterday revealed that builds now produce a builtin bind AND and an .so module. This point still needs investigating though. |
Yes, it looks like we might be generating the bind .so even when bindbackend is linked statically, perhaps as late as |
I can confirm this
|
the reason |
just |
Short description
When the libbindbackend.so module is loaded, pdns_server --version crashes
Environment
Steps to reproduce
apt-get -fqqy install pkg-config libboost-all-dev libssl-dev libluajit-5.1-dev liblua5.1-0-dev lua5.1 libcurl4-gnutls-dev patchelf default-libmysqlclient-dev libsqlite3-dev
./configure; make; make install
pdns_server --version
<-- crashesrm -f /usr/local/lib/pdns/*bind*
pdns_server --version
<-- doesn't crashExpected behaviour
no crashes :)
Actual behaviour
crashes :)
Other information
I swear I'm going crazy
Note: I was testing with clang which is why the initial version had CC= options there, but it reproduces w/ gcc too
The text was updated successfully, but these errors were encountered: