Mtr

TCP mode fails on Mac OS X

Bug #1327036 reported by David Lambert
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mtr
New
Undecided
Unassigned

Bug Description

mtr quits with a bind() error when started in tcp mode on Mac OS X (10.9). The following command works as expected for UDP mode
dtruss output is below.

mtr installed with 'brew install mtr'

-----------------------------------

$ sudo mtr -r --tcp 8.8.8.8
Start: Fri Jun 6 00:35:08 2014
bind(): Invalid argument

-----------------------------------

$ sudo dtruss mtr -r --tcp 8.8.8.8
open_nocancel("/dev/random\0", 0x0, 0x0) = 9 0
read_nocancel(0x9, "\366\353\343/\222\217\2224\243\340\320'SP5\210,Xk=mT\004X\352G\022\337\332\275\220\261\004y\311\307\225\244Y\262\bU\277\213Y\333\210\271\344C\330\024\221]\220|\032^\355\217d\376f\317@)p\304\036\245\254}WMg_\036&\360\376\200\0", 0x80) = 128 0
close_nocancel(0x9) = 0 0
workq_kernreturn(0x20, 0x0, 0x1) = 0 0
workq_kernreturn(0x20, 0x0, 0x1) = 0 0
socket(0x2, 0x2, 0x0) = 9 0
socket(0x1E, 0x2, 0x0) = 10 0
setsockopt(0x9, 0xFFFF, 0x20) = 0 0
setsockopt(0xA, 0xFFFF, 0x20) = 0 0
select(0xB, 0x7FFF5C704960, 0x0, 0x0, 0x7FFF5C7048A0) = 0 0
kevent64(0x8, 0x7FFF73ABF130, 0x1) = -1 Err#4

Revision history for this message
David Lambert (dlambert716) wrote :

Looks like the same issue at the bottom of this report:
https://github.com/traviscross/mtr/issues/28

Revision history for this message
Thomas Uhle (uhle) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.