This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12684 - Any daily build for the Sansa Clip Zip from after the 2nd of May fatally crashes
Attached to Project:
Rockbox
Opened by John Uren (johnuren1980) - Thursday, 24 May 2012, 00:38 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Sunday, 03 June 2012, 00:02 GMT+2
Opened by John Uren (johnuren1980) - Thursday, 24 May 2012, 00:38 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Sunday, 03 June 2012, 00:02 GMT+2
|
DetailsAny build after the 2nd of May (e189b33 and after) won't boot after creating a database on the Sansa Clip Zip.
For completeness, this is what I do after installing Rockbox: Boot Select "Database" Select the option to build a database (because you want to have a database of your music on your device) Wait for database to build Select database (pop-up of "Please reboot to enable") Power off device (pop-up of "Shutting down...") Power on device Receive a fatal crash and never be able to boot the device to Rockbox again. What follows is what is on the screen when Rockbox crashes: *PANIC* audio_reset_buffer_noalloc() : EOM (65536 > 0) bt pc: 0x3003DD6 A: 0x3003DDE A: 0x3003DE4 A: 0x3001890 A: 0x30018DA A: 0x3000866 |
This task depends upon
Closed by MichaelGiacomelli (saratoga)
Sunday, 03 June 2012, 00:02 GMT+2
Reason for closing: Fixed
Additional comments about closing: This specific problem is reported fixed. If there are more related issues beyond the voice buffer allocation problem, please open a new task for each of them.
Sunday, 03 June 2012, 00:02 GMT+2
Reason for closing: Fixed
Additional comments about closing: This specific problem is reported fixed. If there are more related issues beyond the voice buffer allocation problem, please open a new task for each of them.
Database is of 195 files, mostly flac files but a few mp3s. Total of about 5GB (in an 8GB Clip Zip. No SD card installed).
I am reasonably sure it's the build date as I tried every daily build after the 2nd of May and all of them show the same error.
I have not tried builds before the 1st May (except one but I can't remember which).
I will try earlier builds later today and report on their crashiness after making a database.
If I don't make a database, everything else works OK AFAICT.
Database is of 195 files, mostly flac files but a few mp3s. Total of about 5GB (in an 8GB Clip Zip. No SD card installed).
I am reasonably sure it's the build date as I tried every daily build after the 2nd of May and all of them show the same error.
I have not tried builds before the 1st May (except one but I can't remember which).
I will try earlier builds later today and report on their crashiness after making a database.
If I don't make a database, everything else works OK AFAICT.
In answer to the questions
With 2nd May build:
pcm: 0/5242
With 24th May build:
pcm : 0/0
Today's build has the same issue as reported.
Misread earlier question so what follows is the buffer info for the builds of 2nd, 3rd and 24th May.
2nd May:
pcm: 0/5242
alloc: 0/59
real: 0/59
usefl: 0/59
3rd May:
pcm: 0/0
alloc: 0/0
real: 0/0
usefl: 0/0
24th May:
pcm: 0/0
alloc: 0/0
real: 0/0
usefl: 0/0
alloc: 5926239/59
real: 5925615/59
usefl: 5269019/59
I don't suppose its this specific commit that stops working? http://git.rockbox.org/?p=rockbox.git;a=commit;h=da6cebb Was committed late on May 2 and touches the buffering code.
Also, can you post the exact build version (git hash) that corresponds to the *PANIC* message?
Simulator? Is this the simulator compilers that are in the Ubuntu VM?
Ok, correction:
I *can* reproduce it, but only when using RockboxUtility to install rockbox, it doesn't happen when I just unzip the result of 'make zip' when built from source. I suspect some voice-related stuff.
Also, the backtrace screen is mostly useless on the clip zip, it misses the last digit of the address, I guess we can skip the "0x" prefix.
Decoding the backtrace, I get:
playback.c: 827 - panicf("EOM"...) in audio_reset_buffer_no_alloc()
playback.c: 921 - audio_reset_buffer_no_alloc() in audio_reset_buffer()
playback.c: 3679 - audio_reset_buffer() in audio_restore_playback()
talk.c: 629 - audio_get_buffer() in restore_state()
talk.c: 786 - restore_state() in talk_id()
main.c:305 - talk_number() in init_tagcache()
I'm suspecting commit da6cebb6b0b17b4a75a2bd4f51b7cf70b5dafe40 ("Use buflib for the allocation of voice PCM resources.") now
I compiled the latest HEAD (currently running dce80ea) and cannot reproduce the problem anymore. Presumably the latest patches have fixed the issue.