Cannot Import Audio - 1.2.6

This section is now closed.
Forum rules
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
rbedi100
Posts: 2
Joined: Fri Apr 10, 2009 5:46 am
Operating System: Please select

Cannot Import Audio - 1.2.6

Post by rbedi100 » Fri Apr 10, 2009 5:49 am

Hi,
I'm running Audacity 1.2.6 on Windows XP SP2, and everything goes fine until I try to import audio into my project. I created a new project, saved it, and then went project->import audio (ctrl+i). I navigated to the location of the WAV file I wanted to import, and clicked OK. I get the standard "Audacity has encountered a problem and needs to close" crashing error message.

Why am I not able to import audio into my project - is this a bug, or am I doing something wrong?

Thanks in advance,
~rbedi100

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Cannot Import Audio - 1.2.6

Post by kozikowski » Fri Apr 10, 2009 7:18 am

<<<I navigated to the location of the WAV file I wanted to import>>>

Do you have Windows set to show you file extensions? How do you know you're trying to manage a WAV file?

WAV and MP3 files are very specific types of files and not every sound file is automatically one or the other.

Audacity can do that if it runs out of room. How big is your hard drive and how much room do you have? Numbers are good.

Koz

eyesopening
Posts: 2
Joined: Sat Apr 11, 2009 5:48 am
Operating System: Please select

Re: Cannot Import Audio - 1.2.6

Post by eyesopening » Sat Apr 11, 2009 6:05 am

I have a similar problem. The first time I tried to import a WAV file (an exported audio file from Adobe Premiere) Audacity.exe "encountered a problem and needs to close" (my computer runs XP with a 2.7G AMD processor). After two more aborted attempts I tried uninstalling and installing again. Same thing happened.

rbedi100
Posts: 2
Joined: Fri Apr 10, 2009 5:46 am
Operating System: Please select

Re: Cannot Import Audio - 1.2.6

Post by rbedi100 » Sat Apr 11, 2009 6:08 am

Hi Koz,
Thanks for your reply - I know its a wav file because I checked its properties (and because I made it :) ). I have 290 GB free on my 350 GB hard drive, 3.2 GHz processor, 1 GB RAM.

Thx,
rbedi100

eyesopening
Posts: 2
Joined: Sat Apr 11, 2009 5:48 am
Operating System: Please select

Re: Cannot Import Audio - 1.2.6

Post by eyesopening » Sat Apr 11, 2009 6:11 am

Forgot to add I have two 250G drives and a 750G. I have recently cleaned them up and have just under 50% on each so it's not because the drives are overcrowded.
I wanted to try audacity because a friend who does radio work likes it so much.

binary1230
Posts: 3
Joined: Thu May 14, 2009 8:41 am
Operating System: Please select

Re: Cannot Import Audio - 1.2.6

Post by binary1230 » Thu May 14, 2009 8:44 am

I found the answer to this by digging through the code in a debugger. Something is definitely at least slightly different with WAV files exported from Premiere CS3. Something inside libsndfile 1.0.16 causes memory corruption. It's not an issue with audacity but one of the libraries it uses.

Fortunately, libsndfile 1.0.19 doesn't have this crash, so you should see this fixed in a future release provided they upgrade the version of libsndfile they are using.

Update: I uploaded a WAV file that causes this behavior (forum doesn't allow WAV uploads?): http://baltimorebarcams.com/thebadness.wav

Just run this code vs libsndfile 1.0.16 to repro:

SF_INFO info;
SNDFILE *file;
memset(&info, 0, sizeof(info));
file = sf_open("thebadness.wav", SFM_READ, &info);
sf_close(file);

That will crash.

-Dom

Locked