Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 763 - FFmpeg Custom Export: Crashes importing presets.
FFmpeg Custom Export: Crashes importing presets.
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Formats
2.1.0
Per OS All
: P3 Repeatable
Assigned To: Default Assignee for New Bugs
: FFmpeg
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-26 18:55 UTC by Gale Andrews
Modified: 2018-08-20 11:46 UTC (History)
5 users (show)

See Also:
Steps To Reproduce:
1 Install FFmpeg and add some audio to the project. 2 File > Export Audio..., choose "Custom FFmpeg Export", click "Options...". 3 Select a format and a codec, for example, WAV and pcm_alaw. 4 Type a name for the preset in the "Preset:" box. 5 Press "Save Preset". This does not yet write the preset to disk. 6 Press "Delete Preset" and confirm deletion. Crash. 7 Restart Audacity. Repeat steps 3, 4 and 5 then press OK. This saves the preset to "ffmpeg_presets.xml" in Audacity's application data folder. 8 Reopen the Custom FFmpeg Export dialogue, and select the preset you saved from the Preset: drop-down. Press "Delete Preset" and confirm deletion. Crash. No deletion of the preset on disk occurs. 9 Restart Audacity and reopen the Custom FFmpeg Export dialogue. Select the preset you saved from the Preset: drop-down. Press "Load Preset" then "Delete Preset" and confirm deletion. Still crashes. 10 Restart Audacity and reopen the Custom FFmpeg Export dialogue. Select the preset you saved from the Preset: drop-down. Press "Export Presets" and save the XML file. 11 Press "Import Presets" and select and open the saved XML file. This would add an identical preset, but it crashes. 12 If you export and import a different preset than one already in the saved list, it also crashes. The only time the import does not crash is if the "ffmpeg_presets" file is empty or does not exist.
Release Note:
// See bug 896
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments
Crash report for Mac when importing presets and a populated "ffmpeg_presets.xml" exists (14.22 KB, text/plain)
2015-03-18 16:43 UTC, Gale Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2014-09-26 18:55:24 UTC
Not a regression on 2.0.0 and not previously reported AFAIK, so P3 is probably appropriate.
Comment 1 Leland Lucius 2014-12-06 14:21:09 UTC
Fix for this committed in r13706.  It was just a double delete.
Comment 2 Gale Andrews 2015-03-18 16:39:37 UTC
The crashes deleting presets are fixed but the crashes attempting to import a preset are not fixed. Importing a preset still crashes Audacity unless the "ffmpeg_presets.xml" file in Audacity's folder for application data is empty or does not exist.
Comment 3 Gale Andrews 2015-03-18 16:43:00 UTC
Created attachment 585 [details]
Crash report for Mac when importing presets and a populated "ffmpeg_presets.xml" exists
Comment 4 Leland Lucius 2015-05-17 02:59:38 UTC
fix committed in 436fc86.
Comment 5 Gale Andrews 2015-05-21 16:40:29 UTC
Thanks, Leland.