rtl apps crash "allocating zero-copy buffers", Pi 4, Ubuntu 20.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtl-sdr (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
There is a discussion at https:/
for reference.
When installed with the default librtlsdr-dev, the rtl apps crash
on Ubuntu 20.04 LTS with this error sequence. This example is from
rtl-test:
Reading samples in async mode...
Allocating 15 zero-copy buffers
Killed
The relevant patch from upstream is
https:/
lib: disable usbfs zero-copy support by default
Although we added a detection mechanism for the presence of the Kernel
bug earlier, reading from the incorrectly mapped memory might cause a
bus error on some ARM systems.
With the overall performance benefit being rather minimal for the
data rates of rtl-sdr, disable zero-copy by default.
To be more precise, this is happening on a Pi 4 running arm64 (64-bit Arm). The upstream patch mentions "some Arm systems".