FS#8794 - Freeze/Long duration when auto-creating bookmark if there's no free disk space left

Attached to Project: Rockbox
Opened by T (burny) - Monday, 24 March 2008, 14:56 GMT
Task Type Bugs
Category Operating System/Drivers
Status Unconfirmed
Assigned To No-one
Operating System Sansa e200
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Rockbox Version:r16780-080324

If the "Bookmark on Stop" option is set to "Yes" and there is no free space left on the storage, rockbox freezes/takes a REALLY long time if pressing the Poweoff(=Stop) button, because it cannot save the bookmark(or has to push out the less recent?).

I wondered why rockbox crashed if doing this til I discovered this bug.

Expected behavoiur: Instantls notify user there's no space left and don't save the bookmark

How to reproduce:
1. Power on the player, launch rockbox. Make sure there's enough disk space.
2. Go Settings->General Settings->Bookmarking->Bookmark on Stop->Set to "Yes"
3. Reboot, connect to PC
4. Create a text file which is big enough to consume the rest of your free disk space
5. Restart Sansa into rockbox
6. Play a track
7. Press poweroff (short)
This task depends upon

Comment by Nils Wallménius (nls) - Monday, 11 August 2008, 12:21 GMT
I could not reproduce this on my h300 the only thing that happens is that the created .bmark file is empty (which of course insn't correct either)