Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507966 - =net-analyzer/fping-3.9 stable request
Summary: =net-analyzer/fping-3.9 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard: "cpu 100% dead loop in fping 3.0"
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2014-04-18 07:35 UTC by Xuefer
Modified: 2014-09-19 08:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2014-04-18 07:35:32 UTC
i'm using smokeping, after running for a while fping does not exit, it's taking full cpu resource (1 core)
command line of fping is:
/usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.3.14 192.168.3.11 192.168.17.1 192.168.8.1 192.168.3.12 192.168.31.1 192.168.1.2

after some minutes digging i see weird thing:
(gdb) p ev_first.ev_next
$3 = (struct host_entry *) 0x7f1124aeed80
(gdb) p ev_first.ev_next.ev_next
$4 = (struct host_entry *) 0x7f1124aeed80
(gdb) p ev_first.ev_next.ev_next.ev_next
$5 = (struct host_entry *) 0x7f1124aeed80

(gdb) while $p.ev_prev

p $p
set $p = $p.ev_prev
end
$15 = (struct host_entry *) 0x7f1124af0080
$16 = (struct host_entry *) 0x7f1124aefd80
$17 = (struct host_entry *) 0x7f1124aefb80
$18 = (struct host_entry *) 0x7f1124aef980
$19 = (struct host_entry *) 0x7f1124aef880
$20 = (struct host_entry *) 0x7f1124aef780
$21 = (struct host_entry *) 0x7f1124aef680
$22 = (struct host_entry *) 0x7f1124aef280
$23 = (struct host_entry *) 0x7f1124aef080
$24 = (struct host_entry *) 0x7f1124aeef80
$25 = (struct host_entry *) 0x7f1124aeed80
$26 = (struct host_entry *) 0x7f1124aeed80
looks like 0x7f1124aeed80 is looping to itself


according to bug report at https://github.com/schweikert/fping/issues/61
"fping 3.0 is old, and definitely looks like an old bug."

please test and mark newer version of fping as stable
i myself find =net-analyzer/fping-3.9 stable on amd64
Comment 1 Xuefer 2014-04-18 07:37:21 UTC
bug report is at https://github.com/schweikert/fping/issues/61
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 05:51:56 UTC
Arch teams, please test and mark stable:
=net-analyzer/fping-3.9
Targeted stable KEYWORDS : alpha amd64 hppa ia64 ppc ppc64 sparc x86
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 15:59:53 UTC
Stable for HPPA.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-06-14 09:37:17 UTC
x86 stable
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2014-06-14 11:15:34 UTC
alpha/ia64/sparc stable
Comment 6 Chema Alonso Josa (RETIRED) gentoo-dev 2014-06-27 16:41:25 UTC
amd64 stable
Comment 7 Agostino Sarubbo gentoo-dev 2014-07-13 10:00:50 UTC
ppc stable
Comment 8 Agostino Sarubbo gentoo-dev 2014-09-19 08:57:13 UTC
ppc64 stable. Closing.