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

Itunes freezes on opening (12.1.2)

When I click to open iTunes, the program opens but moments later, it freezes and I get the volleyball.

Every time.


I've tried creating a new library, and that didn't help, so it's not corruption there.

No devices are attached.


Nothing in the report log points to anything (but it's not like I can really understand it, and if there isn't something that says "Crash here" I won't see it).


Is anyone else having this issue, or a solution?


(iMac, Mavericks, 10.9.5)

Posted on Jun 6, 2015 12:20 PM

Reply
15 replies

Jun 6, 2015 5:14 PM in response to Todd Kogutt

Repaired permissions with Disk Utility?


Try starting iTunes with the option key held down and have it create a new library as a test. If that works you may need to rebuild your old library: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451


Try moving the Genius file in your user library to another folder and start from your normal library (hold down option key, guide to your usual library). See also below about Genius issues.


Try starting iTunes with the shift key (command+option on some versions) held down which disables third party plugins. If it runs under these conditions then you probably have a conflict. iTunes: Troubleshooting issues with third-party iTunes plug-ins - http://support.apple.com/kb/TS3430


There are various iTunes preferences files that can be isolated to test if they are creating the problem.


Maybe: "iTunes quit unexpectedly" - https://discussions.apple.com/thread/3487024?answerId=16950029022#16950029022 - disabling Genius or even just restarting airport (https://discussions.apple.com/thread/3768917?answerId=17715416022#17715416022)


Try reinstalling iTunes but note the procedures below:


Apr. 2015 Niel post: Re-install iTunes application - https://discussions.apple.com/thread/6990002?answerId=28055467022#28055467022 - delete the old application first, with instructions on how to do that.


April 2015 LincDavis post with a bit more detail on the method Niel outlines - https://discussions.apple.com/thread/7002727?answerId=28101611022#28101611022


A similar technique by Ben.d using Terminal to delete the application - https://discussions.apple.com/thread/6985231?answerId=28036630022#28036630022

Jun 6, 2015 7:21 PM in response to Todd Kogutt

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 take the action that isn't working the way you expect. 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.

When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

Jun 6, 2015 8:43 PM in response to Todd Kogutt

UPDATE: The problem is in the "Store" tab. Disconnecting from the network, it starts fine. Plug the cable back in, go to the store tab, and it freezes.


I started it again and had Little Snitch block outgoing to itunes.apple.com when the store tab opens, and it opens fine.

User uploaded file

I can allow the radio and match tab to connect without issue..so it's something with the store...



-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --------------------------


@Limnos : Don't post BS from kb articles. "Try starting iTunes with the option key held down and have it create a new library as a test. If that works you may need to rebuild your old library: How to re-create your iTunes library and playlists"

DID YOU READ MY POST? I specifically said I had already done that.


-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --------------------------


@Linc Here's the log, first opening it with the connection allowed to where it freezes and i force quit.


6/6/15 8:41:33.389 PM iTunes[2240]: ApplePushService: APSConnection being used without a delegate queue

6/6/15 8:41:34.420 PM WindowServer[158]: disable_update_timeout: UI updates were forcibly disabled by application "iTunes" for over 1.00 seconds. Server has re-enabled them.

6/6/15 8:41:48.419 PM WindowServer[158]: disable_update_likely_unbalanced: UI updates still disabled by application "iTunes" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.

6/6/15 8:42:18.505 PM com.apple.launchd.peruser.501[281]: (com.apple.iTunes.57584[2240]) Exited: Terminated: 15

6/6/15 8:42:23.331 PM spindump[2244]: Saved hang report for iTunes version 12.1.2 (12.1.2.27) to /Library/Logs/DiagnosticReports/iTunes_2015-06-06-204223_iBeagle.hang



Here's with it blocked.


6/6/15 9:33:26.058 PM iTunes[2381]: tcp_connection_destination_prepare_complete 2 connectx to 96.17.231.194#443 failed: 64 - Host is down

6/6/15 9:33:26.058 PM iTunes[2381]: tcp_connection_destination_prepare_complete 1 connectx to 96.17.231.194#443 failed: 64 - Host is down

6/6/15 9:33:26.058 PM iTunes[2381]: tcp_connection_handle_destination_prepare_complete 2 failed to connect

6/6/15 9:33:26.058 PM iTunes[2381]: tcp_connection_handle_destination_prepare_complete 1 failed to connect

6/6/15 9:33:26.221 PM iTunes[2381]: tcp_connection_destination_prepare_complete 3 connectx to 96.17.231.194#443 failed: 64 - Host is down

6/6/15 9:33:26.222 PM iTunes[2381]: tcp_connection_handle_destination_prepare_complete 3 failed to connect

6/6/15 9:33:28.289 PM iTunes[2381]: ApplePushService: APSConnection being used without a delegate queue

6/6/15 9:33:28.295 PM iTunes[2381]: tcp_connection_destination_prepare_complete 4 connectx to 96.17.231.194#443 failed: 64 - Host is down

6/6/15 9:33:28.295 PM iTunes[2381]: tcp_connection_handle_destination_prepare_complete 4 failed to connect

6/6/15 9:33:28.302 PM iTunes[2381]: tcp_connection_destination_prepare_complete 5 connectx to 96.17.231.194#443 failed: 64 - Host is down

6/6/15 9:33:28.302 PM iTunes[2381]: tcp_connection_handle_destination_prepare_complete 5 failed to connect



And several more of the failed to connect (since I'm blocking it)

Jun 6, 2015 8:45 PM in response to Todd Kogutt

Please read this whole message before doing anything.

This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

Test while in safe mode. Same problem?

After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

Jun 6, 2015 9:59 PM in response to Todd Kogutt

-------------------------------------------------------------------------------- --------------------------


@Limnos : Don't post BS from kb articles. "Try starting iTunes with the option key held down and have it create a new library as a test. If that works you may need to rebuild your old library: How to re-create your iTunes library and playlists"

DID YOU READ MY POST? I specifically said I had already done that.


--------------------------------------------------------------------------------

1) That isn't all from a kb article, only the link to what to do if it does indicate a problem is to a kb article.


2) Let me see. I note my posting time and it was likely just as I was being called to supper last night. A lot of this kind of thing requires sequential testing so I have a set reply made up. I figured you might want to start browsing the possibilities soon rather than wait for me to return to the computer at the end of the family evening 3 hours later. So I hastily posted noting you had tried that one thing but decided you would appreciate an early reply and not be emotionally distraught if one of the many suggestions I had made was something you had tried and could easily pass by. Sorry, I guess I was wrong and apologize humbly for forcing you to read that suggestion too. Don't worry, I won't make any more.

