Bugzilla – Bug 1770
Crash applying certain chain files
Last modified: 2018-08-20 11:51:32 UTC
Created attachment 737 [details] A chain with two effects Audacity crashes applying some chains, like the attached. It appears not to happen with chains that contain only one effect. I do not fully understand the necessary conditions for the bug, but I do understand that it is a problem of a dangling pointer stored in a wxEvent object. I can figure out how to store a shared_ptr instead in a custom subclass.
DEVEL - FIX MADE https://github.com/audacity/audacity/commit/5dd72acc027728d0c70f8358f8f4abdfd71fa04a
Testing on macOS 10.13 High Sierra with macos-nightly-2.2.1-26a6815.dmg installed in the Applications folder. And testing on W10 with the private Windows build that James provided me with very recently Audacity2.2.1JC5Nov2017 On neither platform do I now get the crash with 2.2.1 alpha - but I do get the message: "Curve not found - Requested curve not found using 'unnamed', which has to be OKed before the Chain will progress and complete. With 2.2.0 I get the same error message but after pressing the OK the, then Audacity crashes on both platforms. Looks to be fixed on both platforms
Debug build on Linux: I've only tested as far as the steps to reproduce. Prior to the fix, the crash was reproducible. After the fix, the chain applies as expected and no crash.
We've also had a Forum user who was thwarted by the crash on 2.2.0 try out his chain on the latest Mac alpha = where it worked properly with no crash
See: http://forum.audacityteam.org/viewtopic.php?f=47&t=97698&p=336880&hilit=chain