Repository navigation
Description
Bug description
I have encountered a serious project-saving issue in Audacity 4.0.0 and 4.0.1 on Windows 11.
When a project contains an audio track, the project appears to save successfully, but after closing Audacity, the project file is deleted automatically. The file does not appear in the Windows Recycle Bin either. If try 'Save As', program will terminate/crash immediately.
Steps to reproduce
- Create a new Audacity project.
- Add or record an audio track.
- Save the project normally.
- The project appears to save successfully and can be seen in the expected local folder.
- Close Audacity.
- After closing Audacity, you can see that the saved project file disappeared (deleted), together with the other two temp files (aup4-wal and aup4-shm).
- The deleted file is not found in the Windows Recycle Bin.
- If you try 'Save As', the program will terminate immediately.
- The file has been 'saved as' remains on the disk, as well as the two temp files. However, it will disappear again if you try to open, edit, and save it.
Expected behavior
A successfully saved project should remain on disk after Audacity is closed and should be available for reopening the next time Audacity is launched. 'Save as' should save the project to another file, without the program crashing.
Actual behavior
The saved project file disappears after Audacity is closed, with no file appearing in the Recycle Bin. Save As function is not working properly. Although another project file is saved, the program crashes immediately after 'Save As', leaving the two temp files on the disk. In general, any Audacity 4.0.0-generated project file will disappear after editing and saving using 4.0.1. Version 4.0.1 cannot save any project files. This is potentially a serious data-loss issue because a user may believe that their project has been successfully saved when, in fact, the project is subsequently removed when Audacity exits.
Audacity Version
Audacity 4.0.1
Operating system
Windows
Additional context
I initially encountered this issue after upgrading to Audacity 4.0.1 from 4.0.0. I didn't observe the issue while using 4.0.0. It happened after upgrading to 4.0.1. I then completely uninstalled Audacity 4.0.1 and reinstalled Audacity 4.0.0. However, the exact same behaviour occurs in 4.0.0. Therefore, this appears to be an issue specific to the 4.0.1 update.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Effort
Projects
- StatusShow more project fieldsDone
Activity
dozzzzer commentedon Oct 23, 2026
Can't repro so far
kryksyh commentedon Oct 23, 2026
@orebne-beep have you changed the temporary files location? Could you post a screenshot of your current settings in Preferences \ General?
Which folder do you save the project to?
Please attach the archived log directory from %localappdata%\Audacity\Audacity4\logs
chinakov commentedon Oct 30, 2026
Should be fixed by #12123
orebne-beep commentedon Oct 31, 2026
dozzzzer commentedon Oct 31, 2026
Tested
dozzzzer commentedon Oct 31, 2026
@orebne-beep there you go: https://github.com/audacity/audacity/actions/runs/41093940477/artifacts/12997812460
Fix AUP4 save path and file filter (audacity#12123)