Audacity locks up using 15.4

Just updated to 15.4 from 15.3
Audacity 2.2.2 was working ok for me, recording from an external music source and saving as mp3.
Now it locks up at random times into recording.
I had no issues in earlier versions of leap 15.x
I am running Audacity 2.2.2-bp154.2.45 and ffmpeg-4 4.4-pm154.3.14.2

Is anyone here having similar issues? Suggestions welcome so I can complete my recording project (analog music to digital)

zypper lr -d
#  | Alias                             | Name                                       | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                | Service
---+-----------------------------------+--------------------------------------------+---------+-----------+---------+----------+----------+--------------------------------------------------------------------+--------
 1 | Downloads                         | MyDownloads                                | No      | ----      | ----    |   99     | plaindir | dir:/home/jon/Downloads                                            | 
 2 | http-ftp.gwdg.de-d37dc8c1         | Packman Repository                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ | 
 3 | http-opensuse-guide.org-bc5226af  | libdvdcss repository                       | No      | ----      | ----    |   99     | rpm-md   | http://opensuse-guide.org/repo/openSUSE_Leap_15.4/                 | 
 4 | openSUSE-Leap-15.2-Non-Oss        | Leap-15.4-Main-Non-Oss                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/  | 
 5 | openSUSE-Leap-15.2-Oss            | Leap-15.4-Main-Oss                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/distribution/leap/15.4/repo/oss/      | 
 6 | openSUSE-Leap-15.2-Update         | Leap-15.4-Update                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.4/oss                  | 
 7 | openSUSE-Leap-15.2-Update-Non-Oss | Leap-15.4-Update-Non-Oss                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.4/non-oss              | 
 8 | repo-backports-debug-update       | Update repository with updates for openS-> | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/update/leap/15.4/backports_debug/     | 
 9 | repo-backports-update             | Update repository of openSUSE Backports    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.4/backports/           | 
10 | repo-sle-debug-update             | Update repository with debuginfo for upd-> | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/update/leap/15.4/sle/           | 
11 | repo-sle-update                   | Update repository with updates from SUSE-> | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.4/sle/                 | 

Sorry, I regularly use Audacity on two different computers - a desktop and a laptop - both with Leap 15.4 and it works fine. I can happily leave it recording an hour long event without any problems.

Thanks, that’s good to know. Are you running the same version I am?
Audacity 2.2.2-bp154.2.45 which is the most current in the repo.

I ask because there are other builds on github but I have not tried any of those.

Yes. exactly the same version. All the details are the same as yours and the Alternate version in YaST except that my Installed Version is said to be from SUSE Linux Enterprise 15 SP4.

Thanks so much for your info. Since yours works I’ll keep plugging away trying to discover what my issue is.

Do some basic checks:

  • start audacity from a console/terminal and look for error output when it freezes
  • monitor ram and cpu usage
  • look into journal
  • as your machine seems to had an upgrade path Leap 15.2->15.3->15.4: delete audacity profile/settings/cache
  • create a new test user and watch if the problem also occurs…

Additionally set a higher priority (as described in the article below) for packman. You create problems if you use the same priority as the main repo. Perform a vendor switch.
https://en.opensuse.org/SDB:Installing_codecs_from_Packman_repositories

@hui OP here. Sorry for the late reply. If I turn off audio passthrough then recording works. But to playback the recorded file I must turn passthough back on again. In the past I did not have to fiddle with the passthrough setting.

I did do the vendor switch for Packman but it did not make a difference.
I cannot find the cache, I do not have a profile set up AFAIK, I am the only user. There is no audacity related files in ~/.cache
The freeze usually happens anywhere from 15 min to 2 hrs into a recording so I have not tried starting from term. This does seem like a promising check on my problem.

Thanks for the tips.