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

Audacity Bugzilla



Bug 2596 - Blank error message when reopening files after drive space exhaustion
Blank error message when reopening files after drive space exhaustion
Status: RESOLVED WORKSFORME
Product: Audacity
Classification: Unclassified
Component: Application Core
unspecified
All All
: P2 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-11-24 12:15 UTC by Paul L
Modified: 2020-12-06 09:31 UTC (History)
3 users (show)

See Also:
Steps To Reproduce:
See comments in Bug2576. This happens in some but not all cases of disk space exhaustion. It does not happen only with FAT file systems. I have seen it happen with sparse disk images on Mac created with Disk Utility. But I think it happens only when there is a -shm file, which happens on Mac only in modified builds.
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2020-12-06 00:00:00
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul L 2020-11-24 12:15:33 UTC

    
Comment 1 Paul L 2020-11-24 12:46:59 UTC
Fix at 5ebfe4670ce0415e4a040af2645bb899bbb27d14

File fails to open but the error dialog is not empty

I note that in my example, the project is not irretrievable.  Opening can succeed if the triple of .aup3, -wal, and -shm files are copied from the small drive onto the Macbook's more spacious SSD and then opened.

So it seems it is only device space limitation, not the file contents, at fault when reopening, causing sqlite errors.  Sqlite still did a good job of satisfying the D of ACID guarantees.
Comment 2 Peter Sampson 2020-11-25 13:19:58 UTC
In my various testings today after the latest round of Disk-full bug fixes I have not seen such blank error messages when reopening salvaged files after disk space exhaustion.

I'm not sure what the full steps to reproduce might be - but AFAICT this seems to be working
Comment 3 Peter Sampson 2020-11-26 10:26:18 UTC
Testing again on W10 with Audacity 3.0.0 f5fd860

I still do bot see such blank messages - tested today with NTFS formatted USB clip

So WORKSFORME
Comment 4 Peter Sampson 2020-11-29 10:21:54 UTC
Paul wrote in the steps:
>But I think it happens only when there is a -shm file, 
>which happens on Mac only in modified builds.

I don't have such a modified build, so I never see SHM files on Mac.


Nor have I seen the "Blank error message when reopening files after drive space exhaustion" - and I have done an awful lot of disk soace exhaustion testing.


So WORKSFORME on Mac as well as windows
Comment 5 Steve Daulton 2020-12-03 07:40:10 UTC
I have never seen this exact problem on Linux. Paul, are you sure that this bug is "Repeatable All" and not Windows + Modified Mac only?
Comment 6 Peter Sampson 2020-12-03 07:43:56 UTC
(In reply to Steve Daulton from comment #5)
>Paul, are you sure that this bug is "Repeatable All" and not Windows 
> + Modified Mac only?

I have never seen this on W10 - and I've done a *LOT* of disk full testing
Comment 7 Paul L 2020-12-05 14:56:52 UTC
(In reply to Steve Daulton from comment #5)

It was rare and repeatable only in special cases.  I know I saw it happen on Mac, when exhausting space on an external device, but also modifying my build to use -shm files.
Comment 8 Peter Sampson 2020-12-06 05:03:19 UTC
so can we close this as WORKS-FOR-ME ?
Comment 9 Steve Daulton 2020-12-06 09:31:21 UTC
As no-one can now reproduce the problem I'm closing as "works for me".

@ Paul, if you have any doubts about the fix, please reopen (I'm assuming that you are happy with the 5ebfe fix).