Bug 6819 - Database corruption for large library
: Database corruption for large library
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-27 22:02 UTC by Robert Gregg
Modified: 2008-12-18 11:12 UTC (History)
0 users

See Also:
Category: ---


Attachments
Scanner.log (2.56 KB, application/octet-stream)
2008-02-01 02:53 UTC, Robert Gregg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gregg 2008-01-27 22:02:31 UTC
I have been copying a reasonable large library to include my complete CD collection and ran into a glitch when I exceeded approximately 10,000 songs. I was at ~9500 songs, was adding approximately 650 additional songs when the library scanner stopped mid scan, no longer scanned for artwork and now has twice the number of songs indicated in my library database (ie shows approximately 20,000 songs). The database shows duplicates of each song and when I play an album, each song is played twice!

This problem is repeatable, I reloaded the database and started with a subsection of songs and the same result occured after reaching ~10,000 songs.
Comment 1 KDF 2008-01-27 22:16:36 UTC
It has nothign to do with 10,000.  I have 17,000 working fine and a number of users have 5 times that.  However, there could be a problem with the metadata in one of the tracks that is being added around the 10,000 mark.  check the scanner log (a file called scanner.log)

the duplicates could be related to a playlist somewhere in the added files that is still pointing to the old locations.
Comment 2 Blackketter Dean 2008-01-28 09:12:56 UTC
Robert please attach your log...
Comment 3 Blackketter Dean 2008-01-28 20:16:14 UTC
Robert:  Please try with the latest nightly 7.0 release. A bug that caused some minor corruption in JPEG cover art images would cause this issue.  

If it's still happening, please reopen a the bug and attach the scanner log.

Thanks!
Comment 4 Robert Gregg 2008-02-01 02:53:06 UTC
Created attachment 2792 [details]
Scanner.log
Comment 5 Robert Gregg 2008-02-01 20:43:08 UTC
Comment on attachment 2792 [details]
Scanner.log

The doubles of each song continues... the cover art issue was resolved.
Comment 6 Robert Gregg 2008-02-02 16:43:54 UTC
I noticed a shortcut to the music library in the folder with the music library that caused the scanning program to go into an infinite loop (identified in the scanner.log). After removing the shortcut, the double listing of songs was eliminated. I'm not sire how the shortcut got into the folder, but suspect it occured when dragging files into the library.

I consider this bug closed.

Thanks