markjfine / nrsc5-dui

An enhanced, user-friendly version of nrsc5-gui that is not heavily dependent upon Python processing for audio generation.
GNU General Public License v3.0
139 stars 9 forks source link

Segmentation fault when tuned to certain radio stations #32

Open andylhxu opened 1 year ago

andylhxu commented 1 year ago

Reproed on ubuntu 22.04 running on certain stations at certain times. I’m guessing that certain metadata would cause the program to crash.

(venv) ➜  nrsc5-dui git:(master) ✗ python nrsc5-dui.py
Using Pillow v9.4.0
['nrsc5', '--dump-aas-files', '/home/andyxu/Documents/nrsc5-dui/aas', '-H', '192.168.1.6:1234', '105.9', '0']
[1]    88793 segmentation fault (core dumped)  python nrsc5-dui.py

What logs could be helpful to debug?

markjfine commented 1 year ago

There's a logging feature in Settings that would need to be turned on. Might give a clue as to what's happening. Do you suspect WQXR might be including special character sets or accent marks that aren't being properly handled?

Edit: If so, just had an after thought that it's also possible that the logging feature might be where they're not being handled... I haven't really done much with that feature from the original nrsc5-gui, TBH.