Linrad r1072 segfaults

92 views
Skip to first unread message

Ramiro Aceves

unread,
Oct 19, 2024, 7:33:35 AM10/19/24
to LINRAD

Hello Leif and Linraders,


I am having trouble with latest Linrad in my Debian machine. I updated
the source code to r1072 and compiled Linrad.

I selected the input sound card fine pressing "A". But when I selected
output sound card pressing "B" -> "use Portaudio for rx output (Y/N)?".
I press "Y" and inmediately got a segmentation fault.


ramiro@debian-nuc8i7:~/linrad$ uname -a
Linux debian-nuc8i7 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.112-1 (2024-09-30) x86_64 GNU/Linux


ramiro@debian-nuc8i7:~/linrad$ svn log -l1
------------------------------------------------------------------------
r1072 | sm5bsz | 2024-10-13 13:39:03 +0200 (dom 13 de oct de 2024) | 1 línea

bugfixes
------------------------------------------------------------------------




ramiro@debian-nuc8i7:~/linrad$ ./xlinrad64
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 pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
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: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'
[SWR @ 0x7f6e2ca7ee40] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2cac3240] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2cafff40] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2cb29940] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2cbd4340] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2ccd6540] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2cd29940] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2ce7ee40] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2d083240] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2d129940] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2d7dcc40] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2d929940] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2c929900] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2c8d65c0] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

[SWR @ 0x7f6e2d083140] Input channel layout "" is invalid or unsupported.
ALSA lib rate_lavrate.c:113:(pcm_src_init) sw_init() error -22

Violación de segmento
ramiro@debian-nuc8i7:~/linrad$

Leif Asbrink

unread,
Oct 21, 2024, 9:31:16 PM10/21/24
to lin...@googlegroups.com
Hello Ramiro and all,

I have uploaded 1073 now. Hopefully Portaudio will open and close properly now.

/ Leif
> --
> There is an excellent Linrad User Guide by Gaetan, ON4KHG, at:
> http://w3sz.com/Linrad%20Installation%20&%20Configuration%20User%20Guide%20-%20V1-0.pdf
> ---
> You received this message because you are subscribed to the Google Groups "Linrad" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linrad+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/linrad/5754107c-e0ab-4e29-b609-3268e378a139%40gmail.com.

Ramiro Aceves

unread,
Oct 22, 2024, 11:06:54 AM10/22/24
to lin...@googlegroups.com
El 22/10/24 a las 3:31, Leif Asbrink escribió:
> Hello Ramiro and all,
>
> I have uploaded 1073 now. Hopefully Portaudio will open and close properly now.
>
> / Leif
>
>
> On Sat, 19 Oct 2024 13:33:28 +0200
> Ramiro Aceves <ea1...@gmail.com> wrote:

Hello Leif,


Now it behaves different, it does not segfault in output sound card
setup, it breakes when entering the setup at a  second time.


"U2 A/D D/A setup

"0" ALSA

"A" input sound card setup "Y" .

"B" ouput sound card setup

"X"

"Any key" to main menu

"W" to save settings.

"U" to run setup again-----> segfault.

Regards.



ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

SP2BPD

unread,
Oct 22, 2024, 11:09:10 AM10/22/24
to Linrad
Hi,

Still no good news here. I'm getting portaudio error 1166 or "invalid device" both on input and output.
Tested on Windows 10 (3 different sound card devices).

Piotr, SP2BPD

SP2BPD

unread,
Oct 22, 2024, 11:37:19 AM10/22/24
to Linrad
and:
even when playing recorded files and setting output soundcard without use of portaudio Linrad crashes after several seconds with error 1199 [even when output delay margin is set to 1000]

and:
in Console Window:
"Text=[            ] x=-153 y=127
Trying to write text outside screen."


Leif Asbrink

unread,
Oct 22, 2024, 8:38:17 PM10/22/24
to lin...@googlegroups.com
Hi All,

1072 does not work under Windows.

I have found a couple of errors and got it running under Windows 7, but
it does not run under Windows 10, maybe because the hardware is very
different. Old versions work perfectly well on both systems but a
problem under Win10 seems related to timing issues, how to start
with the proper amount of data in the buffers as requested by
the output delay margin.

I will continue to look at it tomorrow.

/ Leif

Reply all
Reply to author
Forward
0 new messages