RC-28 makes for crash

And here is the answer to the debug command in the terminal window:

wfview --debug
Current translation language: “”
Could not load translation.
Changed to translation language: “”
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.front.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround51.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround51.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround40.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround51.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround51.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround51.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.surround71.0:CARD=0’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = Filen eller katalogen finns inte
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 = Filen eller katalogen finns inte
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
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition ‘cards.0.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card ‘card’
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card ‘card’
Cannot connect to server socket err = Filen eller katalogen finns inte
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
Segmenteringsfel

That’s very strange.

I have had the latest master running on my Pi4/Bookworm for a few hours now, with regular tuning of the RC28 and it hasn’t crashed once. I wonder what’s different in your environment?

You don’t mention what radio you are connecting to (and which method of connection)

Yes. strange!
I started wit a brand new sd card and installed Bookworm on it, a few weeks ago. Then I installed wfview 2.03, and later CQRLOG and WSJT-X. The Pi 4 is a few years old. I am using a USGREEN usb audio card for the audio in/out. Dual screens. Besides this no special software or hardware. I have not noticed any problems when touching usb cables or the Pi itself.

Wfview seems to be stable over several days connected to the server and radio, as long as the RC-28 is not connected. I have changed the usb cable to the RC-28 for good measure.

But all sorts of problems when starting the app with the RC-28 connected, sometimes the app does not start at all, or it crashes shortly thereafter. Or I try to start without having the RC-28 usb connected. But when connecting the RC-28, often there is an immediate crash, or the wfview does not take any commands from the RC-28, before I have programmed it with the external page. So there are various problems connected to the RC-28.

I think the problems I have with the client disconnecting or staring without sound or waterfall after reconnecting to the server, or the server Pi locking up and requiring a reboot of the server PI, are not related at all to the RC-28. This seems to be totally separate problem. Perhaps at the server?

If you think I might have a problem with my client Pi, I can exchange that. Or disconnect the external usb audio card, or any other external device as mouse or keyboard. or the extra screen, uif that could give any clues. I could also do a complete new install on a new SD-card, and another Pi, if that would make the issue move forward.

The radio is a Icom 7300, usb connected to the server Pi. The networc connection is ethernet cable to a well regarded router (the Edgemax), and the fiber. On the client side also fiber, the Edgemax router and ethernet cable to the client Pi.

Or could it be a hardware fault of my RC-28? I did not think about that at first, as that kind of devices usually work as the should or not at all. But everything is possible, of course.

But the fact that it worked without crashes on the 1.62 version makes that less likely, perhaps.

I suspect it is something to do with the hot-plug detection of the RC-28 in Linux. I was able to make wfview crash on my Pi by plugging/unplugging the RC28, but in Windows it doesn’t crash.

I will have to try a debug build on Linux and see if I can diagnose exactly what is causing the crash.

Thats a step forward! I will make do without the RC-28 for the time being.