Bugzilla – Bug 1367
Intermittent Assert error when Timer Record progress dialog completes
Last modified: 2018-08-20 11:46:07 UTC
See http://audacity.238276.n2.nabble.com/Timer-Recording-Improvements-tp7572995p7573027.html I see what the problem is, but easier to fix 'after' the new "Timer Record enhancements" have been committed.
The actual error applies to all platforms, but may only show up on some platforms and may require a debug build to see the bug. Changed platform to "All". There is a remote possibility that this could cause a freeze if it occurs in a release build.
The error did occur in Ubuntu in release builds because of the Debug level allowed on that platform. Steve committed a fix at https://github.com/audacity/audacity/commit/1271056 .
Thanks for adding the commit URL Gale. Ideally this fix should be tested in debug builds on all platforms. The Assert is "stronger" now than before in that it previously had a "fudge factor" safety margin of 1%. The current assert has no fudge factor and is a straight "<=" test.
This bug seems to be have been fixed early last year.
(In reply to Steve Daulton from comment #4) It's P4 and requires to test in debug builds on all platforms (which I never usually build because we don't release debug builds). Will have to wait a bit longer, unless someone else tests.
I don't see the assert mentioned on -quality in debug builds of HEAD on Windows, Mac or Linux. On WIn 10 x64 I built 758eae6 (that commit is a day before Steve's fix) but can't test because on that machine, debug builds hit bug 42. An assert I do get at 758eae6 if I press Stop in a vain attempt to stop the recording is: c:\git master\audacity\src\widgets\progressdialog.cpp(1572): assert "(nGaugeValue >= 0) && (nGaugeValue <= 1010)" failed in TimerProgressDialog::Update(). This assert does not occur in a Debug build of HEAD if I try to stop an out of control recording. Is this information sufficient to resolve the bug?
(In reply to Gale Andrews from comment #6) I think there is sufficient evidence that the fix works as intended.
(In reply to Steve Daulton from comment #7) Good. Still qualifies as "Quick Fixed".