-
Notifications
You must be signed in to change notification settings - Fork 920
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
PowerDNS-recursor 4.0.4 exiting on signal 11 while using dq:addAnswer Lua code on FreeBSD 10.3 #4933
Comments
Thanks for this. Would you mind creating a new build with |
Sure. Configure options:
GDB stacktrace:
|
Can you please -rebuild- with |
Hi Habbie, I'm pretty sure I have rebuild with those options in both CFLAGS and CXXFLAGS. I've checked (and attached) the poudriere build log to make sure: Poudiere_powerdns-recursor-4.0.4.txt Attached is also the new GDB trace, please note the built timestamp: GDB-trace.txt Would you like me to circumvent Poudriere and build from source directly? |
Hi Marc, I see the -O0 in there but the gdb output is all wrong, it claims basically everything is Json11. I do wonder if building and testing directly from the source would be better. |
Hi Habbie, As requested, I have compiled powerdns-recursor 4.0.4 on the server. I had to apply this patch for it to initialise properly. There's a lot more information this time, I've put it in the document here: pdns-recursor 4.0.4 GDB.txt |
I'm facing same problem also. Environment FreeBSD 10.3-RELEASE-p17 amd64, powerdns-recursor 4.0.4_2 LUA enabled. |
This seems to be fixed in
|
Hello,
I've installed PowerDNS-recursor 4.0.4 on a new FreeBSD 10.3 server. I want to use a Lua script and the preresolve function to have the server answer with a different IP address for a record than is configured in it's zone. The Lua code is:
However, while querying support.customer.com the following behavior is displayed:
It seems that the 'dq:addAnswer' line is causing it to crash, commenting out the line logs the query using the pdnslog function, and the recursor sends an empty answer as expected. Other queries are also working just fine. The daemon is compiled using Poudriere and clang 3.4.1.
I've been unable to generate a core file so I've attached GDB to the running process, but it didn't seem to provide much useful information, see attached file PowerDNS-recursor GDB.txt. A 'truss -f' returns the following after initialising:
Running the Lua script on a Linux Debian 8 server seems to work just fine so this seems to be FreeBSD related.
Best regards,
Marc van Houtum
PowerDNS-recursor GDB.txt
The text was updated successfully, but these errors were encountered: