Discussion:
[smokeping-users] Echoping segfaults on Debian Stretch
Olivier
2018-08-03 08:32:33 UTC
Permalink
Hello,

I've managing a 3-year old Smokeping server on Debian Jessie.
This server get data from 13 Debian Slaves.
4 Slaves use Debian Stretch
9 Slaves use Debian Jessie.

I'm discovering that the following command segfaults on all four Debian
Stretch instances while it succeed on all nine Debian Jessie instances.

As root:
# /usr/bin/echoping -t 5 -m dns -n 5 80.10.246.136 -t A www.google.com
segfault

At the same time, I'm also using echoping with Http/Https module without
any issue.
For memory:
Jessie includes Smokeping 2.6.9
Stretch includes Smokeping 2.6.11


1. Any hint on how to solve this ?

2. More generally, any advice or suggestion when mixing Slaves and Master
from different Smokeping versions ?

Best regards
Olivier
2018-09-06 10:51:51 UTC
Permalink
Hello,

On a Debian Stretch master, the following command always segfaults:

As root:
# /usr/bin/echoping -t 5 -m dns -n 5 80.10.246.136 -t A www.google.com
segfault

# ls -l /usr/lib/echoping/
total 116
-rw-r--r-- 1 root root 41208 janv. 10 2017 dns.a
lrwxrwxrwx 1 root root 12 janv. 10 2017 dns.so -> dns.so.0.0.0
lrwxrwxrwx 1 root root 12 janv. 10 2017 dns.so.0 -> dns.so.0.0.0
-rw-r--r-- 1 root root 10672 janv. 10 2017 dns.so.0.0.0

The very same command works OK on Debian Jessie setup.

# /usr/bin/echoping -t 5 -m foobar -n 5 80.10.246.136 -t A www.google.com
Cannot load "foobar.so" (I tried the short name, then the complete name in
"/usr/lib/echoping"): /usr/lib/echoping/foobar.so: cannot open shared
object file: No such file or directory (No such file or directory)

My understanding is /usr/lib/echoping/dns.so file is found by
/usr/bin/echoping but its content is not compliant with current
/usr/bin/echoping.

The very same test also fails on Buster.
For memory, Smokeping has the following versions [1]:
2.6.9 Jessie
2.6.11 Stretch
2.7.2 Buster

1. Has someone successfully used dns module on either Stretch or Buster ?
2. Shall I create a ticket on Debian or Smokeping ?
3. Suggestions ?

Regards

[1]
---------- Forwarded message ---------
From: Olivier <***@gmail.com>
Date: ven. 3 août 2018 à 10:32
Subject: Echoping segfaults on Debian Stretch
To: <smokeping-***@lists.oetiker.ch>


Hello,

I've managing a 3-year old Smokeping server on Debian Jessie.
This server get data from 13 Debian Slaves.
4 Slaves use Debian Stretch
9 Slaves use Debian Jessie.

I'm discovering that the following command segfaults on all four Debian
Stretch instances while it succeed on all nine Debian Jessie instances.

As root:
# /usr/bin/echoping -t 5 -m dns -n 5 80.10.246.136 -t A www.google.com
segfault

At the same time, I'm also using echoping with Http/Https module without
any issue.
For memory:
Jessie includes Smokeping 2.6.9
Stretch includes Smokeping 2.6.11


1. Any hint on how to solve this ?

2. More generally, any advice or suggestion when mixing Slaves and Master
from different Smokeping versions ?

Best regards

Loading...