Page 1 of 1
Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 12:30 am
by Franky666
Hello,
I have a serious issue using Audacity after I updated it from 2.2.2 to 2.3.0.
If I try to use the distortion effect, Audacity crashes.
I tried to reinstall it through apt-get, but it didn't help.
Please help me how to fix that or how to go back to 2.2.2.
I need it quickly.
My operating system is Linux Mint 18.2 cinnamon.
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 11:21 am
by Franky666
I figured out by myself how to revert to 2.2.2 and did that.
I'm just going to skip 2.3.0 in the hope that 2.4 will work better.
But thank you
Thread can be closed.

Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 12:13 pm
by steve
Franky666 wrote: ↑Sat Oct 06, 2018 11:21 am
I'm just going to skip 2.3.0 in the hope that 2.4 will work better.
Audacity 2.3.0 should only be used on Windows and Mac. We had the Linux tarball (marked as "Experimental") for a short while, but too many people were installing it as a "production" version, so we have now removed it completely from the Audacity website.
The next release of Audacity is likely to be Audacity 2.3.1 and is planned for Windows, Mac and Linux. It is currently scheduled for January 2019.
Franky666 wrote: ↑Sat Oct 06, 2018 12:30 am
If I try to use the distortion effect, Audacity crashes.
Yes, this is the major bug in 2.3.0 on Linux and it affects all effects that have "real-time preview". If you are building from the source code, there is actually a simple fix, though it is probably better to just stick with 2.2.2 until 2.3.1 is released.
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 1:39 pm
by Franky666
That update is distributed through the update manager from Linux Mint and it is still available in the repository (Linux Mint uses the Ubuntu repositories). They handle it as a stable release. That would explain why many people have got that update.
A "sudo apt-get install audacity" still gives you 2.3.0
So if this is a beta release, it's pretty bad news for novice users who don't know how to get a working application out of a tarball.
2.2.2 isn't available anymore in the repositorys (or never was, I don't know anymore if I installed the original 2.2.2 one by tarball or by repository^^). There is only one very outdated alternative available (2.1.x).
I simply made a .deb from the 2.2.2 source and installed that through the package manager (so I can uninstall it and install the official version again once the the issue is over).
I could do the same from the 2.3.0 source too.
Is that bugfix easy to implement so I could modify the code by myself before I run the compiler? I guess it is NullPointerException caused by a missing null check or something like this? If so, please tell me, which version of source code I should use and which lines must be modified in which files.
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 2:23 pm
by steve
Franky666 wrote: ↑Sat Oct 06, 2018 1:39 pm
That update is distributed through the update manager from Linux Mint and it is still available in the repository (Linux Mint uses the Ubuntu repositories). They handle it as a stable release. That would explain why many people have got that update.
It shouldn't be, though it may be listed in some PPAs.
I'm aware that the "Panda Jim" PPA has it (
https://launchpad.net/~ubuntuhandbook1/ ... u/audacity).
Audacity 2.3.0 is not listed in Ubuntu's package search:
https://packages.ubuntu.com/search?keyw ... ection=all
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 2:30 pm
by steve
Yes, there's a missing null check around line 4821 in src/Menus.cpp
should be
Code: Select all
wxWindow *parent = nullptr;
if (focus != nullptr) {
parent = focus->GetParent();
}
or as one line:
Code: Select all
wxWindow* parent = focus ? focus->GetParent() : nullptr;
This is now fixed in the 2.3.1 alpha code.
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 4:57 pm
by Franky666
That's great.
I applied that fix and now I have a working 2.3.0 on my computer

.
Thank you!!!

Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 5:11 pm
by steve
Franky666 wrote: ↑Sat Oct 06, 2018 4:57 pm
I applied that fix and now I have a working 2.3.0 on my computer

.
Another bug has just been found.
If a project contains any "Note" tracks (MIDI tracks) and you open the "Mixer Board" (from the "View") menu, Audacity crashes.
The fix for that is here:
https://github.com/audacity/audacity/co ... f1633807f6
Re: Audacity 2.3.0 update gone wrong
Posted: Sat Oct 06, 2018 6:02 pm
by Franky666
I don't need that feature.