Summary of Issues: MDCrashReportTool, Backup, Sync, Preparing to Sync
Summary of Issues: MDCrashReportTool, Backup, Sync, Preparing to Sync
Disclaimer: This summarization is sourced from multiple community threads. By no means am I claiming this summary is all encompassing nor am I claiming to be a subject matter expert. Not everyone is having the same experience. Let's see how it goes anyway. Hopefully you will find it helpful.
What is the issue?
Data sync error details are collected and reported to Apple by an automated tool (MDCrashReportTool) which is known to sometimes stall, never giving control back to the parent process.
Is this a new issue?
No. MDCrashReportTool has been in existence since at least July, 2008 and the "stalling issue" has existed since 2009 and perhaps prior.
Is Apple actively working to resolve?
Only Apple can answer the question. Apple has acknowledged awareness of the issue but defects unresolved for so long are not likely to be resolved anytime soon, if at all.
Does this issue impact both Apple and Windows users?
Yes. Sync processing can be initiated via the Finder app for Apple users with current macOS software or from iTunes for Windows users and Apple users on older versions of macOS.
Are all users having this issue?
No. Devices synched using iCloud do not seem to be experiencing the issue. Users that sync data between devices initiated from the Finder or iTunes apps may experience the stalling issue.
Is this an Apple Watch issue?
No. Users both with and without an Apple Watch report experiencing a sync stalling issue so this is not exclusive to Apple Watch users.
Is this a cable issue?
No. Regardless of whether the device is wired or wirelessly connected, the sync process may fail/stall. One difference is a wire connected device that has failed to sync, if disconnected and reconnected while the "automatic sync when connected" setting is on will immediately attempt to continue where it last failed. With this setting turned off, and the setting for "show this iPhone when on WiFi" is set to "on", a sync will only begin if clicking the SYNC button and it will start fresh instead of where it last stalled. This will not guarantee a successful sync but does illustrate this is not a cable issue.
A stalled sync may complete after a force quit of MDCrashReportTool. How?
MAC computer: open the Activity Monitor found in the Applications/Utilities folder. In the app, search for MDCrashReportingTool. Highlight the process name and click the ⓧ icon. Select Force Quit from the popup menu.
Win computer: start the Task Manager. In Details, find NDCrashReportTool (may need to expand iTunes to see it). End NDCrashReportTool.
Is force quitting MDCrashReportTool a recent discovery?
No. Using this method has been around since release iOS 5. Also, there is a January, 2008 thread in the Apple Community (Title: Can't sync music) that mentions MDCrashReportTool.
Is force quitting MDCrashReportTool a fix or solution?
No. While this will allow the Sync to complete, no software is modified to correct the root cause. Until then, for every stall, a force quit is need to complete the sync.
Is there a way to automate the process so sync does not stall?
Yes. One way is to rename the MDCrashReportTool file extension so the process cannot be executed. Alternately, one might replace the file with a same named file that does nothing but return control to the parent process. Instructions are not included here as steps are dependent on the operating system and for iTunes users, whether the app is installed locally.
Is there a negative result in causing MDCrashReportTool to quit?
Yes/No. MDCrashReportTool automates error reporting. Prior to this tool development, the user would have to manually find, extract and publish error details to file a ticket with Apple. Quitting the tool puts error reporting responsibility on the user, likely resulting in fewer reports going to Apple.
Note: Running a "backup" is a five step process of which step 3 of 5 is "Preparing to Sync". A force quit of MDCrashReportTool will cause step 3 to complete in a flash but in testing, it appears steps 4 and 5 do not run. This leaves an open question of whether the resulting backup is complete. Apple may need to provide an answer.
What has not been addressed above:
(1) Effect of modifying settings for what is included in a sync
(2) How to identify file(s) the sync could not process, if any
(3) Does cancelling MDCrashReportTool leave behind log files that are never deleted?
(4) Instructions for renaming MDCrashReportTool
(5) For a stalled SYNC, any data not moved from iPhone to computer and/or computer to iPhone
(6) For BACKUP, the data result restoring an iPhone from a backup that previously stalled
-R.