Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iTunes won't quit (unless I force quit it)

iTunes has suddenly decided it will not respond to being quit. Shut down will not proceed if iTunes is active. I need to force quit iTunes to shut down. I can't think of anything that has changed to cause this issue. Any ideas? I'm using iTunes 12.1.0.50; Yosemite 10.10.2

iPod, iMac

Posted on Apr 4, 2015 5:13 PM

Reply
24 replies

Apr 5, 2015 9:02 AM in response to lsdalton

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

The title of the Console window should be All Messages. If it isn't, select

SYSTEM LOG QUERIES ▹ All Messages

from the log list on the left. If you don't see that list, select

View ▹ Show Log List

from the menu bar at the top of the screen.

Click the Clear Display icon in the toolbar. Then try to quit iTunes. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

Please don't indiscriminately dump thousands of lines from the log into this discussion.

Please don't post screenshots of log messages—post the text.

Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

Apr 6, 2015 2:54 AM in response to Linc Davis

Thanks Linc

It appears that the same error occurs over and over once I have tried to quit iTunes. I cleared the display, "quit iTunes" and grabbed the first instance that generated.

I looked through and removed some references to my email address. I can see that "user dictionary' has something to do with this... an email address was showing due to shortcuts created. Anyhow, I'll stop yapping and thank-you in advance for any assistance you can provide!


Text from console follows:


6/04/2015 7:32:03.358 pm com.apple.InputMethodKit.UserDictionary[475]: CoreData: error: (1555) UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK

6/04/2015 7:32:03.359 pm com.apple.InputMethodKit.UserDictionary[475]: Core Data: error: -executeRequest: encountered exception = error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK with userInfo = {

NSFilePath = "/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D7461C5A-FFF 5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96C25674E/sto re/UserDictionary.db";

NSSQLiteErrorDomain = 1555;

}

6/04/2015 7:32:03.359 pm com.apple.InputMethodKit.UserDictionary[475]: CoreData: error: (1555) UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK

6/04/2015 7:32:03.360 pm com.apple.InputMethodKit.UserDictionary[475]: Core Data: error: -executeRequest: encountered exception = error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK with userInfo = {

NSFilePath = "/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D7461C5A-FFF 5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96C25674E/sto re/UserDictionary.db";

NSSQLiteErrorDomain = 1555;

}

6/04/2015 7:32:03.471 pm com.apple.InputMethodKit.UserDictionary[475]: CoreData: error: (1555) UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK

6/04/2015 7:32:03.471 pm com.apple.InputMethodKit.UserDictionary[475]: Core Data: error: -executeRequest: encountered exception = error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK with userInfo = {

NSFilePath = "/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D7461C5A-FFF 5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96C25674E/sto re/UserDictionary.db";

NSSQLiteErrorDomain = 1555;

}

6/04/2015 7:32:03.773 pm com.apple.InputMethodKit.UserDictionary[475]: CoreData: error: (1555) UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK

6/04/2015 7:32:03.774 pm com.apple.InputMethodKit.UserDictionary[475]: -[_PFUbiquityRecordImportOperation main](573): CoreData: Ubiquity: Error saving managed object context changes for transaction log: <PFUbiquityTransactionLog: 0x7f82c1c730a0>

transactionLogLocation: <PFUbiquityLocation: 0x7f82c1c6f1c0>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries/Lyndon~D7461C5A-FFF5-5009-9154-50FC2 F32FF7F/UserDictionary/SAlQVUhF7208e6_gvZx_zdKx1U1AzKGem3HO2pLKjgY=/A1889908-6B6 8-4E38-9A05-BC3824FBD320.1.cdt

transactionNumber: 1



Error: Error Domain=NSCocoaErrorDomain Code=1555 "The operation couldn’t be completed. (Cocoa error 1555.)" UserInfo=0x7f82c3205fa0 {NSFilePath=/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D 7461C5A-FFF5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96 C25674E/store/UserDictionary.db, NSSQLiteErrorDomain=1555, NSUnderlyingException=error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK}

