Audacity 3.7.5 crashes when normalizing

On ubuntu 24.04, I did a local full build of 3.7.5, which appeared to complete normally. The resulting audacity works fine (I haven’t tested every feature yet), BUT when using normalize (or loudness normalize) it crashes. If I ran it from a commandline, this output occurs:

GDK_BACKEND=x11 UBUNTU_MENUPROXY=0 audacity %F
ALSA lib pcm_dsnoop.c:566:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
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_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 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’
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
08:19:55: Debug: PortAudio stream error creating device list: JACK Audio Connection Kit:Plantronics C320 Analog Stereo: Invalid sample rate
08:19:55: Debug: PortAudio stream error creating device list: JACK Audio Connection Kit:Webcam C270 Mono: Invalid sample rate
08:19:55: Debug: PortAudio stream error creating device list: JACK Audio Connection Kit:speech-dispatcher-dummy: Invalid sample rate
08:19:55: Debug: PortAudio stream error creating device list: JACK Audio Connection Kit:Built-in Audio Digital Stereo (HDMI): Invalid sample rate
08:19:55: Debug: PortAudio stream error creating device list: JACK Audio Connection Kit:PulseAudio Volume Control: Invalid sample rate
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ClientToScreen cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
08:19:55: Debug: ScreenToClient cannot work when toplevel window is not shown
audacity: /home/fredex/programs/audacity-source/audacity-sources-3.7.5/libraries/lib-wave-track/WaveClip.cpp:2067: WaveClip::StrongInvariantScope::~StrongInvariantScope(): Assertion `mClip.StrongInvariant()’ failed.
Aborted (core dumped)

My thanks, in advance, for anyone who can help me with this.

Fred

  1. Copy the clip to make it longer, then normalize.
  2. Go to Help → Diagnostics → Reset Configuration.
  3. Export as WAV and re-import.
  4. Update or reinstall Audacity.
  5. Or use Effect → Amplify instead.

Thanks for the reply!

However I don’t see much there that I find helpful;

1: how does making it longer help? it still crashes

2: help→diagnostics doesn’t contain a ResetConfiguration option

3: doesn’t help

4: as I stated in my original posting, I just built from source and installed. I don’t see how doing a reinstall is going to help.

5: might help, if it wasn’t so tedious to adjust the level so it is (a) louder, and (b) not being clipped.

It is “Tools → Reset configuration” in my installation.

Hi Fred,

apologies for hijacking your post, but I think you could help me and I do not know how to contact you otherwise (is there a PM function that I haven’t found yet?).

If you don’t mind, please have a look at this post of mine:

I have the feeling my problem might be related to the fact that I am using the AppImage of 3.7.5. Could you just try, whether this exist also in your built version? Many thanks in advance.

Cheers

bum

This topic was automatically closed after 30 days. New replies are no longer allowed.