Old 6th March 2002, 08:17   #1
vdw34
Junior Member
 
Join Date: Mar 2002
Posts: 3
.mp3.temp extension crashed Winamp

Hi, here are the details:

1. Start up Winamp

2. Press Ctrl+P when Winamp is in focus

3. Click on the Options tab in the Preferences window

4. Change "Default extension from unknown file types" from the default option "mp3" to read "mp3.temp" and close out the Preferences window with the Close button

5. Rename the extension of an mp3 file so the extension reads .mp3.temp, so it would resemble song.mp3.temp

6. Go to the Winamp playlist window and click the Add button, at the "Add file(s) to playlist" window change the "Files of type:"
drop-down menu to "All Files (*.*)"

7. Double-click the renamed mp3 file (song.mp3.temp) so it's added to the playlist

8. Winamp at this point crashes on my computer

Error message received:

----------------------------------------------------------------------
WINAMP caused an invalid page fault in
module KERNEL32.DLL at 0167:bff71174.
Registers:
EAX=005f049c CS=0167 EIP=bff71174 EFLGS=00010216
EBX=00000000 SS=016f ESP=005f0000 EBP=005f0004
ECX=0044e7e8 DS=016f ESI=005f04d3 FS=43b7
EDX=00000000 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
57 8b 7d 08 83 c9 ff 33 c0 fc f2 ae 83 c8 fe 2b
Stack dump:
0044e7e8 005f044c bff7c4bb 0044e7e8 00000004 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

----------------------------------------------------------------------

Extra notes:

- The renamed file will load into the playlist and play with no problems if I rename the option in the Preferences back to "mp3" from "mp3.temp".

- The crash occured with two different files, so it wasn't file specific.

- The crash will reoccur if I follow the steps I listed above.

- I've installed Peter Pawlowski's latest updated plug-in pack to Winamp 2 dated Feb. 25th, 2002.

- I've changed the output plug-in from DirectSound v1.37 to waveOut v1.0 beta 13 and the crash will occur by following the steps above with either output plug-ins loaded in Winamp.

I'm running Winamp v2.78c (Dec. 9 2001).

AMD Athlon 900Mhz
DirectX v8.0
Asus nVidia GeForce2 GTS
Creative SoundBlaster PCI128


- This resulted from playing a partially downloaded mp3 file from Audiogalaxy which is given the .mp3.temp extension until the download is completed. I thought I'd change the default extension for unknown file types option in Winamp's preferences to see if it would show the partially downloaded files after clicking the Add button on the Winamp playlist, which would save me having to switch to All Files from the drop-down menu and it would automatically show the .mp3.temp files after clicking the Add button but this did not work. And when I loaded the .mp3.temp file with the changed option Winamp crashed
on my computer.
vdw34 is offline   Reply With Quote
Old 6th March 2002, 23:43   #2
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,894
lol

The default extension for unknown filetypes can't be an unknown filetype.
It's got to at least be an extension that one of the input plugins can recognize.
MP3 is the default extension, so that in_mp3.dll will try to play/deal with any unknown extensions that aren't in Winamp's supported filetypes list.
If you change this to another unknown extension, then Winamp will not know how to deal with these unsupported filetypes, hence the error message.

To associate Winamp with .TEMP files,
goto: Prefs -> Input -> MPEG Audio Decoder (in_mp3.dll) -> config
General tab -> Extensions list
Add: TEMP (or mp3.temp if you wish, though I recommend just adding TEMP)
The list should now read as: MP3;MP2;MP1;TEMP
Now goto: Prefs -> Filetypes
Select TEMP

This will make Winamp the default TEMP file player.
Though you don't have to make it the default player if you don't want to.
As long as TEMP is typed in the in_mp3.dll config extension list, then in_mp3.dll will deal with all .mp3.temp files you add to the playlist.
This will also make it so .TEMP shows up in the supported filetypes section of the Open Files Dialog.
DJ Egg is offline   Reply With Quote
Old 7th March 2002, 03:09   #3
vdw34
Junior Member
 
Join Date: Mar 2002
Posts: 3
Thank you for the information and yes that did stop Winamp from crashing but it still seems to me that in a situation like I posted about Winamp shouldn't crash like it did. As far as I know crashes are a bad thing in a program and Winamp should do something better then crash in that situation.
vdw34 is offline   Reply With Quote
Old 7th March 2002, 03:50   #4
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,894
Oh, I absolutely agree with you. But I suppose many coders don't take this sort of thing into account when writing programs. They obviously expect some default settings to be left alone.
In the case of the default extension setting, as far as I know, if you change it, it'll reset itself back to .mp3 next time you close & re-open Winamp . . . or at least it used to do (I haven't checked to find out if it still does with the more recent wa2 versions). Hmmm....ponderous!

Anyway, it certainly proves one thing . . . .
there's always a right and a wrong way of doing things.
DJ Egg is offline   Reply With Quote
Old 7th March 2002, 04:55   #5
vdw34
Junior Member
 
Join Date: Mar 2002
Posts: 3
Just to let you know how it is on my computer...the default extension doesn't reset on a Winamp restart and I'm using the latest 2.78c version that I've found.
vdw34 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Bug Reports

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump