Crashes on close

Help for Audacity 2.x.x on Windows.
Forum rules
ImageThis forum is for Audacity 2.x.x on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
steve
Site Admin
Posts: 47283
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Crashes on close

Post by steve » Sun Apr 15, 2018 7:03 pm

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 9434
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10
Location: Manchester, UK

Re: Crashes on close

Post by waxcylinder » Mon Apr 16, 2018 8:08 am

I cannot reproduce this on 2.2.2 or on 2.3.0 alpha (I am a QAer not a dev so I don't use debug builds)

Testing on W10 laptop

Steps

1) set prefs to faster aliased import (not copy in)
2) Imort WAV file
3) Edit bit - amplify
4) Export WAV to new file name
5) top right "X" to close Audacity
6) choose "don't save"
=> Audacity closes cleanly with no crash

repeat many times => no crash

In the course of normal QA testing I user that upper right "X" with"don't save" an awful lot - and I have never experienced such a crash

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * * Audacity Wiki * * * * *

steve
Site Admin
Posts: 47283
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Crashes on close

Post by steve » Mon Apr 16, 2018 10:11 am

waxcylinder wrote:3) Edit bit - amplify
If you process the entire track, then the project will no longer be using alias files, which seem to be a requirement to reproduce the crash. I suspect a race condition, between cleaning up the "OD Import" and shutting down. If the importer has finished before Audacity shuts it down, then it shuts down cleanly, but if the importer is still working, then it crashes.

These steps reproduce the crash for me, about 1 time in 5:
1) set prefs to faster aliased import (not copy in)
2) Import a 5 minute WAV file
3) top right "X" to close Audacity
4) choose "don't save"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 9434
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10
Location: Manchester, UK

Re: Crashes on close

Post by waxcylinder » Mon Apr 16, 2018 2:14 pm

steve wrote:
waxcylinder wrote:3) Edit bit - amplify
If you process the entire track, then the project will no longer be using alias files, which seem to be a requirement to reproduce the crash. I suspect a race condition, between cleaning up the "OD Import" and shutting down. If the importer has finished before Audacity shuts it down, then it shuts down cleanly, but if the importer is still working, then it crashes.

These steps reproduce the crash for me, about 1 time in 5:
1) set prefs to faster aliased import (not copy in)
2) Import a 5 minute WAV file
3) top right "X" to close Audacity
4) choose "don't save"
Yes about 1 in 5 to 1 in 7 for me too if all I do is import and then close

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * * Audacity Wiki * * * * *

Post Reply