Audacity 2.3.0 crashes with many plugins and the wahwah effect

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
pizzadude
Posts: 2
Joined: Mon Oct 01, 2018 5:41 am
Operating System: OS X 10.9 Mavericks

Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by pizzadude » Mon Oct 01, 2018 5:48 am

Hi, Audacity version 2.3.0 crashes with almost every plugin I tested but also the built in "wahwah" effect when I apply it to the audio.

I use Kubuntu 18.10 (cosmic).

I tested this issue with both the PPA maintained by "Panda Jim" ( ppa:ubuntuhandbook1/audacity ) and also the flatpak version of flathub.

2.2.0 doesn't have this issue (from cosmic repos).

Any ideas? Is this a known issue? Can anyone else reproduce it?

System info:

Code: Select all

Kernel: Linux 4.18.0-8-generic x86_64
Distro: Ubuntu Cosmic Cuttlefish (development branch)
CPU:    Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
        4 cores/threads
        2400.00 MHz
RAM:    3.65 GiB
GPU:    Mesa DRI Intel(R) Ironlake Mobile 
        OpenGL 2.1 Mesa 18.3.0-devel
        GLSL 1.20

Valour
Posts: 32
Joined: Thu Jul 30, 2015 6:36 pm
Operating System: Windows 10

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Valour » Tue Oct 02, 2018 8:57 pm

Every time I try to use the Bass and Treble plugin, there's a crash. The log says nothing useful. I've tried using a new ~/.audacity-data folder, and there's no change.

Oddly, it does seem to work when used as part of a macro (chain).

If I run Audacity from the command line, all it says is Segmentation fault (core dumped). OS is Ubuntu bionic 64-bit.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by steve » Tue Oct 02, 2018 10:18 pm

Yes this is a bug that was accidentally introduced by a fix for another bug shortly before 2.3.0 was released.
Effects that have "real-time preview" are affected, so that is:
Bass and Treble
Distortion
Phaser
Wahwah

A fix has just been committed.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Valour
Posts: 32
Joined: Thu Jul 30, 2015 6:36 pm
Operating System: Windows 10

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Valour » Wed Oct 03, 2018 1:11 pm

Thanks. Will there be a new release, or is this something I have to patch and build myself?

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by steve » Wed Oct 03, 2018 1:23 pm

For now, on Linux, you are probably best using Audacity 2.2.2.
A short release cycle is intended for Audacity 2.3.1. I can't give an exact date yet, but possibly before Christmas.

If you build Audacity yourself, then it's an easy fix for this particular problem.
In /src/Menus.cpp
MenuCommandHandler::DoEffect (around line 4818)
Change:

Code: Select all

   auto parent = focus->GetParent();
to

Code: Select all

   wxWindow *parent;
   if (focus != nullptr) {
      parent = focus->GetParent();
   }
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Piteur
Posts: 20
Joined: Sat Jul 16, 2016 1:09 pm
Operating System: OS X 10.9 Mavericks

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Piteur » Wed Oct 03, 2018 2:32 pm

steve wrote:
Wed Oct 03, 2018 1:23 pm
For now, on Linux, you are probably best using Audacity 2.2.2.
Sorry, but how to get Audacity 2.2.2 after upgrading to 2.3.0? In official repositories (Ubuntu xenial), version 2.1 is proposed ...

Thank you for helping me.

Valour
Posts: 32
Joined: Thu Jul 30, 2015 6:36 pm
Operating System: Windows 10

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Valour » Wed Oct 03, 2018 3:35 pm

The Artful repo still has version 2.2.2:

http://ppa.launchpad.net/ubuntuhandbook ... ts/artful/

So you'd add this repo to Synaptic:

http://ppa.launchpad.net/ubuntuhandbook ... ty/ubuntu/

And use artful as the distribution. Then refresh, search for Audacity in the package list, select it, go to the Package menu, select Force Version, and choose 2.2.2 from the drop-down.

Piteur
Posts: 20
Joined: Sat Jul 16, 2016 1:09 pm
Operating System: OS X 10.9 Mavericks

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Piteur » Wed Oct 03, 2018 5:57 pm

Valour wrote:
Wed Oct 03, 2018 3:35 pm
The Artful repo still has version 2.2.2:

http://ppa.launchpad.net/ubuntuhandbook ... ts/artful/
Many thanks, but...

... when I try to force version, Synaptic says that it's a broken version!

Valour
Posts: 32
Joined: Thu Jul 30, 2015 6:36 pm
Operating System: Windows 10

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Valour » Wed Oct 03, 2018 7:49 pm

Hmm... not sure what could be wrong. Might be a missing dependency somewhere. I'm on Bionic, and setting the Audacity repo back to Artful worked perfectly. Xenial is pretty old. Can you upgrade?

Piteur
Posts: 20
Joined: Sat Jul 16, 2016 1:09 pm
Operating System: OS X 10.9 Mavericks

Re: Audacity 2.3.0 crashes with many plugins and the wahwah effect

Post by Piteur » Wed Oct 03, 2018 11:09 pm

Valour wrote:
Wed Oct 03, 2018 7:49 pm
Can you upgrade?
Not just for that! Too bad: I stay at 2.1.2! In any case, nothing indicates, on the 'artful' repository, for which Ubuntu version the package deb is.

Thank you for your answers. (And sorry for my bad english)...

Post Reply