Wait Chain for network I/O

That is way of intro to what I see regularly with iTunes x64 10.1 and still there in 10.1.1:

One or more threads of iTunes.exe are waiting to finish network I/O


iTunes.exe (PID: 4672) Thread: 5248
- iexplore.exe (PID: 968) Thread: 4296
iTunes.exe (PID: 4672) Thread: 2088

----

Anyone else? this happens only on music videos when transitioning from end of one to start of next.

Deadlock or Circular wait?
A deadlock is a situation where in two or more competing actions are each waiting for the other to finish, and thus neither ever does. It is often seen in a paradox like the "chicken or the egg". The concept of a Catch 22 is similar.
http://en.wikipedia.org/wiki/Deadlock


So it isn't a full infinite thread lock, it seemed like it. First indication was seeing "iTunes not responding" and going longer than 20 seconds.

Because I don't use any mobile device of any sort, and not wanting Bonjour sitting eating up in the background or MobileMe, I uninstall those and disable the iPod service. I dont' see having BJ given its history of being "chatty" or having unnecessary background process and services.

ps: When iTunes 10.1.1 alerted there was an update available, offering 32-bit in downloads, not 64 and not detecting automatically with browser (Safari 5.03).
- - - -
*Wait Chain Traversal*

Wait Chain Traversal (WCT) enables debuggers to diagnose application hangs and deadlocks. A wait chain is an alternating sequence of threads and synchronization objects; each thread waits for the object that follows it, which is owned by the subsequent thread in the chain.

A thread waits for a synchronization object from the time it requests it until it has acquired it.
A lock is owned by a thread from the time the thread acquires it, until it releases it.
Lock ownership is equivalent to the lock waiting for the thread to release it.

Therefore, if thread 1 waits for a lock that is owned by thread 2, this is the same as saying that thread 1 waits for thread 2.

WCT currently supports the following synchronization primitives:

•ALPC
•COM
•Critical sections
•Mutexes
•SendMessage
•Wait operations on processes and threads

To retrieve the wait chain for one or more threads, create a WCT session using the OpenThreadWaitChainSession and GetThreadWaitChain functions.

http://msdn.microsoft.com/en-us/library/ms681622(VS.85).aspx

Mac Pro 8800GTX, Mac OS X (10.6.5), 3.2GHz GTX 260 10K VelociRaptors Win7

Posted on Dec 16, 2010 3:02 PM

Reply
3 replies

Mar 13, 2011 2:35 PM in response to The hatter

Interesting. I stumbled across this discussion while trying to troubleshoot why iTunes has started freezing up withever I plub in my iPhone (see here: http://discussions.apple.com/thread.jspa?threadID=2654849).

I am seeing the same thing. For the duration of the non-responsive state, Windows reports that two threads of iTunes.exe are waiting to finish network I/O. Once the application eventually recovers, it still doesn't recognize the phone (thought I think that may be a timeout thing or something), and Windows reports that one thread is still waiting for finish network I/O.

This is very frustrating. I've tried everything Apple suggested right down to uninstalling and reinstalling iTunes and all of its components.

It seems like this just started a few weeks ago. Any ideas on what's causing this stability problem?

Edit: I should add that I'm running Windows 7 (64-bit) and iTunes 10.2.1.1. I had the same problem under iTunes 10.1.

Message was edited by: chcn

Dec 22, 2010 6:20 AM in response to The hatter

I am noticing the same thing on my Win7 x64 install of iTunes 10.1 and 10.1.1.

What it hangs up on is different every time thought. Sometimes it hangs on waiting for another process. Other times it names what it is waiting for. Some of the programs it has hung waiting for have been Roboformtaskbar.exe (plugin for firefox) and Firefox itself.

This happens ALL the time and has made iTunes unusable for me. I can play sometimes 1 video or 10-20 videos before it hangs. And like you it only hangs at the end or beginning of a video. Mostly seems to be purchased videos from iTunes (IE with DRM) that it crashes on.

I have tried to replicate this in Quicktime but since it doesn't appear to support playlists and I can only get it to play one video at a time I am unable to see if it is affected as well.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Wait Chain for network I/O

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