Bizarre MP3 Bug

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Fidodadog
Posts: 4
Joined: Mon Mar 28, 2005 4:17 am

Bizarre MP3 Bug

Post by Fidodadog »

I'm not sure if this may be of usefulness to development or finding holes into the PSP but I'll say it anyway. I'll list the music I was listening to so people may be able to replicate this effect.

I am using the Japanese PSP with firmware version 1.5

My PSP has been "corrupting" my MP3 files

Let me explain.

I have a Queens of the Stonage Album

Every song the PSP sees it happily plays. It is when it reaches the last track that something strange happens

When the last track (Everyon's Happy) finishes, the PSP moves on to the next album

Closing the song and then going back to Queens of the Stonage song list, some of the Songs the PSP sees have now been seen as corrupt! And THESE ARE THE SAME SONGS THAT PREVIOUSLY PLAYED FINE.

Strange enough

Putting the PSP into Sleep and back or removing the memory card and ptting it back in again.

The PSP reads the song as normal again!

I don't know why it does this but I decided to post it here as it could be an exploit of some sort.

I apoligise if this problem has been previously posted about and if this isn't of any use then I would happily let the mods/admins close this topic.

PS: If you need a video to explain this clearly Then just ask.
MelGibson
Posts: 58
Joined: Sun Apr 10, 2005 10:19 pm

Post by MelGibson »

I have read about this somewhere else before .... Indeed kind of strange... and most definitly a bug...

But i don't think this could be exploitet... still thanks for the detailed info...

Btw... have you tried to delete and copy the mp3 onto the MS again... ?
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

ha, my teacher works at electronic playground, and he has the japanese model as well. its really buggy, and a lot of original jap models were sent back to recall. because of all the bugs that was going on with the system. when they finally fix all the bugs they decided to launch the US version. unless you still have your original receipt your just screwed. i suggest you go sell that somewhere on ebay(sure they will give you a lot for it), and buy a US model. hope that helps.
Neila
Posts: 79
Joined: Sat Apr 23, 2005 3:36 am
Location: Canada

Post by Neila »

If everything is "ok" after restart this problem points again to memory management problems. You should report this problem to Sony. I don't think we can use it, so at least they may fix it in an update later. =)
Fidodadog
Posts: 4
Joined: Mon Mar 28, 2005 4:17 am

Post by Fidodadog »

The thing is that it only happens ON THAT ONE SONG

None of my other songs have this bizarre effect.

I would post the song but unfortunately That would be Illegal but the song was ripped from the CD using Itunes
Last edited by Fidodadog on Mon Apr 25, 2005 4:16 am, edited 2 times in total.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

Neila wrote:If everything is "ok" after restart this problem points again to memory management problems. You should report this problem to Sony. I don't think we can use it, so at least they may fix it in an update later. =)
i dont think they can fix it, or even worth fixing. depending where your from, you may not even be eligible for repair, plus it will be gone for a month or two. also where did you buy it from? from a sony store, or a legit sony retailer, or just some shop down the street.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

Fidodadog wrote:The thing is that it only happens ON THAT ONE SONG

None of my other songs have this bizarre effect.

I would post the song but unfortunately That would be Illegal but the song was ripped from the CD using Itunes
if thats the case, then its just your mp3 song then. just re-encode it. or just let it be and move on.
Fidodadog
Posts: 4
Joined: Mon Mar 28, 2005 4:17 am

Post by Fidodadog »

I'm fine with it, it doesn't bother me.

I just posted as I thought it may be of some use.

But if it isn't then

oh well ..... :)

I'll try to make a sound clip that incorporates this bug to post here so as to keep it legal and see if it's just my PSP doing this

PS: If you badly want to test this on your PSP then send me a PM or get me on AIM: FidoforLife and I'll "lend" you the song
pdc
Posts: 107
Joined: Wed Mar 09, 2005 9:49 am
Location: Rainy Yorkshire, England
Contact:

Post by pdc »

My 1.5 JPN PSP sometimes doesn't detect corrupted mp3s until I play them.

Perhaps it is an anomaly in the encoding.

I have had no problems with any mp3s encoded using LAME.
fwaggle
Posts: 7
Joined: Fri Apr 08, 2005 11:08 pm

Post by fwaggle »

uh. my us psp does this too. after playing through my playlist, at least 10 songs are corrupt. i attributed it to shitty encoding. :/
fireether
Posts: 27
Joined: Fri Apr 22, 2005 8:40 am
Location: Rochester, NY

Post by fireether »

It could be a possible exploit..

Theres no hardware decoder in the PSP that I know of, so it must be done via software.. In that case, if the PSP is showing gibberish or so, then theres something wrong with their decoder.. I.e. its not checking something right and reading back data from somewhere else than its supposed to.

I would follow up on this bug to see if it can be used as an exploit to insert something in.. I.e. have a MP3 file that uses this exploit to insert a JMP to the address of the next MP3 file, which is actually executable code.

Just an idea. It'll only work if a buffer-overrun exploit can be done.
wulf
Posts: 81
Joined: Wed Apr 13, 2005 6:56 pm

Post by wulf »

My us psp does the same thing.. but not if you put it on shuffle... weird
cheriff
Regular
Posts: 258
Joined: Wed Jun 23, 2004 5:35 pm
Location: Sydney.au

Post by cheriff »

fireether wrote:Theres no hardware decoder in the PSP that I know of, so it must be done via software..
From watching (a video of) the psp seminar from bp05, it seems to me that decoding isn't really hardware and not really software.
It uses the Virtual Mobile Engine (VME) which is basically some sort of FPGA-like reconfigurable chip. So when you're playing mp3 the kernel configures it to be a mp3decoding chip. if you're listening to ATRAC3plus then the VME has an atrac decoder instansiated(sic?) in/on it. I imagine it also helps out somehow when playing videos.
So they get very nearly the performance of a HW only decoder for every supported codec with just one chip. And by updating the bitstream used to configure the VME, they can update/add new decoders, etc.
But it would react similarly to HW only decoders in the face of bad data, so i'm not sure how useful this would be as a vector to homebrew...
Damn, I need a decent signature!
Fidodadog
Posts: 4
Joined: Mon Mar 28, 2005 4:17 am

Post by Fidodadog »

I've uploaded a snippet of the MP3 file that has this behaviour

It's a 10 sec snippet of part of the song.

Strange enough, when this is played, it straight away moves to the next song and becomes corrupted.

anyway, try this and poke around this strange behaviour

http://fidodadog.freewebspace.com/
Post Reply