User Info: {

NSFilePath = "/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D7461C5A-FFF 5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96C25674E/sto re/UserDictionary.db";

NSSQLiteErrorDomain = 1555;

NSUnderlyingException = "error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK";

}

Managed Object Context Changes, inserted: {(

<NSManagedObject: 0x7f82c3210750> (entity: UserDictionaryEntry; id: 0x80006b <x-coredata://F074C4DA-56FF-4D19-8584-2C7827DA20E6/UserDictionaryEntry/p2> ; data: {

auxDataValue = nil;

auxIntValue1 = 0;

auxIntValue2 = 0;

auxIntValue3 = 0;

auxIntValue4 = 0;

auxStringValue1 = nil;

auxStringValue2 = nil;

auxStringValue3 = nil;

auxStringValue4 = nil;

partOfSpeech = nil;

phrase = "org.au";

shortcut = fsu;

timestamp = 1414207266;

}),

<NSManagedObject: 0x7f82c321e040> (entity: UserDictionaryEntry; id: 0x40006b <x-coredata://F074C4DA-56FF-4D19-8584-2C7827DA20E6/UserDictionaryEntry/p1> ; data: {

auxDataValue = nil;

auxIntValue1 = 0;

auxIntValue2 = 0;

auxIntValue3 = 0;

auxIntValue4 = 0;

auxStringValue1 = nil;

auxStringValue2 = nil;

auxStringValue3 = nil;

auxStringValue4 = nil;

partOfSpeech = nil;

phrase = "@.com.au";

shortcut = lsd;

timestamp = 1414207266;

}),

<NSManagedObject: 0x7f82c31e9e60> (entity: UserDictionaryEntry; id: 0xc0006b <x-coredata://F074C4DA-56FF-4D19-8584-2C7827DA20E6/UserDictionaryEntry/p3> ; data: {

auxDataValue = nil;

auxIntValue1 = 0;

auxIntValue2 = 0;

auxIntValue3 = 0;

auxIntValue4 = 0;

auxStringValue1 = nil;

auxStringValue2 = nil;

auxStringValue3 = nil;

auxStringValue4 = nil;

partOfSpeech = nil;

phrase = "On my way!";

shortcut = omw;

timestamp = 1414207266;

})

)}

updated: {(

)}

deleted: {(

)}

6/04/2015 7:32:03.777 pm com.apple.InputMethodKit.UserDictionary[475]: -[_PFUbiquityRecordsImporter operation:failedWithError:](979): CoreData: Ubiquity: Import operation encountered had trouble importing log file, Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. (Cocoa error 134302.)" UserInfo=0x7f82c3205510 {reason=Error encountered while importing transaction log at URL: <PFUbiquityTransactionLog: 0x7f82c1c730a0>

transactionLogLocation: <PFUbiquityLocation: 0x7f82c1c6f1c0>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries/Lyndon~D7461C5A-FFF5-5009-9154-50FC2 F32FF7F/UserDictionary/SAlQVUhF7208e6_gvZx_zdKx1U1AzKGem3HO2pLKjgY=/A1889908-6B6 8-4E38-9A05-BC3824FBD320.1.cdt

transactionNumber: 1

, an error occurred saving changes to the persistent store mutated during the import process., NSUnderlyingError=0x7f82c31da140 "The operation couldn’t be completed. (Cocoa error 1555.)"}

User Info: {

NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=1555 \"The operation couldn\U2019t be completed. (Cocoa error 1555.)\" UserInfo=0x7f82c3205fa0 {NSFilePath=/Users/Lyndon/Library/Dictionaries/CoreDataUbiquitySupport/lyndon~D 7461C5A-FFF5-5009-9154-50FC2F32FF7F/UserDictionary/7C19D322-1487-4B5B-9F09-E0D96 C25674E/store/UserDictionary.db, NSSQLiteErrorDomain=1555, NSUnderlyingException=error during SQL execution : UNIQUE constraint failed: ZUSERDICTIONARYENTRY.Z_PK}";

reason = "Error encountered while importing transaction log at URL: <PFUbiquityTransactionLog: 0x7f82c1c730a0>\n\ttransactionLogLocation: <PFUbiquityLocation: 0x7f82c1c6f1c0>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries/Lyndon~D7461C5A-FFF5-5009-9154-50FC2 F32FF7F/UserDictionary/SAlQVUhF7208e6_gvZx_zdKx1U1AzKGem3HO2pLKjgY=/A1889908-6B6 8-4E38-9A05-BC3824FBD320.1.cdt\n\ttransactionNumber: 1\n, an error occurred saving changes to the persistent store mutated during the import process.";

}

