Bug 220294

Summary: net/echoping: SIG11 with -m dns only on amd64
Product: Ports & Packages Reporter: Phillip R. Jaenke <prj>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: arved, lwhsu
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
truss output of echoping sig11 on 11.0-RELEASE amd64 none

Description Phillip R. Jaenke 2017-06-26 20:01:00 UTC
Created attachment 183821 [details]
truss output of echoping sig11 on 11.0-RELEASE amd64

Problem appears to possibly be program bug in echoping but may be clang. SIG11 occurs after munmap() call and only occurs on amd64. No problems were observed on i386 or aarch64. No other symptoms have been observed yet but http and https work without problems.
Comment 1 Tilman Keskinoz freebsd_committer 2019-09-25 20:32:54 UTC
I can't reproduce

% echoping -m dns ns1.isc-sns.net www.freebsd.org
Elapsed time: 0.035630 seconds
% uname -a                                       
FreeBSD nihayet.local.arved.priv.at 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  amd64


The command output from your truss output doesn't even work: 

/usr/local/bin/echoping -t 5 -m /usr/local/lib/echoping/dns.so -n 20 10.53.0.1 -t A nsd0.rootlair.pvt
Error: Unknown type
Usage: [-?] [-t|--type=type] [--tcp] [--no-recurse] [-?|--help] [--usage]
  request
Comment 2 Li-Wen Hsu freebsd_committer 2020-06-17 07:49:30 UTC
Phillip, is this still happening on newer FreeBSD versions?