Bug - Crash after using High Qualitty Stretching [solved]

I’m using Audacity 2.4.2 build from source (Using Steve guide) on Ubuntu Studio 20.04

I found a bug that crash audacity, but before crashing is making a bug report folder.
If you try to use the Change Pitch effect or the Change Tempo with the High Quality Stretching option enabled, the program crash.

I saved the bug report folder but I don’t know what to do with it.

It’s a known bug, so you don’t need to do anything with the bug report (it has been fixed for the next release).
The crash only occurs with stereo tracks, so as a workaround you could split the track (to left and right “mono” tracks) before applying the effect.
(See: https://manual.audacityteam.org/man/splitting_and_joining_stereo_tracks.html)

The bug also affects the “Sliding Stretch” effect.

To fix the bug, here’s a patch:
changepitch.patch (3.44 KB)
To apply the patch, put the patch in the root of your source code folder, then apply the patch with:

patch -p 1 < changepitch.patch

Then delete your build folder, and rebuild Audacity as before.

I did a quick search on the forum to see if anybody have reported the bug and didn’t find it (I didn’t look beyond 2020)

To apply the patch I think I need to uninstall Audacity first, right?

sudo make uninstall

on the build folder should be enough?

Assuming that you previously installed your build to the default location, you can simply install your new build over the top of the older version.

This is not the case when replacing a repository version with a new build - in this case the repository version should be uninstalled first.

Works like a charm now.

By the way, the make uninstall code didn’t work. If for some reason I want to uninstall, which is the best way to do it?

Personally, I wouldn’t bother. I’d just delete the menu entry :slight_smile:

If you really want to, then delete:



or if you’re not bothered about leaving a few bytes behind, just:



/usr/local/bin/audacity is the actual executable.
/usr/local/share/audacity/ contains the manual (if installed), and other parts of the Audacity bundle.
~/.audacity-data and ~/.audacity-files are your user settings.

Thanks again for all your help!
I’m that kind of person who believes that leaving some bits here, some bytes there, will eventually, make my system run slower :smiley: :laughing:
Anyway I don’t have any plans to uninstall Audacity. I’m using it a lot.

Whereas I’m that kind of person that likes to do a clean install every few years :smiley: