Project

General

Profile

Bug #4758

rtl_tcp no longer works on macos 10.15 via macports

Added by rhymepays about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/17/2020
Due date:
% Done:

0%

Spec Reference:

Description

rtl_tcp no longer works on MacOS 10.15 (catalina) installed via macports. I was able to install an old port in order to get it to work. It appears that the code which sets up the tcp server contains a bug. The other executables in the package appear to work correctly.

Output from running rtl_tcp with no arguments:
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
rtl_tcp bind error: Invalid argumentlistening...
Use the device argument 'rtl_tcp=127.0.0.1:1234' in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).

Output from dtruss of networking syscalls:
socket(0x2, 0x1, 0x6) = 5 0
setsockopt(0x5, 0xFFFF, 0x4) = 0 0
setsockopt(0x5, 0xFFFF, 0x80) = 0 0
bind(0x5, 0x7FFEEC5BAB20, 0x80) = -1 22
listen(0x5, 0x1, 0x0) = 0 0

I am not sure which commit introduced the bug but it is between be2e4f89 and d794155b.
Last known good commit: be2e4f89
Commit which contains issue: d794155b

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)