Segmentation Fault

Recently, I moved to a new home and restarted the satnogs-client on the same device (=Raspberry Pi and RTL-SDR).
It was working fine before, while the signal was a little weak. However, it doesn’t work now.
The log for an observation is shown below.

May 04 14:05:38 dojima satnogs-client[385]: satnogsclient.scheduler.tasks - INFO - Post data started
May 04 14:06:22 dojima satnogs-client[385]: satnogsclient.scheduler.tasks - INFO - Spawning observer worker.
May 04 14:06:22 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Start rotctrl thread.
May 04 14:06:22 dojima satnogs-client[385]: satnogsclient.observer.worker - INFO - Tracking initiated
May 04 14:06:22 dojima satnogs-client[385]: rot_init called
May 04 14:06:22 dojima satnogs-client[385]: initrots4_dummy: _init called
May 04 14:06:22 dojima satnogs-client[385]: rot_register (1)
May 04 14:06:22 dojima satnogs-client[385]: rot_register (2)
May 04 14:06:22 dojima satnogs-client[385]: dummy_rot_init called
May 04 14:06:22 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Start rigctrl thread.
May 04 14:06:22 dojima satnogs-client[385]: satnogsclient.observer.worker - INFO - Tracking initiated
May 04 14:06:22 dojima satnogs-client[385]: rot_open called
May 04 14:06:22 dojima satnogs-client[385]: dummy_rot_open called
May 04 14:06:22 dojima satnogs-client[385]: rig_init: rig does not have rx_range!!
May 04 14:06:22 dojima satnogs-client[385]: network_open: hoststr=127.0.0.1, portstr=4532
May 04 14:06:23 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Start gnuradio thread.
May 04 14:06:27 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Tracking stopped.
May 04 14:06:27 dojima satnogs-client[385]: netrigctl_close: done status=Command completed successfully
May 04 14:06:27 dojima satnogs-client[385]: satnogsclient.observer.worker - INFO - Tracking stopped.
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.observer.worker - INFO - Tracking stopped.
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Observation Finished
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Executing post-observation script.
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.observer.observer - INFO - Creating waterfall plot.
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.waterfall - INFO - Reading waterfall file
May 04 14:06:28 dojima satnogs-client[385]: satnogsclient.observer.observer - ERROR - No waterfall data file found

Following the troubleshooting page (Troubleshooting - SatNOGS Wiki), I have confirmed that rtl_test is working. But satnogs_afsk1200_ax25.py returns “Segmentation fault”.

I have no idea why it turns to fail now and what to do, so I would appreciate it if someone could give me some advice.

This problem was solved by myself.

I checked the behaviour of satnogs_afsk1200_ax25.py line by line and found that from gnuradio import analog caused the segmentation fault.

So,

  1. I uninstalled the libgnuradio-analog3.8.2 and other related packages.
  2. I reinstalled the libgnuradio-analog3.8.2.
  3. I set up the satnogs-client using ansible.
    Then, satnogs_afsk1200_ax25.py works!

Thanks for all.

1 Like