Echoping segfaults when installing smokeping

Bug #1906092 reported by Marco Bicca on 2020-11-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charms
New
Undecided
Unassigned
echoping (Ubuntu)
Undecided
Unassigned
unscd (Ubuntu)
Undecided
Unassigned

Bug Description

Running:
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"

Installed smokeping:
sudo apt install smokeping

Noticed core files under /var/crash:
-rw-r----- 1 smokeping smokeping 177182 Nov 27 23:14 _usr_bin_echoping.117.crash

And many segmentation fault errors in kern.log:
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.653421] echoping[8532]: segfault at 407295e0 ip 00007f273b02e5e9 sp 00007ffeb61433c0 error 4 in dns.so.0.0.0[7f273b02e000+1000]
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.653433] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.657597] echoping[8534]: segfault at ffffffffe526e5e0 ip 00007fc81b5875e9 sp 00007ffc106b1220 error 5 in dns.so.0.0.0[7fc81b587000+1000]
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.657612] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.686165] echoping[8536]: segfault at 7eb745e0 ip 00007fabc03945e9 sp 00007ffcb6dedf20 error 4 in dns.so.0.0.0[7fabc0394000+1000]
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.686180] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.688608] echoping[8538]: segfault at 56695e0 ip 00007f98013bf5e9 sp 00007ffdfa5c7430 error 4 in dns.so.0.0.0[7f98013bf000+1000]
Nov 27 23:16:02 linux-mgmt kernel: [ 3063.688635] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00

Did some research and it seems this issue is related with echoping using instructions that are not working under amd64 architecture. A previous workaround was to install the i386 version of the package which is not possible anymore.

Reference: http://unix.stackexchange.com/questions/513895/ddg#513913
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.13
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
Package: unscd
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-56.62-generic 5.4.73
Tags: focal uec-images
Uname: Linux 5.4.0-56-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Marco Bicca (mbicca) wrote :
Download full text (20.1 KiB)

Sorry, not core files. Crash file, contents as follows:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  echoping
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 63.4 kB of archives.
After this operation, 251 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 echoping amd64 6.0.2-10ubuntu1 [63.4 kB]
Fetched 63.4 kB in 1s (62.0 kB/s)
Selecting previously unselected package echoping.
(Reading database ... 122202 files and directories currently installed.)
Preparing to unpack .../echoping_6.0.2-10ubuntu1_amd64.deb ...
Unpacking echoping (6.0.2-10ubuntu1) ...
Setting up echoping (6.0.2-10ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
root@linux-mgmt:/# cd /var/log
root@linux-mgmt:/var/log# ls
alternatives.log apport.log auth.log.1 chrony dist-upgrade dpkg.log grafana kern.log.1 lost+found syslog.1 wtmp
alternatives.log.1 apt btmp cloud-init-output.log dmesg dpkg.log.1 influxdb landscape private telegraf
apache2 auth.log btmp.1 cloud-init.log dmesg.0 fontconfig.log kern.log lastlog syslog unattended-upgrades
root@linux-mgmt:/var/log# tail -f kern.log
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.644955] echoping[8246]: segfault at 1f51f5e0 ip 00007f6d586b25e9 sp 00007fffaf6ca810 error 4 in dns.so.0.0.0[7f6d586b2000+1000]
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.644971] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.654566] echoping[8249]: segfault at 4b14b5e0 ip 00007f2043d955e9 sp 00007ffffc3c01c0 error 4 in dns.so.0.0.0[7f2043d95000+1000]
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.654581] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.656033] echoping[8244]: segfault at ffffffffacfbd5e0 ip 00007f30b2a255e9 sp 00007ffda4b873f0 error 5 in dns.so.0.0.0[7f30b2a25000+1000]
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.656042] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.707126] echoping[8248]: segfault at 741785e0 ip 00007f94a97f35e9 sp 00007ffcd473e550 error 4 in dns.so.0.0.0[7f94a97f3000+1000]
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.707141] Code: 08 01 00 00 5b 5d 41 5c 41 5d c3 66 0f 1f 44 00 00 31 c0 e8 99 fb ff ff b9 02 00 00 00 48 8d 3d c6 0a 00 00 48 63 d8 48 89 de <f3> a6 0f 97 c0 1c 00 84 c0 74 7c b9 05 00 00 00 48 8d 3d a6 0a 00
Nov 27 23:06:02 linux-mgmt kernel: [ 2463.708512] echoping[8251]: segfault at 3085c5e0 ip 00007f39a51965e9 sp 00007ffe01008ed0 error 4 in dns....

lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1906092

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

apport information

tags: added: apport-collected focal uec-images
description: updated

apport information

Marco Bicca (mbicca) wrote :

Sent report and also uploading the crash file from (var/crash) for reference if needed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers