Rockbox

Tasklist

FS#9508 - Stack overflow during DB creation

Attached to Project: Rockbox
Opened by Paul Eden (Laxxor) - Tuesday, 28 October 2008, 13:12 GMT
Last edited by Nils Wallménius (nls) - Sunday, 30 August 2009, 08:52 GMT
Task Type Bugs
Category Database
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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:

*PANIC*
Stkov tagcache

This task depends upon

Closed by  Nils Wallménius (nls)
Sunday, 30 August 2009, 08:52 GMT
Reason for closing:  Out of Date
Additional comments about closing:  This is probably the same issue as fs#10396 which has been fixed, no response from poster.
Comment by Tommi Ahonen (tommi) - Saturday, 20 December 2008, 13:38 GMT
I'm experiencing the same problem.
Comment by Yoshihisa Uchida (Uchida) - Tuesday, 23 December 2008, 05:26 GMT
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)
Comment by Paul Eden (Laxxor) - Saturday, 21 March 2009, 19:06 GMT
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:

database.ignore
database_tmp.tcd

the tcd file is 0 K in size after running songdb.exe
   songdb.log (196.8 KiB)
Comment by Yoshihisa Uchida (Uchida) - Monday, 23 March 2009, 14:17 GMT
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)
Comment by Paul Eden (Laxxor) - Tuesday, 24 March 2009, 23:31 GMT
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

Paul
Comment by Yoshihisa Uchida (Uchida) - Saturday, 28 March 2009, 06:09 GMT
If the database is constructed with the player that you are using, this problem doesn't occur, these need not be sent.


Comment by Paul Eden (Laxxor) - Saturday, 28 March 2009, 21:26 GMT
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.
Comment by Rico Pietzsch (hoyo) - Monday, 29 June 2009, 06:29 GMT

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.
Comment by Nils Wallménius (nls) - Thursday, 13 August 2009, 13:41 GMT
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.

Loading...