This is a follow-up to a post I made a while back about RSUDP crashing on my mac-mini whenever alerts are triggered. I migrated to using a raspberry pi5 with 8gb of ram to avoid the issue, but it appears that my alert issues are still causing the program to crash. I am showing 3 channels for the raspberry shake 3d with waveform and spectrogram with a short viewing window. The settings are default. It appears to only freeze when an event is registered that messes with the STA/LTA calculation. This is the message in the terminal when the program freezes/crashes:
run(settings, debug=debug)
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/rsudp/client.py”, line 417, in run
start()
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/rsudp/client.py”, line 124, in start
CONTROLLER.run()
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/rsudp/c_plot_controller.py”, line 90, in run
results.append(plot.main(i, u))
^^^^^^^^^^^^^^^^
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/rsudp/c_plots.py”, line 844, in main
self.update_plot()
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/rsudp/c_plots.py”, line 730, in update_plot
mean = int(round(np.mean(self.stream[i].data)))
File “/home/science/miniforge3/envs/rsudp/lib/python3.12/site-packages/obspy/core/stream.py”, line 646, in getitem
return self.traces.getitem(index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
2026-02-07 20:12:11 [Alert] Threshold: 3.95; Current max STA/LTA: 0.0966