This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8402 - vbrfix plugin causes *PANIC* Stkov main
Attached to Project:
Rockbox
Opened by Michal Jevjak (bundy) - Friday, 04 January 2008, 18:08 GMT+1
Last edited by Linus Nielsen Feltzing (linusnielsen) - Wednesday, 09 January 2008, 13:39 GMT+1
Opened by Michal Jevjak (bundy) - Friday, 04 January 2008, 18:08 GMT+1
Last edited by Linus Nielsen Feltzing (linusnielsen) - Wednesday, 09 January 2008, 13:39 GMT+1
|
DetailsI tried to correct the VBR information in one MP3 which showed above 20 minutes of playtime, even if I know it contains only 4 minutes.
After percentage went quite fast to 99% it stopped here. Almost immediately the "*PANIC* Stkov main" message showed up. I had to restart it. I even tried to narrow down the problem - added few splashes into vbrfix code. The stack overflow occurs within insert_data_in_file function. The last splash occurred right before renaming of temporal file to original name. The splash after rename never came, as the PANIC halted the unit. Fortunately I simply renamed the temp file by hand and had a working file. I even analyzed the original MP3 file (I've had a backup) afterwards, it didn't contain VBR information, nor was there space between ID3 tag and MP3 stream. Hope this helps to solve the problem. |
This task depends upon
Closed by Linus Nielsen Feltzing (linusnielsen)
Wednesday, 09 January 2008, 13:39 GMT+1
Reason for closing: Fixed
Additional comments about closing: Thanks for your assistance in finding this bug.
Wednesday, 09 January 2008, 13:39 GMT+1
Reason for closing: Fixed
Additional comments about closing: Thanks for your assistance in finding this bug.
I uploaded another crash sample here: http://rapidshare.com/files/82398812/crash_sample.7z
The password for the 7z archive is my nick. It includes a MP3 file, it's removed VBR frame and my config file.
You don't need to download the archive. There is a way to reproduce it on your own:
1) take any VBR mp3 file (I tried few, all show the same behavior)
2) remove ID3v2 tag
3) remove first frame, which contains VBR information (any decent hex editor should work)
4) run vbrfix plugin to recover the first frame
It seems like it recovers it, but just before the rename the crash happens.