Jun 6, 2015 10:09 PM in response to Linc Davis

@Linc: No dice. Safemode, nothing plugged in but keyboard and mouse. Same problem.


Freezes while loading the Store Tab.


I grabbed the log:

6/6/15 10:55:07.662 PM spindump[278]: Saved hang report for iTunes version 12.1.2 (12.1.2.27) to /Library/Logs/DiagnosticReports/iTunes_2015-06-06-225507_iBeagle.hang

6/6/15 10:55:09.468 PM iTunes[285]: ApplePushService: APSConnection being used without a delegate queue

6/6/15 10:55:51.143 PM com.apple.launchd.peruser.501[163]: (com.apple.iTunes.3376[285]) Exited: Terminated: 15

6/6/15 10:55:54.756 PM spindump[292]: Saved hang report for iTunes version 12.1.2 (12.1.2.27) to /Library/Logs/DiagnosticReports/iTunes_2015-06-06-225554_iBeagle.hang



Freezes pretty much like this each time...sometimes one or two of the blanks fill in..

User uploaded file


ADDITIONAL NOTES: I've moved the scripts folder out of the Itunes folder so eliminated that, I've tried deleting the various preferences and starting with no luck.

Jun 7, 2015 10:14 AM in response to Linc Davis

Nope. Same problem.😟


I've found references to a similar problem on the Windows side.

http://forums.macrumors.com/threads/itunes-freezes-and-cant-access-itunes-store. 1263609/


Itunes hangs on accessing itunes store and other problems


the solution is:

Netsh winsock reset

Hit enter, restart PC, open iTunes, go to Store


but i don't know how that applies to a Mac.

Jun 7, 2015 11:24 AM in response to Todd Kogutt

1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.

The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.

Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.

2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.

There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.

You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.

In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.

You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.

Another indication that the test is safe can be found in this thread, and this one, for example, where the comment in which I suggested it was recommended by one of the Apple Community Specialists, as explained here.

Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.

4. Here's a general summary of what you need to do, if you choose to proceed:

☞ Copy a particular line of text to the Clipboard.

☞ Paste into the window of another application.

☞ Wait for the test to run. It usually takes a few minutes.

☞ Paste the results, which will have been copied automatically, back into a reply on this page.

These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.

5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.

You may have started up in safe mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.

6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.

7. Load this linked web page (on the website "Pastebin.") The title of the page is "Diagnostic Test." Below the title is a text box headed by three small icons. The one on the right represents a clipboard. Click that icon to select the text, then copy it to the Clipboard on your computer by pressing the key combination command-C.

If the text doesn't highlight when you click the icon, select it by triple-clicking anywhere inside the box. Don't select the whole page, just the text in the box.

8. Launch the built-in Terminal 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.

Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.

9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter

exec bash

and press return. Then paste the script again.

10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.

If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:

[Process started]

Part 1 of 8 done at … sec

Part 8 of 8 done at … sec

The test results are on the Clipboard.

Please close this window.

[Process completed]

The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.

Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.

12. When the test is complete, or if you stopped it because it was taking too long, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.

If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.

14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.

______________________________________________________________

Copyright © 2014, 2015 by Linc Davis. As the sole author of this work (including the referenced "Diagnostic Test"), I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Jun 7, 2015 1:43 PM in response to Linc Davis

Ok, thanks for that (and all the help here).


