View Issue Details

IDProjectCategoryView StatusLast Update
0012076MMW v4Synchronizationpublic2014-11-28 00:15
Reporterpeke Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version4.1.2 
Target Version4.1.2 
Summary0012076: Sync Apple devices: terminating Sync result corruption of music on device
DescriptionDue the number of reports, deep and extensive tests showed that terminating sync in any way result in corrupted db on device.

Corruption happen if:
1. terminate MMW sync (example at moment when 30/350 are synched, device show that all 350are synched making them unplayable, but also existing tracks are also unplayable)
2. There is no enough space on device and MMW clean device for more space (result that DB is not updated and show all removed tracks along with newly synched tracks which are played until removed track is played which makes bug same as in point 1.)
3. unknown disconnections also result in point 1.

Quick workaround is that user uses to delete all tracks from device and sync one before it tries to sync with MMW again (NOTE: MMW do not see missing tracks even iTunes see them).

best solution would be that MMW save sync list to device and update it on successful sync of each track. That will make MMW more resistant to disconnection, will add ability to UNDO sync on terminate, Device library will be updated after sync is successful.

Tests were done on touch 4G, iOS 6.1.6.
TagsNo tags attached.
Fixed in build

Relationships

related to 0012361 closedLudek Sync Apple devices: Delete all content do not work 

Activities

Ludek

2014-06-10 07:18

developer   ~0040271

Last edited: 2014-06-10 07:19

Starting from iOS5 we don't write anything to the device's SQLite database. We are communicating with the device via messages. MM uploads several tracks to intermediate directory and then commits the tracks together with their metadata, MM does _not_ send the metadata in advance to actual tracks so it is quite impossible to terminate 30/350 copy to show metadata for all 350 tracks after sync.

My guess is that you maybe had the tracks presented on the device, but they failed to delete? It happened to me once in iTunes that deleting thousands of tracks using iTunes has frozen iTunes sync forever and the tracks were physicaly deleted, but still seen in the device Music app, any additional iTunes sync frozen for me so I had to restore the device finally.

So maybe also in your case maybe delete operation of thousands of tracks failed?
 
Which way you terminated the sync? Using right-click -> terminate OR you unplugged the USB cable? I would suggest to start with clean device and try to reproduce, i.e. terminate sync 30/350 (generating debug log ATM) and send the debug once you will be successful to reproduce.

peke

2014-11-28 00:15

developer   ~0041193

Looks like related to 0012361