Public bug reported:

There is a discussion at 
https://www.reddit.com/r/RTLSDR/comments/ds73ow/rtl_process_being_killed_newbie_troubleshooting/
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://github.com/steve-m/librtlsdr/commit/81833a1cf6288fee93a9157c0f60cafb5ec340b9

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.

** Affects: rtl-sdr (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876624

Title:
  rtl apps crash "allocating zero-copy buffers", Pi 4, Ubuntu 20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl-sdr/+bug/1876624/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to