Project

General

Profile

Actions

Bug #4758

open

rtl_tcp no longer works on macos 10.15 via macports

Added by rhymepays over 3 years ago. Updated 11 months 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

Actions #1

Updated by robinld about 3 years ago

This issue is caused by http://git.osmocom.org/rtl-sdr/commit/?id=8985b45e1fe1a5d50c5e1dc4c7c306705e602445
I was able to work around it by just reverting this change.

Actions #2

Updated by mores 11 months ago

Checked out tag 0.6.0 - built on macos - correctly binds to port.

Actions #3

Updated by rhymepays 11 months ago

The latest macport pulls from master at 5e73f90f where rtl_tcp is still broken. I will ask macports to use the 0.6.0 tag which is what homebrew does.

Actions #4

Updated by laforge 11 months ago

  • Assignee set to ahuemer

Assigning to steve-m

Actions #5

Updated by tnt 11 months ago

  • Assignee changed from ahuemer to steve-m
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)