I'm testing smokeping's DNS probes with the echoping program as per the documentation, but for me this is causing a segmentation fault when the command is executed by smokeping. I grabbed the command that smokeping is trying to run from
systemctl status smokeping.service and tried to run it myself as my normal user and root:
echoping -w 1 -p 6 -t 1 -6 -m /usr/lib/echoping/dns.so -n 20 facebook.com -t AAAA --tcp facebook.com
It exits due to a:
Segmentation fault (core dumped)
strace output is here.
The distribution of my test box is Arch Linux 4.20 kernel. I've tested this on LTS kernel 4.19 too which is also unsuccessful.
Actual command smokeping is trying to run:
echoping -w 1 -P 0xa0 -p 6 -t 1 -6 -m /usr/lib/echoping/dns.so -n 20 facebook.com -t AAAA --tcp facebook.com
(I missed the
-P 0xa0 because I tried omitting the flag before posting but should have copied the command prior to the most recent that I ran...)
backtrace from the core dump:
$ gdb /usr/bin/echoping core.27236 GNU gdb (GDB) 8.2.1 ... Reading symbols from /usr/bin/echoping...(no debugging symbols found)...done. [New LWP 27236] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `echoping -w 1 -P 0xa0 -p 6 -t 1 -6 -m /usr/lib/echoping/dns.so -n 20 facebook.c'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f73c938246a in init () from /usr/lib/echoping/dns.so (gdb) backtrace full #0 0x00007f73c938246a in init () from /usr/lib/echoping/dns.so No symbol table info available. #1 0x0000564855557d58 in main () No symbol table info available.