Im using Kubuntu 20.04. I had no issues with the packaged version and everything worked fine when I built version 2.4.2 from source. Then one day when I tried to record a second track, it instantly stopped recording it and printed these errors on the console:
If I press the record button many times it will usually work once but will fail again on the next time.
I tried downgrading back to verison 2.2 packaged in Ubuntu but it didnt help.
It also doesn’t matter which input device Im trying to record (the built-in mic, a USB mic or a Zoom g5n)
Today I built version 3.0.0 from source but the issue persists, though there aren’t any messages in the console.
Rebooting doesnt help either.
If I delete the first track I can always record it back but if there is an existing track it will fail.
I suspect that an upgrade to pulseaudio is the cause but Im not sure.
Also, on some rare occasions everything works fine.
Check what other apps are running. There may be another app fighting for control of the sound card (voip apps are infamous for doing this, but even web browsers can cause this type of problem sometimes).
What are you recording from?
Unless you are recording sounds playing on the computer, you can bypass Pulse by selecting the “hw” option in the Device Toolbar that corresponds with your recording device.
The problem is that only one track is being recorded.
When trying to record another one, audacity just create an empty new track and stops recording.
Tweaking the pulseaudio settings does help but doesnt fix it 100%.
I see the same error since I installed the low latency kernel on Ubuntu 20.
The first recording track works fine the second fails as you described.
This is with an SSL2 attached.
If I use the internal sound card it works fine.
The workaround that I found was to start jack, launch Audacity and use Jack as Audio Host, Recording and Playback device.