-
Notifications
You must be signed in to change notification settings - Fork 923
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 4.0.1 core dumps on illumos/SmartOS when starting with allow-axfr-ips set #4579
Comments
and what about truss -f ? |
Here we go @jurajlutter |
I'm not too familiar with Illumos, any chance you could get the exact line number using |
@rgacogne Here's gdb bt:
|
Hello I had a similar crash under solaris 11.3 and found out that problem was in using byte ordering function with IN in name (BE_IN64 for example). This functions require pointer to integer as argument instead integer. Path is attached. |
Hi @skolot, thank you for this patch! Would you be willing to turn that into a pull request so your name appear in the log? If so, could you please add parentheses to prevent any surprises later, ie replacing |
Thanks! |
Can we close this now that #4877 has been merged? |
@Habbie This can now be closed, PowerDNS will be included in SmartOS pkgsrc 2017Q1. |
@jussisallinen thanks! |
(cherry picked from commit 28fe507)
PowerDNS-4.0.1 core dumps on illumos/SmartOS if allow-axfr-ips=127.0.0.0/8,::1
With allow-axfr-ips= empty pdns_server starts as it should.
Please ask for more specific output as needed.
truss-pdns-4.0.1.txt
[root@pkgtest ~]# pstack core.pdns_server.89125 | c++filt
core 'core.pdns_server.89125' of 89125: /opt/local/sbin/pdns_server --daemon=yes
00000000005a07b4 NetmaskTree::insert(Netmask const&) () + 224
000000000064d076 TCPNameserver::TCPNameserver() () + 2e6
00000000005fbcc1 main () + 4921
00000000004bf5cc _start () + 6c
[root@pkgtest ~]# ldd /opt/local/sbin/pdns_server
libyaml-cpp.so.0.5 => /opt/local/lib//libyaml-cpp.so.0.5
libGeoIP.so.1 => /opt/local/lib//libGeoIP.so.1
libsocket.so.1 => /lib/64/libsocket.so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libcrypto.so.1.0.0 => /opt/local/lib//libcrypto.so.1.0.0
libsqlite3.so.0 => /opt/local/lib//libsqlite3.so.0
libdl.so.1 => /lib/64/libdl.so.1
librt.so.1 => /lib/64/librt.so.1
libpthread.so.1 => /lib/64/libpthread.so.1
libumem.so.1 => /lib/64/libumem.so.1
libstdc++.so.6 => /opt/local/gcc49/x86_64-sun-solaris2.11/lib/amd64/libstdc++.so.6
libm.so.2 => /lib/64/libm.so.2
libssp.so.0 => /opt/local/gcc49/x86_64-sun-solaris2.11/lib/amd64/libssp.so.0
libgcc_s.so.1 => /opt/local/gcc49/x86_64-sun-solaris2.11/lib/amd64/libgcc_s.so.1
libc.so.1 => /lib/64/libc.so.1
libmp.so.2 => /lib/64/libmp.so.2
libmd.so.1 => /lib/64/libmd.so.1
The text was updated successfully, but these errors were encountered: