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.
tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Crashes on close

Post by tpx » Sat Apr 14, 2018 6:03 pm

almost every time on close, bam! (see attached)
did a clean uninstall of previous vs then install latest
its freaking annoying, like that save project prompt, but lets focus on this 1st
Attachments
audacity.jpg
audacity.jpg (30.76 KiB) Viewed 181 times

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

Re: Crashes on close

Post by steve » Sun Apr 15, 2018 11:37 am

Which version of Audacity are you using? (look in "Help menu > About Audacity" for the version number)

How exactly are you closing Audacity?
Does the crash occur before or after the "Save Project" prompt?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Re: Crashes on close

Post by tpx » Sun Apr 15, 2018 4:39 pm

lastest vs is 2.2.2, closing with the X on upper right corner, crashes after clicking No on the Save Project prompt
I noticed that crashes happen almost all the time with WAV files, none with FLAC or MP3
Ive attached the Media Info from the WAV file: nothing special about it, this is actually the decoded file from the same FLAC file which doesnt crash Audacity
Attachments
mi-wav.jpg
mi-wav.jpg (92.82 KiB) Viewed 168 times

tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Re: Crashes on close

Post by tpx » Sun Apr 15, 2018 4:46 pm

in case ur wondering what FLAC en/decoder I use, see below. Try it yourself, decode a FLAC file, then edit it with (Open with) Audacity, do nothing but close (X upper right) repeat a few times if it doesnt crash at first, it will eventually then its almost every times
===============================================================================
flac - Command-line FLAC encoder/decoder version 1.3.1
Copyright (C) 2000-2009 Josh Coalson
Copyright (C) 2011-2014 Xiph.Org Foundation

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

Re: Crashes on close

Post by steve » Sun Apr 15, 2018 4:56 pm

In "Edit menu > Preferences > Import / Export", what are your settings?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Re: Crashes on close

Post by tpx » Sun Apr 15, 2018 5:19 pm

there u go
Attachments
ie.jpg
ie.jpg (76.74 KiB) Viewed 164 times

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

Re: Crashes on close

Post by steve » Sun Apr 15, 2018 5:21 pm

Try changing the first option ("When importing audio files") to "Copy uncompressed files into the project (safer)".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Re: Crashes on close

Post by tpx » Sun Apr 15, 2018 5:25 pm

ok, the "Safer" method seems to not crash Audacity anymore, but the "Faster" is, and I bet it does on your system also
thanks for your time Steve
Last edited by tpx on Sun Apr 15, 2018 6:55 pm, edited 1 time in total.

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

Re: Crashes on close

Post by steve » Sun Apr 15, 2018 6:41 pm

Yes I can reproduce the crash in Audacity 2.2.2, but not in "debug" builds, which most of the developers use, (and is probably why this has not been spotted earlier).
I shall log this on the bug tracker, so hopefully it will be fixed in the next release.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tpx
Posts: 6
Joined: Sat Apr 14, 2018 5:55 pm
Operating System: Windows 10

Re: Crashes on close

Post by tpx » Sun Apr 15, 2018 6:54 pm

good!
thanks again for your support Steve

Post Reply