• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Database
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Laxxor - 2008-10-28
Last edited by nls - 2009-08-30

FS#9508 - Stack overflow during DB creation

Just upgraded from a prev3 release (from around September) using a stable v3 build and player locks up during a database initialisation - would seem to occurr after the file scan has completed.

Tried again with a ‘latest’ build and received the following message, again during a database build:

Stkov tagcache

Closed by  nls
2009-08-30 08:52
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This is probably the same issue as fs#10396 which has been fixed, no response from poster.

tommi commented on 2008-12-20 13:38

I'm experiencing the same problem.

At first, read  FS#9697  comment.

When it doesn't succeed in the method of writing in the comment or the situation is different,
then please try following though it is likely not to become a complete solution.

if you are using MS Windows, then please make the database again by using songdb.exe.
(If you are using Linux, then please make utils/songdb/songdb using latest Rockbox sources + FS#9371 patch.)

On command prompt, the following execute.
$ songdb.exe -r (your player's drive letter) -s (music file stored folder) -m create > songdb.log

For example, if your player's drive letter = H:\\, music files include H:\\music, then
$ songdb.exe -r H:
-s /music -m create > songdb.log

Please upload songdb.log when the database files(.rockbox/database_*.tcd) is not made by the above mentioned method.

Please upload all made the database files when the search result is not correct though the database file was made.

   songdb.exe (670.7 KiB)

Apologies for such a delayed reply.

I have finnaly managed to try your suggestions.

Running songdb.exe (under windows Vista) reports a sucessful tag cache creation, but no database file gets created - the only database files under the .Rockbox directory are:


the tcd file is 0 K in size after running songdb.exe

   songdb.log (196.8 KiB)

Confirm thanks.

Your result is very strange.
The log message is not corresponding to the state of the database file.

I added log messages to the songdb.exe.

Could you create the database by using the songdb.exe again?
And could you upload the sondb.log, database_tmp.tcd and database_tmp.tcd2 (if exists) ?

   songdb.exe (670.7 KiB)

Well I'm not sure what it was about your additional loging, but it liked it - the database successfully built.

Would you still like me to upload files for reference?

Best regards


If the database is constructed with the player that you are using, this problem doesn't occur, these need not be sent.

The database only builds using the sondb.exe file you provided. If I do a database build from the player, it still fails with the tagcache error.

hoyo commented on 2009-06-29 06:29

I think the reason for the Stkov tagcache error message is, if you have MP3's in the 6'th or lower Subdirectory Level.

–> 1\2\3\5\6\my-musik.mp3

After an update from r17554-080517 to the current build i get on database creation the same error message.
(the battery of my H340 was broken and so the player did'nt work. now i've a new one :-) )
So i tried to find the reason. Filesystemerror –> i ve formatted the disk new and when i copy back
the files (2-3 directorys –> create new database) to find errors in my mp3's.
The error occurs if i copy back files in the 6'th subdirectory level.

nls commented on 2009-08-13 13:41

Hi, is this bug still present in a current build of rockbox?
on June 30 a fix for  FS#10396  which sounds like a similar issue was committed
so it would be useful to know if this is a separate issue or has already been fixed.


Available keyboard shortcuts


Task Details

Task Editing