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

Audacity Bugzilla



Bug 2595 - Spurious disk-full errors may happen during recording
Spurious disk-full errors may happen during recording
Status: RESOLVED QUICKFIXED
Product: Audacity
Classification: Unclassified
Component: Audio IO
unspecified
All All
: P1 MoonPhase
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-11-23 20:16 UTC by Paul L
Modified: 2020-11-30 05:51 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1) Set project sample rate to 384000 1a) (Maybe using a debug build and a FAT formatted thumb drive make it more likely?) 2) Record 3) wait... 4) maybe recording stops with a "disk full" error, and maybe you observe in the file browser that it isn't so. I encountered this while trying to cause and debug real disk exhaustion. It may be difficult to reproduce. Using the highest sample rate might make it more likely. I haven't heard rumors of it happening at the usual 44100.
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2020-11-30 00:00:00


Attachments
waveform lagging (46.82 KB, image/png)
2020-11-24 09:37 UTC, Peter Sampson
Details
after hon hour (51.47 KB, image/png)
2020-11-24 10:33 UTC, Peter Sampson
Details
Grayed out after clicking Stop (51.95 KB, image/png)
2020-11-24 10:36 UTC, Peter Sampson
Details
failed Recovery (94.84 KB, image/png)
2020-11-24 10:52 UTC, Peter Sampson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul L 2020-11-23 20:16:07 UTC
My debugger stopped just at the point of throwing the exception in the checkpoint thread.  A closer look showed that the error from sqlite was SQLITE_BUSY and that the main thread was also in the middle of sqlite function calls, only to perform a read transaction while redrawing the screen.
Comment 1 Peter Sampson 2020-11-24 09:37:53 UTC
Created attachment 1020 [details]
waveform lagging

Testing on W10 with Audacity 3.0.0 045bedf (non-debug build)

Using a USB clip drive FAT formatted with 12GB free space

The recording is painful to watch - the waveform display lags a long way behind the Timer toolbar (see attachment)

Several minutes further on and after a couple of zoom outs to try to see more this is still sort of progressing (no spurious disk-full).
Comment 2 Peter Sampson 2020-11-24 10:33:32 UTC
Created attachment 1021 [details]
after hon hour

After an hour with no spurious disk-full message this was the state (see attachment).

So then I pressed the Stop button - still the Timer and the Recording meter carried on for a while then a grayed=out Audacity window, which yielded a Blue-Circle-Of-Death when I clicked in it,
Comment 3 Peter Sampson 2020-11-24 10:36:36 UTC
Created attachment 1022 [details]
Grayed out after clicking Stop

Grayed out Audacity after Clicking the Stop button - Blue-Circle-Of-Death present too but not captured by "prt sc" keyboard button.

Note the Time reset to zero indicating that the Sop has happened.
Comment 4 Peter Sampson 2020-11-24 10:52:53 UTC
Created attachment 1023 [details]
failed Recovery

After 20 minutes of "Audacity not responding" in the Task Manager I crashed the process tree.

When I restarted Audacity I was offered Recovery of the project - but recovery failed with
>File Error
>Audacity failed to read from a file in G:

Plus I get left with a garbage 1.6 GB file on my USB thumb drive
Comment 5 Peter Sampson 2020-11-24 11:57:56 UTC
Testing on W10 with Audacity 3.0.0 045bedf (non-debug build)

Recording to my onboard D: (spinning metal) drive with 0.66TB free on my 256 SSD HP laptop.

Project rate set to the max 384000 - recorded fine for an hour, no spurious disk-full error message(s)
Comment 6 Paul L 2020-11-24 12:02:57 UTC
(In reply to Peter Sampson from comment #5)
So you failed to reproduce this moonphase in the commit previous to my fix.

Are you willing to accept that I know what I saw on a Mac build and made a real fix for it?
Comment 7 Paul L 2020-11-24 12:05:14 UTC
The fix for the problem I know I saw is at e00f8da5d5dd45542d101f2e4dc7476c4089c5e3
Comment 8 Peter Sampson 2020-11-24 12:08:30 UTC
(In reply to Paul L from comment #6)
>Are you willing to accept that I know what I saw on a Mac build 
>and made a real fix for it?

Yepper - black-box testing moonphasers like this is like "nailing jello to a wall" ;-)
Comment 9 Peter Sampson 2020-11-30 05:51:06 UTC
Closed on the basis of Paul's Comment #6