forked from mutability/dump978
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
$sudo systemctl status dump978-fa
● dump978-fa.service - dump978 ADS-B UAT receiver
Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: core-dump) since Fri 2022-08-12 17:11:36 EDT; 5s ago
Docs: https://flightaware.com/adsb/piaware/
Process: 5166 ExecStart=/usr/share/dump978-fa/start-dump978-fa (code=dumped, signal=SEGV)
Main PID: 5166 (code=dumped, signal=SEGV)
$ dump978-fa --version
dump978-fa 7.2
$ cat dump978-fa
# dump978-fa configuration
# This is sourced by /usr/share/dump978-fa/start-dump978-fa as a
# shellscript fragment.
# If you are using a PiAware sdcard image, this config file is regenerated
# on boot based on the contents of piaware-config.txt; any changes made to this
# file will be lost.
# dump978-fa won't automatically start unless ENABLED=yes
ENABLED=yes
RECEIVER_OPTIONS="--sdr driver=rtlsdr --format CS8"
DECODER_OPTIONS=""
NET_OPTIONS="--raw-port 30978 --json-port 30979"
$ sudo dump978-fa --sdr driver=rtlsdr --format CS8 --raw-port 30978 --json-port 30979
raw-port: listening for connections on 0.0.0.0:30978
raw-port: listening for connections on [::]:30978
json-port: listening for connections on 0.0.0.0:30979
json-port: listening for connections on [::]:30979
Found Elonics E4000 tuner
Found Elonics E4000 tuner
Segmentation fault
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
dump978-fa is compiled from GitHub source (without error). The same computer/SDR stick works fine with dump1090-fa without problems.
Additional debugging, SegFault happens at soapy_source.cc
line 166 when setting the Sample Rate to 2083333.0
device_->setSampleRate(SOAPY_SDR_RX, 0, 2083333.0);
However, rtl_test was able to set sample rate at 2083333.0...
$ sudo rtl_test -s 2083333.0
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN:
Using device 0: Generic RTL2832U OEM
Found Elonics E4000 tuner
Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0
Exact sample rate is: 2083333.135571 Hz
Sampling at 2083333 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
Metadata
Metadata
Assignees
Labels
No labels