Bugzilla – Bug 2557
Spectrogram settings: setting Zero Padding before selecting algorithm Pitch(EAC) can cause a crash
Last modified: 2020-10-06 06:09:21 UTC
In Spectrogram settings setting Zero Padding before selecting algorithm Pitch(EAC) can cause a crash. Observe that if you instead change the algorithm to Pitch(EAC) first then Zero Padding is grayed-out and cannot be changed. On macOS 10.15.6 with Audacity 3.0.0 8c1152e This causes a) a crash b) spinning beach-ball-of-death c) a force quit is required On 2.4.2 with Mac these steps produce a silent crash. On W10 with 2.4.2 these steps produce a crash But on Audacity 3.0.0 8c1152e on W10 there is no crash but the spectrogram view is blank
Basically if the Zero Padding is set to anything other than its default 1 - the the algorithm "Pitch(EAC)" needs to be grayed-out and unavailable (or at least blocked with an error message).
You discovered a hidden corner case in a very old (2.1.3) development development of mine that led to memory overwrites! Fixed at https://github.com/audacity/audacity/commit/9b6fc0f152a73f8fb365d14ac432f146f4c9f188
(In reply to Paul L from comment #2) Testing on W10 with Audacity 3.0.0 22dbe0a This now does not cause a crash - so on W10 this particular bug is fixed. So marked as "+" on Windows But P1 regression Bug #2556 Spectrogram view: changing algorithm to Pitch (EAC) or Reassignment changes view to grayscale and Period and P1 regression Bug #2554 Spectrogram view: changing algorithm to Pitch (EAC) or Reassignment prevents reversion to Frequencies algorithm still afflict Spectrogram view
Testing on macOS 10.15.6 with Audacity 3.0.0 22dbe0a This now does not cause a crash - so on Mac this bug is fixed. So marked as "+" on Mac.
The issue as described also works correctly on Linux, so closing as resolved fixed.