This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10679 - Nano2G "PANIC Stkov dircache" message during database auto update
Attached to Project:
Rockbox
Opened by Grant Whiteheart (grantmasterflash) - Friday, 16 October 2009, 15:24 GMT+2
Last edited by Michael Sparmann (TheSeven) - Wednesday, 17 February 2010, 12:36 GMT+2
Opened by Grant Whiteheart (grantmasterflash) - Friday, 16 October 2009, 15:24 GMT+2
Last edited by Michael Sparmann (TheSeven) - Wednesday, 17 February 2010, 12:36 GMT+2
|
DetailsI'm using r23198-091015 on my 8GB Nano 2G. I've noticed that if I enable Directory Cache (General -> Disk -> Directory Cache -> Yes) and Auto Update (General -> Database -> Auto Update -> Yes), once Rockbox restarts after adding new music files in disk mode, I always get a
*PANIC* Stkov dircache message. I then hold Menu and Select to reboot and the new files have been added correctly to the database, but clearly something is going wrong during the auto update. Disabling either of these settings will stop the PANIC - meaning, if only Auto Update or only Directory Cache is enabled, the PANIC does not occur. It's only when Directory Cache is enabled in addition to Auto Update that the PANIC will always occur a few seconds after Rockbox startup after new music files are added to the device. |
This task depends upon
Closed by Michael Sparmann (TheSeven)
Wednesday, 17 February 2010, 12:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fix committed in r24708
Wednesday, 17 February 2010, 12:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fix committed in r24708
Could someone experiencing this problem who compiles their own builds try increasing this size and try and determine the smallest safe stack size? e.g. replace that "0x900" by "0x1000" (or 0x2000 etc).
The main stack size for Rockbox on the Nano2G is already twice the size of other targets, due to the larger sector size being used (and there are various places in the code where sector buffers are stored on the stack). I'm not surprised that the dircache stack also needs increasing.
Thanks for testing.
Could you also try 0x1400, 0x1800, and 0x1c00 ? You can try any increments, but it's probably not worthwhile doing anything more than those three.
Dave.
0x1800 is the lowest of those that eliminates the PANIC in my tests.