*BUG* - Choosing missing EQ setting causes crash

Feedback and Reviews for Audacity 2.x
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.

If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
daloonik
Posts: 6
Joined: Tue Sep 05, 2017 12:00 am
Operating System: Linux Mint

*BUG* - Choosing missing EQ setting causes crash

Post by daloonik » Mon Jun 18, 2018 1:27 pm

Steps to produce the crash:

1. Make sure Audacity is in French (or some other language)
2. Delete the "unnamed" equalization curve from Audacity - my version is in French, so you can't delete the equivalent "sans nom" curve but you can delete "unnamed".
3. Go to chains -> Edit chains (French: Chaîne -> Éditer la chaîne)
4. Insert an equalization command
5. Click "edit parameters" (French: paramètres d'édition)

Under the French version this will promptly cause Audacity to crash. But the English version is unaffected - it just recreates the unnamed curve.

Using Audacity 2.2.2 on Xubuntu.

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

Re: *BUG* - Choosing missing EQ setting causes crash

Post by steve » Mon Jun 18, 2018 2:07 pm

daloonik wrote:2. Delete the "unnamed" equalization curve from Audacity - my version is in French, so you can't delete the equivalent "sans nom" curve but you can delete "unnamed".
When I do this, the selected item changes to "sans nom".

I'm unsure what you mean by "Choosing missing EQ setting". How exactly do you do that?

Testing with Audacity 2.2.2 (release build) on Xubuntu 16.04, I don't get a crash.
I've also tested with Audacity 2.3.0 alpha, and no crash there either.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

daloonik
Posts: 6
Joined: Tue Sep 05, 2017 12:00 am
Operating System: Linux Mint

Re: *BUG* - Choosing missing EQ setting causes crash

Post by daloonik » Mon Jun 18, 2018 4:35 pm

I left out a few steps to reproduce the bug.
First in the English display create a chain that uses the unnamed curve. Next open an audio file and open the equalizer. you must modify the unnamed curve to any value. Close all the dialog boxes.
Next switch to French and open the chain that has the unnamed curve. Follow the steps above and Audacity will crash.
The trick here is having the "unnamed" value modified and then deleted using a different display language. If unnamed isn't modified the curve just switches to "sans nom" as seen above.

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

Re: *BUG* - Choosing missing EQ setting causes crash

Post by steve » Mon Jun 18, 2018 4:46 pm

I'm still not seeing a crash.
Please give complete, step by step instructions to reproduce the crash.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

daloonik
Posts: 6
Joined: Tue Sep 05, 2017 12:00 am
Operating System: Linux Mint

Re: *BUG* - Choosing missing EQ setting causes crash

Post by daloonik » Mon Jun 18, 2018 10:49 pm

You actually don't need to use chains to produce the crash. Here are the steps.

1. Install Xubuntu and Audacity 2.2.2.
2. Make sure Audacity is in English. Go to Generate -> Noise and click OK to create a track.
3. Go to effect -> equalization. Make sure the curve is flat and the "select curve" dialog box says "unnamed".
4. Change the curve by adding some values (boost the bass, lower the treble, whatever. just create a new curve). Click OK.
5. Go to Edit -> Preferences and under Interface switch language to French.
6. Go to effets -> égalisation. You should see the "unnamed" curve that we just created.
7. Click on Sauvegarder / gérer les courbes. In the "gérer les courbes" dialog box select the "unnamed curve".
8. Delete this curve by Clicking "Effacer..." and Oui at the following prompt.
9. Click "Valider" to close the "gérer les courbes" dialog box, and then click "Annuler" to close the égalisation dialog box. Follow this step exactly!
10. Go to effets -> égalisation and Audacity will crash. You will get an "égalisation : courbe absente" dialog box and a debug report box both of which are blank.

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

Re: *BUG* - Choosing missing EQ setting causes crash

Post by steve » Tue Jun 19, 2018 10:16 am

daloonik wrote:and then click "Annuler" to close the égalisation dialog box
OK, got it. The "Cancel" step is essential.

The problem is that the "unnamed" curve is the special one that should never be deleted, whereas the "sans nom" curve is just a copy of "unnamed", and it is OK to delete that (it is just recreated as an empty setting the next time the effect is launched).

Thanks for the details. This should be fixed in the next release.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply