Blockstream / satellite

Blockstream Satellite
https://blockstream.github.io/satellite/
GNU General Public License v3.0
977 stars 152 forks source link

Blocksat runs ok first time. Segmentation fault, won't launch next time. #40

Closed MrPaz closed 4 years ago

MrPaz commented 4 years ago

On Ubuntu 18.04.3, installed via the ppa repository. I've had this happen three times now. I run blocksat gui the first time to get my satellite aligned, then I shut it down by clicking X in upper right corner of the gui. Next time I attempt to run it, I get the following error. I have to uninstall the satellite repository and reinstall it. It will again launch ok first time, then after stopping the gui it won't launch again.

-------------1st time running blocksat-------------

$ blocksat-rx-gui -f 1266920000
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

Detached kernel driver
Found Rafael Micro R820T tuner
Reattached kernel driver
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
[2020-01-07 14:37:08] SNR [=                                       ] 0.0000 dB
[2020-01-07 14:37:09] SNR [=======                                 ] 2.9373 dB

##########################################
-- Frame synchronization acquired
-- On Tue Jan  7 14:37:10 2020
##########################################

[2020-01-07 14:37:10] SNR [===========                             ] 5.0886 dB
[2020-01-07 14:37:11] SNR [=========                               ] 4.1782 dB
[2020-01-07 14:37:12] SNR [=========                               ] 4.2039 dB
--------------------------------------------------------------------------------
[2020-01-07 14:37:13] Frame Timing => LOCKED     Timing Indicator: GOOD

...

-------------2nd time running blocksat-------------

$ blocksat-rx-gui -f 1266920000
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

[INFO] Using format CF32.
/usr/bin/blocksat-rx-gui: line 2: 15397 Segmentation fault      (core dumped) /usr/bin/env python /usr/lib/blocksat-rx/blocksat_rx_gui.pyc "$@"
blockstreamsatellite commented 4 years ago

@MrPaz FYI, we've launched a new release on Monday (May 4th 2020), which changes from GNU Radio software to other platforms. You can find more information in this post.

We will close this issue. Feel free to reopen if you have further questions.