Repository navigation
Description
Bug description
A reproducible issue occurs when using "Save Project As" on an existing Audacity project.
The project can normally be opened, edited, saved and exported.
However, after using "Save Project As", Audacity reports write errors, waveform data disappears, and internal database errors are generated.
The issue has been reproduced multiple times on Audacity 3.7.8 under Windows 11 build 26200.
Steps to reproduce
- Open an existing working .aup3 project.
- Add a second audio track.
- Add an audio clip (a silent clip is sufficient).
- Select "Save Project As".
- Choose a new project name and save.
The problem occurs immediately after the Save Project As operation.
Expected behavior
The project should be saved under a new name while preserving all waveform data, tracks, labels and project contents.
Actual behavior
Audacity reports that the C: drive is not writable or that storage space is unavailable.
Waveform data disappears from the project.
Internal errors occur, including:
D:\a\audacity\audacity\libraries\lib-project-file-io\DBConnection.cpp line 473
Crash reports reference:
- SqliteSampleBlock::Load::step
- DBConnection::Prepare
- sampleblocks table queries
The resulting project may become a shell project containing labels and track structure but no waveform data.
Additional observations:
- Normal Save works.
- WAV export works.
- Windows Explorer file copy works.
- The issue appears specifically when using "Save Project As".
- The issue has been reproduced multiple times.
Audacity Version
Audacity 3.7.8
Operating system
Windows
Additional context
I am a Japanese user and used ChatGPT to help organize this report into English. All observations are based on actual testing performed on my system.
Additional observations:
- A previous project became unreadable and generated SQLite-related errors.
- Error reports included references to:
- SqliteSampleBlock::Load::step
- DBConnection::Prepare
- sampleblocks table queries
- A file named "(null)" (approximately 80-90 MB) is sometimes created when closing modified projects.
- The "(null)" file appears only after modifications have been made and the project is closed.
- Simply opening and closing a project does not create the "(null)" file.
- Copying a working .aup3 file using Windows Explorer often results in a healthy copy that opens normally.
- The issue was reproduced both inside and outside OneDrive-managed folders.
- Windows version: 10.0.26200
- Audacity version: 3.7.8
Activity
dozzzzer commentedon Jun 24, 2026
Cannot reproduce on either Windows 10 or 11
Fix project corruption (backport of #11378) (#11714)