Audacity silently truncates export when disk full

Bug #259798 reported by Chad Hogg
4
Affects Status Importance Assigned to Milestone
Audacity
New
Undecided
Unassigned
audacity (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: audacity

If there is insufficient disk space when exporting a project to WAV, Audacity will simply write as much as there is space available and report that the export was successful. It should instead inform the user that the export failed. This occurs more frequently than you might expect, because Audacity spews large amounts of data to /tmp/ to be able to "undo" edits.

In my particular case, I cannot open a ~800MB WAV file, normalize it, apply a 3dB amplification, and export back to same file despite having more than 25% of my disk (about 3.8GB) available.

Note: This is sort of a specific instance of bug #22842, but the defect is in the individual package, not distribution-wide.

Description: Ubuntu 8.04.1
Release: 8.04

audacity:
  Installed: 1.3.4-1.1ubuntu1
  Candidate: 1.3.4-1.1ubuntu1
  Version table:
 *** 1.3.4-1.1ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
David Henningsson (diwic) wrote :

It makes sense, since the result of sf_writef_short / sf_writef_float is never checked in ExportPCM::Export in exportPCM.cpp. Assuming this bug is still present.

Changed in audacity (Ubuntu):
importance: Undecided → Low
Changed in audacity (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: New → In Progress
Revision history for this message
David Henningsson (diwic) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

Will you upstream this one for me? Hopefully I got the patch tags the way you want them now. Thanks!

Changed in audacity (Ubuntu):
assignee: David Henningsson (diwic) → Benjamin Drung (bdrung)
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thanks, uploaded it to Debian. The meta-data are formatted correctly. I only shortened the bug link.

Upstream will probably not apply the patch. They want to check the available space before saving the files.

Changed in audacity (Ubuntu):
assignee: Benjamin Drung (bdrung) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacity - 1.3.9-5

---------------
audacity (1.3.9-5) unstable; urgency=low

  * Add debian/patches/disk-full-on-export.patch to show an error message if
    the disk gets full on PCM export; thanks to David Henningsson for the patch
    (LP: #259798).

 -- Benjamin Drung <email address hidden> Mon, 12 Oct 2009 15:42:52 +0100

Changed in audacity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.