The log file is at: <PFUbiquityTransactionLog: 0x7f82c1c730a0>

transactionLogLocation: <PFUbiquityLocation: 0x7f82c1c6f1c0>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries/Lyndon~D7461C5A-FFF5-5009-9154-50FC2 F32FF7F/UserDictionary/SAlQVUhF7208e6_gvZx_zdKx1U1AzKGem3HO2pLKjgY=/A1889908-6B6 8-4E38-9A05-BC3824FBD320.1.cdt

transactionNumber: 1

.

Operation: <_PFUbiquityRecordImportOperation: 0x7f82c31f4360>{name = '(null)'}

localPeerID: lyndon~D7461C5A-FFF5-5009-9154-50FC2F32FF7F

storeName: UserDictionary

ubiquityRootLocation: <PFUbiquityLocation: 0x7f82c1c42850>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries:

localPeerID: lyndon~D7461C5A-FFF5-5009-9154-50FC2F32FF7F

logScore: <PFUbiquityKnowledgeVector: 0x7f82c1f208c0> (Lyndon~D7461C5A-FFF5-5009-9154-50FC2F32FF7F:1:lyndon~D7461C5A-FFF5-5009-9154-5 0FC2F32FF7F:-1:mobile.744E0B78-1EF0-5149-9112-2AF84A598E82:-3:mobile.7743452F-53 A8-57B1-9468-A7B67B174295:-4:mobile.A1B40532-9CF9-5DDB-B8A8-65FFF694767D:-1:mobi le~285CC1B5-A365-5643-915D-D460A659C272:-1:mobile~744E0B78-1EF0-5149-9112-2AF84A 598E82:-2:mobile~A1B40532-9CF9-5DDB-B8A8-65FFF694767D:-2:mobile~B358D241-7307-58 78-8469-6BDA7B9402D0:-1:mobile~E3D55FBD-EAD3-5C4C-BB88-646627D24342:-1)

transactionLog: <PFUbiquityTransactionLog: 0x7f82c1c730a0>

transactionLogLocation: <PFUbiquityLocation: 0x7f82c1c6f1c0>: /Users/Lyndon/Library/Mobile Documents/com~apple~TextInput/Dictionaries/Lyndon~D7461C5A-FFF5-5009-9154-50FC2 F32FF7F/UserDictionary/SAlQVUhF7208e6_gvZx_zdKx1U1AzKGem3HO2pLKjgY=/A1889908-6B6 8-4E38-9A05-BC3824FBD320.1.cdt

transactionNumber: 1

Apr 6, 2015 6:31 AM in response to lsdalton

Please back up all data, then open the iCloud pane in System Preferences. If the box marked iCloud Drive is checked, uncheck it and confirm. Your iCloud documents should be preserved on Apple's servers.

Test to see whether there's an improvement, then re-check the box and test again. It may take a noticeable amount of time for your iCloud Drive documents to resynchronize.

Apr 16, 2015 8:59 AM in response to Linc Davis

I'm also having the same problem here's and extract from my logs:


16/04/2015 16:57:21.969 iTunes[5411]: Entered:_AMMuxedDeviceDisconnected, mux-device:584

16/04/2015 16:57:21.969 iTunes[5411]: Entered:__thr_AMMuxedDeviceDisconnected, mux-device:584

16/04/2015 16:57:21.969 iTunes[5411]: tid:1100f - Mux ID not found in mapping dictionary

16/04/2015 16:57:21.969 iTunes[5411]: tid:1100f - Can't handle disconnect with invalid ecid


David

iTunes won't quit (unless I force quit it)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.