For the record, I also set up a new account, logged in and tried there..still nothing.


--------------------------


Diagnostic Test:

http://pastebin.com/uHi862Pq


Also here's the crash report iTunes generates:

Part 1: http://pastebin.com/wwX8tT6G

Part 2: http://pastebin.com/1Hg83cBF



----------------------------


To get the crash report, I reopened itunes..this time it filled in more of the pics. I don't think that means anything, but it's something.

User uploaded file

Jun 7, 2015 4:44 PM in response to Todd Kogutt

A


There are some problems with the test results that make them hard for me to interpret. First, you removed 5 lines from the listing of the hosts file, which has been modified. I have no way of knowing whether the missing lines are related to the problem (which they could be.) Since I don't know, I recommend that you replace the hacked hosts file with an unmodified one and see whether there's any change. Ask if you need guidance.


You're running "Little Snitch" along with the "lsreset" hack to enable it to run unlicensed. I have to take at face value your statement that you reproduced the problem with iTunes in safe mode. If that's true, the information isn't relevant.


You also have a hacked copy of "CleanMyMac." The original "CleanMyMac," without the hack, is a scam and a common cause of instability and poor performance. With the hack, it's malware until proven otherwise—and you can't prove otherwise. It's up to you to decide what to do about that. Since "CleanMyMac" is much worse than useless in any case, the least you should do is remove it.


Finally, on June 4 you installed something that shows up in the log as "Suspicious Package." I've never seen that before and I have no idea what it means. I certainly wouldn't be comfortable with it.


With these complicating issues, I don't have much confidence in the applicability of the test results. If this were my computer, I would erase the startup volume, reinstall OS X, and then restore only my documents from a backup. Then I would install only the third-party software I really needed, and had licensed, from fresh downloads or original media.


B


There are bus errors in the log from two different built-in USB ports, as well as alignment errors apparently from more than one external hard drive. These results are also hard to interpret, but they probably indicate an internal hardware fault. I can't be more specific. Whether this is related to the original problem, I'm not sure.

Make a "Genius" appointment at an Apple Store, or go to another authorized service provider. You may have to leave the machine there for several days.

Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.

If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.

Keeping your confidential data secure during hardware repair

Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.

*An SSD doesn't need to be zeroed.

C

Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Back up all data before proceeding.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

D

Back up all data.

Run the following command in the same way as before. It moves to the Trash "semaphore" files that have not been cleaned up by the system and may be interfering with normal operation. The files are empty; they contain no data. There will be no output this time.

find L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.??????? -exec mv {} .Trash/ \; 2>&-

Log out or restart the computer and empty the Trash.

E

Back up all data before proceeding.

Launch the Font Book application and validate all fonts. You must select the fonts in order to validate them. See the built-in help and this support article for instructions. If Font Book finds any issues, resolve them.

Start up in safe mode to rebuild the font caches. Restart as usual and test.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t start in safe mode. In that case, ask for instructions.

If you still have problems, then from the Font Book menu bar, select

FileRestore Standard Fonts...

You'll be prompted to confirm, and then to enter your administrator login password.

Also note that if you deactivate or remove any built-in fonts, for instance by using a third-party font manager, the system may become unstable.

F

Storing many files on the Desktop may slow down the Finder, especially if the files have custom icons. Move most or all of the files to another subfolder of your home folder.

G

Since iTunes seem to work better when not connected to the network, it's possible that the Match and/or Genius features are at fault.

From the iTunes menu bar, select

Store ▹ Turn Off Genius

If iTunes Match is enabled, you'll have to turn that off first. Test. If the problem is resolved and you still want to use Genius (or Match), see below.

At the top level of the iTunes folder, there should be a file named "iTunes Library Genius.itdb". Move that file to the Trash. Quit and relaunch iTunes, then enable Genius and test again.

If there's no improvement, repeat with the file named "iTunes Library Extras.itdb".

Jun 9, 2015 10:29 AM in response to Linc Davis

I've not had a chance to go thru all of that yet..


In the meantime, I've uninstalled iTunes, including all support files, caches, prefs, etc, and reinstalled..which changed nothing.

I uninstalled iTunes again, including all support files, caches, prefs, etc, and installed Version 11.4 ..which changed nothing.

It's nothing in the library files, since I've created new libraries.


It works fine on my MBP, so I know it's not my network or router.


I've uninstalled iBooks, so I'm now wondering if Apple changed something that this is now a problem...(as I did that a long long time ago and never had these problems before last week).

Jul 20, 2015 4:58 PM in response to Todd Kogutt

Todd Kogutt wrote:


I've uninstalled iBooks, so I'm now wondering if Apple changed something that this is now a problem...(as I did that a long long time ago and never had these problems before last week).


Well this was the key thing.


Not iBooks itself, but the bookstoreagent service. I got that from another installation of Mavericks, and it works fine now.


I'll have to see what having that in means for the reasons I got rid of iBooks.


ref:

how do I uninstall iBooks from my MacBook Pro?

Itunes freezes on opening (12.1.2)

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