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

Audacity Bugzilla



Bug 416 - Projects containing 2^31 samples or more re-open completely orphaned.
Projects containing 2^31 samples or more re-open completely orphaned.
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
1.3.14 alpha
Per OS All
: P3 Repeatable
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-18 18:27 UTC by Gale Andrews
Modified: 2018-08-20 11:51 UTC (History)
3 users (show)

See Also:
Steps To Reproduce:
1 New project 44100 Hz 2 Tracks > Add New > Stereo Track 3 Generate a Chirp tone of say 15 hours (2^31 samples or more should reproduce) 4 File > Exit, relaunch and open the project from File > Recent Files. You will receive an empty project with the entire data orphaned. 5 If you wanted you could repeat steps 1 - 3, cut and paste sections of the audio containing less than 2^31 samples to new Audacity projects, save those and verify those are correct.
Release Note:
GROUP:Projects '''Projects containing 2^31 samples or more (just over 13.5 hours of audio at 44100 Hz) will re-open empty''' with the entire data being seen as "orphaned files" (although the data "appears" to be in the correct location expected by the .aup file). '''Workaround:''' Before saving or closing the project, export to audio files of appropriate size, or cut and paste sections of audio containing less than 2^31 samples to new Audacity projects and save those.
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2011-06-18 18:27:19 UTC

    
Comment 1 Gale Andrews 2013-10-21 18:05:30 UTC
Summary renamed from "Projects containing more than 2^31 samples re-open completely orphaned" to "Projects containing 2^31 samples or more re-open completely orphaned." 

Reason: as tested by Steve in response to my request, a project with 2,147,483,648 samples of silence failed to reopen. With 2,147,483,647 samples of silence it opened OK.
Comment 2 Gale Andrews 2013-11-03 16:11:55 UTC
Further tests established the limitation was not on total project data but on individual waveclips not being loaded if they contained 2^31 samples or more. 

Richard committed his fix for this in r12863.

So far the fix works with: 

* On 64-bit Windows, saving/reopening a 2 hour (single stereo track) project at 352800 Hz and a 15 hour (single mono track) project at 44100 Hz. Creating those projects in 2.0.4 and using a patched build to open the projects also works.

* On 32-bit Linux, saving/reopening a 30 hour (single mono track) project at 44100 Hz.
Comment 3 Gale Andrews 2014-07-03 16:38:52 UTC
RESOLVED-FIXED 

I've tested this a few times with projects created in 2.0.4 and 2.0.6-alpha which contain one or more "overlimit" tracks. 

I did not find any problem re-opening the projects or manipulating or exporting the data.