Page 1 of 1

Bug : Import 0 Bytes raw audio file causes 1.3.13 to crash

Posted: Thu Aug 25, 2011 8:09 am
by wooosh
Version: 1.3.13-beta, German localization
OS: Windows XP SP3
What am I trying to do:
1. Click on File -> Import -> raw data
2. Choose a file that contains 0 Bytes data.
3. Choose any settings, click import -> Audacity crashes

(Bug 35) Crash on importing audio:
What is the size of the file being imported in MB or GB? 0 Bytes
What is your project rate bottom left of the Audacity window? Does not matter, but originally was 8225Hz
Are you using 'on demand' loading? Don't know what that is..

I'm idling in #audacity on freenode as user kai_ for the next couple days in case anyone needs further information on this. If this is a duplicate bug report, I'd like to apologize.

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Thu Aug 25, 2011 5:46 pm
by steve
That sounds like it could be the same issue as bug 429 which has now been fixed. However this bug was not specifically about Import Raw. If you could try the Nightly build of Audacity, it should be fixed, but please let us know if the problem remains with your specific test case.
Nightly build available here: http://wiki.audacityteam.org/index.php? ... tly_Builds
The Nightly build does not require "installing" - just unzip the download into a folder and double click on the audacity.exe file to launch.

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Thu Aug 25, 2011 6:51 pm
by Gale Andrews
Import Raw in 1.3.14 doesn't crash on Win 7 x64 with an artificial zero bytes WAV file where all the data was deleted in a hex editor. What exactly do you hope to see with such a file?


Gale

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Thu Aug 25, 2011 8:38 pm
by wooosh
Steve: Thanks, I'll give it a try on Monday and report the results.

Gale: I expect to not see the application crash. I accidentally created and loaded such a file and was surprised.. That's why I reported this.

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Fri Aug 26, 2011 12:41 am
by steve
wooosh wrote:That's why I reported this.
and thanks for doing so, but the idea of importing a zero byte file does sound odd :D
I guessed it must have been an accidental discovery as that's how I discovered bug 429.

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Mon Aug 29, 2011 11:28 am
by wooosh
Steve: I just checked with the nightly build. The bug is not present. :)

Re: Bug : Import 0 Bytes raw audio file causes 1.3.13 to cra

Posted: Mon Aug 29, 2011 1:19 pm
by steve
Cool 8-) Thanks.