[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023047: (no subject)



Hello,

I just have had another look and I had noticed that selecting "default" for audio input leads to a segfault:

And this is what I got when I selected an ALSA input:

ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
[1]    106253 segmentation fault  wsjtx

This is what I got when I selected "pulse" for the input:

ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
[1]    106631 segmentation fault  wsjtx

I know it says ALSA, but I really did select pulse!

I've also noticed that the input meter in wsjtx briefly shoots up to max before it crashes. At least that might be an indication that it gets audio before crashing, idk.

I then loaded two kernel modules to try out whether they were missing:

sudo modprobe snd-pcm-oss
sudo modprobe snd-mixer-oss

And then /dev/dsp appeared, but wsjtx still crashed with a segfault without any error messages. I am in the audio group and can access the device file just fine with other software.

I even got the same error when I selected "pipewire" for the input:

ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:578:(snd_pcm_dsnoop_open) unable to initialize slave
[1]    108774 segmentation fault  wsjtx
wsjtx  5,03s user 1,21s system 10% cpu 1:02,24 total

This makes me believe that wsjtx always tries to access ALSA stuff when it should be using something else OR that the error message is simply wrong.

Please not that it does not matter what I select for output, it will not crash. I will just not get output on some settings, even though I should.

However, I got the following when I had selected "pipewire" as output and manually removed the input from the config (as it crashes otherwise and GUI does not allow not having an input), there's nothing set to ALSA, but it still has ALSA errors:

ALSA lib pcm.c:8740:(snd_pcm_recover) underrun occurred
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1012:(snd_pcm_dmix_open) unable to initialize slave
ALSA lib pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1012:(snd_pcm_dmix_open) unable to initialize slave

So... There seems to be audio output now with "pipewire" or "default" selected (or maybe I just selected a different option compared to around a year ago?), but it still seems to be broken.

--
erebion

Matrix: @erebion:erebion.eu

My languages: German, English, Swedish, Norwegian, Danish
Yes, I'm a language nerd. Feel free to write to me in any of the aforementioned languages.

Attachment: OpenPGP_0x8EAF40326E02AE7D.asc
Description: OpenPGP public key

BEGIN:VCARD
VERSION:4.0
N:;erebion;;;
FN:erebion
EMAIL;PREF=1:erebion@erebion.eu
IMPP:matrix:u/erebion:erebion.eu
URL:https://erebion.eu
TZ:Europe/Berlin
END:VCARD

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: