Skip to content

Can't interrupt. rx_fm doesn't stop when sent SIGINT #98

Description

@marrem

Using

`
commit 811b21c (HEAD -> master, origin/master, origin/HEAD)
Author: Josh Blum josh@joshknows.com
Date: Sun Mar 31 08:49:12 2019 -0500

added version include for setupStream check

`

On debian 11 (VM intel 64) when I press [ctrl]+C rx_fm prints "^CSignal caught, exiting!" but doesn't actually exit. I have to open another terminal to send it a SIGKILL to stop the process.

marc@debian:~$ rx_fm -M wbfm -f 96.8M | play -r 32k
bash: play: command not found
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
Using device Audio: device_id=0 origin=https://github.com/pothosware/SoapyAudio 
Found 1 channel(s) :
Channel 0 :
  Found 1 antenna(s): RX 
  Found 0 gain(s): 
  Found 1 frequencies: RF 
  Found 7 sample rates: 8000 16000 22050 32000 44100 48000 96000 
  Found 0 bandwidths: 
[INFO] Using format CS16.
Bandwidth set to automatic resulted in 0 Hz.
Tuned to 97071000 Hz.
Oversampling input by: 6x.
Oversampling output by: 1x.
Buffer size: 8.03ms
Sampling at 1020000 S/s.
Output at 170000 Hz.
^CSignal caught, exiting!
^CSignal caught, exiting!
^CSignal caught, exiting!
^CSignal caught, exiting!
^CSignal caught, exiting!

Same commit of rx_tools on Raspbian GNU/Linux 10 on a RaspberryPi 3B+ exhibits the same behaviour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions