View Issue Details

IDProjectCategoryView StatusLast Update
0012774MMW v4Synchronizationpublic2016-04-28 15:27
ReporterLudek Assigned To 
PriorityurgentSeveritymajorReproducibilityunable to reproduce
Status closedResolutionfixed 
Product Version4.1 
Target Version4.1.12Fixed in Version4.1.12 
Summary0012774: iOS 8.3+ device reboots unexpectedly during long sync tasks (more than 5000 songs)
DescriptionWith the iOS 8.3 update there are some reports that iPhone unexpectedly disconnects or reboots during long sync (e.g. after 2 hours when there is a slow auto-conversion FLAC -> M4A).

If iPhone is unexpectedly disconnected this way that MM cannot upload iTunesCDB file (from where iTunes & MM reads device content) which results in re-syncing all files on the next sync attempt (while e.g. half of them are already on the device).

Based on user tests this happen also in iOS9 beta
Additional InformationMore details:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=81091&p=410419#p410415
#BJS-458-67430

Some new findings:
http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=84028
HDH-880-64312
TagsNo tags attached.
Fixed in build1785

Relationships

related to 0012750 closedLudek iOS sync: Upload iTunesCDB more often (not only on the sync end) 
parent of 0013254 closedLudek Sync is broken on some iOS6 and iOS7 devices (regression in 4.1.12) 
related to 0012806 resolvedLudek iOS8: In some cases audio doesn't match title on iPhone 

Activities

Ludek

2015-06-26 20:42

developer   ~0042671

Posted tweaked DLL for testing http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=81091&p=410419#p410415

Ludek

2015-06-29 10:31

developer   ~0042678

Last edited: 2015-06-29 10:31

One user confirmed that the iPhone reboot no longer appears,
incorporated the fix into build 4.1.8.1750

Waiting also for the other user to confirm...

peke

2015-06-29 19:34

developer   ~0042683

Verified 1750 no regression in older devices

Ludek

2015-07-05 10:31

developer   ~0042692

Last edited: 2015-07-05 11:11

User indicated that it still isn't resolved. But from what I have read so far it is rather Apple's bug:
https://discussions.apple.com/thread/6992103

Ludek

2015-07-05 10:37

developer   ~0042693

Last edited: 2015-07-05 11:12

Resolved as "not fixable" until we are able to find a workaround.

But based on the last post here: https://discussions.apple.com/thread/6992103?start=30&tstart=0 it looks like a hardware issue, user D.R.C. indicated that calibrating the battery, then a hard reset helps.

There seems to be some workarounds found by users:

dalownerx3:
I found that if it's locked or in sleep (screen is off), my iPhone will reboot

Yves3R:
Yesterday i restore my phone 4S and with only mail and facebook installed, it's run like a new one. No reboot since. Phone provider ( Telus ) ask for an update but i do not accept for a couple of days. Good news, it's not a hardware trouble.

rhm1965:
I'm on a 4S with this issue. The device was nor reset nor restored, but in my case it helped to just disable the setting 'Control Center: Access on Lock Screen'. No more restarts while charging since then, even when Auto-Lock is enabled.

Continuing here:
http://forum.mediamonkey.com/viewtopic.php?f=6&t=81091&p=410848#p410767

Ludek

2015-07-17 11:14

developer   ~0042712

For user from ticket UEI-346-47268 the reboot happened on a file copy operation with this Apple's error:
AFCFileLine="617" AFCCode="-402636796" NSDebugDescription="Unknown error" AFCFileName="platform.c" AFCVersion="0.0" NSUnderlyingError="10054" NSDescription="recv"

Ludek

2015-07-23 22:02

developer   ~0042751

Mostly these workarounds help for users:

1) Disabled control center from the lock screen (e.g. ticket #UEI-346-47268)

2) Settings -> General -> Reset -> Reset all settings (not one that also reset Device Content just plain settings) (e.g. ticket #WWF-291-19671)

Ludek

2016-02-18 18:36

developer   ~0044176

Last edited: 2016-02-24 21:12

Some new findings shown that most probably memory leak in AppleMobileDeviceService.exe leads to the crashes, more at
http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=84028 , logs attached to #HDH-880-64312

I can confirm the issue also with my iTouch 5 although it is only 16 GB and cannot fit 5000 songs, but I tested this way:

1) synced 3400 songs using MM
=> Memory private bytes of "AppleMobileDeviceService.exe" grown to 370 MB (note that with less than 2000 songs it stays still on 7 KB)
2) deleted all the songs and synced the same 3400 songs again
=> iPhone rebooted in the middle of the sync task and the "AppleMobileDeviceService.exe" utilization was 1GB

So it seems that whenever more than 5000 songs is synced using MM (even if it is not in one row) then AppleMobileDeviceService.exe reaches 1GB of memory and iPhone reboots.

Workaround is to restart 'Apple Mobile Device Service' between steps 1 & 2.
Note that it doesn't leak when syncing the same files using iTunes.

Changed target to 4.1.12 and looking into a fix.

Ludek

2016-02-24 21:09

developer   ~0044204

Finally found what is causing the leaking.

Fixed in build 4.1.12.1785

Ludek

2016-03-01 18:41

developer   ~0044220

Confirmed via #HDH-880-64312